- 13 Aug 2023
- 2 Minutes to read
Protecting the Main Database Using vSphere HA
- Updated on 13 Aug 2023
- 2 Minutes to read
The CTERA Portal platform must be protected from datacenter and virtualization host failure and maintain data integrity and business continuity. This can be achieved through CTERA Portal’s native, application level, database archiving and replication procedures but can also be managed at the ESXi layer.
To protect the CTERA Portal platform from datacenter and virtualization host failure at the ESXi layer:
vSphere HA Hardware and Software Requirements
Before starting to configure vSphere HA and protect the CTERA Portal main database VM, review the VMware’s vSphere HA hardware and software requirements from https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.avail.doc/GUID-8FD87389-8CC9-4298-8B08-A1526FB44524.html. These requirements must be addressed prior to any configuration and VM deployments.
Configuring vSphere HA
Perform the following procedure to enable vSphere HA for your datacenter.
To configure vSphere HA:
- Login in to your vCenter Server using vSphere client.
- Right-click on the cluster you want to protect using vSphere HA on and click Settings.
- Browse to vSphere Availability under Services.
- Click EDIT for vSphere HA.
The Edit Cluster Settings window is displayed.
- Enable vSphere HA.
- In the Failures and responses tab make sure that Enable Host Monitoring is on and set Host Failure Response to Restart VMs.
- In the Heartbeat Datastores tab, select the shared datastores that will be used for vSphere HA.Note
You must select a minimum of two datastores. For automatic detection of accessible datastores, choose Automatically select datastores accessible from the hosts.
- Click OK.
vSphere HA is now enabled on the cluster.
Once vSphere HA is enabled, using the dedicated, shared datastores, virtual machines deployed to hosts participating in your cluster are automatically protected.
Testing vSphere HA Failover
Virtual machines deployed to hosts participating in the vSphere HA-enabled cluster are protected.
To perform a failover test:
- Deploy the CTERA Portal Main Database VM to one of the hosts is the cluster with vSphere HA set.
- Upload sample data to the CTERA Portal.
- After successfully uploading files to the CTERA Portal, power off the vSphere host running the CTERA Portal main database.
vSphere will provide an alert indicating that the failover process has started and will begin restarting the CTERA Portal main database VM on a second host.
Upon completing the failover, vSphere will provide an alert indicating that the CTERA Portal main database virtual machine is back up and running.
The failover and failback processes are performed automatically, requiring no manual intervention.