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 | <!-- 7.1: pic removed-->
|
---|
8 | <p>Create VM groups if you want to manage several VMs together, and perform functions on them collectively, as well
|
---|
9 | as individually. </p>
|
---|
10 | <p>The following features are available for groups: </p>
|
---|
11 | <ul>
|
---|
12 | <li>
|
---|
13 | <p>Create a group using <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/>. Do one of the following: </p>
|
---|
14 | <ul>
|
---|
15 | <li>
|
---|
16 | <p>Drag a VM on top of another VM. </p>
|
---|
17 | </li>
|
---|
18 | <li>
|
---|
19 | <p>Select multiple VMs and select <b outputclass="bold">Group</b> from the right-click menu. </p>
|
---|
20 | </li>
|
---|
21 | </ul>
|
---|
22 | </li>
|
---|
23 | <li>
|
---|
24 | <p>Create and manage a group using the command line. Do one of the following: </p>
|
---|
25 | <ul>
|
---|
26 | <li>
|
---|
27 | <p>Create a group and assign a VM. For example: </p>
|
---|
28 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups "/TestGroup"</pre>
|
---|
29 | <p>This command creates a group <codeph>TestGroup</codeph> and attaches the VM <codeph>vm01</codeph> to that
|
---|
30 | group. </p>
|
---|
31 | </li>
|
---|
32 | <li>
|
---|
33 | <p>Detach a VM from the group, and delete the group if empty. For example: </p>
|
---|
34 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups ""</pre>
|
---|
35 | <p>This command detaches all groups from the VM <codeph>vm01</codeph> and deletes the empty group. </p>
|
---|
36 | </li>
|
---|
37 | </ul>
|
---|
38 | </li>
|
---|
39 | <li>
|
---|
40 | <p>Create multiple groups. For example: </p>
|
---|
41 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups "/TestGroup,/TestGroup2"</pre>
|
---|
42 | <p>This command creates the groups <codeph>TestGroup</codeph> and <codeph>TestGroup2</codeph>, if they do not
|
---|
43 | exist, and attaches the VM <codeph>vm01</codeph> to both of them. </p>
|
---|
44 | </li>
|
---|
45 | <li>
|
---|
46 | <p>Create nested groups, having a group hierarchy. For example: </p>
|
---|
47 | <pre xml:space="preserve">VBoxManage modifyvm "vm01" --groups "/TestGroup/TestGroup2"</pre>
|
---|
48 | <p>This command attaches the VM <codeph>vm01</codeph> to the subgroup <codeph>TestGroup2</codeph> of the
|
---|
49 | <codeph>TestGroup</codeph> group. </p>
|
---|
50 | </li>
|
---|
51 | <li>
|
---|
52 | <p>Use <ph conkeyref="vbox-conkeyref-phrases/vbox-mgr"/> menu options to control and manage all the VMs in a
|
---|
53 | group. For example: <b outputclass="bold">Start</b>, <b outputclass="bold">Pause</b>, <b outputclass="bold"
|
---|
54 | >Reset</b>, <b outputclass="bold">Close</b> (save state, send shutdown signal, poweroff), <b
|
---|
55 | outputclass="bold">Discard Saved State</b>, <b outputclass="bold">Show in Explorer</b>, <b
|
---|
56 | outputclass="bold">Sort</b>. </p>
|
---|
57 | </li>
|
---|
58 | </ul>
|
---|
59 | </body>
|
---|
60 |
|
---|
61 | </topic>
|
---|