Table of Contents

Add-Node

Note

This feature is only available in NCache Enterprise and Professional editions.

Add-Node cmdlet enables the users to add a new server node to the existing clustered cache on specified server. It also enables users to have multiple server nodes in a clustered cache.

Add-Node [-CacheName] -ExistingServer -NewServer [-NoLogo] [-Password] [-Port] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command adds a new node 20.200.20.11 to the cache named demoCache existing on server node 20.200.21.12 which already exists.
Add-Node -CacheName demoCache -ExistingServer 20.200.20.11 -NewServer 20.200.21.12
  • This command adds a new node 20.200.20.11 to the cache named demoCache existing on server node 20.200.21.12 which already exists using the port number 8251 since it is not using the default port,
Add-Node demoCache -ExistingServer 20.200.20.11 -NewServer 20.200.21.12 -Port 8251

Properties

Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.

Parameters Data Types Description Default Value
-CacheName* <String> Specifies the name of the clustered cache on which the node is to be added. Note that the Cache must be existing on the source server. -
-ExistingSever* <String> Specifies a server name where the NCache service is running and a cache with the specified cache-name is registered. Cache configuration is copied from this server to the destination server. -
-NewServer* <String> Specifies a server name where a cache with the specified cache-name needs to be registered. The cache configuration is copied from the source server name to this server. -
-Port <Integer> Specifies the port on which the NCache server is listening if the server channel is not using the default port. 8250
-UserId <String> Specifies the User Id used to authorize a user if security is enabled on cache server. This User Id must be the same as the active directory user credentials. -
-Password <String> Specifies the password against the user Id; to authorize a user if security is enabled on cache server. This password must be the same as active directory password. -
-NoLogo <SwitchParameter> Suppresses display of the logo banner. False