Remove-SmServer
Contributors
Suggest changes
Removes the SC server from the High Availability cluster.
Syntax
Remove-SmServer [-Credential] <PSCredential> [-ServerNameString] <String> [-ServerIPString] <String>
Detailed Description
Removes the given SC server from the High Availability cluster. The SC server should be removed from the load balancing configuration and, SnapCenter should be uninstalled on the server to be removed.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Credential |
Provides domain user credentials for the user to remove High Availability cluster configuration. |
true |
true (ByPropertyName) |
|
ServerName |
Secondary SC server name. |
false |
false |
|
ServerIP |
Secondary SC server IP Address. |
true |
false |
Examples
Example 1: Removing SnapCenter Server from High Availability cluster
Remove-SmServer -Credential sddev\administrator -ServerIP 10.225.231.178 -ServerName SecondServer.domain.com
This example removes SnapCenter Server from High Availability cluster.
Remove-SmServer -ServerIP 10.225.231.178 WARNING: Uninstallation of SnapCenter Server on secondary node is recommended. Name: Removing SnapCenter Server 10.225.231.178 from High Availability Cluster Id : 1606 StartTime : 9/25/2019 1:23:11 AM EndTime : IsCancellable : False IsRestartable : False IsCompleted : False IsVisible : True IsScheduled : False PercentageCompleted : 100 Description : Status : Running Owner : Error : Priority: None Tasks : {} ParentJobID : 0 EventId : 0 JobTypeId : 38 ApisJobKey : ObjectId: 0 PluginCode : NONE PluginName : NONE HostId : 0 RoleId : JobIds : {}