If you are using a Linux system, you must install the required Perl modules from a terminal window.

1

Run the following commands for remote access to CPAN (comprehensive Perl archive network) in a terminal window.

$ sudo -s
# perl -MCPAN -e shell
2

Run the following command at the CPAN prompt to install SOAP::Lite.

cpan> install SOAP::Lite
3

Respond to the questions that appear.

The module installs.

4

Go to the cpan.org Web site, search for UUID, and download the latest source.

5

Untar the downloaded file, open a terminal window.

6

Go to the untarred directory and run the following commands to install UUID.

# make
# make test
# make install

If running make results in errors about missing items, install uuid-dev with apt-get on Debian-based systems or e2fsprogs-dev[el] on other systems.

7

Run the following commands to install Data::Dump.

# perl -MCPAN -e shell
cpan> install Data::Dump

After you have installed vSphere SDK for Perl, the following artifacts and samples are in the vSphere SDK for Perl installation directory.

Components and Locations

Path

Description

Perl/samples/WSMan

Sample Perl scripts that use the WS-Management library to obtain information through the CIMOM of an ESX/ESXi or vCenter Server system. Sample programs let you check sensor health, obtain firmware revision levels, list field-replaceable units, and list power supply details. See WSMan Sample Scripts.

Perl/lib/WSMan

WS-Management interface Perl modules.