DVSwitch ports Blocked – Nexus 1000v

Recently, Ports on the Nexus1000v became blocked after performing a Nexus 1000v Upgrade.

After the upgrade a whole bunch of the VMs lost network connectivity, whilst IP Storage Etc.. Stayed up

In vCenter, Under Networking the Ports on the DvSwitch were showing as blocked

Untitled picture

To confirm this, Putty onto the ESXi Server (Remember, you will need to enable SSH first)

Run:

~ # vemcmd show port

This showed that the Port state was BLK (Blocked)

LTL   VSM Port  Admin Link  State  PC-LTL  SGID  Vem Port  Type
 20     Eth3/4     UP   UP    BLK       561     3    vmnic3
 49      Veth1     UP   UP    FWD       0     3      vmk1
 50      Veth3     UP   UP    FWD       0     3      vmk2  VXLAN
 51      Veth5     UP   UP    FWD

Log into the Nexus1000v with PuTTy

Run:

shows svs connections

Results:

connection <vCenter Server>:
IP:<IP Address>
remote port: 80
protocol: vmware-vim https
certificate: default
datacenter name: <Datacenter Name>
DVS uuid: 9b dd 36 50 2e 27 27 8b-07 ed 81 89 ef 43 31 17
config status: Enabled
operational status: Disconnected
sync status: -
version: -

The problem here is that operational status: disconnected means that it is not connected to vCenter

NOTE: Here we noticed that the Datacenter name in Nexus was different to what it was in vCenter. The name was the same but the name in vCenter was in Capitals and in Nexus it was lowercase.

After changing in vCenter, run:

n1000v# conf t
n1000v(config)# svs connection <Data Centre Name>
n1000v(config-svs-conn)# connect

Run:

shows svs connections

Results:

connection <vCenter Server>:
IP:<IP Address>
remote port: 80
protocol: vmware-vim https
certificate: default
datacenter name: <Datacenter Name>
DVS uuid: 9b dd 36 50 2e 27 27 8b-07 ed 81 89 ef 43 31 17
config status: Enabled
operational status: Connected
sync status: -
version: -

It took rebooting each ESXi Host for the Ports to come back up again

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s