On Thu, Mar 3, 2011 at 8:00 AM, Leonardo Carneiro <[email protected]> wrote: > Hi Rance, > Nice idea you brought to the list. > > i see tons of tools to use that help what you're trying to achieve: nagios, > shared folders, network communication with a third agent that will > reconfigure the vm (very like nagios). I'm not sure that make the guest > communicate directly with a hypervisor is a good idea. The common knowledge > of virtual machines says that the visualized machine should not be aware > that it's been virtualizated (from a computing point of view, not from the > user point). I think that the whole idea of the vm talking directly to the > hypervison could have serious security implications. >
If I set some form of dynamic limit of 5 virtual servers, then I could setup 5 vms, and dynamically start each one individually and use nagios to manage the stops and starts ok. I see how that would work in my head and it seems reasonably straight forward. What I was hoping to do is create a dummy *.vmdk file with a basic starter disk image. If my load sensing mechanism said start a webserver, then I would copy the vmdk file to another location, and use VBoxManage to connect a vm to this file and start it with the virtual network cables unplugged. somehow connect to the vm, setup the hostname, and the networking information and reboot the box with the virtual cables connected. Updates and system maintenance will be a pain in the you-know-what if you have log in to each of the vms separately to do updates. I think the whole thing works smoother if you can take just one vmdk file, keep it updated, and then dynamically make copies when you need to. This is where the hard part is I think. Only way I can even see to do this is to us allow the controlvm set of subcommands access to a terminal inside a running guest. One other possibility is to make sure to reserve a static IP address for a running dummy vm make a copy of the vmdk file and login via ssh to that box and script the changes, reboot the box and then add it to the load balance pool. Sound reasonable? ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ VBox-users-community mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/vbox-users-community
