Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I would like to create an application that will traverse a Virtual Infrastructure using the vSphere Web Services API (this part I have handled) and perform and unattended install of some given package on Linux and Windows machines (this latter part I can't figure out. It looks like you can not use the VMware Update Manager to install custom packages http://communities.vmware.com/thread/205652 ).

Is this possible? If so how can it be done? Credentials/permissions are not an issue as the person running this application should have total access to the infrastructure.

Thank you.

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

Have you looked at the (older) VIX API

There is a C example given at that link showing how to execute a simple commands within a guest and return some data. There are VIX functions for logging into Guests, copying files between Guest and host and vice versa, initiating\clearing snapshots as well as executing commands. There are more but given just those capabilities you should be able to build a robust installation framework to do what you need.

share|improve this answer
    
Perfect. Thank you. –  nc. Jul 30 '09 at 14:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.