Vmware Vsphere Cli 5.5

Vmware Vsphere Cli 5.5 Rating: 4,9/5 7781 reviews
Printable version

Sep 12, 2019  Alan Renouf has announced through the PowerCLI blog the news few days back when the main news about VSAN and vSphere 5.5 U1 release.There is a new release of PowerCLI 5.5 R2 (Build 1649237 is VMware vSphere PowerCLI 5.5 Release 2) which brings many new support for different products and vSphere. Using PowerCLI for VMWare ESXi 5.5 espressobeanies Nov 7, 2017 12:18 PM I'm trying to figure out how to use PowerCLI for ESXi 5.5 to automatically create and start new machines from command-line.

* RECOMMENDED * HPE ESXi Utilities Offline Bundle for VMware vSphere 5.5

By downloading, you agree to the terms and conditions of the Hewlett Packard Enterprise Software License Agreement.
Note: Some software requires a valid warranty, current Hewlett Packard Enterprise support contract, or a license fee.

Type:Software - System Management
Version:2.6a(27 Apr 2017)
Operating System(s): VMware vSphere 5.5
File name:hpe-HPUtil-esxi5.5-bundle-2.6a-7.zip (8.8 MB)
The HPE ESXi Utilities Offline bundle for VMware vSphere 5.5 includes HPONCFG, HPBOOTCFG, HPTESTEVENT, HPE CONREP , and SSACLI utilities for configuration of servers. HPONCFG can be used to set up and reconfigure the iLO (Integrated Lights-Out) management controller of a server. HPBOOTCFG can be used to set up the boot configuration for the server. SSACLI can be used in the configuration of HPE Smart Array controllers and attached storage. The HPTESTEVENT utility generates test WBEM indication and test SNMP trap. The HPE CONREP Utility enables server hardware configuration capture, set and duplication.

To ensure the integrity of your download, HPE recommends verifying your results with this SHA-256 Checksum value:

a5bc2e155af556447eb70393599e6bdad856aae647f8ccf6d3740707ba2c45f9hpe-HPUtil-esxi5.5-bundle-2.6a-7.zip

Reboot Requirement:
Reboot is required after installation for updates to take effect and hardware stability to be maintained.

Installation:

Installing Offline Bundles on an ESXi 5.5 Host Using vSphere CLI 5.5 esxcli Utility

You can use the esxcli utility in conjunction with offline bundles or with a depot. This topic describes the procedure using offline bundles.
This bundle includes the followng software versions:

  • hpbootcfg-5.5.0.02-02.00.5.1198610.vib
  • ssacli-2.60.18.0-5.5.0.vib
  • conrep-5.5.0.01-02.00.1.1198610.vib
  • hpe-ilo-550.10.0.0.26-1OEM.550.0.0.1198610.x86_64.vib
  • hponcfg-5.5.0.4.4-2.2.1198610.vib
  • hpe-cru-5.5.8.8-1OEM.550.0.0.1198610.x86_64.vib
  • hptestevent-5.5.0.01-01.00.3.1198610.vib

Prerequisites
Before you can update or patch an ESXi 5.5 host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface 5.5 (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system. For information about importing or installing the vSphereCLI 5.5. see the VMware vSphere Command-Line Interface Guides.
Procedure

  1. Power off any virtual machines that are running on the host and place the host into maintenance mode.
  2. Transfer the offline bundle onto the ESXi host local path, or extract it onto an online depot.
  3. Install the bundle on the ESXi host.
    • Install remotely from client, with offline bundle contents on a online depot:
      esxcli -s <server> -u root -p mypassword software vib install -d <depotURL/bundle-index.xml>
    • Install remotely from client, with offline bundle on ESXi host:
      esxcli -s <server> -u root -p mypassword software vib install -d <ESXi local path><bundle.zip>
    • Install from ESXi host, with offline bundle on ESXi host:
      esxcli software vib install -d <ESXi local path><bundle.zip>
  4. After the bundle is installed, reboot the ESXi host for the updates to take effect.
  5. (Optional) Verify that the vibs on the bundle are installed on your ESXi host:
    esxcli -s <server> -u root -p mypassword software vib list
  6. (Optional) Remove individual vibs. <vib name> can be identified by listing the vibs as shown in #5:
    esxcli -s <server> -u root -p mypassword software vib remove -n <vib name>

Installing Offline Bundles on an ESXi 5.5 Host Using VMware vCenter Update Manager

The offline bundle can also be installed from VMware vCenter Update Manager as a patch. For more information and detailed instructions, see the VMware vCenter Update Manager Administration Guide.


End User License Agreements:
HPE Software License Agreement v1
Boost License
Hewlett-Packard End User License Agreement
Net-SNMP License

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Important:

  • For additional information about the utilities mentioned in this product, please refer to the document 'HPE VMware Utilities User Guide for VMware ESXi 5.5 U3 for October 2016' which is located at http://www.hpe.com/go/vmware/proliant-docs.
  • These utilities are not intended for use with VMware ESX/ESXi 4.x and 6.x.

Supported Devices and Features:

Supports VMware vSphere 5.5 U3 and vSphere 5.5 U2

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • In the previous version of this bundle ( version 2.6), ssacli would not install when using VUM.

    The vib meta data for the this bundle has been corrected to fix this error.

  • For additional information about the utilities mentioned in this product, please refer to the document 'HPE VMware Utilities User Guide for VMware ESXi 5.5 U3 for October 2016' which is located at http://www.hpe.com/go/vmware/proliant-docs.
  • These utilities are not intended for use with VMware ESX/ESXi 4.x and 6.x.
Version:2.6a (27 Apr 2017)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • In the previous version of this bundle ( version 2.6), ssacli would not install when using VUM.

    The vib meta data for the this bundle has been corrected to fix this error.


Version:2.6 (25 Oct 2016)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Includes an updated Smart Storage Administrator SSACLI


Version:2.5 (12 Apr 2016)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • Supports the new Gen9 HPE ProLiant servers with Intel Xeon E5-2600-v4 Series processors
  • Included an updated HPE Smart Storage Administrator ( HPE SSA ) CLI

Version:2.4 (16 Nov 2015)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • Supports the new Gen9 HP ProLiant servers with Intel Xeon E3-1200-v5 processors.
  • Updated HP Smart Storage Administrator (HP SSA) CLI which has the updated HP EULA for encryption licensing

Version:2.3 (16 Sep 2015)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Updated HP Smart Storage Administrator ( HP SSA ) CLI which has added support for:

  • HP Smart Array P840ar Controller

Version:2.2 (30 Mar 2015)

Upgrade Requirement:
Recommended - HP recommends users update to this version at their earliest convenience.

Updated HP Smart Storage Administrator ( HP SSA) CLI which has added support for:

  • HP Smart Array P246br Controller
  • HP Smart Array P741m Controller
  • HP Smart Array P841 Controller

Added support for the following servers:

All Illinois Secretary of State offices and Driver Services facilities are CLOSED to the public. Renew your vehicle sticker Expiration dates for driver's licenses, identification cards, vehicle registrations and other transactions and document filings will be extended at least 90 days after Driver Services Facilities reopen. ClearImage Driver License Reader SDK. Extract personal identification and reference data from US and Canada Driver Licenses and ID cards. Read the PDF417 and 1D barcodes from identification documents around the world using optimized image enhancement algorithms. Just a few code lines extract driver license data C# VB C PHP VBScript See more. If you disagree with any terms or conditions of this License, do not copy, install, distribute or use any part of the Barcode Generator & Overprinter software. One registered copy of Barcode Generator & Overprinter may be either used by a single person for personal use on multiple computers or installed on a single workstation not used by others. Driver’s License (TVDL) Illinois Secretary of State Jesse White. Driver’s License Features. Card type indicator Red — Driver’s License and CDL Green — ID Card. 1D barcode with DL or ID number Barcode used for inventory tracking 2D barcode with text from card front Features on Back of Driver’s License/ID Card. Download software illinois drivers license barcodes llc registration.

  • HP ProLiant ML10 v2 (only supports the Intel® Xeon® E3-1200)
  • HP ProLiant XL190r Gen9
  • HP ProLiant XL170r Gen9

Version:2.1 (9 Sep 2014)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Support for the new HP ProLiant Gen9 servers and their options. The servers include:

  • HP ProLiant DL60 Gen9
  • HP ProLiant DL80 Gen9
  • HP ProLiant DL120 Gen9
  • HP ProLiant DL150 Gen9


Version:1.7 (17 Jun 2014)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Fixed random failures from HPONCFG when it is used in iLO configuration scripts.

Supports the HP ProLiant XL220a Gen8 v2 Server


Version:1.6 (18 Feb 2014)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

The new enhancements include:

  • HPBOOTCFG can Report/Set UEFI or Legacy boot mode
  • Support for the ProLiant DL580 Gen8
  • Supports the Intel® Xeon® E5-4600 v2 processor for the ProLiant BL660c Gen8 and ProLiant DL560 Gen8

Version:1.5 (23 Sep 2013)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

This is the initial release for vSphere 5.5

Features include:

  • HPTESTEVENT – New utility to generate test WBEM indication and test SNMP trap
  • HPSSACLI – New utility to replace hpacucli
  • HPONCFG – HPONCFG utility, displays the Server Serial Number along with the Server Name when using hponcfg -g switch, to extract the Host System Information
  • Support for Microserver with Intel® Xeon® Processor E3-1220L v2
  • HP ProLiant BL490c G7 Server
  • Support for Intel® Xeon® E5-2400 v2 processors for EN processors/systems

Type:Software - System Management
Version:2.6a(27 Apr 2017)
Operating System(s):
VMware vSphere 5.5

Description

The HPE ESXi Utilities Offline bundle for VMware vSphere 5.5 includes HPONCFG, HPBOOTCFG, HPTESTEVENT, HPE CONREP , and SSACLI utilities for configuration of servers. HPONCFG can be used to set up and reconfigure the iLO (Integrated Lights-Out) management controller of a server. HPBOOTCFG can be used to set up the boot configuration for the server. SSACLI can be used in the configuration of HPE Smart Array controllers and attached storage. The HPTESTEVENT utility generates test WBEM indication and test SNMP trap. The HPE CONREP Utility enables server hardware configuration capture, set and duplication.

Installation Instructions

To ensure the integrity of your download, HPE recommends verifying your results with this SHA-256 Checksum value:

a5bc2e155af556447eb70393599e6bdad856aae647f8ccf6d3740707ba2c45f9hpe-HPUtil-esxi5.5-bundle-2.6a-7.zip

Reboot Requirement:
Reboot is required after installation for updates to take effect and hardware stability to be maintained.

Installation:

Installing Offline Bundles on an ESXi 5.5 Host Using vSphere CLI 5.5 esxcli Utility

You can use the esxcli utility in conjunction with offline bundles or with a depot. This topic describes the procedure using offline bundles.
This bundle includes the followng software versions:

  • hpbootcfg-5.5.0.02-02.00.5.1198610.vib
  • ssacli-2.60.18.0-5.5.0.vib
  • conrep-5.5.0.01-02.00.1.1198610.vib
  • hpe-ilo-550.10.0.0.26-1OEM.550.0.0.1198610.x86_64.vib
  • hponcfg-5.5.0.4.4-2.2.1198610.vib
  • hpe-cru-5.5.8.8-1OEM.550.0.0.1198610.x86_64.vib
  • hptestevent-5.5.0.01-01.00.3.1198610.vib

Prerequisites
Before you can update or patch an ESXi 5.5 host from the command line, you must have access to a machine on which you can run the VMware vSphere Command-Line Interface 5.5 (vSphere CLI). You can install the vSphere CLI on your Microsoft Windows or Linux system. For information about importing or installing the vSphereCLI 5.5. see the VMware vSphere Command-Line Interface Guides.
Procedure

  1. Power off any virtual machines that are running on the host and place the host into maintenance mode.
  2. Transfer the offline bundle onto the ESXi host local path, or extract it onto an online depot.
  3. Install the bundle on the ESXi host.
    • Install remotely from client, with offline bundle contents on a online depot:
      esxcli -s <server> -u root -p mypassword software vib install -d <depotURL/bundle-index.xml>
    • Install remotely from client, with offline bundle on ESXi host:
      esxcli -s <server> -u root -p mypassword software vib install -d <ESXi local path><bundle.zip>
    • Install from ESXi host, with offline bundle on ESXi host:
      esxcli software vib install -d <ESXi local path><bundle.zip>
  4. After the bundle is installed, reboot the ESXi host for the updates to take effect.
  5. (Optional) Verify that the vibs on the bundle are installed on your ESXi host:
    esxcli -s <server> -u root -p mypassword software vib list
  6. (Optional) Remove individual vibs. <vib name> can be identified by listing the vibs as shown in #5:
    esxcli -s <server> -u root -p mypassword software vib remove -n <vib name>

Installing Offline Bundles on an ESXi 5.5 Host Using VMware vCenter Update Manager

The offline bundle can also be installed from VMware vCenter Update Manager as a patch. For more information and detailed instructions, see the VMware vCenter Update Manager Administration Guide.


Release Notes

End User License Agreements:
HPE Software License Agreement v1
Boost License
Hewlett-Packard End User License Agreement
Net-SNMP License

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Important:

  • For additional information about the utilities mentioned in this product, please refer to the document 'HPE VMware Utilities User Guide for VMware ESXi 5.5 U3 for October 2016' which is located at http://www.hpe.com/go/vmware/proliant-docs.
  • These utilities are not intended for use with VMware ESX/ESXi 4.x and 6.x.

Supported Devices and Features:

Supports VMware vSphere 5.5 U3 and vSphere 5.5 U2

Fixes

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • In the previous version of this bundle ( version 2.6), ssacli would not install when using VUM.

    The vib meta data for the this bundle has been corrected to fix this error.

Important

  • For additional information about the utilities mentioned in this product, please refer to the document 'HPE VMware Utilities User Guide for VMware ESXi 5.5 U3 for October 2016' which is located at http://www.hpe.com/go/vmware/proliant-docs.
  • These utilities are not intended for use with VMware ESX/ESXi 4.x and 6.x.

Revision History

Version:2.6a (27 Apr 2017)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • In the previous version of this bundle ( version 2.6), ssacli would not install when using VUM.

    The vib meta data for the this bundle has been corrected to fix this error.


Version:2.6 (25 Oct 2016)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Includes an updated Smart Storage Administrator SSACLI


Version:2.5 (12 Apr 2016)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • Supports the new Gen9 HPE ProLiant servers with Intel Xeon E5-2600-v4 Series processors
  • Included an updated HPE Smart Storage Administrator ( HPE SSA ) CLI

Version:2.4 (16 Nov 2015)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

  • Supports the new Gen9 HP ProLiant servers with Intel Xeon E3-1200-v5 processors.
  • Updated HP Smart Storage Administrator (HP SSA) CLI which has the updated HP EULA for encryption licensing

Version:2.3 (16 Sep 2015)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Updated HP Smart Storage Administrator ( HP SSA ) CLI which has added support for:

  • HP Smart Array P840ar Controller

Version:2.2 (30 Mar 2015)

Upgrade Requirement:
Recommended - HP recommends users update to this version at their earliest convenience.

Updated HP Smart Storage Administrator ( HP SSA) CLI which has added support for:

  • HP Smart Array P246br Controller
  • HP Smart Array P741m Controller
  • HP Smart Array P841 Controller

Added support for the following servers:

  • HP ProLiant ML10 v2 (only supports the Intel® Xeon® E3-1200)
  • HP ProLiant XL190r Gen9
  • HP ProLiant XL170r Gen9

Version:2.1 (9 Sep 2014)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Support for the new HP ProLiant Gen9 servers and their options. The servers include:

  • HP ProLiant DL60 Gen9
  • HP ProLiant DL80 Gen9
  • HP ProLiant DL120 Gen9
  • HP ProLiant DL150 Gen9


Version:1.7 (17 Jun 2014)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

Fixed random failures from HPONCFG when it is used in iLO configuration scripts.

Supports the HP ProLiant XL220a Gen8 v2 Server


Version:1.6 (18 Feb 2014)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

The new enhancements include:

  • HPBOOTCFG can Report/Set UEFI or Legacy boot mode
  • Support for the ProLiant DL580 Gen8
  • Supports the Intel® Xeon® E5-4600 v2 processor for the ProLiant BL660c Gen8 and ProLiant DL560 Gen8

Version:1.5 (23 Sep 2013)

Upgrade Requirement:
Recommended - HPE recommends users update to this version at their earliest convenience.

This is the initial release for vSphere 5.5

Features include:

  • HPTESTEVENT – New utility to generate test WBEM indication and test SNMP trap
  • HPSSACLI – New utility to replace hpacucli
  • HPONCFG – HPONCFG utility, displays the Server Serial Number along with the Server Name when using hponcfg -g switch, to extract the Host System Information
  • Support for Microserver with Intel® Xeon® Processor E3-1220L v2
  • HP ProLiant BL490c G7 Server
  • Support for Intel® Xeon® E5-2400 v2 processors for EN processors/systems

Legal Disclaimer: Products sold prior to the November 1, 2015 separation of Hewlett-Packard Company into Hewlett Packard Enterprise Company and HP Inc. may have older product names and model numbers that differ from current models.

this is obsolete doc -- see http://doc.nethence.com/ instead

Setting up vSphere CLi 6.0 32-bit on RHEL6.7 32-bit

Installation

Fetch vSphere CLI for RHEL.

[vSphere CLI 5.1](https://my.vmware.com/fr/group/vmware/details?downloadGroup=VSP510-VCLI-510&productId=285)

[vSphere CLI 5.5 update 2](https://my.vmware.com/group/vmware/get-download?downloadGroup=VCLI55U2)

vSphere CLI 6.0

https://my.vmware.com/fr/group/vmware/details?productId=491&downloadGroup=VCLI600

https://my.vmware.com/group/vmware/details?downloadGroup=VCLI600&productId=489

Using 6.0 in this guide

Requirements,

rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

#rpm -Uvh http://epel.mirrors.ovh.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm

rpm -q openssl openssl-devel perl-Crypt-SSLeay gcc perl-CPAN perl-Archive-Zip perl-Class-MethodMaker perl-SOAP-Lite perl-XML-SAX perl-XML-NamespaceSupport perl-XML-LibXML perl-Data-Dump uuid-perl libuuid-devel uuid-devel grep ^Package

rpm -q libuuid libuuid-devel uuid uuid-devel uuid-perl grep ^Package

Install the CLI,

tar xzf VMware-vSphere-CLI-5.1.0-780721.i386.tar.gz

#tar xzf VMware-vSphere-CLI-6.0.0-2503617.x86_64.tar.gz

cd vmware-vsphere-cli-distrib/

now run,

./vmware-install.pl

You now have to play and search what's available either as RHEL package or at search.cpan.org. For example I need this,

MIME::Base64 3.14 or newer

so,

yum search mime-base64

yum search perl grep -i mime-base64

> no mime-base64 package

then go to http://search.cpan.org/ and search for mime::base64,

wget http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/MIME-Base64-3.15.tar.gz

tar xzf..

cd ..

perl Makefile.PL

make

make install

and re-install vmware until there is no error left.

Note. to uninstall,

/usr/bin/vmware-uninstall-vSphere-CLI.pl

Ready to go

List all VMs on an ESX server,

vmware-cmd --server ESXI_HOST_FQDN -U short@ad.domain.net -P 'password' -l

> works

Note. no need to enable ssh on the vihost (the esxi)

Note the adding the FQDN helped when contacting one of the ESXis of the farm, otherwise I had the SOAP timeout too.

List all VM registered on the vCenter,

vmware-cmd --server VCENTER_HOST_FQDN --vihost ESXI_HOST_FQDN -U short@ad.domain.net -P 'password' -l

> doesn't work I get,

SOAP request error - possibly a protocol issue: 500 read timeout

Quoting vmware doc,

--server Target ESXi or vCenter Server system.

--vihost When you run vmware-cmd with the -H option pointing to a vCenter Server system, use --vihost to specify the ESXi host to run the command against.

References

Installation de VMWare Vsphere Remote CLI 5.1 sur Centos/RHEL 6.4 (64 bits): http://www.hosthis.org/2013/05/installation-de-vmware-vsphere-remote-cli-5-1-sur-centosrhel-6-4-64-bits/

vSphere CLI for vSphere 5.5: https://developercenter.vmware.com/tool/vsphere_cli/5.5

VMware vSphere CLI 5.5 Update 2: https://my.vmware.com/group/vmware/get-download?downloadGroup=VCLI55U2

VMware vSphere CLI 6.0: https://my.vmware.com/group/vmware/details?downloadGroup=VCLI600&productId=489

How to install perl modules (i.e. with cpan): https://access.redhat.com/solutions/4147

vmware-cmd Overview: https://pubs.vmware.com/vsphere-51/index.jsp?topic=%2Fcom.vmware.vcli.examples.doc%2Fcli_manage_vms.10.2.html

How to Install VMware vSphere SDK for Perl 5.1: https://kb.op5.com/display/HOWTOs/How+to+Install+VMware+vSphere+SDK+for+Perl+5.1

How to install VMWare ESXi CLI on CentOS 6.0?: http://serverfault.com/questions/368504/how-to-install-vmware-esxi-cli-on-centos-6-0