If you are using a Linux system, you must install the required Perl modules from a terminal window.
Procedure
- Run the following commands for remote access to CPAN (comprehensive Perl archive network) in a terminal window.
$ sudo -s # perl -MCPAN -e shell
- Run the following command at the CPAN prompt to install
SOAP::Lite
.cpan> install SOAP::Lite
- Respond to the questions that appear.
The module installs.
- Go to the cpan.org Web site, search for UUID, and download the latest source.
- Untar the downloaded file, open a terminal window.
- 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. - 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.
Table 1. 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.