7.6. Configuration
- 7.6.1. Logging in to the Hypervisor
- 7.6.2. Hypervisor Menu Actions
- 7.6.3. The Status Screen
- 7.6.4. The Network Screen
- 7.6.5. The Security Screen
- 7.6.6. The Keyboard Screen
- 7.6.7. The SNMP Screen
- 7.6.8. The CIM Screen
- 7.6.9. The Logging Screen
- 7.6.10. The Kdump Screen
- 7.6.11. The Remote Storage Screen
- 7.6.12. The Diagnostics Screen
- 7.6.13. The Performance Screen
- 7.6.14. The RHEV-M Screen
- 7.6.15. The Hosted Engine Screen
- 7.6.16. The Plugins Screen
- 7.6.17. The RHN Registration Screen
7.6.1. Logging in to the Hypervisor
Procedure 7.9. Logging in to the Hypervisor
- Start the machine on which the Hypervisor is installed.
- Enter the user name
admin, and press Enter. - Enter the password you set during installation, and press Enter.
7.6.2. Hypervisor Menu Actions
- The directional keys (Up, Down, Left, Right) are used to select different controls on the screen. Alternatively the Tab key cycles through the controls on the screen which are enabled.
- Text fields are represented by a series of underscores (_). To enter data in a text field select it and begin entering data.
- Buttons are represented by labels which are enclosed within a pair of angle brackets (< and >). To activate a button ensure it is selected and press Enter or Space.
- Boolean options are represented by an asterisk (*) or a space character enclosed within a pair of square brackets ([ and ]). When the value contained within the brackets is an asterisk then the option is set, otherwise it is not. To toggle a Boolean option on or off press Space while it is selected.
7.6.3. The Status Screen
- : Displays the RSA host key fingerprint and host key of the Hypervisor.
- : Displays details on the CPU used by the Hypervisor such as the CPU name and type.
- : Sets a default console device. Enter a path to a valid console device in the Console path field.
- : Locks the Hypervisor. The user name and password must be entered to unlock the Hypervisor.
- : Logs off the current user.
- : Restarts the Hypervisor.
- : Turns the Hypervisor off.
7.6.4. The Network Screen
7.6.4.1. The Network Screen
- : Allows you to ping a given IP address by specifying the address to ping and the number of times to ping that address.
- : Allows you to create bonds between network interfaces.
7.6.4.2. Configuring the Host Name
Procedure 7.10. Configuring the Host Name
- Select the Hostname field on the Network screen and enter the new host name.
- Select and press Enter to save the changes.
7.6.4.3. Configuring Domain Name Servers
Procedure 7.11. Configuring Domain Name Servers
- To set or change the primary DNS server, select the DNS Server 1 field and enter the IP address of the new primary DNS server.
- To set or change the secondary DNS server, select the DNS Server 2 field and enter the IP address of the new secondary DNS server.
- Select and press Enter to save the changes.
7.6.4.4. Configuring Network Time Protocol Servers
Important
Procedure 7.12. Configuring Network Time Protocol Servers
- To set or change the primary NTP server, select the NTP Server 1 field and enter the IP address or host name of the new primary NTP server.
- To set or change the secondary NTP server, select the NTP Server 2 field and enter the IP address or host name of the new secondary NTP server.
- Select and press Enter to save changes to the NTP configuration.
7.6.4.5. Configuring Network Interfaces
Procedure 7.13. Configuring Network Interfaces
- Select a network interface from the list beneath Available System NICs and press Enter to configure that network interface.
Note
To identify the physical network interface card associated with the selected network interface, select and press Enter. - Choose to configure either IPv4 or IPv6.
- Configure a dynamic or static IP address for IPv4:
- Select DHCP under IPv4 Settings and press the space bar to configure a dynamic IP address.
- Select Static under IPv4 Settings, press the space bar, and input the IP Address, Netmask, and Gateway that the Hypervisor will use to configure a static IP address.
Example 7.12. Static IPv4 Networking Configuration
IPv4 Settings ( ) Disabled ( ) DHCP (*) Static IP Address: 192.168.122.100_ Netmask: 255.255.255.0___ Gateway 192.168.1.1_____
- Configure a stateless, dynamic, or static IP for IPv6
- Select Auto under IPv6 Settings and press the space bar to configure stateless auto configuration.
- Select DHCP under IPv6 Settings and press the space bar to configure a dynamic IP address.
- Select Static under IPv6 Settings, press the space bar, and input the IP Address, Prefix Length, and Gateway that the Hypervisor will use to configure a static IP address.
Example 7.13. Static IPv6 Networking Configuration
IPv6 Settings ( ) Disabled ( ) DHCP (*) Static IP Address: 2001:db8:1::ab9:C0A8:103_ Prefix Length: 64______ Gateway 2001:db8:1::ab9:1________
- Enter a VLAN identifier in the VLAN ID field to configure a VLAN for the device.
- Select the button and press Enter to save the network configuration.
7.6.5. The Security Screen
admin user.
Procedure 7.14. Configuring Security
- Select the Enable SSH password authentication option and press the space bar to enable SSH authentication.
- Select the Disable AES-NI option and press the space bar to disable the use of AES-NI for encryption.
- Optionally, enter the number of bytes by which to pad blocks in AES-NI encryption if AES-NI encryption is enabled.
- Enter a new password for the
adminuser in the Password field and Confirm Password to change the password used to log into the Hypervisor console. - Select and press Enter.
7.6.6. The Keyboard Screen
Procedure 7.15. Configuring the Hypervisor Keyboard Layout
- Select a keyboard layout from the list provided.
Keyboard Layout Selection Choose the Keyboard Layout you would like to apply to this system. Current Active Keyboard Layout: U.S. English
Available Keyboard LayoutsSwiss German (latin1) Turkish U.S. English U.S. International Ukranian ... <Save> - Select and press Enter to save the selection.
7.6.7. The SNMP Screen
Enable SNMP [ ] SNMP Password Password: _______________ Confirm Password: _______________ <Save> <Reset>
Procedure 7.16. Configuring Simple Network Management Protocol
- Select the Enable SNMP option and press the space bar to enable SNMP.
- Enter a password in the Password and Confirm Password fields.
- Select <Save> and press Enter.
7.6.8. The CIM Screen
Procedure 7.17. Configuring Hypervisor Common Information Model
- Select the Enable CIM option and press the space bar to enable CIM.
Enable CIM [ ]
- Enter a password in the Password field and Confirm Password field.
- Select and press Enter.
7.6.9. The Logging Screen
Procedure 7.18. Configuring Logging
- In the Logrotate Max Log Size field, enter the maximum size in kilobytes that log files can reach before they are rotated by logrotate. The default value is
1024. - Select an Interval to configure logrotate to run Daily, Weekly, or Monthly. The default value is Daily.
- Optionally, configure rsyslog to transmit log files to a remote
syslogdaemon:- Enter the remote rsyslog server address in the Server Address field.
- Enter the remote rsyslog server port in the Server Port field. The default port is
514.
- Optionally, configure netconsole to transmit kernel messages to a remote destination:
- Enter the Server Address.
- Enter the Server Port. The default port is
6666.
- Select and press Enter.
7.6.10. The Kdump Screen
Procedure 7.19. Configuring Kernel Dumps
- Select an option for storing kernel dumps:
Local
- Select the Local option and press the space bar to store kernel dumps on the local system.
SSH
- Select the SSH option and press the space bar to export kernel dumps via SSH.
- Enter the location in which kernel dumps will be stored in the SSH Location (root@example.com) field.
- Enter an SSH Key URL (optional).
NFS
- Select the NFS option and press the space bar to export kernel dumps to an NFS share.
- Enter the location in which kernel dumps will be stored in the NFS Location (example.com:/var/crash) field.
- Select and press Enter.
7.6.11. The Remote Storage Screen
Procedure 7.20. Configuring Remote Storage
- Enter an initiator name in the iSCSI Initiator Name field or the path to the NFS share in the NFSv4 Domain (example.redhat.com) field.
- Select and press Enter.
7.6.12. The Diagnostics Screen
- : Shows the current multipath topology from all available information.
- : Lists the partition tables.
- : Lists partition layout on all block devices.
- : Lists information on all block devices.
7.6.13. The Performance Screen
virtual-host profile is used by default.
Table 7.1. Tuned Profiles available in Red Hat Enterprise Virtualization
| Tuned Profile | Description |
|---|---|
| |
The system is disabled from using any tuned profile.
|
| |
Based on the enterprise-storage profile, virtual-host decreases the swappiness of virtual memory and enables more aggressive writeback of dirty pages.
|
| |
A profile optimized for virtual machines.
|
| |
A server profile for typical throughput performance tuning.
|
| |
A strong power-saving profile directed at machines with classic hard disks.
|
| |
A power-saving profile directed at server systems.
|
| |
A server profile for typical latency performance tuning.
|
| |
A high-impact power-saving profile directed at laptops running on battery.
|
| |
A medium-impact power-saving profile directed at laptops running on AC.
|
| |
A server profile to improve throughput performance for enterprise-sized server configurations.
|
| |
A power-saving profile directed at desktop systems.
|
| |
The default power-saving profile. This is the most basic power-saving profile. It only enables the disk and CPU plug-ins.
|
7.6.14. The RHEV-M Screen
Important
root password on the Hypervisor and enables SSH password authentication. Once the Hypervisor has successfully been added to the Manager, disabling SSH password authentication is recommended.
Important
Procedure 7.21. Configuring a Hypervisor Management Server
- Configure the Hypervisor Management Server using the address of the Manager.
- Enter the IP address or fully qualified domain name of the Manager in the Management Server field.
- Enter the management server port in the Management Server Port field. The default value is
443. If a different port was selected during Red Hat Enterprise Virtualization Manager installation, specify it here, replacing the default value. - Leave the Password and Confirm Password fields blank. These fields are not required if the address of the management server is known.
- Select and press Enter.
- In the RHEV-M Fingerprint screen, review the SSL fingerprint retrieved from the Manager, select , and press Enter. The Certificate Status in the RHEV-M screen changes from
N/AtoVerified.
- Configure the Hypervisor Management Server using a password.
- Enter a password in the Password field. Although the Hypervisor will accept a weak password, it is recommended that you use a strong password. Strong passwords contain a mix of uppercase, lowercase, numeric and punctuation characters. They are six or more characters long and do not contain dictionary words.
- Re-enter the password in the Confirm Password field.
- Leave the Management Server and Management Server Port fields blank. As long as a password is set, allowing the Hypervisor to be added to the Manager later, these fields are not required.
- Select and press Enter.
7.6.15. The Hosted Engine Screen
Prerequisites:
- You must have prepared either NFS or iSCSI storage for your self-hosted engine environment. The storage share must be at least 60 GB. See Section 12.3, “Preparing NFS Storage” for more information on preparing NFS storage and setting the appropriate permissions.
- You must have a fully qualified domain name prepared for your Manager and Hypervisor host. Forward and reverse lookup records must both be set in the DNS.
Note
For evaluation purposes, you can use the/etc/hostsfile for name resolution. - The hypervisor has not been previously configured for a Manager.
- You must have enabled SSH authentication password authentication in the Security screen.
- If you are using the RHEV-M Virtual Appliance for the Manager virtual machine installation and configuration, the
/tmpdirectory must be at least 60 GB, and the appliance must be accessible from the hypervisor via HTTP. Download the RHEV-M Virtual Appliance from the Customer Portal. - Red Hat Enterprise Virtualization Hypervisor does not support graphical applications, so you must have access to a system that supports graphical applications and has the virt-viewer package installed to be able to connect to the Manager virtual machine and complete setup. The virt-viewer package is available in standard Red Hat Enterprise Linux repositories.
Procedure 7.22. Setting Up Self-Hosted Engine on RHEV-H
- Specify the Red Hat Enterprise Virtualization Manager virtual machine installation method:
- To install using the RHEV-M Virtual Appliance, enter the URL to the appliance. For example:
http://file.domain.com/rhevm-appliance.ova. This is the recommended Manager installation method. - To install using PXE boot, select the option.

- Click and press Enter. Click to start the
hosted-enginedeployment script.
Configuring Storage
Select the type of storage to use.During customization use CTRL-D to abort. Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]:
Choose the storage domain and storage data center names to be used in the environment.- For NFS storage types, specify the full address, using either the FQDN or IP address, and path name of the shared storage domain.
Please specify the full shared storage connection path to use (example: host:/path): storage.example.com:/hosted_engine/nfs
Important
The share must be accessible from the hypervisor and must be owned by uservdsmand groupkvm. - For iSCSI, specify the iSCSI portal IP address, port, user name and password, and select a target name from the auto-detected list:
Please specify the iSCSI portal IP address: Please specify the iSCSI portal port [3260]: Please specify the iSCSI portal user: Please specify the iSCSI portal password: Please specify the target name (auto-detected values) [default]:
[ INFO ] Installing on first host Please provide storage domain name. [hosted_storage]: Local storage datacenter name is an internal name and currently will not be shown in engine's admin UI.Please enter local datacenter name [hosted_datacenter]:
Configuring the Network
The script detects possible network interface controllers (NICs) to use as a management bridge for the environment. It then checks your firewall configuration and offers to modify it for console (SPICE or VNC) access.Note
Configuring a bonded and vlan-tagged network interface as the management bridge is currently not supported. To work around this issue, see https://access.redhat.com/solutions/1417783 for more information.Please indicate a nic to set rhevm bridge on: (eth1, eth0) [eth1]: iptables was detected on your computer, do you wish setup to configure it? (Yes, No)[Yes]: Please indicate a pingable gateway IP address [X.X.X.X]:
Configuring the Virtual Machine
The script creates a virtual machine to be configured as the Red Hat Enterprise Virtualization Manager.[ INFO ] Checking OVF archive content [ INFO ] Checking OVF XML content Please specify an alias for the Hosted Engine image [hosted_engine]: The following CPU types are supported by this host: - model_Penryn: Intel Penryn Family - model_Conroe: Intel Conroe Family Please specify the CPU type to be used by the VM [model_Penryn]: You may specify a MAC address for the VM or accept a randomly generated default [00:16:3e:77:b2:a4]: Please specify the console type you would like to use to connect to the VM (vnc, spice) [vnc]:Configuring the Hosted Engine
Specify a name for the hypervisor to be identified in the Red Hat Enterprise Virtualization environment, and the password for theadmin@internaluser to access the Administrator Portal. Provide the FQDN for the Manager virtual machine.Enter the name which will be used to identify this host inside the Administrator Portal [hosted_engine_1]: Enter 'admin@internal' user password that will be used for accessing the Administrator Portal: Confirm 'admin@internal' user password: Please provide the FQDN for the engine you would like to use. This needs to match the FQDN that you will use for the engine installation within the VM: HostedEngine-VM.example.com Please provide the name of the SMTP server through which we will send notifications [localhost]: Please provide the TCP port number of the SMTP server [25]: Please provide the email address from which notifications will be sent [root@localhost]: Please provide a comma-separated list of email addresses which will get notifications [root@localhost]:
Configuration Preview
Before proceeding, thehosted-enginescript displays the configuration values you have entered, and prompts for confirmation to proceed with these values.Creating the Manager Virtual Machine
The script creates the Manager virtual machine and provides connection details.You can now connect to the VM with the following command: /usr/bin/remote-viewer vnc://localhost:5900 Use temporary password "3042QHpX" to connect to vnc console. Please note that in order to use remote-viewer you need to be able to run graphical applications. This means that if you are using ssh you have to supply the -Y flag (enables trusted X11 forwarding). Otherwise you can run the command from a terminal in your preferred desktop environment. If you cannot run graphical applications you can connect to the graphic console from another host or connect to the console using the following command: virsh -c qemu+tls://Test/system console HostedEngine If you need to reboot the VM you will need to start it manually using the command: hosted-engine --vm-start You can then set a temporary password using the command: hosted-engine --add-console-password The VM has been started. Install the OS and shut down or reboot it. To continue please make a selection: (1) Continue setup - engine installation is complete (2) Power off and restart the VM (3) Abort setup (4) Destroy VM and abort setup (1, 2, 3, 4)[1]:- On a machine that supports graphical applications and has virt-viewer installed, connect to the Manager virtual machine. Enter the temporary password.
/usr/bin/remote-viewer vnc://Host-HE1.example.com:5900
- Use the RHEV-M Virtual Appliance setup utility to set the root password and change the default authentication and keyboard configuration as necessary. You will not be able to complete RHN registration at this stage as there will be no network connection.

- Run the following command to complete your Red Hat Enterprise Virtualization Manager setup:
# engine-setup --offline --config-append=rhevm-setup-answers
Synchronizing the Host and the Manager
Return to the hypervisor and continue thehosted-enginedeployment script by selecting option 1:(1) Continue setup - engine installation is complete
[ INFO ] Engine replied: DB Up!Welcome to Health Status! [ INFO ] Waiting for the host to become operational in the engine. This may take several minutes... [ INFO ] The VDSM host is now operational Please shutdown the VM allowing the system to launch it as a monitored service. The system will wait until the VM is down.- Shutdown the Manager virtual machine.
# shutdown -h now
- Confirm that setup is complete and hit the Enter key to return to the Hypervisor console.
[ INFO ] Enabling and starting HA services Hosted Engine successfully set up [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-2015xx.conf' [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination [screen is terminating] Hit <Return> to return to the TUI
7.6.16. The Plugins Screen
- : Allows you to view RPM differences.
- : Allows you to view SRPM differences.
- : Allows you to view file differences.
7.6.17. The RHN Registration Screen
Note
Procedure 7.23. Registering the Hypervisor with the Red Hat Network
- Enter your Red Hat Network user name in the Login field.
- Enter your Red Hat Network password in the Password field.
- Enter a profile name to be used for the system in the Profile Name (optional) field. This is the name under which the system will appear when viewed in Red Hat Network.
- Select the method by which to register the Hypervisor:
The Red Hat Network
Select the RHN option and press the space bar to register the Hypervisor directly with the Red Hat Network. You do not need to enter values in the URL and CA URL fields.Example 7.16. Red Hat Network Configuration
(X) RHN ( ) Satellite ( ) SAM URL: _______________________________________________________________ CA URL: _______________________________________________________________
Satellite
- Select the Satellite option and press the space bar to register the Hypervisor with a Satellite server.
- Enter the URL of the Satellite server in the URL field.
- Enter the URL of the certificate authority for the Satellite server in the CA URL field.
Example 7.17. Satellite Configuration
( ) RHN (X) Satellite ( ) SAM RHN URL: https://your-satellite.example.com_____________________________ CA URL: https://your-satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT
Subscription Asset Manager
- Select the Subscription Asset Manager option and press Space to register the Hypervisor via Subscription Asset Manager.
- Enter the URL of the Subscription Asset Manager server in the URL field.
- Enter the URL of the certificate authority for the Subscription Asset Manager server in the CA URL field.
Example 7.18. Subscription Asset Manager Configuration
( ) RHN ( ) Satellite (X) SAM URL: https://subscription-asset-manager.example.com_____________________________ CA : https://subscription-asset-manager.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT
- If you are using a proxy server, you must also specify the details of that server:
- Enter the IP address or fully qualified domain name of the proxy server in the Server field.
- Enter the port by which to attempt a connection to the proxy server in the Port field.
- Enter the user name by which to attempt a connection to the proxy server in the Username field.
- Enter the password by which to authenticate the user name specified above in the Password field.
- Select and press Enter.