flexVDI Manager Clusterization

Prerequisites for clusterization

This section shows how to configure flexVDI Manager in High Availability. After this, if the flexVDI Host that is running the flexVDI Manager fails, another instance of the flexVDI Manager will be started on another host automatically. The requirements to clusterize are:

  • Having registred at least two flexVDI Hosts in the flexVDI Manager. This task can be done through the flexvdi-config command.
  • Having shared storage accessible by the flexVDI Hosts: SAS, ISCI, ...
  • Having performed the instructions in chapter Clustering and shared storage in this Manual.
  • Having the same virtual bridge (for instance virbr0) connected to the same LAN in all flexVDI Hosts.
  • It is highly recommended to have a dedicated network interface for storage.

Storage configuration

You must use disks shared between the flexVDI Hosts to store the disk image of the instance flexVDI Manager, so that it can be started indiscriminately in any of them. To do this, you must create an Image Storage, and within this a Volume. This task must be done with the flexVDI Dashboard application. Read the guide First steps using flexVDI Dashboard 2.2 , and in particular the section on configuring storage objects to learn more about creating storage objects.

flexVDI Manager Clusterization

Once the shared Volume has been created, you can access clusterize flexVDI Manager executing flexVDI Config on any host.

  1. Select Manager in the main menu.
  2. Select Clusterize option.
  3. Enter the flexVDI Manager instance password. The default password is flexvdi.
  4. Select the Image Storage where flexVDI Manager disk image is to be stored.

    config_manager_cluster1.png

  5. Select the Volume where the disk image will be stored.

    config_manager_cluster2.png

  6. You'll then see a window with the information about the flexVDI Manager Clusterization process: source location of the flexVDI Manager instance, destination volume, and flexVDI Hosts in the cluster that can reach that location. Click  "Yes" to proceed.

    config_manager_cluster3.png

  7. After the clusterization has finished, a window will be displayed informing about the outcome of the operation.

You can check the configuration from any flexVDI Host by accessing the /flexvdi/etc/flexvdi-agent-watchdog.conf file. Its contents should be similar to these:

 

{
        "ipaddress": "10.111.1.181",
        "vmname": "flexVDI_Manager",
        "vmimage": "/flexvdi/image_storages/myImageStorage/myVolume/flexvdi-manager-2.2.17",
        "vmdata": "/flexvdi/image_storages/myImageStorage/myVolume/flexvdi-manager-data",
        "vmbridge": "virbr0",
        "vmvlan" : "",
        "vmpassword": "adsfas32",
        "instance": "00",
        "ha_mode" : "clustered",
        "host_list": ["flexhost1", "flexhost2"],
        "ocfs2_primarydisk_id": "beaf11",
        "ocfs2_secondarydisk_id": "",
        "ocfs2_volume_id": "myVolume",
        "ocfs2_imagestorage_id": "myImageStorage",
        "storage_mode": "ocfs2"
}