
22-3
Cisco Nexus 1000V Troubleshooting Guide, Release 5.2(1)SV3(1.1)
OL-31593-01
Chapter 22 System
Recovering a DVS
Recovering a DVS With a Saved Copy of the VSM
You can use this procedure to recover a DVS when you have previously saved a back up copy of the VSM
configuration file.
BEFORE YOU BEGIN
Before starting this procedure, you must know or do the following:
•
Use this procedure if you have previously saved a back up copy of the VSM configuration file. If
you have not previously saved a back up copy, the see the
“Recovering a DVS Without a Saved Copy
of the VSM” procedure on page 22-4
.
•
Make sure that the VSM VM switchname is the same as the DVS switchname on the vCenter Server.
This allows the VSM configuration to synchronize with the correct DVS on the vCenter Server.
To change the VSM switchname use the
switchname
newname
command.
Step 1
From the MOB, find the DVS extension key.
For more information, see the
“Finding the Extension Key Tied to a Specific DVS” procedure on
.
Step 2
On the VSM, add the DVS extension key found in
The extension key allows the VSM to log in to the vCenter server.
Example
:
switch#
config t
switch(config)#
vmware vc extension-key Cisco_Nexus_1000V_32943215
Step 3
From the MOB, unregister the extension key found in
For more information, see the
“Unregistering the Extension Key in the vCenter Server” procedure on
.
Step 4
From the VC client, register the extension (plug-in) for the VSM.
For more information see the following procedure in the
Cisco Nexus 1000V Getting Started Guide
.
•
Creating a Cisco Nexus 1000V Plug-In on the vCenter Server
Step 5
On the VSM, restore the configuration using a previously saved copy of the VSM configuration file.
copy
path/filename
running-config
Example
:
switch#
copy sftp://[email protected]/backup/hamilton_cfg running-config
Step 6
Do one of the following:
•
If the vCenter server connection is not part of the previously saved configuration, continue with the
next step.
•
.
Step 7
On the VSM, restore the configuration for the vCenter server connection.
Example
:
switch#
config t
switch (config)#
svs connection VC
switch(config-svs-conn#)
protocol vmware-vim
switch(config-svs-conn#)
remote ip address 192.168.0.1
switch(config-svs-conn#)
vmware dvs datacenter-name Hamilton-DC