Install notes
Install the 64 bit perl package first.
=
root@msurox /tmp > tar -zxf VMware-VIPerl-1.6.0-104313.x86_64.tar.gz
=
root@msurox /tmp > ./vmware-viperl-distrib/vmware-install.pl
The following Perl modules were found on the system but may be too old to work
with VIPerl:
Crypt::SSLeay
Compress::Zlib
URI
LWP
The installation of VMware VIPerl Toolkit 1.6.0 build-104313 for Linux
completed successfully. You can decide to remove this software from your system
at any time by invoking the following command:
"/usr/bin/vmware-uninstall-viperl.pl".
Enjoy,
--the VMware team
yum list...
Installed Packages
perl-Crypt-SSLeay.x86_64 0.51-5 installed
Installed Packages
perl-Compress-Zlib.x86_64 1.16-12 installed
Available Packages
perl-Compress-Zlib.x86_64 1.42-1.el4 slc4-update
Installed Packages
perl-URI.noarch 1.30-4 installed
Not sure about LWP...
Will atleast load...
=
root@msurox /tmp > perl -e 'use VMware::VIRuntime;'
=
root@msurox /tmp > perl -e 'use VMware::VILib;'
=
root@msurox /tmp > perl -e 'use VMware::VIExt;'
Now install the 32 bit RCLI, but modify the install script to not verify system arch and to not install the 32bit perl from the same package.
=== root@msurox /tmp > diff vmware-rcli-distrib/vmware-install.pl vmware-rcli-distrib/vmware-install.pl.orig
27d26
< return 0;
2794d2792
< return 0;
2963,2966c2961,2964
< # system("vmware-viperl-distrib/vmware-install.pl --default --prefix=$rootdir --nested");
< # if (!($? >> 8 eq 0)) {
< # error("Unable to install VIPerl.\n\n");
< # }
---
> system("vmware-viperl-distrib/vmware-install.pl --default --prefix=$rootdir --nested");
> if (!($? >> 8 eq 0)) {
> error("Unable to install VIPerl.\n\n");
> }
3245d3242
< return 0;
Mixed results
vmware-cmd getstate for a client on ESXi works.
vicfg-backup fails:
=== root@msurox /home/install/site-profiles/4.3/nodes > vicfg-cfgbackup --save 10.10.2.41
Enter username: root
Enter password:
Error: Server version unavailable at 'https://localhost/sdk/vimService.wsdl' :1: parser error : Space required after the Public Identifier
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
:1: parser error : SystemLiteral " or ' expected
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
:1: parser error : SYSTEM or PUBLIC, the URI is missing
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
^
:9: parser error : Opening and ending tag mismatch: hr line 7 and body
</body></html>
^
:9: parser error : Opening and ending tag mismatch: body line 4 and html
</body></html>
^
:10: parser error : Premature end of data in tag html line 2
^ at /usr/lib/perl5/site_perl/5.8.5/VMware/VICommon.pm line 323
--
TomRockwell - 19 Mar 2009