Installing and Configuring the Zerto Red Hat Cluster Manager
The installation of the Zerto Red Hat Cluster Manager consists of two parts:
1. | Install Docker on a Linux machine. |
• | You can deploy Docker on a Linux machine without help from Zerto. |
• | You can obtain an OVF from Zerto that contains Docker. |
2. | Install the Zerto Red Hat Cluster Manager image and then run the container, or perform both actions with the command described in step 2 in the following section. |
The general process to configure and run the Zerto Red Hat Cluster Manager involves the following:
• | Create a VPG for each node — each virtual machine — in the Red Hat Cluster. |
• | The shared disk in the cluster in the recovery site must be an eager zeroed thick disk. |
• | Connect to Jenkins and configure the Zerto parameters in it. |
To install and configure the Zerto Orchestrator, do the following:
1. | Install Docker on a Linux virtual machine. |
Note: | If using the OVF, deploy the OVF. If you choose this option, go to step 3. |
2. | Install the Zerto image and run the container. For example, execute: |
sudo docker run -d -p 8080:8080 -p 50000:50000 -v volume_name
--name container-name zerto/zorchestrator
The value zerto/zorchestrator is the repository name; use this value.
If you want, check that the image installation was successful by running:
sudo docker images
You can check the container status by running:
sudo docker ps -a
3. | Connect to Jenkins with HTTP, using the IP of the virtual machine in the protected site and port 8080. |
For example, enter: http://142.10.25.123:8080
4. | In the Jenkins GUI, go to the RHEL cluster definitions and enter values for the following parameters. |
# To enter RHEL node connection information, you must have permission to connect in SSH and
# to run the clustat command.
rhel_nodes = {
ConnectionParams('NODE1.FQDN', 'RHEL_USERNAME', 'RHEL_PASSWORD'),
ConnectionParams('NODE2.FQDN', 'RHEL_USERNAME', 'RHEL_PASSWORD')
}
# Map RHEL nodes to their VPG IDs.
# The node address must be the same as in the Ôclustat' command.
# The VPG ID can be extracted from the URL when viewing information about a specific VPG.
# For example:
# https://localhost:9669/zvm#/main/vpg_details/status?id=1d864f3a-9192-4b19-9fe9-4bd810d58529
# The VPG ID is: 1d864f3a-9192-4b19-9fe9-4bd810d58529
node_name_to_vpg_id = {
'NODE1.FQDN': 'node1-vpg-id-NNN-NNN-xxx',
'NODE2.FQDN': 'node2-vpg-id-NNN-NNN-xxx',
}
# Use sudo when running clustat to get the status of the node:
use_sudo = 'true'
# The name of the service this RHEL cluster manages
# This must match the service name in 'clustat'.
service_name = 'RHEL_HOSTED_SERVICE_NAME'
Note: |
The VPG ID can be found when viewing the URL in the VPG view of the Zerto User Interface. |
5. | In Jenkins, configure the Zerto scripts that check the status of the active and passive hosts to run periodically. |
For example, to run the scripts every 15 minutes, do the following:
a. | In the Jenkins GUI, go to Build periodically. |
b. | In the schedule, put "H/15 * * * NA |
(The value 15 represents 15 minutes.)
c. | Click Save. |
Now, Jenkins will run the Zerto scripts periodically, according to these configuration values.
If you want to run the script manually, in the left panel of the Jenkins GUI, click Build Now. This executes the Zerto scripts.