VMware Cloud Community
stltech
Contributor
Contributor
Jump to solution

Changing VLAN ID on a Port Group on a vSS

We are changing the subnet which our vCenter VM resides on which is going to result in us changing vCenters IP Address, Subnet Mask and Gateway.

It is also going to mean we need to change the VLAN ID on the Port Group.

My question is, do you change the Port Group VLAN ID first or change vCenters details first?. (It is in VST Mode so pysical ports on the switch are trunk ports with say VLAN's 100 and 200 with say the new VLAN 300 to be added)

Any suggetions very welcome. 🙂

Tags (2)
Reply
0 Kudos
1 Solution

Accepted Solutions
peetz
Leadership
Leadership
Jump to solution

Use the vSphere client to connect to the host that runs the vCenter VM.

In this vSphere client session you can

  a) change the VLAN of the vSS switch

  b) open a console to the vCenter VM and change the IP settings there

The vCenter VM will lose its network connection, but your session will continue to run, because you are connectly directly to a host (not to vCenter).

If the vCenter server is joined to an Active Directory then be sure to use a local administrative account or a Domain Admin with cached credentials for logging in.

By the way, after you have changed the vCenter IP address you will probably run into the issue described here: http://kb.vmware.com/kb/1001493, but the article includes a resolution for this.

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de

View solution in original post

Reply
0 Kudos
4 Replies
peetz
Leadership
Leadership
Jump to solution

The order doesn't really matter here.

You just need to connect to the console of the vCenter VM through the host that is running this VM (not through vCenter, because you will temporarily lose this connection when changing VLANs).

- Andreas

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Reply
0 Kudos
stltech
Contributor
Contributor
Jump to solution

So you could be logged into the web console of the host running vCenter and logged in via vClient, change the Port Group while logged in via vClient and get disconnected but then change the IP Address details etc from the web console from the other connection?

Thanks

Reply
0 Kudos
peetz
Leadership
Leadership
Jump to solution

Use the vSphere client to connect to the host that runs the vCenter VM.

In this vSphere client session you can

  a) change the VLAN of the vSS switch

  b) open a console to the vCenter VM and change the IP settings there

The vCenter VM will lose its network connection, but your session will continue to run, because you are connectly directly to a host (not to vCenter).

If the vCenter server is joined to an Active Directory then be sure to use a local administrative account or a Domain Admin with cached credentials for logging in.

By the way, after you have changed the vCenter IP address you will probably run into the issue described here: http://kb.vmware.com/kb/1001493, but the article includes a resolution for this.

Twitter: @VFrontDe, @ESXiPatches | https://esxi-patches.v-front.de | https://vibsdepot.v-front.de
Reply
0 Kudos
stltech
Contributor
Contributor
Jump to solution

Excellent, thats a great help thanks v much. It initally seemed like a catch 22 situation 😉

I have the article you described as well!

Thanks

Reply
0 Kudos