To support service-level fault tolerance for Horizon Cloud Connector, create a dual-node cluster by adding a worker node to the cluster containing the primary node. The worker node contains a replica of the Horizon Cloud Connector application services.
For an overview of nodes, clusters, and the fault tolerance and high availability features of Horizon Cloud Connector, see Horizon Cloud Connector Clusters, Node-Level High Availability, and Service-Level Fault Tolerance.
- Horizon pods deployed on premises
- Horizon pods deployed in VMware Cloud on AWS with all-in-SDDC architecture
Horizon pods deployed in all other environments support single-node clusters consisting of a primary node only and do not support node-level high availability and service-level fault tolerance.
- Deploy the primary node of the cluster and pair Horizon Cloud Connector with your Horizon pod, as described in Download and Deploy the Horizon Cloud Connector into the Pod's vSphere Environment.
- Verify that you have met the DNS, ports, and protocols requirements for ongoing operations between Horizon Cloud and the Horizon Cloud Connector virtual appliance.
- To deploy the worker node, follow the general procedure for deploying the Horizon Cloud Connector appliance as an OVF template, as described in Download and Deploy the Horizon Cloud Connector into the Pod's vSphere Environment. Ensure that you configure the following options.
- In the Customize template wizard page, enable the Worker Node option. By default, the Worker Node option is deactivated, resulting in a primary node deployment.
- Configure an SSH public key for the
ccadminuser of the worker node. You must enable SSH access to the worker node in order to run the required commands later in this procedure.
- After the deployment is complete, use vSphere Client to power on the worker node VM. On the blue console screen, make a note of the node's URL for launching the Horizon Cloud Connector configuration portal.
- Enable SSH access to the worker node for the
ccadminaccount. See Enable SSH Access to the Horizon Cloud Connector Using a Command Line Interface.
- Open an SSH session to the primary node in the cluster and run the following command, where <WORKER_IP> is the IP address of the worker node that you got earlier.
/opt/vmware/sbin/primary-cluster-config.sh -as <WORKER_IP>
- At the prompt asking if you want to continue connecting to the worker node, type yes.
- Allow the command to execute without interruption. At the end of the command output, look for lines similar to the following example, where <PRIMARY_IP> is the IP address of the primary node VM.
Please run the following command on worker node to join the cluster: /opt/vmware/sbin/worker-cluster-config.sh -a <PRIMARY_IP> <TOKEN 1> <TOKEN 2>
Make a note of this cluster-join command.
- Open an SSH session to the worker node and run the cluster-join command that you got in the previous step.
/opt/vmware/sbin/worker-cluster-config.sh -a <PRIMARY_IP> <TOKEN 1> <TOKEN 2>
- After joining the worker node to the cluster, run the following command on the primary node VM to verify the new cluster membership.
kubectl get nodes -o wideIn the output returned by the command, verify that both the primary node and worker node appear as registered members of the cluster, identified by their IP addresses.