0

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.

hpuiu
  • 3
  • 1
  • 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 Answers1

2

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.

EEAA
  • 108,414
  • 18
  • 172
  • 242
  • 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