If you installed VMware Integrated OpenStack with NSX-V networking and did not enable NSX Edge HA, you can enable it for some or all NSX Edge nodes after deployment.


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


  1. Log in to the OpenStack Management Server.
  2. Enable high availability on each NSX Edge node by specifying its edge-id value.
    sudo -u neutron nsxadmin -r edges -o nsx-update --property highAvailability=True --property edge-id=edge-node-id

    To find the ID of NSX Edge nodes, you can run the sudo -u neutron nsxadmin -r edges -o nsx-list command.

  3. (Optional) Configure VMware Integrated OpenStack to enable HA on all future NSX Edge nodes.custom.yml file.
    1. If your deployment is not using a custom.yml file, copy the template custom.yml file to the /opt/vmware/vio/custom directory.
      sudo mkdir -p /opt/vmware/vio/custom
      sudo cp /var/lib/vio/ansible/custom/custom.yml.sample /opt/vmware/vio/custom/custom.yml
    2. Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
    3. Uncomment the nsxv_edge_ha parameter and set its value to True.
    4. Deploy the updated configuration.
      sudo viocli deployment configure

      Deploying the configuration briefly interrupts OpenStack services.