Add-SmServer
Contributors
Suggest changes
Adds the SC server to the High Availability cluster
Syntax
Add-SmServer [-Credential] <PSCredential> [-ServerNameString] <String> [-ServerIPString] <String> [-CleanUpSecondaryServerSwitchParameter] <String>
Detailed Description
Adds the given SC server to the existing High Availability cluster as secondary node. SnapCenter repository data from primary server will be replicated to the secondary server for HA.
Parameters
Name | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|
Credential |
Provides domain user credentials for the user to setup High Availability cluster configuration. |
true |
true (ByPropertyName) |
|
ServerName |
Secondary SC server name. |
false |
false |
|
ServerIP |
Secondary SC server IP Address. |
true |
false |
|
CleanUpSecondaryServer |
Specifies whether to cleanup secondary server. The value is either True or False. |
false |
false |
Examples
Example 1: Adding SnapCenter Server to High Availability cluster
Add-SmServer -Credential sddev\administrator -ServerIP 10.225.231.149
This example Adds SnapCenter Server to High Availability cluster.
Name: Adding SC Server 10.225.231.149 to High Availability cluster Id : 105 StartTime : 9/10/2019 4:11:38 AM EndTime : IsCancellable : False IsRestartable : False IsCompleted : False IsVisible : True IsScheduled : False PercentageCompleted : 0 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 : {} Monitor the progress of job 105 in the Job Monitor page or by running the cmdlet: 'Get-SmJobSummaryReport -JobId 105'