Add-VBRHighAvailabilityCluster
Short Description
Assembles an HA cluster.
Applies to
Product Edition: Premium
Syntax
This cmdlet provides parameter sets that allow you to:
- Assemble an HA cluster within a single subnet.
|
Add-VBRHighAvailabilityCluster -PrimaryNodeIPAddress <String> -VBRHighAvailabilityClusterSecondaryNode <VBRHighAvailabilityClusterNode[]> -ClusterEndpoint <String> -ClusterDnsName <String> -Username <String> -Password <String> [-RunAsync] [-ForceAcceptCertificate] [<CommonParameters>] |
- Assemble an HA cluster across multiple subnets.
|
Add-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 |
|---|---|---|---|---|---|
|
PrimaryNodeIPAddress |
For assembling an HA cluster within a single subnet. Specifies the IP address of the primary node. Alias: PrimaryNodeHostName |
String |
True |
Named |
False |
|
VBRHighAvailabilityClusterSecondaryNode |
Specifies the secondary node. |
Accepts the VBRHighAvailabilityClusterNode[] object. To create this object, run the New-VBRHighAvailabilityClusterNode cmdlet. |
True |
Named |
False |
|
ClusterEndpoint |
Specifies the static IP address of a cluster. |
String |
True |
Named |
False |
|
ClusterDnsName |
Specifies the DNS name of a cluster. |
String |
True |
Named |
False |
|
PrimaryNodeExternalEndpoint |
For assembling an HA cluster across multiple subnets. Specifies the external IP address of the primary node. |
String |
True |
Named |
False |
|
Username |
Specifies the user name you want to use to authenticate with the secondary node. |
String |
True |
Named |
False |
|
Password |
Specifies the password you want to use to authenticate with the secondary node. |
String |
True |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
SwitchParameter |
False |
Named |
False |
|
ForceAcceptCertificate |
Defines that the cmdlet will accept the server certificate. |
SwitchParameter |
False |
Named |
False |
|
SecondaryNodeExternalEndpoint |
For assembling an HA cluster across multiple subnets. Specifies the external IP address of the secondary node. |
String |
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