Chapter 6. Managing Virtual Resources
Managing virtual resources is a simple task using oVirt's Server Suite User Interface. Virtual resources include virtual pools and virtual machines. Virtual machines run inside the Virtual Machine Pools. This section describes how to view, set up and manage virtual resources. Typically, hardware administrators or team administrators set up the virtual resources, users start and manage the virtual machines required for their work.
Virtual Machines reside in virtual pools. While users can use and manage virtual machines according to their needs, team administrators would typically set up the virtual pools. Virtual pools are set up within a hardware resource pool, and once created cannot be moved to another hardware resource pool. It is therefore important to ensure that you have adequate hardware resources for the Virtual Machine Pool when you initially set it up.
The oVirt Server Suite User Interface provides an overview of the resources, their availability, and current levels of load of the entire system. You can view virtual resources from the hardware resource pool, or from within a virtual machines resource pool.
Use the Navigator panel to select the hardware resource node. The Summary page and the Hardware resource menu displays.
Click Virtual Machine Pools from the hardware resource menu.
A list of existing virtual machine pools and the load level of each pool displays in the content pane.
For more information on a specific virtual machine pool, select the pool in the list. The following items display in the Details pane, including details on usage, availability and total quota amounts allowed.
CPU
Memory
NICs
(Number of)Virtual Machines
Disk(Storage)
Navigate to the required virtual machine pool and ensure that the Contents and Details pane display.
Click Edit to change the name of the virtual machine pool. The Edit Virtual Machine Pool dialog box displays.
Enter the new Name for the virtual machine pool and click the Edit Virtual Machine Pool button.
The Edit Virtual Machine Pool dialog box closes, a message appears confirming the change, and the changed name displays in the Content and Navigator panes.
Creating a Virtual Machine Pool in which the virtual machines can run in an optimal fashion is crucial for system performance. For example, the hardware administrator might need to create a VM Resource Pool out of 5 physical nodes and a set of iSCSI targets. Once the hardware resources are set up the next step is to create the Virtual Machine Pools.
Use the Navigator panel to select the Hardware Resource Pool node within which to create the Virtual Machine Pool. The Summary page and the Hardware Resource menu displays.

The Navigator toolbar appears at the bottom on the panel. Click . The dialog box displays.

Enter the name of the new resource pool and click the button. A message indicates that the virtual machine resource pool was successfully created. Click .
You must enter a name for the new Virtual Machine Resource Pool. oVirt validates the name field and prompts you to enter a name before the resource pool is created.
The Virtual Machine pool appears in the Navigator panel. Select the Virtual Machine pool. The Virtual Resource menu displays in the content pane. The next step is to set up the quotas for the Virtual Machine Pool.
You can now add virtual machines and users to the new Virtual Machine Pool. Adding virtual machines is described later in this section.
Use the Navigator panel to select the Hardware Resource Pool node within which to create the Virtual Machine Pool. The Summary page and the Hardware Resource menu displays.

On the Hardware resource menu, click . The Virtual Machine Pools toolbar appears on the Content Pane. Existing virtual machine pools display on the page.

Click . The dialog box displays.

Enter the name of the new resource pool and click the button. A message indicates that the virtual machine resource pool was successfully created. Click .
You must enter a name for the new Virtual Machine Resource Pool. oVirt validates the name field and prompts you to enter a name before the resource pool is created.
The Virtual Machine pool appears in the Navigator panel. Select the Virtual Machine pool. The Virtual Resource menu displays in the content pane. The next step is to set up the quotas for the Virtual Machine Pool.
You can now add virtual machines and users to the new Virtual Machine Pool. Adding virtual machines is described later in this section.
A Virtual Machine Pool requires a quota of hardware resources to be assigned to it. Set up the quota depending on the type and number of virtual machines that are to created within the Virtual Machine pool, and the actual availability of the physical resources. Quotas are managed from the Details pane, which can be accessed from the hardware resource pool or the virtual machine pool.
Use the Navigator panel to select the required hardware pool node. On the Hardware Resource menu, click . The Virtual Machine Pools toolbar appears on the Content Pane. Existing virtual machine pools display on the page.

Select the virtual machine pool and the Details pane for the resource pool displays. Use the Details Pane on the Contents page to set up, change or remove quotas for resources.
The Details pane shows the default quota of the virtual machine pool.

Click Edit Quota to allocate resources. The Edit Quota dialog box displays. If this is the first time that the quota is being set, this dialog box displays as the Add New Quota dialog box.
Enter the new Total Virtual CPUs permitted for the virtual machine pool.
Enter the new Total Memory (MB) permitted for the virtual machine pool.
Enter the new Total Virtual NICs permitted for the virtual machine pool.
Enter the new Total VMs permitted to run in the virtual machine pool.
Enter the new Total Storage (GB) permitted for the virtual machine pool. Ensure that this memory is actually available.
Click the Edit Quota (or Add Quota) button.
The Edit Quota dialog box closes, a message appears confirming the change, and the changed quota displays in the Details Pane.
Use the Navigator panel to select the required Virtual Machine Pool node. Information on the the Virtual Machine Pool displays on the Content and Details pane.

The Details pane displays the default quota of the virtual machine pool.

Click Edit Quota to allocate resources. The Edit Quota dialog box displays. If this is the first time that the quota is being set, this dialog box displays as the Add New Quota dialog box.
Enter the new Total Virtual CPUs permitted for the virtual machine pool.
Enter the new Total Memory (MB) permitted for the virtual machine pool.
Enter the new Total Virtual NICs permitted for the virtual machine pool.
Enter the new Total VMs permitted to run in the virtual machine pool.
Enter the new Total Storage (GB) permitted for the virtual machine pool. Ensure that this memory is actually available.
Click the Edit Quota (or Add Quota) button.
The Edit Quota dialog box closes, a message appears confirming the change, and the changed quota displays in the Details Pane.
Users can choose to set up smart pools which are collections of the various resources. A smart pool is a collection of hardware and virtual resources that a user needs quick access to. You can move a Virtual Machine pool into a Smart Pool provided you have the requisite permissions.
To move a virtual machine pool into a smart pool:
Navigate to the appropriate hardware resource pool and select Virtual Machines Pool from the Hardware Resource menu. The list of virtual machine pools displays on the Content pane.
Select the Virtual Machine pool to be moved. Ensure the check box is selected.
Click on the toolbar. The list of existing smart pools that you have permissions to displays.

Select the smart pool in the list.
The selected virtual machine pool is moved to the smart pool and the dialog box closes.
The Virtual Machine pool will remain in the Hardware Resource pool. It is only visible and accessible from the Smart Pool.
To view the storage pool in the smart pool, click the smart pool in the Navigator panel. The Summary page for the smart pool displays.
Click on the menu bar. The moved Virtual Machine pool displays in the list of pools.
From time to time you will need to remove resource pools; for example, a project no longer requires a particular Virtual Machine Pool, or you need to optimise performance of the data center. Virtual Machine Pools can be removed from the Navigator panel, or from the Virtual Machine Pools tab of the Hardware Resource menu.
You can only remove a Virtual Machine Pool if there are no virtual machines in the pool.
Use the Navigator panel to select the required Virtual Machine Pool node. The Summary page and the Virtual Resource menu displays.

The Navigator toolbar appears at the bottom on the panel. Click . A message appears prompting you to confirm that you wish to delete the selected resource. Click .
The Virtual Machine Pool is removed and no longer displays in the Navigator Panel.
Use the Navigator panel to select the required hardware pool node. On the Hardware Resource menu, click . The Virtual Machine Pools toolbar appears on the Content Pane. A list of existing virtual machine pools displays on the page.

Select the virtual machine pool to be deleted, and ensure the check box is selected.

Click on the Virtual Machine Pools tab. A message appears prompting you to confirm that you wish to delete the selected resource. Click .
The Virtual Machine Pool is removed and no longer displays in the Content Pane.