If you have already installed VMware Integrated OpenStack, you can enable high availability for NSX Edge nodes by modifying the custom.yml file and manually modifying each running Edge node.

Prerequisites

Verify that your Edge cluster has at least two hosts. If not, you might receive an anti-affinity error.

Procedure

  1. Implement the custom.yml file.
    sudo mkdir -p /opt/vmware/vio/custom
    sudo cp /var/lib/vio/ansible/custom/custom.yml.sample /opt/vmware/vio/custom/custom.yml
  2. Edit the /opt/vmware/vio/custom/custom.yml file.
    1. Uncomment the nsxv_edge_ha parameter.
    2. Set the nsxv_edge_ha parameter to True.
      nsxv_edge_ha: True
  3. Save the custom.yml file.

    After modifying and saving the custom.yml file, high availability is enabled for newly deployed NSX Edge nodes subsequently generated by VMware Integrated OpenStack.

  4. Manually enable high availability on all current NSX Edge nodes.
    1. In the VMware Integrated OpenStack controller, get a list of all current Edge nodes and their edge-id values.
      sudo -u neutron nsxadmin -r edges -o nsx-list
    2. Enable high availability on each Edge node by specifying its edge-id value.
      sudo -u neutron nsxadmin -r edges -o nsx-update \
      --property highAvailability=True \
      --property edge-id=<edge-id>
    3. Repeat the preceding command for each Edge node.
  5. Push the new configuration to your VMware Integrated OpenStack deployment.
    viocli deployment -v configure
    Important:

    This command updates your entire deployment and might briefly interrupt operations.