# Deploying vCenter Server Appliance

1. Deploy vCenter Server Appliance on the ESXi host. For details, see section "Deploying the vCenter Server Appliance and Platform Services Controller Appliance" in vSphere Installation and Setup.
2. Some example configurations are as follows:

   1. When importing the OVA file during the first installation phase, set a static IP address 11.11.11.3 for vCenter Server Appliance, and set the subnet mask to 255.255.255.0, default gateway to 11.11.11.1, and DNS to 11.11.11.6.
   2. In phase 2, set the username and password of the new vCenter Single Sign-on domain. Assume that the username is administrator, domain name is vsphere.local, and site name is photon-machine.

3. Log in to vCenter Web Client and create a data center and a cluster.
4. On the vCenter Web Client, create three distributed virtual switches (DVSs), create one or more distributed port groups on each DVS, and configure VLAN IDs for the distributed port groups based on DPortGroup-mgmt, DPortGroup-vxlan, DPortGroup-edge-internal, and DPortGroup-vsan. Table 1 lists the DVSs and distributed port groups.

   Table 1 Configuration information
   DVS | Distributed Port Group | VLAN ID
   --- | --- | ---
   dvSwitch-0 | DPortGroup-mgmt | 0
   dvSwitch-1 | DPortGroup-vxlan | 200
   dvSwitch-1 | DPortGroup-edge-internal | 300
   dvSwitch-2 | DPortGroup-vsan | 400

5. Create the VMkernel NIC on the hb-vsan port group. Select Virtual SAN traffic for the port attribute and configure the IP address based on Table 3.

   Migrate the VMkernel NIC and uplink on vSwitch1 to the distributed port group and DVS of dpg-hb-mgmt.

6. Add the first ESXi host to vCenter through IP address 11.11.11.101.

   Configure a distributed switch and migrate the vmknic, DNS/NTP, vCenter, and jump VM to the switch. For details, see section Setting Up Networking with vSphere Distributed Switches.

7. Add the ESXi host to the DVSs dvSwitch-1 and dvSwitch-2. Use uplinks vmnic4/vmnic5 and vmnic6/vmnic7 in active/standby mode.
8. Add the ESXi host to the distributed switch dvSwitch-0 using the uplink vmnic3.
9. Migrate the VMkernel NIC vmk1 to the distributed port group dpg-hb-mgmt.
10. Connect the DNS/NTP on the ESXi host and the vNIC of the vCenter VM to the distributed port group dpg-hb-mgmt.
11. Migrate the Windows jump VM on the ESXi host and connect the vNIC that connects to vSwitch1/hb-mgmt to the port group dpg-hb-mgmt on dvSwitch0.
12. Add vmnic2 to dvSwitch-0 and delete the vSwitch1 VM.

    Configurations of the vSwitch on the first ESXi host are as follows.

    Table 2 vSwitch configuration (first ESXi host)
    Port Group | vSwitch | Uplink | vlan ID | vmkernel NIC
    --- | --- | --- | --- | ---
    management network | vSwitch0 | vmnic0 vmnic1 | - | vmk0
    hb-mgmt | dvSwitch-0 | vmnic2 vmnic3 | 0 | vmk1
    DPortGroup -vxlan | dvSwitch-1 | vmnic4 vmnic5 | 100 | -
    hb-edge-internal | 300 | -
    DPortGroup -vsan | dvSwitch-2 | vmnic6 vmnic7 | 400 | vmk2

Parent topic: VMware on BMS