You can create additional Neutron availability zones with NSX Data Center for vSphere by updating your VMware Integrated OpenStack configuration.

Prerequisites

  • Create an edge cluster for the new availability zone.
  • Create a resource pool on the new edge cluster.
  • Configure the new edge cluster to use the appropriate distributed switch. You can create a new distributed switch for the zone if desired.
  • In NSX Data Center for vSphere, create a transport zone that includes the new edge cluster.

Procedure

  1. Log in to the OpenStack Management Server as viouser.
  2. 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
  3. Open the /opt/vmware/vio/custom/custom.yml file in a text editor.
  4. Uncomment the nsxv_availability_zones parameter and set its value to the name of the availability zone that you want to create.
    The value of this parameter can include multiple availability zones. Separate multiple names with commas (,).
  5. Uncomment the nsxv_availability_zones_detail parameter and configure it for your new availability zone.
    Option Description
    zone_name

    Enter the name of the availability zone that you want to configure.

    resource_pool_id

    Enter the managed object identifier (MOID) of the resource pool that you created for the new availability zone.

    datastore_id

    Enter the MOID of the datastore that you want to use for the new availability zone.

    edge_ha

    Enter True to enable high availability for edge nodes or False to disable it.

    ha_datastore_id

    Enter the MOID of the datastore that you want to use for high availability for edge nodes.

    If you set edge_ha to False, do not specify a value for the ha_datastore_id parameter.

    external_network

    Enter the MOID of the external network port group on the distributed switch for the new availability zone.

    vdn_scope_id

    Enter the MOID of the transport zone that you created for the new availability zone.

    mgt_net_id

    Enter the MOID of the management network for your deployment.

    mgt_net_proxy_ips

    Enter the IP addresses of the metadata proxy server for your deployment.

    dvs_id

    Enter the MOID of the distributed switch for the new availability zone.

    Ensure that there is one copy of the preceding parameters for each availability zone configured.
  6. Deploy the updated configuration.
    sudo viocli deployment configure

    Deploying the configuration briefly interrupts OpenStack services.

What to do next

To specify an availability zone for a network, include the --availability-zone-hint az-name parameter when creating the network.