Restricting concurrent running VMs

This is for discussing general topics about how to use VirtualBox.
Post Reply
Stitch
Posts: 3
Joined: 16. Feb 2012, 12:28

Restricting concurrent running VMs

Post 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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Restricting concurrent running VMs

Post by mpack »

Giving each VM about half the available host RAM should do it.
Stitch
Posts: 3
Joined: 16. Feb 2012, 12:28

Re: Restricting concurrent running VMs

Post 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.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Restricting concurrent running VMs

Post 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.
Stitch
Posts: 3
Joined: 16. Feb 2012, 12:28

Re: Restricting concurrent running VMs

Post 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.
Post Reply