9.2. Virtual Machine Pool Tasks
9.2.1. Creating a Virtual Machine Pool
Procedure 9.1. Creating a Virtual Machine Pool
- Click the Pools tab.
- Click the New Pool window.button to open the
- Use the drop down-list to select the Cluster or use the selected default.
- Use the Template drop-down menu to select the required template and version or use the selected default. A template provides standard settings for all the virtual machines in the pool.
- Use the Operating System drop-down list to select an Operating System or use the default provided by the template.
- Use the Optimized for drop-down list to optimize virtual machines for either Desktop use or Server use.
- Enter a Name and Description, any Comments, and the Number of VMs for the pool.
- Enter the number of virtual machines to be prestarted in the Prestarted VMs field.
- Select the Maximum number of VMs per user that a single user is allowed to run in a session. The minimum is one.
- Select the Delete Protection check box to enable delete protection.
- Optionally, click the Show Advanced Options button and perform the following steps:
- Click the Type tab and select a Pool Type:
- Manual - The administrator is responsible for explicitly returning the virtual machine to the pool. The virtual machine reverts to the original base image after the administrator returns it to the pool.
- Automatic - When the virtual machine is shut down, it automatically reverts to its base image and is returned to the virtual machine pool.
- Select the Console tab. At the bottom of the tab window, select the Override SPICE Proxy check box to enable the Overridden SPICE proxy address text field. Specify the address of a SPICE proxy to override the global SPICE proxy.
- Click.
9.2.2. Explanation of Settings and Controls in the New Pool and Edit Pool Windows
9.2.2.1. New Pool and Edit Pool General Settings Explained
Field Name
|
Description
|
---|---|
Template
|
The template on which the virtual machine pool is based.
|
Description
|
A meaningful description of the virtual machine pool.
|
Comment
|
A field for adding plain text human-readable comments regarding the virtual machine pool.
|
Prestarted VMs
|
Allows you to specify the number of virtual machines in the virtual machine pool that will be started before they are taken and kept in that state to be taken by users. The value of this field must be between
0 and the total number of virtual machines in the virtual machine pool.
|
Number of VMs/Increase number of VMs in pool by
|
Allows you to specify the number of virtual machines to be created and made available in the virtual machine pool. In the edit window it allows you to increase the number of virtual machines in the virtual machine pool by the specified number. By default, the maximum number of virtual machines you can create in a pool is 1000. This value can be configured using the
MaxVmsInPool key of the engine-config command.
|
Maximum number of VMs per user
|
Allows you to specify the maximum number of virtual machines a single user can take from the virtual machine pool at any one time. The value of this field must be between
1 and 32,767 .
|
Delete Protection
|
Allows you to prevent the virtual machines in the pool from being deleted.
|
9.2.2.2. New and Edit Pool Type Settings Explained
Field Name
|
Description
|
---|---|
Pool Type
|
This drop-down menu allows you to specify the type of the virtual machine pool. The following options are available:
|
9.2.2.3. New Pool and Edit Pool Console Settings Explained
Field Name
|
Description
|
---|---|
Override SPICE proxy
|
Select this check box to enable overriding the SPICE proxy defined in global configuration. This feature is useful in a case where the user (who is, for example, connecting via the User Portal) is outside of the network where the hypervisors reside.
|
Overridden SPICE proxy address
|
The proxy by which the SPICE client will connect to virtual machines. This proxy overrides both the global SPICE proxy defined for the Red Hat Enterprise Virtualization environment and the SPICE proxy defined for the cluster to which the virtual machine pool belongs, if any. The address must be in the following format:
protocol://[host]:[port] Copy to clipboardCopied |
9.2.3. Editing a Virtual Machine Pool
9.2.3.1. Editing a Virtual Machine Pool
Procedure 9.2. Editing a Virtual Machine Pool
- Click the Pools resource tab, and select a virtual machine pool from the results list.
- Click Edit Pool window.to open the
- Edit the properties of the virtual machine pool.
- Click.
9.2.3.2. Prestarting Virtual Machines in a Pool
Procedure 9.3. Prestarting Virtual Machines in a Pool
- Use the Pools resource tab, tree mode, or the search function to find and select the virtual machine pool in the results list.
- Click Edit Pool window.to open the
- Enter the number of virtual machines to be prestarted in the Prestarted VMs field.
- Select the Pool tab. Ensure Pool Type is set to Automatic.
- Click.
9.2.3.3. Adding Virtual Machines to a Virtual Machine Pool
Procedure 9.4. Adding Virtual Machines to a Virtual Machine Pool
- Use the Pools resource tab, tree mode, or the search function to find and select the virtual machine pool in the results list.
- Click Edit Pool window.to open the
- Enter the number of additional virtual machines to add in the Increase number of VMs in pool by field.
- Click.
9.2.3.4. Detaching Virtual Machines from a Virtual Machine Pool
Procedure 9.5. Detaching Virtual Machines from a Virtual Machine Pool
- Use the Pools resource tab, tree mode, or the search function to find and select the virtual machine pool in the results list.
- Ensure the virtual machine has a status of
Down
because you cannot detach a running virtual machine.Click the Virtual Machines tab in the details pane to list the virtual machines in the pool. - Select one or more virtual machines and click Detach Virtual Machine(s) confirmation window.to open the
- Clickto detach the virtual machine from the pool.
Note
9.2.4. Removing a Virtual Machine Pool
Procedure 9.6. Removing a Virtual Machine Pool
- Use the Pools resource tab, tree mode, or the search function to find and select the virtual machine pool in the results list.
- Click Remove Pool(s) confirmation window.to open the
- Clickto remove the pool.