VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (6 pts)
1 Replies Last post: Nov 3, 2009 8:59 AM by stanbinev  

PHP Wrapper for interacting with LabManager SOAP API posted: Nov 3, 2009 5:53 AM

Click to view cesarcesar's profile Novice 10 posts since
Oct 21, 2009

I am new to vmware. I am attempting yo use a SOAP wrapper built for PHP, but I am having some issues with it. The wrapper is found at, http://code.google.com/p/phlabmanager/. There's not much to the script, but im just getting a white screen. I think it has to do with some configurationvalues it needs. I have listed them below in hows that someone has used vmware and knows what i need.

To give a little background on the project, VMware is installed on Server A. I am using phLabManager from a directory on Server B.

1. I assume the hostname is that of Server A? Something like http://147.34.xxx.xxx correct?

2. Is username, password that of the server, or the users vCenter login?

3. "organisation_name" and "workspace_name" are a litle confusing. When in LabManager and clicking on the Workspace link it shows my Workspace name as ITGO-TTS / Main, but i have no Organisation Name. Now if i click on VM Templates link, I now have an Organisation as ITGO-TTS, but no Workspace Name. Where do i get these values?

4. GetConfigurationByName() should this be set to either a Template Name or Workspace -> Configuration Name right?

Thanks for the help.

Click to view stanbinev's profile Hot Shot 122 posts since
Feb 14, 2007

ITGO-TTS is your organization

Main is your workspace name.

username/password for the user you use to login to LM

You should pass those through the API. When performing template operations you do not need to pass the workspace (though it wouldn't matter). Only working in workspaces you do.

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities