Cisco Nexus 1000V Installation and Upgrade Guide, Release 4.2(1)SV2(1.1a)
Installing and Upgrading VMware
Downloads: This chapterpdf (PDF - 1.49MB) The complete bookPDF (PDF - 11.32MB) | The complete bookePub (ePub - 6.15MB) | Feedback

Installing and Upgrading VMware

Contents

Installing and Upgrading VMware

This chapter contains the following sections:

VMware Release 4.0 to VMware Release 4.1 Upgrade

Upgrading from VMware Release 4.0 to VMware Release 4.1

The steps to upgrade from VMware Release 4.0 to VMWare Release 4.1 are as follows:

Before You Begin
  • Download the upgrade ZIP bundle to a local desktop or vCenter Server.
    • For ESX, download upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip
    • For ESXi, download upgrade-from-ESXi4.0-to-4.1.0-0.0.260247-release.zip
    • For Cisco Nexus 1000V, download the bundle from www.cisco.com (VEM-4.1.0-GA-v120.zip)
  • See the Cisco Nexus 1000V and VMware Compatibility Information to determine the correct VIB version, VEM bundle, host build, vCenter Server, and Update Manager versions.
Procedure
    Step 1   Upgrading the vCenter Server to VMware Release 4.1
    Step 2   Upgrading the vCenter Update Manager to VMware Release 4.1
    Step 3   Upgrading the ESX/​ESXi Hosts to VMware Release 4.1
    Step 4   Verifying the Upgrade to Release 4.1

    Upgrading the vCenter Server to VMware Release 4.1

    This upgrade procedure also applies to vCenter Server 4.1 Update 1 and later.

    Procedure
      Step 1   Navigate to the VMware-vpx-all-4.1.0-258902 folder.
      Step 2   Double-click autorun.

      The VMware vCenter Installer wizard opens.

      Step 3   In the VMware Product Installers area, click vCenter Server.
      Step 4   Choose a language and click OK..
      Step 5   Click Next.
      Step 6   In the Patent Agreement window, click Next.
      Step 7   In the License Agreement screen, click the I agree to the terms in the license agreement radio button and click Next.
      Step 8   In the Database Options window, click Next.
      Step 9   Click the Upgrade existing vCenter Server database radio button and check the I have taken a backup of the existing vCenter Server database and SSL certificates in the folder: C:\ProgramData\VMware\VMware VirtualCenter\SSL\. check box.
      Step 10   From the Windows Start Menu, click Run.
      Step 11   Enter the name of the folder that contains the vCenter Server database and click OK.
      Step 12   Drag a copy of the parent folder (SSL) to your Desktop as a backup.
      Step 13   Return to the installer program and click Next.
      Step 14   In the vCenter Agent Upgrade screen, click the Automatic radio button and click Next.
      Step 15   In the vCenter Server Service screen, check the Use SYSTEM Account check box and click Next.
      Step 16   In the Configure Ports screen, review the port settings and click Next.
      Step 17   Based on the number of hosts, in the vCenter Server JVM Memory screen click the appropriate memory radio button and click Next.
      Step 18   In the Ready to Install the Program screen, click Install.
      Step 19   In the Installation Completed screen, click Finish.
      Step 20   Upgrade the VMware vSphere Client to ESXi 4.1.0.
      Step 21   Open the VMware vSphere Client.
      Step 22   From the Help menu, choose About VMware vSphere.
      Step 23   Confirm that the vSphere Client and the VMware vCenter Server are both version 4.1.0, Build 258902, click OK, and exit the VMware vSphere Client.

      What to Do Next

      Complete the steps in Upgrading the vCenter Update Manager to VMware Release 4.1.

      Upgrading the vCenter Update Manager to VMware Release 4.1

      This upgrade procedure also applies to vCenter Update Manager 4.1 Update 1 and later.

      Procedure
        Step 1   Copy the VUM bundle to your local drive.
        Step 2   On the local drive, double-click VMware-UpdateManager.
        Step 3   Choose a language and click OK.
        Step 4   In the VMWare vCenter Update Manager, click OK to upgrade to 4.1.0.
        Step 5   In the Welcome screen, click Next.
        Step 6   In the Patent Agreement screen, click Next.
        Step 7   Click the I agree to the terms in the license agreement radio button and click Next.
        Step 8   In the VMware vCenter Server Information area, verify your IP address and username.
        Step 9   In the Password field, enter your password and click Next.
        Step 10   In the Database Information screen, click Next.
        Step 11   In the Database Upgrade screen, click the Yes, I want to upgrade my Update Manager database radio button and click Next.
        Step 12   Verify the Update Manager port settings and click Next.
        Step 13   Verify the Proxy Settings and click Next.
        Step 14   Click Install to begin the upgrade.
        Step 15   Click OK to acknowledge that a reboot is required to complete the setup.

        During the upgrade, the vSphere Client is disconnected.

        Step 16   Click Cancel for the attempt to reconnect.
        Step 17   Click OK in the Server Connection Invalid dialog box.
        Step 18   Click Finish.
        Step 19   Reboot the local PC.
        Step 20   From the Option drop-down list, choose Other (Planned).
        Step 21   Enter an appropriate value in the comment field and click OK.
        Step 22   After the system has rebooted, browse to the C:\ProgramData\VMware\VMware Update Manager\Logs\ folder.
        Step 23   Open the vmware-vum-server-log4cpp file.
        Step 24   Verify the Update Manager version in the log files by searching for the Update Manager build number of 256596.
        Step 25   From the VMware vCenter Server’s Plug-in menu, choose Manage Plug-ins.
        Step 26   Under Available Plug-ins, click Download and Install for VMware vSphere Update Manager Extension.

        What to Do Next

        Complete the steps in Upgrading the ESX/​ESXi Hosts to VMware Release 4.1.

        Upgrading the ESX/ESXi Hosts to VMware Release 4.1

        This upgrade procedure also applies to ESX/ESXi hosts 4.1 Update 1 and later.

        Procedure
          Step 1   In the vSphere Client, click Home.
          Step 2   Click the Update Manager tab.
          Step 3   Click the Host Upgrade Release tab.
          Step 4   In the Imported Upgrade Releases area, click Import Upgrade Release.
          Step 5   In the Select Upgrade FIles screen, click Browse and navigate to the location of the upgrade-from-ESX4.0-to-4.1.0-0.0.260247-release.zip Zip bundle.
          Step 6   Choose the Zip file and click Open.
          Step 7   In the Select Upgrade Files screen, click Next.

          If you receive a Security Warning about the certificate, you can install the certificate or ignore the warning. Go to Step 8 if you must install a certificate. If you do not need to install a certificate, go to Step 9.

          Step 8   Click Finish when the upload is successful.
          Step 9   In the Host Upgrade Releases tab, click Create Baseline to create a baseline.

          When you create a baseline and attach it to a host or cluster, the Update Manager can remediate the device by applying all updates needed to bring it into compliance with the baseline.

          Step 10   In the Baseline Name and Description area, enter a Name.
          Step 11   In the Baseline Type area, click the Host Upgrade radio button and click Next.
          Step 12   Click the Host Upgrade Release and click Next..
          Step 13   Click Next.
          Step 14   Check the Try to reboot the host and roll back the upgrade in case of failure check box
          Step 15   In the COS VMDK Location screen, click Next.
          Step 16   Review the upgrade information and click Finish.

          The baseline has been created.

          Step 17   Click Home.
          Step 18   Click the Host and Cluster Inventory tab.
          Step 19   Click the Cluster icon to upgrade all hosts in the cluster.
          Step 20   Click the Update Manager tab.
          Step 21   In the Cluster area, click Attach.
          Step 22   In the Individual Baselines by Type pane, check the 4.0 to 4.1 check box.
          Step 23   Click Attach.
          Step 24   In the Cluster area, click Scan to test the cluster’s compliance to the baseline.
          Step 25   In the Confirm Scan window, check the Upgrades check box.
          Step 26   Uncheck the Patches and Extensions check box.
          Step 27   Click Scan.
          Step 28   In the Host Compliance pane, verify that all hosts are Non-Compliant and click Remediate.
          Step 29   In the Remediation Selection screen, click Next.
          Step 30   Click the I agree to the term in the license agreement radio button and click Next.
          Step 31   In the ESX 4.1.0 Upgrade window, click Next.
          Step 32   In the Maintenance Mode Options area, check the Disable any removable media devices connected to the virtual machines on the host check box and click Next.
          Step 33   In the Cluster Remediation Options screen, check all check boxes and click Next.
          Step 34   Click Finish to begin the remediation.
          Note   

          You can monitor the remediation progress in the Recent Tasks section of the vSphere Server window.

          Step 35   In the Confirming Host ESX/ESXi Release window, click each host in the left-hand pane to check the host versions and confirm that 4.1.0, 260247 appears in the top-left corner of the right-hand pane.
          Step 36   Determine upgrade completion as follows:
          1. If all hosts have been upgraded, the upgrade is complete.
          2. If any one of the hosts was not upgraded, perform Step 42 through Step 61 for each host that requires an upgrade.
          Step 37   Right-click the host’s IP address and choose Enter Maintenance Mode.
          Step 38   In the Confirm Maintenance Mode dialog box, click Yes.

          The host’s VMs are migrated.

          Step 39   Click the Update Manager tab.
          Step 40   In the Attached Baselines section, right-click the 4.0 to 4.1 baseline.
          Step 41   In the drop-down list, choose Detach Baseline.
          Step 42   In the Detach Baseline from Cluster window, check the Cluster check box and click Detach.
          Step 43   In the Update Manager - Attach Baseline window, click Attach to attach the baseline to the host that did not upgrade.
          Step 44   In the Individual Baselines by Type pane, check the 4.0 to 4.1 check box and click Attach.
          Step 45   In the Host Compliance pane, verify that all hosts are Non-Compliant and click Remediate.
          Step 46   In the Remediation Selection pane, click Next.
          Step 47   Click the I agree to the term in the license agreement radio button.
          Step 48   Click Next.
          Step 49   In the ESX 4.1.0 Upgrade window, click Next.
          Step 50   In the Maintenance Mode Options area, check the Disable any removable media devices connected to the virtual machines on the host check box.
          Step 51   Click Next.
          Step 52   In the Cluster Remediation Options screen, check all check boxes.
          Step 53   Click Next.
          Step 54   In the Ready to Complete screen, click Finish to begin the remediation.
          Step 55   When the remediation is complete, confirm that the host is compliant in the Host Compliance section.
          Step 56   In the left-hand pane of the Exit Maintenance Mode window, right-click on the host and choose Exit Maintenance Mode.
          Step 57   In the left-hand pane of the Select Cluster window, choose Cluster to scan the entire cluster for compliance.
          Step 58   Detach the baseline from the host and attach it to the cluster.
          Note   

          You can also be confirm the upgrade by entering the show module command on the VSM and check that the VEMs are on the correct build.


          The upgrade is complete.

          What to Do Next

          Complete the steps in Verifying the Upgrade to Release 4.1.

          Verifying the Upgrade to Release 4.1

          Procedure
            Step 1   Verify the build number on the ESX host by entering the following command:
            [root@hostname~] # rpm -qa | grep vmkernel | awk -F. ‘{print $5}’
            260247
            Step 2   Verify the build number on the ESXi host by entering the following command:
            ~ # vmware –v
            VMware ESXi 4.1.0 build-260247
            Step 3   Verify the upgrade on the Cisco Nexus 1000V by entering the following commands.
            switch# show module 
            1. Enter the following command on the VSM:
              switch# show module 
            2. Enter the following commands on the VEM:
              ~ # vem status
              
              ~ # vemcmd show card 

            VMware Release 4.0/4.1/5.0 to VMware Release 5.1 Upgrade

            Upgrading from VMware Releases 4.0/4.1/5.0 to VMware Release 5.1

            The steps to upgrade from VMware Releases 4.0/4.1/5.0 to VMWare Release 5.1 are as follows:

            Procedure
              Step 1   Upgrading the vCenter Server to Release 5.1
              Step 2   Upgrading the vCenter Update Manager to Release 5.1
              Step 3   Augmenting the Customized ISO for VMware Release 5.1
              Step 4   Upgrading the ESXi Hosts to Release 5.1
              Step 5   Verifying the Build Number and Upgrade

              Upgrading the vCenter Server to Release 5.1


              Note


              This upgrade procedure also applies to vCenter Server 5.0 and vCenter Server 5.0 Update 1 and later.


              Before You Begin
              • Download the upgrade ISO file that contains the ESXi 5.1 image and the Cisco Nexus 1000V Release 4.2(1)SV1(5.2) image.
              • See the Cisco Nexus 1000V and VMware Compatibility Information document to determine the correct VIB Version, VEM Bundle, Host Build, vCenter Server, and Update Manager versions.
              Procedure
                Step 1   Navigate to the VMware vSphere 5.1 installation file.
                Note   

                If you have the ISO image, you should mount it on the host.

                Step 2   Double-click autorun.
                Step 3   In the VMware vCenter Installer window, click vCenter Server.
                Step 4   Click Install.
                Step 5   Choose a language and click OK.
                Step 6   Click Next.
                Step 7   In the Patent Agreement window, click Next.
                Step 8   In the License Agreement window, click the I agree to the terms in the license agreement radio button.
                Step 9   Click Next.
                Step 10   In the Database Options screen, click Next.
                Step 11   Click the Upgrade existing vCenter Server database radio button and check the I have taken a backup of the existing vCenter Server database and SSL certificates in the folder: C:\ProgramData\VMware\VMware VirtualCenter\SSL\. check box.
                Step 12   From the Windows Start Menu, click Run.
                Step 13   Enter the name of the folder that contains the vCenter Server database and click OK.
                Step 14   Drag a copy of the parent folder (SSL) to the desktop as a backup.
                Step 15   Return to the installer program.
                Step 16   Click Next.
                Step 17   In the vCenter Agent Upgrade window, click the Automatic radio button.
                Step 18   Click Next.
                Step 19   In the vCenter Server Service screen, check the Use SYSTEM Account check box.
                Step 20   Click Next.
                Step 21   Review the port settings and click Next.
                Step 22   In the vCenter Server JVM Memory screen based on the number of hosts, click the appropriate memory radio button.
                Step 23   Click Next.
                Step 24   Click Install.
                Step 25   Click Finish.

                This step completes the upgrade of the vCenter Server.

                Step 26   Upgrade the VMware vSphere Client to ESXi 5.1.
                Step 27   Open the VMware vSphere Client.
                Step 28   From the Help menu, choose About VMware vSphere.
                Step 29   Confirm that the vSphere Client and the VMware vCenter Server are both version VMware 5.1.
                Step 30   Click OK, and exit the VMware vSphere Client.

                What to Do Next

                Complete the steps in Upgrading the vCenter Update Manager to Release 5.1.

                Upgrading the vCenter Update Manager to Release 5.1


                Note


                This upgrade procedure also applies to vCenter Update Manager 5.0 and vCenter Update Manager 5.0 Update 1 and later.


                Before You Begin

                You have upgraded the vCenter Server to VMware ESXi 5.1.

                Procedure
                  Step 1   On the local drive, double-click VMware-UpdateManager.
                  Step 2   Choose a language and click OK.

                  The Update Manager Installer opens.

                  Step 3   Click OK to upgrade to 5.1.
                  Step 4   Click Next to begin.
                  Step 5   Click Next at the Patent Agreement.
                  Step 6   Click the I agree to the terms in the license agreement radio button.
                  Step 7   Click Next.
                  Step 8   In the VMware vCenter Server Information area, verify the IP address and username.
                  Step 9   In the Password field, enter your password.
                  Step 10   Click Next.
                  Step 11   Click Next.
                  Step 12   Click the Yes, I want to upgrade my Update Manager database radio button.
                  Step 13   Click Next.
                  Step 14   Verify the Update Manager port settings.
                  Step 15   Click Next.
                  Step 16   Verify the proxy settings.
                  Step 17   Click Next.
                  Step 18   Click Install to begin the upgrade.
                  Step 19   Click OK to acknowledge that a reboot will be required to complete the setup.

                  During the upgrade, the vSphere Client is disconnected.

                  Step 20   Click Cancel for the attempt to reconnect.
                  Step 21   Click OK in the Server Connection Invalid dialog box.
                  Step 22   Click Finish.
                  Step 23   Reboot the VUM/vCenter Server.
                  Step 24   In the Shut Down Windows dialog box from the Option drop-down list, choose Other (Planned), enter a value in the comment field, and click OK.
                  Step 25   After the system has rebooted, browse to the C:\ProgramData\VMware\VMware Update Manager\Logs\ folder.
                  Step 26   Open the vmware-vum-server-log4cpp file.
                  Step 27   From the VMware vCenter Server’s Plug-in menu, choose Manage Plug-ins.
                  Step 28   Under Available Plug-ins, click Download and Install for VMware vSphere Update Manager Extension.

                  What to Do Next

                  Complete the steps in Augmenting the Customized ISO for VMware Release 5.1.

                  Augmenting the Customized ISO for VMware Release 5.1

                  Before You Begin

                  If you are using a QLogic NIC, download the driver to include in the customized ISO for that specific NIC.

                  Procedure
                  If the ESXi host that is being upgraded to VMware 5.1 needs any Async drivers that are not already in VMware 5.1, see the respective vendor’s documentation for the drivers and the procedure to update the customized ISO.

                  What to Do Next

                  Complete the steps in Upgrading the ESXi Hosts to Release 5.1.

                  Upgrading the ESXi Hosts to Release 5.1


                  Note


                  • This upgrade procedure also applies to ESXi hosts 5.0 and 5.0 Update 1 and later.
                  • If you have multiple vmkernel interfaces on the same subnet when upgrading to ESXi 5.1, you must place your management vmkernel interface into the Layer 3 capable port profile.

                  Procedure
                    Step 1   In the vSphere Client, click Home.
                    Step 2   Click the Update Manager tab.
                    Step 3   Click the ESXi Image tab.
                    Step 4   Click the Import ESXi Image link in the ESXi Image window.
                    Step 5   Click the Browse button and navigate to the customized upgrade ISO image.
                    Step 6   Choose the upgrade file and click Open.
                    Step 7   To import the ISO file, click Next.
                    Step 8   When the upgrade ISO file is uploaded, click Next.
                    Step 9   In the Baseline Name and Description area, enter a name for the baseline and an optional description.
                    Step 10   Click Finish.
                    Step 11   In the vSphere Client, choose Home > Hosts and Clusters.
                    Step 12   In the left-hand pane, select the host or cluster to upgrade and click the Update Manager tab.
                    Step 13   Click Attach.
                    Step 14   In the Individual Baselines by Type area, check your upgrade baseline's check box.
                    Step 15   Click Attach.
                    Step 16   Click Scan.

                    After the scan, the baseline will display non-compliant.

                    Step 17   In the Confirm Scan dialog box, check the Upgrades check box and click Scan.
                    Step 18   In the Upgrade Details window, if the Compliance State has a value of Incompatible, reboot the host with the baseline attached.

                    After the reboot, the Compliance State will have a value of Non-Compliant.

                    Step 19   When you are finished viewing the upgrade details, click Close.
                    Step 20   Verify that all hosts are Non-Compliant.
                    Step 21   Click Remediate.
                    Step 22   Click Next
                    Step 23   In the End User License Agreement screen, check the I accept the terms and license agreement check box.
                    Step 24   Click Next
                    Step 25   In the ESXi 5.x Upgrade window, click Next.
                    Step 26   Click Next.
                    Step 27   In the Maintenance Mode Options area, check the Disable any removable media devices connected to the virtual machines on the host check box.
                    Step 28   Click Next.
                    Step 29   In the Cluster Remediation Options window, check all check boxes.
                    Step 30   Click Next.
                    Step 31   Click Finish to begin the remediation.
                    Step 32   To check the host versions, click each host in the left-hand pane and confirm that 5.1 appears in the top-left corner of the right-hand pane and that the version information matches the contents of the Cisco Nexus 1000V and VMware Compatibility Information.
                    Step 33   The upgrade can also be confirmed by running the show module command on the VSM and observing that the VEMs are on the correct build.

                    The upgrade is complete.

                    What to Do Next

                    Complete the steps in Verifying the Build Number and Upgrade.

                    Verifying the Build Number and Upgrade

                    Before You Begin
                    • You have upgraded the VSMs and VEMs to the current Cisco Nexus 1000V release.
                    • You have upgraded the vCenter Server to VMware Release 5.0.0.
                    • You have upgraded the VMware Update Manager to VMware Release 5.0.0.
                    • You have upgraded your ESX/ESXi hosts to VMware Release 5.0.0.
                    Procedure
                      Step 1   Verify the build number on the ESXi host.
                      ~ # vmware -v
                      VMware ESXi 5.0.0 build-469512
                      Step 2   Verify the upgrade on the Cisco Nexus 1000V.
                      switch# show module
                      
                      N1KV-VSM# show mod
                      Mod  Ports  Module-Type                      Model              Status
                      ---  -----  -------------------------------- ------------------ ------------
                      1    0      Virtual Supervisor Module        Nexus1000V         active *
                      2    0      Virtual Supervisor Module        Nexus1000V         ha-standby
                      3    248    Virtual Ethernet Module          NA                 ok
                      Mod  Sw               Hw
                      ---  ---------------  ------
                      1    4.2(1)SV2(2.1)   0.0
                      2    4.2(1)SV2(2.1)   0.0
                      3    4.2(1)SV2(2.1)   3.0
                      Mod  MAC-Address(es)                         Serial-Num
                      ---  --------------------------------------  ----------
                      1    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
                      2    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
                      3    02-00-0c-00-09-00 to 02-00-0c-00-09-80  NA
                      Mod  Server-IP        Server-UUID                           Server-Name
                      ---  ---------------  ------------------------------------  --------------------
                      1    10.104.245.152   NA                                    NA
                      2    10.104.245.152   NA                                    NA
                      3    10.104.245.140   42064d20-4e52-62d1-e0ee-0b14be4388d6  mn-esxi-5.0-statefull
                      
                      * this terminal session

                      The upgrade to VMware Release 5.0 is complete.

                      Upgrading to VMware ESXi 5.0 Patch 01

                      Upgrading a VMware ESXi 5.0 Stateful Host to VMware ESXi 5.0 Patch 01

                      Procedure
                        Step 1   Copy the ESXi 5.0 Patch 01 bundle (ESXi500- 201301152108.zip) to the host.
                        Step 2   Upgrade the host to ESXi 5.0 Patch 01.
                        ~ # esxcli software vib update -d /vmfs/volumes/newnfs/MN-patch01/ESXi500-201301152108.zip
                        Installation Result
                           Message: The update completed successfully, but the system needs to be rebooted for the changes to be effective.
                           Reboot Required: true
                           VIBs Installed: VMware_bootbank_esx-base_5.0.0-0.3.474610, VMware_locker_tools-light_5.0.0-0.3.474610
                           VIBs Removed: VMware_bootbank_esx-base_5.0.0-0.0.469512, VMware_locker_tools-light_5.0.0-0.0.469512
                           VIBs Skipped: VMware_bootbank_ata-pata-amd_0.3.10-3vmw.500.0.0.469512, VMware_bootbank_ata-pata-atiixp_0.4.6-3vmw.500.0.0.469512,
                           <============================================================================================================>
                           VMware_bootbank_scsi-qla4xxx_5.01.03.2-3vmw.500.0.0.469512, VMware_bootbank_uhci-usb-uhci_1.0-3vmw.500.0.0.469512

                        Installing ESXi 5.1 Host Software Using the CLI

                        You can upgrade an ESXi host by installing a VMware patch or update with the compatible Cisco Nexus 1000V VEM software.

                        Before You Begin
                        • If you are using the vCLI, do the following:
                          • You have downloaded and installed the VMware vCLI. For information about installing the vCLI, see the VMware vCLI documentation.
                          • You are logged in to the remote host when the vCLI is installed.

                          Note


                          The vSphere Command-Line Interface (vSphere CLI) command set allows you to enter common system administration commands against ESXi systems from any machine with network access to those systems. You can also enter most vSphere CLI commands against a vCenter Server system and target any ESXi system that the vCenter Server system manages. vSphere CLI commands are especially useful for ESXi hosts because ESXi does not include a service console.


                        • If you are using the esxupdate command, you are logged into the ESX host.
                        • Check the Cisco Nexus 1000V and VMware Compatibility Information for compatible versions.
                        • You have already copied the ESXi host software and VEM software installation file to the /tmp directory.
                        • You know the name of the ESXi and VEM software file to be installed.
                        Procedure
                          Step 1   Download the VEM bits and copy them to the local host.
                          Step 2   Determine the upgrade method that you want to use.
                          • If you are using the vCLI, enter the esxcli command and install the ESXi and VEM software simultaneously.
                            Note   

                            When using the esxcli software vib install command, you must log in to each host and enter the command. ESXi 5.1 expects the VIB to be in the /var/log/vmware directory if the absolute path is not specified.

                          esxcli software vib install -v full-path-to-vib

                          This example shows how to install ESXi 5.1 on a host.

                          ~ # esxcli software vib install -d /var/log/vmware/VEM510-201301152110-BG-release.zip 
                          Installation Result
                             Message: Operation finished successfully.
                             Reboot Required: false
                             VIBs Installed: Cisco_bootbank_cisco-vem-v152-esx_4.2.1.2.1a.0-3.1.1.vib
                             VIBs Removed: 
                             VIBs Skipped: 
                          ~ # esxcli software vib install –v /var/log/vmware/ Cisco_bootbank_cisco-vem-v150-esx_4.2.1.2.1a.0-3.1.1.vib  
                          Installation Result
                             Message: Operation finished successfully.
                             Reboot Required: false
                             VIBs Installed: Cisco_bootbank_cisco-vem-v152-esx_4.2.1.2.1.1a.0-3.1.1
                             VIBs Removed: 
                             VIBs Skipped: 
                          ~ #

                          This command loads the software manually onto the host, loads the kernel modules, and starts the VEM Agent on the running system.

                          Step 3   Verify that the installation was successful.
                          ~ # vmware -v -l
                          VMware ESXi 5.1.0 build-799733
                          VMware ESXi 5.1.0 GA
                          ~ #
                          
                          ~ # vemcmd show version
                          VEM Version: 4.2.1.2.1a.0-3.1.1
                          VSM Version: 4.2(1)SV2(1.1a) 
                          System Version: VMware ESXi 5.1.0 Releasebuild-799733
                          
                          ~ # vem status -v
                          Package vssnet-esxmn-next-release
                          Version 4.2.1.2.1a.0-3.1.1
                          Build 2
                          Date Fri Aug 3 05:11:27 PDT 2012
                           
                          Number of PassThru NICs are 0
                          VEM modules are loaded
                           
                          Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks   
                          vSwitch0         128         24          128               1500    vmnic2    
                          DVS Name         Num Ports   Used Ports  Configured Ports  MTU     Uplinks   
                          switch           256         14          256               1500    vmnic5,vmnic4,vmnic3
                           
                          Number of PassThru NICs are 0
                          VEM Agent (vemdpa) is running
                          
                          ~ # esxcli software vib list | grep cisco
                          cisco-vem-v152-esx             4.2.1a.2.1.0-3.1.1               Cisco   PartnerSupported  2012-10-09  
                          ~ # 
                          
                          ~ # vem version -v
                          Number of PassThru NICs are 0
                          Running esx version -799733 x86_64
                          VEM Version: 4.2.1.2.1a.0.194-3.1.1
                          VSM Version: 4.2(1)SV2(1.1a) [build 4.2(1)SV2(1.0.194)]
                          System Version: VMware ESXi 5.1.0 Releasebuild-799733
                          ~ # 
                          Note   

                          If the VEM Agent is not running, see the Cisco Nexus 1000V Troubleshooting Guide.

                          Step 4   Verify that the VEM has been upgraded by entering the following command from the VSM.
                          switch# show module 
                          Mod  Ports  Module-Type                       Model               Status
                          ---  -----  --------------------------------  ------------------  ------------
                          1    0      Virtual Supervisor Module         Nexus1000V          ha-standby
                          2    0      Virtual Supervisor Module         Nexus1000V          active *
                          3    248    Virtual Ethernet Module           NA                  ok
                          4    248    Virtual Ethernet Module           NA                  ok
                          
                          Mod  Sw                  Hw      
                          ---  ------------------  ------------------------------------------------  
                          1    4.2(1)SV2(1.1a)      0.0                                              
                          2    4.2(1)SV2(1.1a)      0.0                                              
                          3    4.2(1)SV2(1.1a)      4.2(1)SV2(1.1a)   VMware ESXi 5.1.0 Releasebuild-799733 (3.1)      
                          4    4.2(1)SV2(1.1a)      4.2(1)SV2(1.1a)   VMware ESXi 5.1.0 Releasebuild-799733 (3.1)      
                          
                          Mod  MAC-Address(es)                         Serial-Num
                          ---  --------------------------------------  ----------
                          1    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
                          2    00-19-07-6c-5a-a8 to 00-19-07-6c-62-a8  NA
                          3    02-00-0c-00-03-00 to 02-00-0c-00-03-80  NA
                          4    02-00-0c-00-04-00 to 02-00-0c-00-04-80  NA
                          
                          Mod  Server-IP        Server-UUID                           Server-Name
                          ---  ---------------  ------------------------------------  --------------------
                          1    10.104.249.171   NA                                    NA
                          2    10.104.249.171   NA                                    NA
                          3    10.104.249.172   7d41e666-b58a-11e0-bd1d-30e4dbc299c0  10.104.249.172
                          4    10.104.249.173   17d79824-b593-11e0-bd1d-30e4dbc29a0e  10.104.249.173
                          
                          * this terminal session 
                          switch# 
                          Note   

                          The highlighted text in the previous command output confirms that the upgrade was successful.

                          Step 5   Do one of the following:
                          • If the installation was successful, you do nothing because the installation procedure is complete.
                          • If not, see the Recreating the Cisco Nexus 1000V Installation section in the Cisco Nexus 1000V Troubleshooting Guide.

                          You have completed this procedure.

                          Creating an Upgrade ISO with a VMware ESX Image and a Cisco Nexus 1000V VEM Image

                          Before You Begin
                          • Install the VMware PowerCLI on a Windows platform. For more information, see the vSphere PowerCLI Installation Guide.
                          • On the same Windows platform, where the VMware PowerCLI is installed, do one of the following:
                            • Download the ESX depot, which is a .zip file, to a local file path.
                            • Download the VEM offline bundle, which is a .zip file, to a local file path.

                              Note


                              In the following procedure, the ESX depot is available as C:\VMware-ESXi-5.0.0-469512-depot.zip and the VEM bundle is available as VEM500-201301152108-BG-Zip.


                          Procedure
                            Step 1   Start the VMWare PowerCLI application.
                            Step 2   Connect to the vCenter Server. [vSphere PowerCLI] > Connect-VIServer 192.0.2.1 -User Administrator -Password XXXXX
                            Step 3   Load the ESX depot. [vSphere PowerCLI] > Add-ESXSoftwareDepot c:\vmware-ESXi-5.1.0-depot.zip
                            Step 4   Display the image profiles.
                            [vSphere PowerCLI] > Get-EsxImageProfile 
                            Name                           Vendor          Last Modified   Acceptance Level
                            ----                           ------          -------------   ----------------
                            ESXi-5.1.0-799733-no-tools     VMware, Inc.    8/19/2011 1:... PartnerSupported
                            ESXi-5.1.0-799733-standard     VMware, Inc.    8/19/2011 1:... PartnerSupported
                            Step 5   Clone the ESX standard image profile.
                            Note   

                            The image profiles are usually in READ-ONLY format. You must clone the image profile before adding the VEM image to it.

                            [vSphere PowerCLI] > New-ESxImageProfile -CloneProfile ESXi-5.0.0-469512-standard -Name n1kv-Image 
                            Name                           Vendor          Last Modified   Acceptance Level
                            ----                           ------          -------------   ----------------
                            n1kv-Image                     VMware, Inc.    8/19/2011 1:... PartnerSupported
                            Step 6   Load the Cisco Nexus 1000V VEM offline bundle.
                            [vSphere PowerCLI] > Add-EsxSoftwareDepot C:\VEM500-201301152108-BG-release.zip 
                            
                            Depot Url
                            ---------
                            zip:C:\Users\Administrator\Documents\VEM500-201301152108-BG.zip
                            Step 7   Confirm that the n1kv-vib package is loaded.
                            [vSphere PowerCLI] > Get-EsxSoftwarePackage -Name cisco* 
                            Name                     Version                        Vendor     Release Date
                            ----                     -------                        ------     ------------
                            cisco-vem-v152-esx       4.2.1.2.1.1a-3.0.1            Cisco      1/21/2012...
                            Step 8   Bundle the n1kv-package into the cloned image profile.
                            [vSphere PowerCLI] > Add-EsxSoftwarePackage -ImageProfile n1kv-Image -SoftwarePackage cisco-vem-v140-esx 
                            
                            Name                           Vendor          Last Modified   Acceptance Level
                            ----                           ------          -------------   ----------------
                            n1kv-Image                     VMware, Inc.    1/24/2012 5:... PartnerSupported
                            Step 9   Verify that the Cisco VIB is present by listing all the VIBs in the cloned image profile.
                            [vSphere PowerCLI]> $img = Get-EsxImageProfile n1kv-Image 
                            [vSphere PowerCLI]> $img.vibList 
                            
                            Name                     Version                        Vendor     Release Date
                            ----                     -------                        ------     ------------
                            net-ixgbe                2.0.84.8.2-10vmw.500.0.0.46... VMware     8/19/2011...
                            ata-pata-hpt3x2n         0.3.4-3vmw.500.0.0.469512      VMware     8/19/2011...
                            ehci-ehci-hcd            1.0-3vmw.500.0.0.469512        VMware     8/19/2011...
                            ata-pata-atiixp          0.4.6-3vmw.500.0.0.469512      VMware     8/19/2011...
                            scsi-megaraid2           2.00.4-9vmw.500.0.0.469512     VMware     8/19/2011...
                            uhci-usb-uhci            1.0-3vmw.500.0.0.469512        VMware     8/19/2011...
                            net-r8168                8.013.00-3vmw.500.0.0.469512   VMware     8/19/2011...
                            ohci-usb-ohci            1.0-3vmw.500.0.0.469512        VMware     8/19/2011...
                            scsi-qla4xxx             5.01.03.2-3vmw.500.0.0.469512  VMware     8/19/2011...
                            ata-pata-sil680          0.4.8-3vmw.500.0.0.469512      VMware     8/19/2011...
                            scsi-megaraid-sas        4.32-1vmw.500.0.0.469512       VMware     8/19/2011...
                            scsi-aic79xx             3.1-5vmw.500.0.0.469512        VMware     8/19/2011...
                            ata-pata-amd             0.3.10-3vmw.500.0.0.469512     VMware     8/19/2011...
                            net-bnx2                 2.0.15g.v50.11-5vmw.500.0.0... VMware     8/19/2011...
                            misc-drivers             5.0.0-0.0.469512               VMware     8/19/2011...
                            sata-ahci                3.0-6vmw.500.0.0.469512        VMware     8/19/2011...
                            scsi-fnic                1.5.0.3-1vmw.500.0.0.469512    VMware     8/19/2011...
                            ata-pata-pdc2027x        1.0-3vmw.500.0.0.469512        VMware     8/19/2011...
                            scsi-hpsa                5.0.0-17vmw.500.0.0.469512     VMware     8/19/2011...
                            sata-sata-sil            2.3-3vmw.500.0.0.469512        VMware     8/19/2011...
                            net-igb                  2.1.11.1-3vmw.500.0.0.469512   VMware     8/19/2011...
                            net-e1000e               1.1.2-3vmw.500.0.0.469512      VMware     8/19/2011...
                            net-forcedeth            0.61-2vmw.500.0.0.469512       VMware     8/19/2011...
                            sata-ata-piix            2.12-4vmw.500.0.0.469512       VMware     8/19/2011...
                            scsi-qla2xxx             901.k1.1-14vmw.500.0.0.469512  VMware     8/19/2011...
                            scsi-adp94xx             1.0.8.12-6vmw.500.0.0.469512   VMware     8/19/2011...
                            net-sky2                 1.20-2vmw.500.0.0.469512       VMware     8/19/2011...
                            cisco-vem-v150-esx       4.2.1.2.1.0-3.0.1              Cisco      1/21/2012...
                            ipmi-ipmi-msghandler     39.1-4vmw.500.0.0.469512       VMware     8/19/2011...
                            net-be2net               4.0.88.0-1vmw.500.0.0.469512   VMware     8/19/2011...
                            esx-base                 5.0.0-0.0.469512               VMware     8/19/2011...
                            ipmi-ipmi-si-drv         39.1-4vmw.500.0.0.469512       VMware     8/19/2011...
                            scsi-megaraid-mbox       2.20.5.1-6vmw.500.0.0.469512   VMware     8/19/2011...
                            net-nx-nic               4.0.557-3vmw.500.0.0.469512    VMware     8/19/2011...
                            sata-sata-promise        2.12-3vmw.500.0.0.469512       VMware     8/19/2011...
                            scsi-ips                 7.12.05-4vmw.500.0.0.469512    VMware     8/19/2011...
                            scsi-lpfc820             8.2.2.1-18vmw.500.0.0.469512   VMware     8/19/2011...
                            ata-pata-cmd64x          0.2.5-3vmw.500.0.0.469512      VMware     8/19/2011...
                            sata-sata-svw            2.3-3vmw.500.0.0.469512        VMware     8/19/2011...
                            ata-pata-via             0.3.3-2vmw.500.0.0.469512      VMware     8/19/2011...
                            esx-tboot                5.0.0-0.0.469512               VMware     8/19/2011...
                            misc-cnic-register       1.1-1vmw.500.0.0.469512        VMware     8/19/2011...
                            net-s2io                 2.1.4.13427-3vmw.500.0.0.46... VMware     8/19/2011...
                            net-e1000                8.0.3.1-2vmw.500.0.0.469512    VMware     8/19/2011...
                            block-cciss              3.6.14-10vmw.500.0.0.469512    VMware     8/19/2011...
                            net-enic                 1.4.2.15a-1vmw.500.0.0.469512  VMware     8/19/2011...
                            net-bnx2x                1.61.15.v50.1-1vmw.500.0.0.... VMware     8/19/2011...
                            scsi-mpt2sas             06.00.00.00-5vmw.500.0.0.46... VMware     8/19/2011...
                            sata-sata-nv             3.5-3vmw.500.0.0.469512        VMware     8/19/2011...
                            ata-pata-serverworks     0.4.3-3vmw.500.0.0.469512      VMware     8/19/2011...
                            net-cnic                 1.10.2j.v50.7-2vmw.500.0.0.... VMware     8/19/2011...
                            scsi-mptsas              4.23.01.00-5vmw.500.0.0.469512 VMware     8/19/2011...
                            scsi-aacraid             1.1.5.1-9vmw.500.0.0.469512    VMware     8/19/2011...
                            tools-light              5.0.0-0.0.469512               VMware     8/19/2011...
                            ima-qla4xxx              2.01.07-1vmw.500.0.0.469512    VMware     8/19/2011...
                            ipmi-ipmi-devintf        39.1-4vmw.500.0.0.469512       VMware     8/19/2011...
                            net-tg3                  3.110h.v50.4-4vmw.500.0.0.4... VMware     8/19/2011...
                            scsi-bnx2i               1.9.1d.v50.1-3vmw.500.0.0.4... VMware     8/19/2011...
                            net-r8169                6.011.00-2vmw.500.0.0.469512   VMware     8/19/2011...
                            scsi-mptspi              4.23.01.00-5vmw.500.0.0.469512 VMware     8/19/2011...
                            Step 10   Export the image profile to an ISO file.
                            [vSphere PowerCLI]>  Export-EsxImageProfile -ImageProfile n1kv-Image -FilePath C:\n1kv15-esx50.iso –ExportToIso