Table of Contents

Remove-Node

Note

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

Remove-Nodecmdlet enables the user to remove the particular node from the existing cache on a server or specified node from provided clustered cache.

Remove-Node [-CacheName] [-Server] [-GracefulStop] [-NoLogo] [-Password] [-Port] [-UserId]

These properties are explained in detail in the Properties section.

Examples

  • This command removes local node from the cache named demoCache.
Remove-Node -CacheName demoCache
  • This command removes the specified server node i.e. 20.200.21.11 from the cache named demoCache.
Remove-Node –CacheName demoCach –Server 20.200.21.11
  • This command removes the server node '20.200.21.11' from the cache named demoCache from the local server by gracefully stopping it.
Remove-Node demoCache -Server 20.200.21.11 –GracefulStop

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 id of the cache registered on the server which is then unregistered on the server. -
-Server <String> Specifies the server name where NCache service is running and a cache with the specified cache name is registered. Local Machine
-Port <Integer> Specifies the server port if the server channel is not using the default port. 8250
-GracefulStop <SwitchParameter> Provided by the user if the user wants the server to be stopped gracefully i.e the server won’t be forcefully stopped. False
-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