Pages Menu
TwitterRssFacebook
Categories Menu

Posted by on Nov 2, 2014 in Infrastructure, Networking | 0 comments

Increasing the number vNetwork Distributed Switch (vDS) Uplink Ports

“Call “HostNetworkSystem.UpdateNetworkConfig” for object “networkSystem-27” on vCenter Server “vCenter” failed.  Network configuration change disconnected the host ‘x.x.x.x’ from vCenter server and has been rolled back.  A change in the network configuration disconnected the host ‘x.x.x.x’ from vCenter Server. The change has been rolled back.”

Let me guess, were you adding a host to a vDS and all of sudden you received this cryptic message?  If so, you may have ran out of vDS uplink ports. You may be reflecting on why you were so ungenerous to my vDS uplink port allocation in the first place?  Unfortunately I can’t answer that but I can tell you how to fix it!

Running out of vDS uplink ports will put the breaks on adding anymore hosts to your vDS.  However,  it is down right embarrassing when you find out that you can’t increase the number of ports through vCenter.  This bad boy parameter is all grayed.  WHAT!

vds1

 

When this occurred to me, I made a mad rush to Google and realized I couldn’t locate any steps to increase the number of uplink ports.  I was disappointed when I came to realization that I was the only stingy vDS uplink port allocator on the entire World Wide Web.  Or maybe I am just inefficient with my Google search engine expressions.

Regardless, I captured below on how you can get out of this sticky situation:

  1. In a web browser, go to http://vCenterServer-ip-address/mob/
  2. When prompted, enter your vCenter Server username and password.
  3. Click the content link.
  4. In the left pane, search for the row with the word rootFolder.
  5. Open the link in the right pane of the row. The link is similar to group-d1 (Datacenters).
  6. In the left pane, search for the row with the word childEntity. In the right pane, you see a list of datacenter links.  Click the datacenter link where the vDS is defined.
  7. In the left pane, search for the row with the word networkFolder, and open the link in the right pane. The link is similar to group-n (network).
  8. In the left pane, search for the row with the word childEntity. You see a list of vDS and distributed port group links in the right pane.  Select the dvportgroup that is for the Uplink.  
  9. In the left pane, search for the row with the word config, and click the link in the right pane.
  10. In the left pane, search for the row with the word configVersion. It is normally the first row.  WRITE THIS NUMBER DOWN!
  11. Go back one page and select ReconfigureDVPortgroup_Task
  12. Delete the contents that you see under Value and replace it with the syntax below.  Fill in configVersion with what was captured in Step 10.  The field for numPorts is what you want to increase the number of uplink ports to.

    <spec><configVersion>0</configVersion><numPorts>20</numPorts></spec>

  13. Select Invoke Method
  14. Optionally, if you don’t trust what you just did, scroll up and select the config link and see if your numPorts field increased
  15. You will notice that if you go back into vCenter, the number of Uplink ports will be reflected.  However, don’t get too excited yet.  You’re not out of the woods until you have restarted the vCenter Server.

vds2

Post a Reply

Your email address will not be published. Required fields are marked *