Solved

How to retrive ESX/VCenter properties using VI SDK using C++/gsoap?

Posted on 2010-11-16
4
1,208 Views
Last Modified: 2012-05-10
Hi,

I want to retrieve the Host System Properties of ESX/VCenter. I want to do this using C++. When i google it i found that it can be done using C++/gsoap. But im bit confused where to start and how to get work ... is any one provide tutorial or source code for this?..

I have very less time. any help will be appriciated,
Thanks in advance
0
Comment
Question by:ilava
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 34143102
Hi

You can do this using perl and powershell scripts, but C++ I do not know

Jail
0
 
LVL 3

Author Comment

by:ilava
ID: 34154633
Hi,

Is there any way to do with PHP and Soap Client. I have successfully retrieve the service content. But i cant get the HostSystem Properties.
0
 
LVL 23

Accepted Solution

by:
Luciano Patrão earned 500 total points
ID: 34155102
Hi

I don't know any scripts or code that can do this with PHP

Check this, and see if has any information that you can use.

http://www.vmware.com/support/pubs/sdk_pubs.html

and

http://www.vmware.com/technical-resources/script-automation/api-portfolio.html

Try to install VMware vSphere PowerCLI and VMware vSphere SDK for Perl, and check standard scripts or commands, and see if you can use on the PHP code.

There was a php beta product/code vcloudsdkphp, but documentation and the tool, I cannot find anymore in the vmware.com.

I know that are some codes or scripts to use with VMware Lab Manager(using aPI). But I never use this, and I don't know much about it. Try search any information about this.

Hope this can help

Jail
0
 
LVL 3

Author Closing Comment

by:ilava
ID: 34247035
Which gives me an idea how to do with php. Now i have done this with PHP. Thx
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Changing password for the vsphere.local\Service-Acct1 ? 7 48
Converting a certificate into a PEM 2 55
VMtools Issue 7 56
esxi root user permission 7 40
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question