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
- 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
- Edit the /opt/vmware/vio/custom/custom.yml file.
- Uncomment the nsxv_edge_ha parameter.
- Set the nsxv_edge_ha parameter to True.
- Save the custom.yml file.
After modifying and saving the custom.yml file, high availability is enabled for all NSX Edge nodes subsequently generated by VMware Integrated OpenStack.
- Manually enable high availability on all current NSX Edge nodes.
- 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 list
- 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>
- Repeat the preceding command for each Edge node.
- 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.