1 | <?xml version='1.0' encoding='UTF-8'?>
|
---|
2 | <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
|
---|
3 | <topic xml:lang="en-us" id="gui-vmgroups">
|
---|
4 | <title>Using VM Groups</title>
|
---|
5 |
|
---|
6 | <body>
|
---|
7 | <p>VM groups are groups of VMs that you can create as and when required. You can manage and perform functions on
|
---|
8 | them collectively, as well as individually. </p>
|
---|
9 | <p>The following figure shows VM groups displayed in VirtualBox Manager. </p>
|
---|
10 | <fig id="fig-vm-groups">
|
---|
11 | <title>Groups of Virtual Machines</title>
|
---|
12 | <xref href="images/vm-groups.png" format="png" platform="htmlhelp">
|
---|
13 | <image href="images/vm-groups.png" width="10cm" placement="break">
|
---|
14 | <alt>Groups of Virtual Machines</alt>
|
---|
15 | </image>
|
---|
16 | </xref>
|
---|
17 | <image platform="ohc" href="images/vm-groups.png" width="10cm" placement="break">
|
---|
18 | <alt>Groups of Virtual Machines</alt>
|
---|
19 | </image>
|
---|
20 | </fig>
|
---|
21 | <p>
|
---|
22 | The following features are available for groups:
|
---|
23 | </p>
|
---|
24 | <ul>
|
---|
25 | <li>
|
---|
26 | <p>Create a group using <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/>. Do one of the following: </p>
|
---|
27 | <ul>
|
---|
28 | <li>
|
---|
29 | <p>Drag a VM on top of another VM. </p>
|
---|
30 | </li>
|
---|
31 | <li>
|
---|
32 | <p>Select multiple VMs and select <b outputclass="bold">Group</b> from the right-click menu. </p>
|
---|
33 | </li>
|
---|
34 | </ul>
|
---|
35 | </li>
|
---|
36 | <li>
|
---|
37 | <p>Create and manage a group using the command line. Do one of the following: </p>
|
---|
38 | <ul>
|
---|
39 | <li>
|
---|
40 | <p>Create a group and assign a VM. For example: </p>
|
---|
41 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups "/TestGroup"</pre>
|
---|
42 | <p>This command creates a group <codeph>TestGroup</codeph> and attaches the VM <codeph>vm01</codeph> to that
|
---|
43 | group. </p>
|
---|
44 | </li>
|
---|
45 | <li>
|
---|
46 | <p>Detach a VM from the group, and delete the group if empty. For example: </p>
|
---|
47 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups ""</pre>
|
---|
48 | <p>This command detaches all groups from the VM <codeph>vm01</codeph> and deletes the empty group. </p>
|
---|
49 | </li>
|
---|
50 | </ul>
|
---|
51 | </li>
|
---|
52 | <li>
|
---|
53 | <p>Create multiple groups. For example: </p>
|
---|
54 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups "/TestGroup,/TestGroup2"</pre>
|
---|
55 | <p>This command creates the groups <codeph>TestGroup</codeph> and <codeph>TestGroup2</codeph>, if they do not
|
---|
56 | exist, and attaches the VM <codeph>vm01</codeph> to both of them. </p>
|
---|
57 | </li>
|
---|
58 | <li>
|
---|
59 | <p>Create nested groups, having a group hierarchy. For example: </p>
|
---|
60 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups "/TestGroup/TestGroup2"</pre>
|
---|
61 | <p>This command attaches the VM <codeph>vm01</codeph> to the subgroup <codeph>TestGroup2</codeph> of the
|
---|
62 | <codeph>TestGroup</codeph> group. </p>
|
---|
63 | </li>
|
---|
64 | <li>
|
---|
65 | <p>Use <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/> menu options to control and manage all the VMs in a
|
---|
66 | group. For example: <b outputclass="bold">Start</b>, <b outputclass="bold">Pause</b>, <b outputclass="bold"
|
---|
67 | >Reset</b>, <b outputclass="bold">Close</b> (save state, send shutdown signal, poweroff), <b
|
---|
68 | outputclass="bold">Discard Saved State</b>, <b outputclass="bold">Show in Explorer</b>, <b
|
---|
69 | outputclass="bold">Sort</b>. </p>
|
---|
70 | </li>
|
---|
71 | </ul>
|
---|
72 | </body>
|
---|
73 |
|
---|
74 | </topic>
|
---|