Add-Node - PowerShell Cmdlet
This PowerShell Cmdlet enables the users to add a new server node to the existing clustered cache on specified server. The PowerShell Cmdlet also enables users to have multiple server nodes in a clustered cache.
Note
This feature is only available in NCache Enterprise and Professional.
Add-Node [-CacheName] -ExistingServer -NewServer [-Port] [-Credentials] [-NoLogo]
Examples of Add-Node - PowerShell Cmdlet
This PowerShell Cmdlet adds a new node 20.200.20.12 to the cache named demoCache existing on server node 20.200.20.11 which already exists.
Add-Node -CacheName demoCache -ExistingServer 20.200.20.11 -NewServer 20.200.20.12
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 cache for which the user or group is being added. This parameter is required when the access level is set to "Cache". | - |
-ExistingServer* |
<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 |
-Credentials |
<pscredential> |
Specifies the user credentials required to authorize access for the specified operation. These credentials should belong to a user who has appropriate permissions at the node. | - |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |