Add-VBRHighAvailabilityCluster
Short Description
Assembles an HA cluster.
Product Edition: Premium
Syntax
This cmdlet provides the following parameter sets:
-
SingleClusterEndpoint (Default)Add-VBRHighAvailabilityCluster -PrimaryNodeIPAddress <String>
-VBRHighAvailabilityClusterSecondaryNode <VBRHighAvailabilityClusterNode[]> -ClusterEndpoint <String>
-ClusterDnsName <String> -Username <String> -Password <String> [-RunAsync] [-ForceAcceptCertificate] [<CommonParameters>]
-
CrossSubnetAdd-VBRHighAvailabilityCluster -PrimaryNodeIPAddress <String>
-VBRHighAvailabilityClusterSecondaryNode <VBRHighAvailabilityClusterNode[]> -ClusterDnsName <String>
-Username <String> -Password <String> [-RunAsync] [-ForceAcceptCertificate]
-PrimaryNodeExternalEndpoint <String> -SecondaryNodeExternalEndpoint <String> [<CommonParameters>]
Detailed Description
This cmdlet assembles an HA cluster.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ClusterDnsName |
Specifies the DNS name of a cluster. |
|
True |
Named |
False |
|
ClusterEndpoint |
Specifies the static IP address of a cluster. |
|
True |
Named |
False |
|
ForceAcceptCertificate |
Defines that the cmdlet will accept the server certificate. |
|
False |
Named |
False |
|
Password |
Specifies the password you want to use to authenticate with the secondary node. |
|
True |
Named |
False |
|
PrimaryNodeExternalEndpoint |
For assembling an HA cluster across multiple subnets. Specifies the external IP address of the primary node. |
|
True |
Named |
False |
|
PrimaryNodeIPAddress |
For assembling an HA cluster within a single subnet. Specifies the IP address of the primary node.
Alias: |
|
True |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
SecondaryNodeExternalEndpoint |
For assembling an HA cluster across multiple subnets. Specifies the external IP address of the secondary node. |
|
True |
Named |
False |
|
Username |
Specifies the user name you want to use to authenticate with the secondary node. |
|
True |
Named |
False |
|
VBRHighAvailabilityClusterSecondaryNode |
Specifies the secondary node.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Assembling an HA Cluster
|
This example shows how to assemble the HA cluster.
Perform the following steps:
|
Example 2. Assembling an HA Cluster Across Different Subnets
|
This example shows how to assemble the HA cluster across different subnets.
Perform the following steps:
|
Related Commands
New-VBRHighAvailabilityClusterNodeDefines settings of the secondary node of an HA cluster.