Page 1 of 1

Restricting concurrent running VMs

Posted: 16. Feb 2012, 12:30
by Stitch
Bit of an odd question perhaps, but is it possible to restrict the number of concurrent running VM's? I'd like to find a way to only allow one VM to be un at any one time, but to allow there to be several sat on the machine inactive.

Re: Restricting concurrent running VMs

Posted: 16. Feb 2012, 13:02
by mpack
Giving each VM about half the available host RAM should do it.

Re: Restricting concurrent running VMs

Posted: 16. Feb 2012, 13:11
by Stitch
mpack wrote:Giving each VM about half the available host RAM should do it.
I had contemplated that, but pretty easy for the end user to change that.

Is the UI required, i.e. if I deleted "VirtualBox.exe" off the machine and wrote a small app to launch given VM's in headless mode, I could prevent more than one being "easily" run at the same time.

Re: Restricting concurrent running VMs

Posted: 16. Feb 2012, 13:17
by mpack
No, the GUI manager is not needed to run VMs. See the "VBoxManage" chapter in the user manual. Also check out the "create shortcut" feature (right click on a listed VM to see this), which also reveals another way to run VMs without opening the manager.

Re: Restricting concurrent running VMs

Posted: 16. Feb 2012, 15:10
by Stitch
mpack wrote:No, the GUI manager is not needed to run VMs. See the "VBoxManage" chapter in the user manual. Also check out the "create shortcut" feature (right click on a listed VM to see this), which also reveals another way to run VMs without opening the manager.
App written that uses VBoxManage, that was easy enough. Many thanks.