Dual-Site HA Setup
If you intend for your primary and secondary HA nodes to be in different subnets, run the asc ha --dualSiteHaConf
command after the hasetup
process is complete. This command creates a configuration file that maps the IP addresses between the subnets and inherits many of the values from the hasetup
process.
Note: Because CloudControl pings each IP address that you enter to ensure that it is valid and not in use, you may notice a short delay before the command returns a new prompt or an error message.
Important: Do not press Control-C when you run the asc ha --dualSiteHaConf
command.
-
Ensure that the primary and secondary nodes are set up correctly.
See Primary CloudControl Setup and Secondary CloudControl Setup
- From the CloudControl command line interface, type
asc ha --dualSiteHaConf
. -
At the
Do you want to configure the VIP for the secondary node? (yes/no)
prompt, type yes to configure separate management IPs for the primary and secondary nodes.The system displays:
Configuring : VIP
-
At the
Primary FQDN
prompt, type the FQDN for your primary CloudControl node. If there is no FQDN, type the IP address. -
At the
Primary VIP
prompt, type the VIP address for your primary CloudControl node. -
At the
Primary Netmask
prompt, type the netmask for your primary CloudControl node. -
At the
Secondary FQDN
prompt, type the FQDN for your secondary CloudControl node. If there is no FQDN, type the IP address. -
At the
Secondary VIP
prompt, type the VIP address for your secondary CloudControl node. -
At the
Secondary Netmask
prompt, type the netmask for your secondary CloudControl node. -
At the
Do you want to configure a PIP for secondary node (yes/no)
prompt, type yes to add a primary/secondary published IP (PIP) pair for a vCenter or ESXi hosts protected by CloudControl. Answer yes for each vCenter or ESXi host that CloudControl will protect. After you have added all vCenters or ESXi hosts, type no to start the process.The system displays:
Configuring : PIP
-
At the
vCenter/ESXi PIP FQDN on Primary
prompt, type the FQDN for your primary node vCenter PIP. -
At the
vCenter/ESXi PIP on Primary
prompt, type the IP address for your primary node vCenter PIP. -
At the
Primary Netmask
prompt, type the netmask for your primary node vCenter PIP. -
At the
vCenter/ESXi PIP FQDN on Secondary
prompt, type the FQDN for your secondary node vCenter PIP. -
At the
vCenter/ESXi PIP on Secondary
prompt, type the IP address for your secondary node vCenter PIP. -
At the
Secondary Netmask
prompt, type the netmask for your secondary node vCenter PIP. -
At the
Do you want to configure PIP for secondary node?(yes/no)
prompt, type yes to include the PIP information for additional vCenters or ESXi hosts. If you are finished, type no.If you typed yes, repeat steps 11-17 for as many vCenters that you want to add.
When you type no, the dual site HA configuration process will complete.
Dual-Site HA Configuration Example
[cc-a-vip:primary ~]$ asc ha --dualSiteHaConf
Do you want to configure the VIP for the secondary node?(yes/no) yes
Configuring : VIP
Primary FQDN [cc-a-vip.test.example.com]:
Primary VIP [10.100.246.121]:
Primary Netmask [255.255.0.0]:
Secondary FQDN []: cc-b-vip.test.example.com
Secondary VIP []: 10.120.246.121
Secondary Netmask []: 255.255.0.0
Do you want to configure a PIP for secondary node?(yes/no) yes
Configuring : PIP
vCenter/ESXi PIP FQDN on Primary []: vc-a-pip.test.example.com
vCenter/ESXi PIP on Primary []: 10.100.246.129
Primary Netmask [255.255.0.0]:
vCenter/ESXi PIP FQDN on Secondary []: vc-b-pip.test.example.com
vCenter/ESXi PIP on Secondary []: 10.120.246.129
Secondary Netmask []: 255.255.0.0
Do you want to configure PIP for secondary node?(yes/no) no
Success: The High Availability system has been updated