Wednesday, November 10, 2010

Installing Nexus 1000v VEM with vSphere CLI

As most of you may know, the Nexus 1000v VEM which resides on the ESX/ESXi hosts are automatically deployed if you have VMware Update Manager deployed and while I don’t recall implementing any vSphere deployments without VMware Update Manager, I thought it would be good to at least try it out during my current deployment so the following serves to show what it looks like.

Proceed with installing vSphere CLI on your preferred workstation or management server and open up Windows Explorer to the Nexus 1000v package or ISO you are deploying.

image

Navigate to the VEM folder:

image

Within this folder, you’ll see a series of VEM400-2010104xx.zip packages. These packages actually correspond to versions of ESX/ESXi and to determine which package you should be using, please refer to the following page:

http://www.cisco.com/en/US/docs/switches/datacenter/nexus1000/sw/4_0_4_s_v_1_3_b/compatibility/information/n1000v_compatibility.html

OR simply open it in your compression software:

image

image

image

In the environment I was deploying VEM, the hosts were ESXi 4.1.0 so the package I will be using is: VEM400-201010411.zip.

Once you’ve successfully determined which package you should be using, open up VMware vSphere CLI:

image

Then execute:

vihostupdate.pl -i -b c:\folderWhereNexusIsStored\VEM\zipPackageName --server someServer.domain.something

image

You’ll be asked for a user name with permissions and the installation will then proceed:

image

image

Nothing to it right? Now to verify the install, simply run the following command within vSphere CLI:

vihostupdate.pl -q --server serverFQDN

image

No comments: