Add-ClientNode - PowerShell Cmdlet
This PowerShell Cmdlet enables the user to add one or more client nodes to existing clustered cache(s). This PowerShell Cmdlet updates the server configuration and acquires server mapping if specified.
Note
This feature is only available in NCache Enterprise and Professional.
Add-ClientNode [-CacheName] –Server -ClientNode [-Port] [-UpdateServerConfig] [-AcquireServerMapping] [-Credentials] [-NoLogo]
Examples of Add-ClientNode - PowerShell Cmdlet
- This command adds a client node 20.200.20.12 to a cache named demoCache already existing on server node 20.200.20.11.
Add-ClientNode -CacheName demoCache -Server 20.200.20.11 -ClientNode 20.200.20.12
- This command adds a client node 20.200.20.12 to the demoCache which exists on server 20.200.20.11 while specifying port-number.
Add-ClientNode -CacheName demoCache -Server 20.200.20.11 -ClientNode 20.200.20.12 -Port 8250
- This command adds a client node 20.200.20.12 to the demoCache that exists on server 20.200.20.11, while specifying port-number and not updating server config.
Add-ClientNode -CacheName demoCache -Server 20.200.20.11 -ClientNode 20.200.20.12 –UpdateServerConfig
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 to which client node is added. Note that the cache must exist on the source server. | - |
-Server* |
<String> |
Specifies a server name where the NCache Service is running and a cache with the specified cache-name is registered. Client configuration is copied from this server to the destination server. | Local Machine |
-ClientNode* |
<String> |
Specifies the Client node (node to be added as a client node) where NCache Service is running. | - |
-Port |
<Integer> |
Specifies the server port where NCache server is listening. | 8250 |
-UpdateServerConfig |
<SwitchParameter> |
Specifies whether to update the client-node sections of server node of the specified cluster in the config file. (It is useful when cluster nodes and client nodes are in different networks.) | True |
-AcquireServerMapping |
<SwitchParameter> |
Specifies weather to fetch server mapping list from the server node(s). (It is useful when cluster nodes and client nodes are in different networks.) | False |
-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 |