1

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.

nc.
  • 133
  • 4

1 Answers1

0

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.

Helvick
  • 20,019
  • 4
  • 38
  • 55