www.vmware.com
78
VMware GSX Server Administration Guide
Installing the VmPerl Scripting API on a Linux Host
On either a Linux server host or a Linux remote computer, you can use only the VmPerl
API. The VmCOM API cannot be installed on a Linux host, although the VmCOM API
installed on a Windows remote client can communicate with a Linux host. You can
make the VmPerl API tar archive available for download by customizing the download
menu on the Login page of the VMware Management Interface. See
.
Note:
There is no 64-bit version of the VmPerl API available for installation on a 64-bit
Linux host. To use the VmPerl API with a 64-bit Linux host, install the 32-bit version of
the VmPerl API on a 32-bit Linux host and use that API to control a 64-bit host.
To install the VmPerl API on a 32-bit host or client, complete the following steps.
1. Download the VmPerl API package from the VMware Management Interface
Login page to the machine on which you want to run the VMware Scripting API.
2. In a terminal window, if you have not done so already, become root so you can
carry out the installation steps.
su -
3. Untar the package.
tar zxf
VMware-VmPerlAPI-<xxxx>.tar.gz
(where
<xxxx>
is a series of numbers representing the version and build
numbers)
4. Change to the installation directory.
cd vmware-api-distrib
5. Run the installation program.
./vmware-install.pl
6. Press Enter to read the end user license agreement (EULA). You may page
through it by pressing the spacebar. If the
Do you accept?
prompt doesn’t
appear, press
Q
to get to the next prompt. Accept the EULA.
7. Specify the directory where you want to install the VmPerl API executable files.
The default is where Perl is installed on your host, typically
/usr/bin
.
8. Specify the directory where you want to install the VmPerl API library files. The
default is
/usr/lib/vmware-api
.
This directory includes the sample scripts for the VmPerl API. The
SampleScripts
directory contains example scripts that demonstrate use of
the VmPerl API. You may customize these scripts for your particular organization.
Содержание GSX Server 3 Administration
Страница 1: ...Administration Guide TM...
Страница 8: ...www vmware com 8...
Страница 42: ...www vmware com 42 VMware GSX Server Administration Guide...
Страница 86: ...www vmware com 86 VMware GSX Server Administration Guide...
Страница 184: ...www vmware com 184 VMware GSX Server Administration Guide...
Страница 226: ...www vmware com 226 VMware GSX Server Administration Guide...
Страница 240: ...www vmware com 240...