6.8.2. Demonstrating Virtual Machine High Availability when Storage Network is Down (Host: SPM)

Procedure 6.2. To demonstrate virtual machine high availability when storage network is down (Host: SPM)

  1. On the Hosts tab, select the Pacific host to display its details pane. Click the Network Interfaces subtab. You should have at least one rhevm network and one storage network, as configured earlier. In this example, the storage network is allocated on p1p1.
    Next, on the Tree pane click ISCSI-share. On the Storage tab, select the ISCSI-share domain and click Edit. On the Edit Domain dialog, click the + symbol to display the iSCSI target. Note that the storage target's subnet mask address is the same as the storage network's, as seen under Address.
  2. Now that you have determined the name and physical interface of your storage network, connect to the Pacific host via SSH. Check your available networks by running the following command:
    [root@pacific ~]# ifconfig
    Once you have determined the name of your storage network, run:
    [root@pacific ~]# ifdown storage
    [root@pacific ~]# ifdown p1p1
    You have now shut down the network between the Pacific host and ISCSI-share storage. On the Hosts tab, the Pacific host changes to Non Operational, then to Reboot.
  3. Because the Pacific host was configured as the SPM, it is automatically rebooted. The highly available virtual machines are restarted on the other available host in the cluster - in this case it is Atlantic - while the non highly available ones are suspended. However, once the Pacific host is up and running again, the virtual machines which were originally running on it are migrated back to it in order to balance the workload between all hosts in the cluster.
You have now demonstrated high availability when the connection is disrupted between the storage and the host which is the SPM. However, storage disconnection can also occur with a host which is not acting as the SPM. In this case, the host moves into non-operational status, and its virtual machines migrate to other hosts in the cluster.