When performing maintenance, upgrades, etc, on a SimpliVity host it is important to verify SimpliVity VMs are in a safe Storage HA state. A safe Storage HA state, or Storage HA equal to Yes, means the virtual machine’s data is fully synchronized and protected in a multi-node SimpliVity cluster.
Verifying the Storage HA state of a VM can be accomplished using a number of different methods:
- Using the SimpliVity Management functions in the vSphere Web Client
- Using the SimpliVity CLI
- Using the SimpliVity REST API
This post provides an overview of verifying Storage HA of SimpliVity virtual machines using the different methods.
To verify Storage HA using the vSphere Web Client. From the home screen access the SimpliVity Federation and select Virtual Machines from the Navigation menu. This will show all virtual machines running on the SimpliVity Data Virtualization Platform (DVP) across all SimpliVity Datacenters/Clusters in the Federation.
A VM which is not full protected in Storage HA will also display a warning alarm in the vSphere Client.
Storage HA can also be verified using the SimpliVity CLI. SSH to an OmniStack Virtual Controller (OVC), log in with your vCenter Credentials. From the CLI run the command:
svt-vm-show. This will return information about VMs running in the SimpliVity Cluster including the HA Storage State.
When using the vSphere Client or the SimpliVity CLI, HA Storage reporting Yes means the VM is fully protected. The status may also report Syncing if it is syncing across nodes or Degraded if the syncing process has not yet started. Before performing any maintenance or upgrades let any Syncing operations finish. If syncing does not complete or a VM remains in a degraded state open a Support Ticket with SimpliVity Support to identify the issue before performing any maintenance.
Finally you can check Storage HA using the SimpliVity REST API. The REST API web interface (https://OVCIP/api/index.html) or a simple powershell script leveraging the SimpliVity REST API can be used to check the HA status of virtual machines.
There are multiple different status messages which can be reported for Storage HA and they are documented in the SimpliVity REST API documentation. If the REST API returns the HA Status SAFE, the virtual machine is in Storage HA.
To prevent unplanned outages from data becoming unavailable, it is important to ensure VMs are protected by SimpliVity Storage HA. These are three easy methods to verifying HA Storage for Virtual Machines running on the SimpliVity DVP before performing any maintenance operations (hardware maintenance, upgrades, etc…).