
High Availability
Configuring UNUM to use VMware vSphere High Availability (HA)
Note: Appropriate VMware licensing required when using vSphere HA. VMware vSphere Enterprise licensing recommended.
To fully utilize high availability for your UNUM instance, the general configuration process is as follows:
•Create a DataCenter on the VMware vCenter, if a datacenter does not currently exist.
•Create a VMWare Cluster.
•Create a shared Datastore.
•Migrate the standalone UNUM instance.
•Migrate the standalone vNV instance.
•Configure HA on the VMware cluster.
•Validate the configuration in VMware and UNUM Database Health.
More detailed instructions are listed below in the Configure High Availability section.
The following series of illustrations are examples of a fully configured UNUM HA instance and using UNUM to monitor cluster health.
Summary
The following HA example assumes a configuration of:
•VEP Server One - configured on IP address 10.110.1.61.
•VEP Server Two - configured on IP Address 10.110.2.29.
•unum-vm - UNUM application instance running on Server One and fails over to Server Two as necessary.
•vnv-vm_1 - Virtual Netvisor instance running on Server Two and fails over to Server One as necessary.
Fully Configured High Availability UNUM Instance
VEP Cluster ESXi Hosts
•VEP Server One - configured on IP address 10.110.1.61
•VEP Server Two - configured on IP Address 10.110.2.29
Fully Configured High Availability UNUM Instance - Hosts
VEP Cluster Virtual Machines
•unum-vm - UNUM application instance running on Server One and fails over to Server Two as necessary.
•vnv-vm_1 - Virtual Netvisor instance running on Server Two and fails over to Server One as necessary.
Fully Configured High Availability UNUM Instance - Virtual Machines
UNUM Instance
The unum-vm shown currently running on Server One 10.110.1.61 and in vSphere HA protection mode (High Availability).
Should this instance go down or offline the UNUM application switches over to run on Server Two 10.110.2.29.
Fully Configured High Availability UNUM Instance - vSphere HA Protection Mode
Datastores
•Datastore-HC - shared instance used by UNUM HA and VMware Heartbeat.
•Datastore2-HC - shared instance used for VMware Heartbeat.
Fully Configured High Availability UNUM Instance - Redundant Datastores
UNUM Database Health
In UNUM, Settings → Database → Health.
•172.81.19.101 represents the health of the UNUM instance.
Fully Configured High Availability UNUM Instance - Database Health
Configure High Availability (HA)
To configure HA refer to the following steps. The general process involves:
1.Creating a DataCenter on the VMware vCenter, if a datacenter does not currently exit.
2.Creating a VMWare Cluster.
3.Creating an NFS datastore.
4.Migrating the standalone UNUM instance.
5.Migrating the standalone vNV instance.
6.Configuring HA on the cluster.
7.Validating the configuration and Database Health.
Create Data Center on vCenter
If a datacenter does not exit you must create a new datacenter.
Right-click on the vSphere instance and select New Datacenter.
UNUM HA - Add New Datacenter
Enter the name for the new datacenter.
UNUM HA - Add New Name
Click OK to continue.
The new datacenter appears in the dashboard.
UNUM HA - New Datacenter Dashboard
Create VMware Cluster
Create a VMware cluster under the new datacenter by selecting the datacenter. Right-click and select New Cluster.
UNUM HA - Create Cluster
Enter a name for the new cluster.
UNUM HA - New Cluster Name
Click OK to continue. The new cluster appears in the dashboard.
UNUM HA - New Cluster in Dashboard
Add Primary Hosts
Power off the deployed VMs before processing.
Highlight the new cluster and right-click and select Add Hosts.
UNUM HA - Add Hosts
Add Primary Hosts Servers One & Two.
Enter the IP Address, username and password for each node.
UNUM HA - Add Hosts Details
Click Next to continue.
Review the Host Summary.
Click Next to continue and review the entries.
UNUM HA - Add Hosts Finish
Click Finish to add the new hosts.
The hosts appear in the dashboard.
UNUM HA - Hosts Dashboard
Add NFS
Configure the VMWare Cluster to use the shared datastore.
The example below shows how to configure for NFS,the shared medium we have chosen:
Create a new NFS datastore under Cluster → Storage → New Datastore.
UNUM HA - Create Datastore
Click on Next.
Enter NFS type and details.
UNUM HA - Create Datastore NFS Type
Click on Next.
Enter the details, including Name, Folder and Server.
UNUM HA - Enter Datastore Details
Click on Next.
Select all hosts in the cluster.
UNUM HA - Select Host Accessibility
Click Next to continue.
Review all details and click Finish to complete the datastore configuration.
UNUM HA - Complete New Datastore
Note: Repeat the New Datastore process and create a second datastore for redundancy. For example, Datastore2-HC.
Migrate UNUM Instance
You must migrate both the unum-vm and vnv-vm_1 instances to the clustered datastore. This is performed in two separate steps.
The examples below illustrate migrating the unum-vm instance.
UNUM HA - Dashboard - Ready for Migration
Power Off the unum-vm and vnv-vm_1 instances before proceeding.
UNUM HA - Dashboard - Power Off PN-Unum-main
Right-click on the unum-vm instance and select Migrate.
UNUM HA - Dashboard - Migrate
Select Migration Type
Choose Change Storage Only and click Next to continue.
UNUM HA - Migrate - Change Storage Only
Select the Datastore for the migration.
UNUM HA - Migrate - Select Storage for Migration
Click Next to continue.
Ready To Complete
UNUM HA - Migrate - Ready To Complete Migration
Click Finish to begin the migration.
Progress is monitored in the dashboard.
UNUM HA - Migrate - Migration in Progress
Repeat the process to migrate the vnv-vm_1 instance.
After migrating both the unum-vm and the vnv-vm_1 instances, Power On both instances.
UNUM HA - Migrate - PN-Unum-main Powered On
Configure HA on VMWare Cluster
Setup HA on VMware Cluster (if not previously configured).
Click on Configure → vSphere Availability → Edit.
UNUM HA - Configure vSphere HA
Select vSphere HA to On.
UNUM HA - Configure vSphere HA On
Disable the Admission Control setting.
UNUM HA - Configure vSphere Admission Control - Disabled
Select Heartbeat Datastores.
UNUM HA - Configure vSphere Heartbeat Datastores
Click on OK.
HA Configuration Validation
The Recent Tasks pane shows that HA configures successfully on the hosts and when HA is configured on the VMware cluster.
UNUM HA - Configuration Validation
UNUM HA - Configuration Validation - Complete
The VM on Shared Storage shows HA protected.
UNUM HA - Configuration Validation - vSphere HA Protection Enabled
High Availability Validation after Fail-over
In the following examples, the UNUM unum-vm instance runs on one server while the vnv-vm_1 instance runs on the second server. This instance is HA protected.
UNUM HA - Configuration Validation - Example - Healthy Cluster
Server One running UNUM instance.
UNUM HA - Configuration Validation - Example - Healthy Cluster - Server One - UNUM Instance
Server Two running vNV instance.
UNUM HA - Configuration Validation - Example - Server Two - vNV Instance
Server One (10.110.1.61) then becomes unresponsive or is rebooted. The unum-vm instance is now running on Server Two (10.110.2.29) along with the vnv-vm_1 instance.
UNUM HA - Configuration Validation - Example - Cluster Instance Failed or Rebooted
You can confirm the UNUM instance is running on the second host (10.110.2.29), Server Two, in the same VMWare Cluster.
When Server One returns online, there are now no vm instances running on the server. All instances are running on Server Two.
UNUM HA - Configuration Validation - Example - Cluster Instance Failed Over
UNUM Database Health - High Availability Validation after Fail-over
In UNUM, Settings → Database → Health monitor the datanode status.
UNUM HA - Configuration Validation - Example - UNUM Datanode Status