Edition 2
Copyright © 2010 Red Hat, Inc
1801 Varsity Drive
Raleigh, NC 27606-2072 USA
Phone: +1 919 754 3700
Phone: 888 733 4281
Fax: +1 919 754 3701
Mono-spaced Bold
To see the contents of the filemy_next_bestselling_novelin your current working directory, enter thecat my_next_bestselling_novelcommand at the shell prompt and press Enter to execute the command.
Press Enter to execute the command.Press Ctrl+Alt+F2 to switch to the first virtual terminal. Press Ctrl+Alt+F1 to return to your X-Windows session.
mono-spaced bold. For example:
File-related classes includefilesystemfor file systems,filefor files, anddirfor directories. Each class has its own associated set of permissions.
Choose → → from the main menu bar to launch Mouse Preferences. In the Buttons tab, click the Left-handed mouse check box and click to switch the primary mouse button from the left to the right (making the mouse suitable for use in the left hand).To insert a special character into a gedit file, choose → → from the main menu bar. Next, choose → from the Character Map menu bar, type the name of the character in the Search field and click . The character you sought will be highlighted in the Character Table. Double-click this highlighted character to place it in the Text to copy field and then click the button. Now switch back to your document and choose → from the gedit menu bar.
Mono-spaced Bold Italic or Proportional Bold Italic
To connect to a remote machine using ssh, typesshat a shell prompt. If the remote machine isusername@domain.nameexample.comand your username on that machine is john, typessh john@example.com.Themount -o remountcommand remounts the named file system. For example, to remount thefile-system/homefile system, the command ismount -o remount /home.To see the version of a currently installed package, use therpm -qcommand. It will return a result as follows:package.package-version-release
Publican is a DocBook publishing system.
mono-spaced roman and presented thus:
books Desktop documentation drafts mss photos stuff svn books_tests Desktop1 downloads images notes scripts svgs
mono-spaced roman but add syntax highlighting as follows:
package org.jboss.book.jca.ex1; import javax.naming.InitialContext; public class ExClient { public static void main(String args[]) throws Exception { InitialContext iniCtx = new InitialContext(); Object ref = iniCtx.lookup("EchoBean"); EchoHome home = (EchoHome) ref; Echo echo = home.create(); System.out.println("Created Echo"); System.out.println("Echo.echo('Hello') = " + echo.echo("Hello")); } }
sburgess@redhat.com
). When submitting a bug report, be sure to mention the manual's identifier: Administration_Guide.




<Server IP>/RHEVManager/.

<Server IP>/RHEVManager/.









| Tab | Button | Description |
|---|---|---|
|
Data Centers
| New | Opens the New Data Center dialog, to add configuration details for a new data center. |
| Edit | Opens the Edit Data Center dialog, to edit data center details. | |
| Remove | Removes the selected data center from the system. | |
| Guide Me | Displays the Guide Me dialog, with prompts on suitable configuration steps. | |
|
Clusters
| New | Opens the New Cluster dialog, to add configuration details for a new cluster. |
| Edit | Opens the Edit Cluster dialog, to edit cluster configuration details. | |
| Remove | Removes the selected cluster from the system. | |
| Guide Me | Displays the Guide Me dialog, with prompts on suitable configuration steps. | |
|
Hosts
| New | Opens the New Host dialog, to allow addition of a new (pre-configured) host to the system. |
| Edit | Opens the Edit host dialog, to edit host properties. | |
| Remove | Deletes a host from the system. | |
| Activate | Activates a host, is the opposite of Maintenance. | |
| Maintenance | Brings a host down for maintenance. | |
| Approve | Approves an automatically discovered host. | |
| Power Management | Displays a list of options to Restart, Start or Stop power management. | |
| Assign tags | Assigns specific tags to the host. | |
|
Storage
| New Domain | Opens the New Domain dialog, to set/create configuration details for a new Storage domain. |
| Import | Opens the New Preconfigured Domain dialog, to set/create configuration details for an external domain to be imported into the system. | |
| Edit | Opens the Edit Storage dialog, to change details. | |
| Remove | Removes the selected storage domain from the system. | |
|
Virtual Machines
| New Desktop | Opens the New Desktop dialog, to set/create configuration details for a new virtual desktop. |
| Edit | Opens the Edit Virtual Machine dialog, to edit configuration details. | |
| Remove | Removes the selected virtual machine from the system. | |
|
| Runs or resumes the selected virtual machine. | |
![]() | Opens the Run Once dialog, to specify parameters for running the virtual machine for a single run. The parameters are not saved for subsequent runs. | |
|
| Puts the virtual machine into suspended mode. | |
|
| Shuts down the virtual machine. | |
|
| Connect to virtual machine display. | |
| Migrate | Migrates the virtual machine to another host in the same host cluster. | |
| Make Template | Opens the New Template dialog, to create a template from the selected virtual machine. | |
| Export | Opens the Export dialog, to export virtual machines. | |
| Move | Opens the Move Virtual Machine dialog, to move virtual machine to a different storage domain. | |
| Guide Me | Displays the Guide Me dialog, with prompts on suitable configuration steps. | |
| Assign Tags | Assigns specific tags to the virtual machine. | |
|
Pools
| New | Opens the New Pool dialog, to set/create configuration details for a new virtual pool of desktops. |
| Edit | Opens the Edit Pool dialog, to edit pool details. | |
| Remove | Removes the selected pool from the system. | |
|
Templates
| Edit | Opens the Edit Template dialog, to edit template details. |
| Remove | Deletes the selected template from the system. | |
| Export | Exports template to the Export domain. | |
| Copy | Opens the Copy Template dialog, to copy the template to a different storage pool. | |
|
Users
| Add | Opens the Add User dialog, to add a user from the Active Directory. |
| Remove | Deletes the selected user from the system. | |
| Assign Tags | Opens the Assign Tag dialog, to assign tags to the user. |

|
Part
|
Description
|
|---|---|
|
Tabs
| Tabs appropriate to the selected resource display in the Details Pane. For example, typical tabs are General, Logical Network, Snapshots, Applications, History, and Monitor. ToDo tabs may display to prompt users to complete actions. |
|
Actions
| Actions that can be performed on the selected resource. |
|
Properties
| Lists configuration details and statistics of the selected item. |
|
History Tab
| Lists event notifications. |
|
Monitor Tab
| Displays CPU, Memory and Network usage. |





























| Storage | Format | Type | Note |
|---|---|---|---|
| NFS or iSCSI/FCP | Raw or Qcow2 | Sparse or Preallocated | |
| NFS | Raw | Preallocated | A file whose initial size is the size defined for the virtual disk and has no formatting |
| NFS | Raw | Sparse | A file whose initial size is close to zero and has no formatting |
| NFS | Qcow2 | Preallocated | A file whose initial size is the size defined for the virtual disk and has qcow2 formatting |
| NFS | Qcow2 | Sparse | a file whose initial size is close to zero and has qcow2 formatting |
| SAN | Raw | Preallocated | A block device whose initial size is the size defined for the virtual disk and has no formatting |
| SAN | Qcow2 | Preallocated | A block device whose initial size is the size defined for the virtual disk and has qcow2 formatting. Not useful, but possible. |
| SAN | Qcow2 | Sparse | A block device whose initial size is much smaller than the size defined for the VDisk (currently 1GB) and has qcow2 formatting and for which space is allocated as needed (currently in 1GB increments) |
multipath.conf file on a Red Hat Enterprise Virtualization Hypervisor.




rpm -q nfs-utils
yum install nfs-utils
chkconfig --add nfs
chkconfig nfs on
/RHEV/Images, enter the following line into the /etc/exports file.
/RHEV/Images *(rw)
/RHEV/Images is the NFS share.
chown -R 36:36 /RHEV/Images

192.168.0.10:/Images/ISO or storage-server.labs.company.com:/Images/ISO.






multipath.conf file on a Red Hat Enterprise Virtualization Hypervisor.




























| Red Hat Enterprise Linux Version | Red Hat Enterprise Virtualization 2.1 | Red Hat Enterprise Virtualization 2.2 | Red Hat Enterprise Virtualization 2.2 in 2.1 compatibility mode |
|---|---|---|---|
| 5.4 | Supported | Unsupported | Supported |
| 5.5 | Unsupported | Supported | Supported |
fence-agents, kvm-qemu-img bridge-utils packages required by Red Hat Enterprise Virtualization Manager to manage Red Hat Enterprise Linux hosts. During installation if the required additional packages are not found, they will be automatically installed by the Red Hat Enterprise Virtualization Manager.
yum:
# yum install bridge-utils fence-agents kvm-qemu-img
vdsm package will fail to create the required system user . The authentication files required by the useradd command must be accessible to the installer. Red Hat Directory Server (RHDS) recommends a security policy with a mixture of local files and LDAP. Following this recommendation will resolve this issue.
vdsm) is currently incompatible with Xen. Therefore Xen, including all dependencies, should be removed.
yum command:
# yum remove xen kernel-xen
/etc/hosts file (on the Red Hat Enterprise Linux 5.5 host) for the Red Hat Enterprise Virtualization Manager server to enable vdsm and other services to connect properly to the host.
server1.example.com, Active Directory uses that address and creates a sub-address named rhev-manager.server1.example.com.
/etc/hosts file on the Red Hat Enterprise Linux Host. The following screen output sample resembles the contents of the file:
127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6
/etc/hosts with the IP address and both variants of the Red Hat Enterprise Virtualization Manager domain names. The following screen output sample resembles the required contents of the file:
127.0.0.1 localhost.localdomain localhost ::1 localhost6.localdomain6 localhost6 10.0.0.1 server1.example.com rhev-manager.server1.example.com
iptables to open the required ports.
iptables rules. Advanced users can modify rules or use the iptables -i option instead of iptables -A in order to integrate with existing rules.
# iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT # iptables -A INPUT -p icmp -j ACCEPT # iptables -A INPUT -i lo -j ACCEPT # iptables -A INPUT -p tcp --dport 54321 -j ACCEPT # iptables -A INPUT -p tcp --dport 22 -j ACCEPT # iptables -A INPUT -p tcp -m multiport --dports 5634:6166 -j ACCEPT # iptables -A INPUT -p tcp -m multiport --dports 49152:49216 -j ACCEPT # iptables -A INPUT -j REJECT --reject-with icmp-host-prohibited # iptables -A FORWARD -m physdev ! --physdev-is-bridged -j REJECT --reject-with icmp-host-prohibited
# service iptables save
sudo access
root on the host. The default configuration stored in /etc/sudoers contains values to allow this. If this file has been modified since Red Had Enterprise Linux installation these values may have been removed. As root run visudo to ensure that the /etc/sudoers contains the default configuration values. Where it does not they must be added.
# Allow root to run any commands anywhere root ALL=(ALL) ALL
root with an encrypted key for authentication. To ensure that SSH is configured and root is able to use it to access the system follow these additional steps.
/root/.ssh/authorized_keys.
# yum install openssh-server
chkconfig to verify which run-levels SSH is enabled at.
# chkconfig --list sshd sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off
on for run-levels 3, 4, and 5. This is the default configuration.
chkconfig to enable it for the required run-levels. The /etc/init.d/sshd script can then be used to ensure the service is currently started.
# chkconfig --level 345 sshd on # /etc/init.d/sshd start
chkconfig --list sshd again and check the output. It should now show the daemon as on at run-level 3, 4, and 5.
root user. This is also a requirement for the Red Hat Enterprise Virtualization Manager to successfully access the machine. In some cases an administrator may have disabled this ability.
/etc/ssh/sshd_config for the value PermitRootLogin. This must be done while logged in as root.
# grep PermitRootLogin /etc/ssh/sshd_config PermitRootLogin no
PermitRootLogin is set to no the value must be changed to yes. To do this edit the configuration file.
# vi /etc/ssh/sshd_config
# /etc/init.d/sshd reload Reloading sshd: [ OK ]
root user should now be able to access the system via SSH.


| alom | Sun ALOM |
| apc | APC |
| bladecenter | IBM Bladecentre Remote Supervisor Adapter |
| drac5 | Dell Remote Access Controller for Dell computers |
| eps | Entry-Level Power Supply Specification |
| ilo | HP Integrated Lights Out standard |
| ipmilan | Intelligent Platform Management Interface |
| rsa | IBM Remote Supervisor Adaptor |
| rsb | |
| wti | WTI PowerSwitch |



















| alom | Sun ALOM |
| apc | APC |
| bladecenter | IBM Bladecentre Remote Supervisor Adapter |
| drac5 | Dell Remote Access Controller for Dell computers |
| eps | Entry-Level Power Supply Specification |
| ilo | HP Integrated Lights Out standard |
| ipmilan | Intelligent Platform Management Interface |
| rsa | IBM Remote Supervisor Adaptor |
| rsb | |
| wti | WTI PowerSwitch |







| Parameter | Number | Note |
|---|---|---|
| Virtualized CPUs | 16 | per virtual machine |
| Virtualized RAM | 256GB | For a 64 bit virtual machine |
| Virtualized RAM | 4GB | per 32 bit virtual machine. Note, the guest may not register the entire 4GB. How much RAM the guest recognizes is limited by its operating system. |
| Virtualized storage devices | 8 | per virtual machine |
| Virtualized network interface controllers | 8 | per virtual machine |
| Virtualized PCI devices | 32 | per virtual machine |







|
Field
|
Description
|
Notes
|
|---|---|---|
|
Data Center
|
Select an existing Data Center from the list.
| The Default data center displays by default. |
|
Host Cluster
| The name of the host cluster to which the virtual machine is attached. It can be hosted on any physical machine in the cluster depending on the policy rules. | This is the migration domain for the virtual machine. The Default cluster displays by default. |
|
Default Host
| The name of the host on which the virtual machine is to be run. | Or select to run the virtual machine on any host in the cluster depending on the policy rules. |
|
Name
| The name of new virtual machine. Ensure it is a unique name. | A virtual machine name must not contain any spaces, and must contain at least one character a-z. The maximum length of a virtual machine name is 15 characters. Follow the operating system's rules for virtual machine names. |
|
Description
| A meaningful description of the new virtual machine. | |
|
Template
|
Select Blank (the default) to create a virtual machine from scratch.
|
Select an existing template to create a virtual machine from an existing model. See Section 6.2.1, “Creating Virtual Machines from Existing Templates”
|
|
Memory Size (MB)
| The amount of memory assigned to the virtual machine. | Consider the processing and storage needs of the applications that are intended to run on the virtual machine. The maximum allowable memory for a virtual machine is 256GB, allowing even the most memory-intensive enterprise workloads to be virtualized. The total amount of memory allocated to Virtual Machines is able to exceed the amount of physical memory available to the host where memory over-commit is enabled. See Section 14.1.5, “Setting the Host Parameters” for more information. |
|
Total Cores
| The processing power allocated to the virtual machine, as CPU Cores, from 1 to 16 on the slider bar. | It is recommended that you do not assign too high a number to a single Virtual Machine, or more cores in total than actually exist on the physical host. |
|
CPU Sockets
| The number of CPU sockets for the virtual machine from 1 to 16 on the slider bar. | It is recommended that you do not assign too high a number to a single Virtual Machine, or more CPUs in total than actually exist on the physical host. |
|
Operating System
| The operating system. Valid values include a range of Windows and Linux variants. | This is a display only field, as no operating system is actually installed during this process. |
| Stateless | The virtual machine is to run in stateless mode. The stateless mode is mostly used for virtual desktops. A stateless desktop or server is always created from the base template, and deleted on shutdown. Everytime the virtual machine is run, a new instance of the virtual machine is created from the base template. This type of virtual machine is very useful when creating virtual machines that need to be used for a short time, or by temporary staff. |
|
Field
|
Description
|
Notes
|
|---|---|---|
| Domain | Enter the domain in which the virtual machine is to be created. | If the operating system is Windows, a domain can be specified. |
| Time Zone | Enter the time zone in which the virtual machine is to run. | This is the time zone for the virtual machine, and not necessarily the time zone for the physical host on which the virtual machine is running. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| Protocol |
Define the display protocol to be used. Select either:
| Select SPICE for Windows or Linux virtual machines. This is the recommended protocol. or select VNC for Linux virtual machines if desired. |
| USB Policy | Select Enabled or Disabled to indicate whether a USB device can be inserted into the client machine. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| First Device |
|
After installing a new virtual machine, the new virtual machine must go into Boot mode before powering up. Select the first device that the virtual machine must try to boot the virtual machine:
|
| Second Device |
Any two of the following:
| Select the second device for the virtual machine to use to boot if the first device is not available. The first device selected in the previous option does not appear in the options. |
| Attach CD | A list of available CD-ROMs appear if Attach CD is selected. | Select the appropriate operating system ISOs available on the system, as shown in the example below. |











|
Field
|
Options
|
Notes
|
|---|---|---|
|
Disk Type
|
Select from System or Data options.
| Select System if the virtual machine is to be bootable. |
|
Interface
| Select the network drivers, either IDE or PV. | IDE is the default selection that uses an emulation of the IDE protocol. Windows 2008 virtual machines require a IDE drivers. Select PV to use the para-virtualized drivers. |
|
Format
|
Select from Pre-allocated or Thin-Provision.
|
Pre-allocated or RAW is the recommended selection for a virtual machine, where a block of disk space is reserved for the virtual machine.
Thin Provision or Qcow2 option, allocates disk space on the fly, as and when the virtual machine requires it. Thin Provision is the recommended selection for a virtual desktop. If you intend to use the virtual machine as the basis for a template, the Thin Provision option must be selected.
|
|
Wipe after delete
| Select if the disk is to be formatted after the virtual machine is deleted. | Selecting this option ensures that all data in the virtual machine is removed after the virtual machine is deleted. |
|
Is bootable
| Select if the disk is to be a bootable disk. |









/images folder.




























sysprep (or a similar tool) to generalize the Virtual Machine and remove "specific" personalization. In general, templates of Linux virtual machines do not require sealing.
sysprep to seal a template before use. This ensures that personalizations, such as user security settings are not propagated through the template.
sysprep to the virtual machine to be created as a template.
WindowsXP-KB838080-SP2-DeployTools-ENU.cab
c:\sysprep.
WindowsXP-KB838080-SP2-DeployTools-ENU.cab file and put its contents in c:\sysprep.











|
Field
|
Description
|
Notes
|
|---|---|---|
|
Data Center
|
Select an existing Data Center from the list.
| The Default data center displays by default. |
|
Host Cluster
| The name of the host cluster to which the pool is attached. It can be hosted on any physical machine in the cluster depending on the policy rules. | This is the migration domain for the virtual machine. The Default cluster displays by default. |
|
Default Host
| The name of the host on which the virtual machines in this pool are to be run. Select from the list of available hosts. | Or select to run the virtual machines on any host in the cluster depending on the policy rules. |
|
Name
| The name of new pool. Ensure it is a unique name. The name must be less than 15 characters, and must contain at least one alphabet, a-z. | A number is appended onto the name of the desktop pool to create a unique name for the virtual desktops. For example, if the desktop pool is named HR, and has five virtual desktops, the names of the virtual desktops will be, HR-1, HR-2, HR-3, HR-4, HR-5. Ensure that the name is succinct rather than verbose. The maximum length of a virtual machine name is 15 characters. Follow the operating system's rules for virtual machine names. |
|
Description
| A meaningful description of the new pool. | |
|
Number of VMs
| Enter the Number of VMs (Virtual Machines) or desktops to create for the pool. | |
|
Based on Template
|
Select an existing template to create the virtual machines from an existing model. See Section 6.2.1, “Creating Virtual Machines from Existing Templates”
|
The field displays the list of existing templates in the storage domain.
|
|
Memory Size (MB)
| The amount of memory assigned to each virtual machine. | Consider the processing and storage needs of the applications that are intended to run on the virtual machines. The maximum allowable memory for a virtual machine is 256GB, allowing even the most memory-intensive enterprise workloads to be virtualized. |
|
Total Cores
| The processing power allocated to the virtual machine, as CPU Cores, from 1 to 16 on the slider bar. | It is recommended that you do not assign too high a number, or more cores than actually exist on the phusical host. |
|
CPU Sockets
| The number of CPU sockets for the virtual machine from 1 to 16 on the slider bar. | It is recommended that you do not assign too high a number, or more CPUs than actually exist on the phusical host. |
|
Operating System
| The operating system. Valid values include a range of Windows and Linux variants. | This is a display only field, as no operating system is actually installed during this process. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| Manual | The administrator is responsible for explicitly returning the desktop to the pool. | The desktop reverts to the original base image after the administrator returns it to the pool. |
| Automatic | When the desktop is shut down, it reverts to its base image and is then returned to the desktop pool. | |
| Time Lease | The desktop is defined with a specific activity period (for example, the duration of a training session), during which it can be freely used, including shutdown and power up operations, at the end of this period, when the desktop is shut down, it reverts to its base image and is then returned to the desktop pool. | If Time Lease is selected, the fields Default Lease Period (in days), Default Lease Start, and Default Lease End display. The time lease fields enable you to precisely set the exact time when the desktops are available to the users. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| Domain | Enter the domain in which the virtual machines are to be created. | |
| Time Zone | Enter the time zone in which the virtual machines are to run. | This is the time zone for the virtual machines, and not necessarily the time zone for the physical host on which the virtual machines are to run. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| Protocol |
Define the display protocol to be used. Select either:
| Select SPICE for Windows or Linux virtual machines. This is the recommended protocol. or select VNC for for Linux virtual machines if desired. |
| USB Policy | Select Enabled or Disabled to indicate whether a USB device can be inserted into the client machine. | The USB policy editor can be used to set up policies. Refer Section 14.2, “Configuring USB Device Policy”. |
|
Monitors
| The number of monitors that the virtual machine can have. | Consider the processing and storage needs of the applications that are intended to run on the virtual machine. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| Storage Domain | The name of storage domain where the images of the virtual machines will be stored. | Ensure that you select the master domain and not the ISO image domain. |
| Provisioning |
The type of storage required for the virtual machines. Select either:
| Refer Section 6.1.3, “Understanding Virtual Machine Storage” for a description of these options. |

|
Field
|
Description
|
Notes
|
|---|---|---|
| First Device |
|
After installing a new virtual machine, the new virtual machine must go into Boot mode before powering up. Select the first device that the virtual machine must try to boot the virtual machine:
|
| Second Device |
Any two of the following:
| Select the second device for the virtual machine to use to boot if the first device is not available. The first device selected in the previous option does not appear in the options. |
| Attach CD | A list of available CD-ROMs appear if Attach CD is selected. | Select the appropriate operating system ISOs available on the system. |







| Role | Privileges | Notes |
|---|---|---|
| SuperUser | Full access to all resources and users. | Can add, remove, and set access privileges for all the users and groups, for all physical and virtual resources in the datacenter. |
| RHEVMUser | Read only privileges | View resource state and details. View all the resource tabs. |
| RHEVMPowerUser | A set of limited privileges to allow the user to work with virtual machines, hosts, pools and snapshots. | Access to Active Directory, and management of event notifications. |
| RHEVMVDIUser | Access to Virtual Machines and Pools. | Level of privileges allow the user to work with virtual machines and pools, not administer them. |


| Object | Action |
|---|---|
| Virtual Machine (VM) | Add Disk to VM |
| Add NIC to VM | |
| Attach Group to VM | |
| Attach Tag to VM | |
| Attach User to VM | |
| Change CD | |
| Create Snapshot | |
| Detach Group from VM | |
| Detach Tag from VM | |
| Detach User from VM | |
| Edit VM Disk properties | |
| Edit VM Interface properties | |
| Edit VM properties | |
| Hibernate VMs | |