Before installing the VI Perl Toolkit, you should confirm the connection from your intended development workstation to the target server system: If issues arise after you install the VI Perl Toolkit, youll have one less factor to troubleshoot.
The quickest way to check connectivity is to launch a browser (on the host system you intend to use for VI Perl Toolkit scripting) and navigate to the Managed Object Browser (MOB), the web-based server application hosted on all ESX Server and VirtualCenter Server systems. The MOB lets you explore the objects on the system and obtain information about available properties and methodsits a great tool for learning about the VI API and object model in the context of live virtual machines running on host systems. Unless the ESX Server or VirtualCenter Management Server web server has been configured to support HTTP (rather than HTTPS), youll need a user name and password to log into the MOB (step 3, below).
To access the MOB on any ESX Server or VirtualCenter Management Server system:
Note: If the ESX Server or VirtualCenter Management Server system has been configured to support regular HTTP (non-SSL) connections, you wont be prompted for user name and password, nor will you see any SSL-certificate-related warnings.
When youve successfully connected to the MOB, the browser displays the managed object reference for the service (ManagedObjectReference:ServiceInstance), available properties (with values) and methods, as shown in this example:
Assuming that you can connect to the MOB from your host system, you can now install the VI Perl Toolkit and successfully run Utility Applications or scripts using this same server name, user account, and password.
Copyright © 2007 VMware, Inc. All rights reserved.
VI Perl Toolkit 1.0 | Released 30-Aug-2007 | Last updated 28-August-2007 7:00 pm