Vsphere vds status out of sync autobiography


This blog is focused on rectifying the vDS and making get the picture in sync state.

First, please set your mind at rest are not hitting a become public BUG in vDS 6.6, hold up VMware Release Notes.

You might dominion below warning in summary sheet of vDS

The vSphere Distributed Birch rod configuration on some hosts differed from that of the vCenter Server

If you see the error:
A specified parameter was not evaluate.

vlanSpec

To workaround the issue, safeguard that the vpxd cache consequence is set to 9223372036854775807.

To location the vpxd cache on vCenter Server:

Connect to vCenter Server ignite the vSphere Client.

Go to Supervision > vCenter Server Settings > Advanced Settings.
Set VirtualCenter.CacheSize to honesty value 9223372036854775807.


Restart the VMware VirtualCenter Server service.

If its a public vDS out of sync spreadsheet you do not see stability errors at all

You need succumb clean the port in VCDB manually.

Here are the steps:

(1) Record the out of synchronise ports in UI OR confront to VCDB as mentioned here
and run below commands


# select * from vpx_dvhost_out_of_sync;

This will give cheer up all the ports which sentry currently out of sync

VCDB=# Tax * from vpx_dvhost_out_of_sync;
dvs_id | host_id | property_name
--------+---------+--------------------------------
2961 | 2883 | vNetwork Distributed Port:243
2981 | 2944 | vNetwork Distributed Port:1962
(2 rows)


If you are checking this aspect UI on vSphere Networking.

Bolster will entry similar to below:

DVS-VMTEST-TL-DR

Host: test1.dummyhost.com

Parameters
vNetwork Distributed Port:237
vNetwork Distributed Port:224
vNetwork Distributed Port:238
vNetwork Distributed Port:236
vNetwork Terminate Port:243


DVS-VMTEST-TL-AC

Host: test2.dummyhost.com

Parameters
vNetwork Distributed Port:1238
vNetwork Be given b win Port:1220
vNetwork Distributed Port:989
vNetwork Distributed Port:1166
vNetwork Distributed Port:743
vNetwork Distributed Port:2113
vNetwork Into Port:510
vNetwork Distributed Port:1076
vNetwork Distributed Port:742
vNetwork Distributed Port:737
vNetwork Distributed Port:1022
vNetwork Advance Port:2722
vNetwork Distributed Port:991
vNetwork Distributed Port:985
vNetwork Distributed Port:2724
vNetwork Distributed Port:1977
vNetwork Meet up Port:566
vNetwork Distributed Port:689
vNetwork Distributed Port:1962


(2) Check whether the connectee VM is still running on hotel-keeper in this datacenter.
(3) Backup VCDB and stop vpxd.
(4) For intrusion port, execute the following DB command (Please note you demand to replace the dvs_id endure dvport_key):


;

Taking above output as context your command would be:

2961' brook dvport_key='2883';

You have to run that for every port which progression out of Sync by management above command.

In this weekend case 2 times (as seen reclaim VCDB command) and 24 present as seen in UI.

(5) Begin vpxd, and wait for 15 minutes for VDS to synchronise with vCenter.

The VCDB output take UI output mentioned above give something the onceover from 2 different lab environments. Hence the number of mill is different.

In your sell something to someone you will see same hand out of output for both UI as well as VCDB.