Skip to main content

vSphere Distributed Switch Part 5 – Adding ESXi host to Distributed Switch

Once the Distributed Switch is created, next step will be adding the ESXi hosts to the distributed switch to associate the hosts with the switch. This post explains you the step by step procedure to add the ESXi hosts to the distributed switch. In this complete series of posts, I have used only vSphere web client  to perform all the tasks because after vSphere 5.5, all the new features are only available when using vSphere web client.
Connect your vCenter server using vSphere web client. Click on Distributed Switches and Select your distributed switch in which you want to add ESXi hosts into it. In my case, My dvswitch is  ”DSwitch-Production”
Click on Actions tab and Select Add and Manage Hosts
Click on Add hosts under the select task wizard and click on Next
Click on the + New hosts option and click on Next
Select the hosts from the list to add it to distributed switch and click on Ok. In my case, I am going to add the ESXi host called 192.168.0.125 to my distributed switch.
You can select any of the network adapter tasks to perform as part of this task. I have selected Manage Physical adapters task. This task will allow us to add the physical network adapters to the distributes switch ,assign adapters to the uplinks or remove the existing ones. Click on Next.
Select one or more  network adapters of the ESXi host (192.168.0.125) to assign it to the distributed switch as uplink. Select the network adapter from the list and click on Assign Uplink

I have selected  vmnic1 to assign as an uplink to my distributed switch.
Select the Uplink from the list for the selected network adapter (Eg, vmnic1). I have selected vmnic1 to assign as a uplink1 for distributed switch and clcik on Ok.
Once uplink is assigned, You will be able to see the vmnic1 adapter with the status of Assigned. Click on Next.
Review the impact of this configuration change and click on Next.
Review the settings selected and click on finish to add the ESXi host to the distributed switch.
Once the task is successfully completed. You will be able to see the hosts associated with your dvswitch (Dswitch-Production) under hosts option.
I hope this is informative for you. Thanks for Reading!!. Be social and share it to social media if you feel worth sharing it.

Comments

Popular posts from this blog

Step-by-Step Explanation of Ballooning, Compression & Swapping in VMware

 🔹 Step-by-Step Explanation of Ballooning, Compression & Swapping in VMware ⸻ 1️⃣ Memory Ballooning (vmmemctl) Ballooning is the first memory reclamation technique used when ESXi detects memory pressure. ➤ Step-by-Step: How Ballooning Works  1. VMware Tools installs the balloon driver (vmmemctl) inside the guest OS.  2. ESXi detects low free memory on the host.  3. ESXi inflates the balloon in selected VMs.  4. Balloon driver occupies guest memory, making the OS think RAM is full.  5. Guest OS frees idle / unused pages (because it believes memory is needed).  6. ESXi reclaims those freed pages and makes them available to other VMs. Why Ballooning Happens?  • Host free memory is very low.  • ESXi wants the VM to release unused pages before resorting to swapping. Example  • Host memory: 64 GB  • VMs used: 62 GB  • Free: 2 GB → ESXi triggers ballooning  • VM1 (8 GB RAM): Balloon inflates to 2 GB → OS frees 2 GB → ESXi re...

ESXi Host Troubleshooting Checklist

  🛠️ ESXi Host Troubleshooting Checklist (With Complete Log Locations) ✅ 1. Host Status & Connectivity Check host state in vCenter (Connected / Not Responding / Disconnected) Review CPU, RAM, and datastore usage Validate HA/DRS recommendations ✅ 2. Hardware Health Monitor hardware sensors (CPU, DIMMs, fans, PSU, RAID) Check RAID controller logs via vendor tools View hardware status in: vCenter → Monitor → Hardware Health DCUI → Hardware Status ✅ 3. Network Validation Verify vSwitches, Port Groups, NIC teaming, VLAN tagging Check vmkernel ports (mgmt, vMotion, iSCSI, vSAN) Test reachability using: Shell vmkping < IP > Show more lines Validate physical NIC status and link speed ✅ 4. Storage & Datastore Checks Confirm datastore accessibility Rescan storage adapters (iSCSI/FC/NFS) Validate multipathing (Round Robin / Fixed / MRU) Check datastore latency with esxtop ✅ **5. Critical Logs & Their Locations (Full List) Here are key ESXi log files that every VMware adm...
  vCenter Troubleshooting Tips, Common Issues & Log Locations 🚀 1. General Troubleshooting Approach A. Check service health first For vCenter Server Appliance (VCSA): Shell https : / / < vcenter - FQDN > : 5480 Show more lines Go to Services → Health to verify: vCenter Server ESXi hosts vSphere Client DNS, NTP, DB connections vpxd, vpxd-svcs, vsphere-ui B. DNS & NTP checks vCenter is highly dependent on correct DNS & time sync. Check: Shell nslookup < vcenter - fqdn > nslookup < esxi - host - fqdn > Show more lines Time drift > 5 minutes causes: Login failures vpxd crashes PSC authentication issues C. Check storage/database health Slow DB/storage = UI slow, tasks hung. For VCSA: Shell df - h du - sh / storage / log / * / var / log Show more lines Free up space if partitions hit >80%. D. Restart critical services safely On VCSA: Shell service - control - - status service - control - - stop - - all service - control - - start - - all ...