Add-SmServerCluster
Creates the High Availability cluster configuration on the SnapCenter Server.
Syntax
Add-SmServerCluster [-Credential] <PSCredential> [-ClusterNameString] <String> [-ClusterIPString] <String> [-PrimarySCServerIPString] <String>
Detailed Description
Creates High Availability cluster configuration on the SnapCenter Server with the given cluster IP Address. Routing from the cluster URL to SC server(s) should be configured in the Load balancing tool. For the SC Server given IP Address will be included in the HA configuration, if the SC server has more than one IP Address then choose the one that you want to use for HA configuration and ensure the same IP Address is configured in the load balancing tool.
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) |
|
ClusterName |
F5 cluster name. |
false |
false |
|
ClusterIP |
F5 Cluster IP Address. |
true |
false |
|
PrimarySCServerIP |
Primary SC Server IP Address. |
true |
false |
Examples
Example 1: Creating High Availability cluster configuration on the SnapCenter Server
Add-SmServerCluster -Credential sddev\administrator -ClusterIP 10.235.236.190 -ClusterName f5pool -PrimarySCServerIP 10.235.236.193
This example creates the High Availability cluster configuration on the SnapCenter Server.
Name: Configure High Availability for SnapCenter Server
Id : 21
StartTime : 9/3/2019 5:25:10 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 : {}