NETWORK ENGINEER BLOG

Tips and Reviews for Engineers

Cisco Nexus1000v アンインストール

VSM をアンインストールしたい場合は、以下の手順で行います。(vCenter では削除できません。)

Nexus dvSwitch から、ホストを削除します。

VSM にログインし、以下を実行します。事前に VM から Port-Profile を切断する必要があります。

VSM(config)# svs connection VC
VSM(config-svs-conn)# no vmware dvs
This will remove the DVS from the vCenter Server and any associated port-groups.
 Do you really want to proceed(yes/no)? [yes] yes
vCenter から Plugin を削除します。

vCenter へ HTTPS でアクセスします。

https://vCenter IP Address/mob

Content をクリックします。
f:id:FriendsNow:20130129185457p:plain

Extension Manager をクリックします。
f:id:FriendsNow:20130129185507p:plain

Extension List から "Cisco_Nexus_1000v_xxxxxxx" を選択し、コピーします。
f:id:FriendsNow:20130129185513p:plain

Unregister Extension をクリックします。
f:id:FriendsNow:20130129185515p:plain

VALUE にペーストし、Invoke Method をクリックします。
f:id:FriendsNow:20130129185520p:plain

各ホストから、VEM を削除します。メンテナンスモードへ移行する必要があります。

ESXi にログインし、以下を実行します。

~ # vem status -v
Package vssnet-esxmn-ga-release
Version 4.2.1.1.5.1.0-3.0.1
Build 1
Date Mon Jan 30 18:38:49 PST 2012

Number of PassThru NICs are 0
VEM modules are loaded

Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
vSwitch0         128         3           128               1500    vmnic0
vSwitch1         128         2           128               1500    vmnic3
DVS Name         Num Ports   Used Ports  Configured Ports  MTU     Uplinks
Storage-iSCSI    256         3           256               1500    vmnic1
DVS Name         Num Ports   Used Ports  Configured Ports  MTU     Uplinks
vMotion          256         3           256               1500    vmnic2

Number of PassThru NICs are 0
VEM Agent (vemdpa) is running

~ # esxcli software vib list | grep cisco
cisco-vem-v140-esx    4.2.1.1.5.1.0-3.0.1    Cisco   PartnerSupported

~ # vem-remove -d
Removing Cisco VEM VIB from visor system
Versions of ESX greater than 5.0.0 require the usage of
esxcli to remove Nexus 1000V package. Please use the command
found here to remove this package:

esxcli software vib remove -n cisco-vem-v140-esx

~ # esxcli software vib remove -n cisco-vem-v140-esx

Removal Result
   Message: Operation finished successfully.
   Reboot Required: false
   VIBs Installed:
   VIBs Removed: Cisco_bootbank_cisco-vem-v140-esx_4.2.1.1.5.1.0-3.0.1
   VIBs Skipped:

~ # vem status -v
-sh: vem: not found

以上