After all ESXi hosts are added to the cluster, you create a vSphere Distributed Switch.
Procedure
- Log in to the Compute vCenter Server by using the vSphere Web Client.
- Create a vSphere Distributed Switch for the shared edge and compute cluster.
- Edit the settings of the sfo01-w01-vds01 distributed switch.
- Right-click the sfo01-w01-vds01 distributed switch and select .
- Click the Advanced tab.
- Enter 9000 as MTU (Bytes) value and click OK.
- Create port groups in the sfo01-w01-vds01 distributed switch.
- Change the Port Groups to use the Route Based on Physical NIC load teaming algorithm.
- Right-click the sfo01-w01-vds01 distributed switch and select .
- On the Select port group policies page, select the Teaming and failover check box and click Next.
- On the Select port groups page, click the button, add all port groups except sfo01-w01-vds01-uplink01 and sfo01-w01-vds01-uplink02, click OK, and click Next.
- On the Teaming and failover page, select Route based on physical NIC load from the Load balancing drop-down menu and click Next.
- Click Finish.
- Configure the uplinks for the sfo01-w01-vds01-uplink01 and sfo01-w01-vds01-uplink02 port groups.
- Right click the sfo01-w01-vds01-uplink01 port group, and click Edit Settings.
- Select Teaming and Failover.
- Move Uplink2 to Unused uplinks and click OK.
- Right click the sfo01-w01-vds01-uplink02 port group, and click Edit Settings.
- Select Teaming and Failover.
- Move Uplink1 to Unused uplinks and click OK.
- Connect the ESXi host, sfo01w01esx01.sfo01.rainpole.local, to the sfo01-w01-vds01 distributed switch by migrating its VMkernel and virtual machine network adapters.
- Right-click the sfo01-w01-vds01 distributed switch, and click Add and Manage Hosts.
- On the Select task page, select Add hosts and click Next.
- On the Select hosts page, click New hosts.
- In the Select new hosts dialog box, select sfo01w01esx01.sfo01.rainpole.local, click OK, and click Next.
- On the Select network adapter tasks page, ensure both Manage physical adapters and Manage VMkernel adapters check boxes are selected and click Next.
- On the Manage physical network adapters page, click vmnic1, and click Assign uplink.
- In the Select an Uplink for vmnic1 dialog box, select Uplink2 and click OK.
- On the Manage physical network adapters page, click Next.
- Configure the VMkernel network adapters.
- On the Manage VMkernel network adapters page, click vmk0 and click Assign port group.
- Select sfo01-w01-vds01-management and click OK.
- On the Manage VMkernel network adapters page, click On this switch and click New adapter.
- On the Add Networking page, click Select and existing network, select the sfo01-w01-vds01-nfs port group, click OK, and click Next.
- Under Port properties click Next.
- Under IPv4 settings select Use static IPv4 settings, enter the IP address 172.16.25.101 and the subnet 255.255.255.0, and click Finish.
- On the Manage VMkernel network adapters page, click Next.
- On the Analyze impact page, click Next.
- On the Ready to complete page, review your entries and click Finish.
- Create the vMotion VMkernel adapter.
- In the Navigator, click Host and Clusters and expand the sfo01w01vc01.sfo01.rainpole.local tree.
- Click sfo01w01esx01.sfo01.rainpole.local.
- Click the Configure tab then select VMkernel adapters.
- Click the Add host networking icon and select VMkernel Network Adapter and click Next.
- On the Select target device page, click Select an existing network, select the sfo01-w01-vds01-vmotion port group, click OK, and click Next.
- On the Port properties page, select vMotion from the TCP/IP stack drop-down menu and click Next.
- On the IPv4 settings page, select Use static IPv4 settings, enter the IP address 172.16.32.101, enter the subnet 255.255.255.0, and click Next.
- Click Finish.
- Configure the MTU on the vMotion VMkernel adapter.
- Select the vMotion VMkernel adapter created in the previous step, and click Edit Settings.
- Click the NIC settings page.
- Enter 9000 for the MTU value and click OK.
- Configure the vMotion TCP/IP stack.
- Under Networking , click TCP/IP configuration.
- Select vMotion and click the Edit TCP/IP stack configuration icon.
- Click Routing, enter 172.16.32.253 for the VMkernel gateway address, and click OK.
- Define Network I/O Control shares for the different traffic types on the sfo01-w01-vds01 distributed switch.
- Migrate the last physical adapter from the standard switch to the sfo01-w01-vds01 distributed switch.
- In the Navigator, click Networking and expand the sfo01-w01dc data center.
- Right-click the sfo01-w01-vds01 distributed switch and select Add and Manage hosts.
- On the Select task page, select Manage host networking and click Next.
- On the Select hosts page, click Attached hosts.
- On the Select member hosts dialog box, select sfo01w01esx01.sfo01.rainpole.local and click OK.
- On the Select hosts page, click Next.
- On the Select network adapter tasks page, select Manage Physical adapters and click Next.
- On the Manage physical network adapters page, under sfo01w01esx01.sfo01.rainpole.local, select vmnic0, and click Assign uplink.
- In the Select an Uplink for vmnic0 dialog box, select Uplink 1, click OK, and click Next.
- On the Analyze Impact page, click Next.
- On the Ready to complete page, click Finish.
- Enable vSphere Distributed Switch Health Check.
- In the Navigator, click Networking and expand the sfo01-w01dc data center.
- Select the sfo01-w01-vds01 distributed switch and click the Configure tab.
- In the Navigator under Settings, select Health check and click the Edit button.
- Select Enabled for VLAN and MTU and Teaming and failover and click OK.
- Remove the vSphere Standard Switch.
- In the Navigator, click Hosts and Clusters and expand the sfo01w01vc01.sfo01.rainpole.local tree.
- Click sfo01w01esx01.sfo01.rainpole.local and click Configure.
- On the Configure page, select Virtual switches.
- On the Virtual switches page, select vSwitch0, and then click the Remove selected standard switch button.
- On the Remove Standard Switch dialog box , click Yes.