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 was wondering if there is a way to remotely deploy custom software inside one (or multiple) virtual machine(s) by using API calls. The question is valid for both VMWare based and Xen based solutions. Something similar to the way VMWare Tools (or Xen Tools) are deployed inside a guest operating system. Thanks.

share|improve this question
1  
Are you looking to do this while the VMs are "powered off"? If not, why not just treat them like physical machines and use the same configuration management tools (Active Directory Group Policy, scripting, Puppet, CFengine, etc) that you'd use for physical machines? –  Evan Anderson Feb 13 '12 at 14:52

1 Answer 1

up vote 2 down vote accepted

This is typically done via a configuration management system like SCCM (for Windows) or Puppet/Chef/CFengine (for Linux/BSD/etc.). If mounting an ISO image to the VM is a requirement for your situation (like it is with VMware Tools), you could use VMware ESXi API calls to do that, and then kick off the install using one of the above systems. I'm not familiar with what functionality is exposed via the Xen API, but I have to assume that it's equivalent to what VMware ESXi offers.

share|improve this answer
    
Thanks for the answer. In VMWare, there is also a VMWareTools API that allows to install software remotely. Thought there was something similar in Xen. –  hpuiu Feb 14 '12 at 10:01

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.