Stateful failover system

About stateful failover

For high availability, you can set up a stateful failover system with two hosts to prevent hardware or software failure from interrupting services. In the stateful failover system, one host is placed in primary state to provide services, and the other host is placed in backup state as a standby. The primary host synchronizes database files to the backup host over the management network in real time. When the primary host fails, the backup host takes over automatically to ensure service continuity.

You can create a local synchronization partition on both the primary and secondary nodes to synchronize the data other than database files.

Stateful failover supports the following deployment modes:

Figure-1 Converged deployment

 

Figure-2 Distributed deployment

 

Prerequisites

Make sure the two management hosts for stateful failover meet the following requirements:

Restrictions and guidelines

Set up a stateful failover system

Procedure

·          During the setup process of the stateful failover system, do not access the /vms directory through SSH. If you do so, stateful failover system setup fails.

·          During the setup process of the stateful failover system, do not reboot or shut down a management node. If a management node reboots or shuts down unexpectedly, you must set up the stateful failover system again.

·          To avoid unexpected errors, do not modify the host names or IP addresses after the stateful failover system is set up.

·          Make sure hosts for setting up a stateful failover system have the same IP type (IPv4 or IPv6) as the network type planned by Space Console.

 

  1. From the navigation pane, select System > Failover System Management > Stateful Failover System.

  1. Click Set Up Stateful Failover System.

  1. Configure the parameters as described in "Parameters."

  1. Click OK.

Parameters

Display stateful failover settings

  1. From the navigation pane, select System > Failover System Management > Stateful Failover System.

  1. Click View Stateful Failover Settings.

Perform manual primary/backup switchover

·          For successful primary/backup switchover, make sure the primary and backup nodes have consistent data.

·          Do not perform a manual primary/backup switchover when the backup node is abnormal, data synchronization is in progress, or data synchronization is abnormal.

·          Perform a manual primary/backup switchover when services are suspended or services do not have traffic. Users cannot set up new desktop connections during the switchover. Connected desktops are not affected.

 

  1. From the navigation pane, select System > Failover System Management > Stateful Failover System.

  1. Click Primary/Backup Switchover.

  1. Click OK.

Configure the virtual IP address of the service network

Perform this task if the management network and the service network are isolated and the VM network is on the service network in a stateful failover system. This task ensures that VMs on the service network can correctly communicate with the management platform after primary/backup switchover.

  1. From the navigation pane, select System > Failover System Management > Stateful Failover System.

  1. Click Configure Service Network VIP.

  1. In the dialog box that opens, select a vSwitch and then specify the virtual IP address and subnet mask of the service network.

Make sure the virtual IP address of the service network and the service network IP addresses of the vSwitches of the primary and standby management nodes are on the same network segment.

  1. Click OK.

Display stateful failover host information

This task is available in a distributed deployment environment.

Procedure

  1. From the navigation pane, select System > Failover System Management > Stateful Failover System.

If a host is not in a service cluster, the system displays the Network and Storage Adapters tabs for the host.

  1. Manage the vSwitches of the host on the Network tab. You can add, modify, or delete vSwitches.

  1. Manage the storage adapters of the host on the Storage Adapters tab. You can modify the IQN or scan storage devices.

Parameters