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

Prerequisites

Create a separate DHCP profile and metadata proxy server for each availability zone. Availability zones can share an edge cluster or use separate edge clusters.

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 nsxv3_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 nsxv3_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.

    metadata_proxy

    Enter the name or UUID of the metadata proxy server for the availability zone.

    dhcp_profile

    Enter the name or UUID of the DHCP profile for the availability zone.

    native_metadata_route

    (Optional) Specify the route used for the metadata proxy service. Enter an IP address with prefix in CIDR notation.

    dns_domain

    (Optional) Enter the DNS domain for hostnames in the availability zone.

    nameservers

    (Optional) Enter one or more DNS servers to configure for DHCP binding entries.

    default_overlay_tz

    (Optional) Enter the name or UUID of the default overlay transport zone.

    default_vlan_tz

    (Optional) Enter the name or UUID of the default VLAN transport zone.

    switching_profiles

    (Optional) Enter the UUIDs of the switching profiles for the availability zone.

    dhcp_relay_service

    (Optional) Enter the name or UUID of the DHCP relay service for the availability zone.

    default_tier0_router

    (Optional) Enter the name or UUID of the default tier-0 router for the 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.

Results

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

Example: Creating Separate Availability Zones for N-VDS Standard and Enhanced Data Path

The following procedure implements separate availability zones so that you can deploy NFV workloads on N-VDS in enhanced data path mode and other workloads in standard mode. In this example, VMware Integrated OpenStack has been deployed with NSX-T Data Center in standard mode. The availability zones will be configured on the same tier-0 router and edge cluster. The VMware Integrated OpenStack management network uses the IP address range 192.0.2.10 to 192.0.2.50.

  1. In NSX-T Data Center, configure an overlay transport zone and VLAN transport zone using N-VDS in enhanced data path mode. See Enhanced Data Path.

    The overlay transport zone is named nfv-overlay-tz and the VLAN transport zone is named nfv-vlan-tz.

  2. Create a DHCP profile for the new availability zone.
    1. In NSX Manager, select Networking > DHCP.
    2. In the Server Profiles tab, click Add.
    3. Enter nfv-dhcp as the name and select the existing edge cluster.
    4. Click Add.
  3. Create a metadata proxy server for the new availability zone.
    1. In NSX Manager, select Networking > DHCP.
    2. In the Metadata Proxies tab, click Add.
    3. Enter nfv-mdp as the name.
    4. Enter http://192.0.2.10:8775 as the Nova server URL.
    5. Enter mdpassword as the secret.
    6. Select the existing edge cluster.
    7. Click Add.
  4. Log in to the OpenStack Management Server as viouser.
  5. Open the custom.yml file and add the following information:
    nsxv3_availability_zones: nfv-az
    nsxv3_availability_zones_detail: [{'zone_name': 'nfv-az', 'metadata_proxy': 'nfv-mdp', 'dhcp_profile': 'nfv-dhcp', 'default_overlay_tz': 'nfv-overlay-tz', 'default_vlan_tz': 'nfv-vlan-tz'},]
    
  6. Deploy the updated configuration.
    sudo viocli deployment configure
  7. Create a network in the new availability zone.
    1. Switch to the root user and load the cloud administrator credentials file.
      sudo su -
      source ~/cloudadmin.rc
    2. Create the network.
      neutron net-create nfv-network --tenant-id nfv-project --availability-zone-hint nfv-az