Required Perl Modules
The WS-Management Perl library requires these Perl modules:
SOAP::Lite – Version 0.67 - version 0.69 are supported. Versions before 0.67 or 0.7 or later are not supported.
UUID – Version 0.02 and later.
Data::Dump – Version 1.07 and later.
If the system you are using is behind a firewall, make sure that the http_proxy and ftp_proxy environment variables are set to match your Proxy server before you proceed with the following instructions for Windows or Linux.
Note If you use one of the supported Linux distributions, the required modules are included with the vSphere SDK for Perl and you do not have to install them.
To install required Perl modules on a Windows system
1
C:\>ppm install http://theoryx5.uwinnipeg.ca/ppmpackages/SOAP-Lite.ppd
C:\>ppm install http://theoryx5.uwinnipeg.ca/ppms/SOAP-Lite.ppd
2
C:>ppm install UUID
3
C:>ppm install Data-Dump
To install required Perl modules on a Linux system
1
$ sudo -s
# perl -MCPAN -e shell
2
cpan> install SOAP::Lite
3
The module installs.
4
5
6
# 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
# 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:
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.