In VMware Cloud Foundation, you create and configure the VMkernel network adapters for vSAN and vSphere vMotion traffic for the hosts in Availability Zone 2.

You repeat this procedure to create VMkernel network adapters on all ESXi hosts in Availability Zone 2.

Host

IPv4 Address for sfo02-w01-vds01-vmotion

IPv4 Address forsfo02-w01-vds01-vsan

VMkernel Gateway

sfo02w01esx01.sfo01.rainpole.local

172.16.62.101

172.16.63.101

172.16.62.253

sfo02w01esx02.sfo01.rainpole.local

172.16.62.102

172.16.63.102

sfo02w01esx03.sfo01.rainpole.local

172.16.62.103

172.16.63.103

sfo02w01esx04.sfo01.rainpole.local

172.16.62.104

172.16.63.104

Prerequisites

For VMware Cloud Foundation 3.8, download the vcf-stretch-cluster-patch.zip patch for the SоS utility from VMware Knowledge Base article 71278 and update the SоS utility on the SDDC Manager appliance by following the instructions in the VMware Knowledge Base article.

The SоS utility in VMware Cloud Foundation 3.8.1 supports deploying NSX-T workload domains with multiple availability zones.

Procedure

  1. Reserve the IP addresses for the VMkernel adapters for vSAN and vSphere vMotion traffic in the workload domain.
    1. Log in to the SDDC Manager appliance by using a Secure Shell (SSH) client.
      Setting Value
      FQDN sfo01sddcm01.sfo01.rainpole.local
      User name vcf
      Password sddc_manager_vcf_password
    2. On the SDDC Manager appliance, run the su command to switch to the root account.
    3. Run the following command for the host IP addresses for vSphere vMotion traffic and note down the reserved IP addresses from the command output .
      ./opt/vmware/sddc-support/sos --reserve-ips --network-pool sfo02w01-network-pool --network-type vmotion --ip-count 4 
      The command reserves IP addresses according to the configuration of the network pool for the workload domain. For example:
      • 172.16.62.101
      • 172.16.62.102
      • 172.16.62.103
      • 172.16.62.104
    4. Run the following command for the host IP addresses for vSAN traffic and note down the reserved IP addresses from the command output.
      ./opt/vmware/sddc-support/sos --reserve-ips --network-pool sfo02w01-network-pool --network-type vsan --ip-count 4 
      The command reserves IP addresses according to the configuration of the network pool for the workload domain. For example:
      • 172.16.63.101
      • 172.16.63.102
      • 172.16.63.103
      • 172.16.63.104
  2. In a Web browser, log in to vCenter Server by using the vSphere Client.
    Setting Value
    URL https://sfo01m01vc01.sfo01.rainpole.local/ui
    User name administrator@vsphere.local
    Password vsphere_admin_password
  3. Configure the VMkernel network adapters.
    1. In the Hosts and clusters inventory, expand the sfo01w01vc01.sfo01.rainpole.local tree.
    2. Select the sfo02w01esx01.sfo01.rainpole.local host and click the Configure tab.
    3. In the Networking section, click VMkernel adapters.
    4. On the VMkernel adapters page, click the Add networking button.

      The Add networking wizard opens.

    5. On the Select connection type page, select VMkernel network adapter, and click Next.
    6. On the Select target device page, click Select an existing network, select the sfo02-w01-vds01-vmotion port group, and click Next.
    7. On the Port properties page, configure the settings and click Next.

      Setting

      Value for sfo02-w01-vds01-vmotion

      Value for sfo02-w01-vds01-vsan

      IP settings

      IPv4

      IPv4

      MTU

      Get MTU from switch

      Get MTU from switch

      TCP/IP stack

      vMotion

      Default

      Enabled services

      -

      vSAN

    8. On the IPv4 settings page, configure the following settings and click Next.
      Assign the IP addresses you have reserved in Step 1.

      Setting

      Value for sfo02-w01-vds01-vmotion

      Value for sfo02-w01-vds01-vsan

      Use static IPv4 settings

      Selected

      Selected

      IPv4 address

      172.16.62.101

      172.16.63.101

      Subnet mask

      255.255.255.0

      255.255.255.0

    9. On the Ready to complete page, click Finish.
    10. Repeat the step to add the VMkernel network adapter for vSAN traffic.
  4. Configure the vMotion TCP/IP stack.
    1. In the Networking section, click TCP/IP configuration
    2. Select vMotion and click the Edit icon.
    3. On the Routing page, set VMkernel gateway to 172.16.62.253 and click OK.
    4. Repeat this step to configure the vMotion TCP/IP stack for the remaining ESXi hosts in Availability Zone 2.
  5. Repeat Step 3 to Step 4 to add the VMkernel network adapters on the other ESXi hosts.
  6. Update the inventory in SDDC Manager.
    1. On the SDDC Manager appliance, create a update.inventory.json file in the /tmp directory by using the sample in the /tmp/vcf-stretch-cluster-patch directory.
    2. Run the following command.
      ./opt/vmware/sddc-support/sos --update-domain-inventory /tmp/update.inventory.json