If you cloned NSX manager instance in your lab you will get into issues when configuring cross-vCenter NSX. To fix (only use with NSX Lab, never in production):

Login to NSX manager CLI as admin

ena (the same admin password)

st eng

password: IAmOnThePhoneWithTechSupport

Change the UUID

Find out the old VsmUuidContext and change it to some different value (in the example I changed the last digit):

[root@nsx-b ~]# psql -d secureall -U secureall
psql.bin (9.1.15)
Type "help" for help.

secureall=# select * from key_value_store where context='VsmUuidContext';
 id |    context     |    name    |                value
----+----------------+------------+--------------------------------------
  8 | VsmUuidContext | VsmUuidKey | 4221E977-2E36-A4DC-19DF-4431D7043D0D
(1 row)


secureall=# update key_value_store set value='4221E977-2E36-A4DC-19DF-4431D7043D0E' where context='VsmUuidContext';
UPDATE 1