8.4.2. Installing the Hypervisor
Summary
There are two methods for installing Red Hat Enterprise Virtualization Hypervisors:
- Interactive installation.
- Unattended installation.
This section outlines the procedure for installing a Hypervisor interactively.
Procedure 8.10. Installing the Hypervisor Interactively
- Use the prepared boot media to boot the machine on which the Hypervisor is to be installed.
- Select Install Hypervisor and press Enter to begin the installation process.
- The first screen that appears allows you to configure the appropriate keyboard layout for your locale. Use the arrow keys to highlight the appropriate option and press Enter to save your selection.
Example 8.9. Keyboard Layout Configuration
Keyboard Layout Selection
Available Keyboard LayoutsSwiss German (latin1) Turkish U.S. English U.S. International ... (Hit enter to select a layout) <Quit> <Back> <Continue> - The installation script automatically detects all disks attached to the system. This information is used to assist with selection of the boot and installation disks that the Hypervisor will use. Each entry displayed on these screens indicates the Location, Device Name, and Size of the disks.
Boot Disk
The first disk selection screen is used to select the disk from which the Hypervisor will boot. The Hypervisor's boot loader will be installed to the Master Boot Record (MBR) of the disk that is selected on this screen. The Hypervisor attempts to automatically detect the disks attached to the system and presents the list from which to choose the boot device. Alternatively, you can manually select a device by specifying a block device name using the Other Device option.Important
The selected disk must be identified as a boot device and appear in the boot order either in the system's BIOS or in a pre-existing boot loader.Automatically Detected Device Selection
- Select the entry for the disk the Hypervisor is to boot from in the list and press Enter.
- Select the disk and press Enter. This action saves the boot device selection and starts the next step of installation.
Manual Device Selection
- Select Other device and press Enter.
- When prompted to Please select the disk to use for booting RHEV-H, enter the name of the block device from which the Hypervisor should boot.
- Press Enter. This action saves the boot device selection and starts the next step of installation.
- The disk or disks selected for installation will be those to which the Hypervisor itself is installed. The Hypervisor attempts to automatically detect the disks attached to the system and presents the list from which installation devices are chosen.
Warning
All data on the selected storage devices will be destroyed.- Select each disk on which the Hypervisor is to be installed and press Space to toggle it to enabled. Where other devices are to be used for installation, either solely or in addition to those which are listed automatically, use Other Device.
- Select the button and press Enter to continue.
- Where the Other Device option was specified, a further prompt will appear. Enter the name of each additional block device to use for Hypervisor installation, separated by a comma. Once all required disks have been selected, select the button and press Enter.
Example 8.11. Other Device Selection
Please enter one or more disks to use for installing RHEV-H. Multiple devices can be separated by comma. Device path: /dev/mmcblk0,/dev/mmcblk1______________
Once the installation disks have been selected, the next stage of the installation starts.
- The next screen allows you to configure storage for the Hypervisor.
- Select or clear the Fill disk with Data partition check box. Clearing this text box displays a field showing the remaining space on the drive and allows you to specify the amount of space to be allocated to data storage.
- Enter the preferred values for Swap, Config, and Logging.
- If you selected the Fill disk with Data partition check box, the Data field is automatically set to
0. If the check box was cleared, you can enter a whole number up to the value of the Remaining Space field. Entering a value of-1fills all remaining space.
- The Hypervisor requires a password be set to protect local console access to the
adminuser. The installation script prompts you to enter the preferred password in both the Password and Confirm Password fields.Use a strong password. Strong passwords comprise a mix of uppercase, lowercase, numeric, and punctuation characters. They are six or more characters long and do not contain dictionary words.Once a strong password has been entered, select and press Enter to install the Hypervisor on the selected disks.
Result
Once installation is complete, the message RHEV Hypervisor Installation Finished Successfully will be displayed. Select the button and press Enter to reboot the system.
Note
Remove the boot media and change the boot device order to prevent the installation sequence restarting after the system reboots.
Note
Red Hat Enterprise Virtualization Hypervisors are able to use Storage Area Networks (SANs) and other network storage for storing virtualized guest images. Hypervisors can be installed on SANs, provided that the Host Bus Adapter (HBA) permits configuration as a boot device in BIOS.
Note
Hypervisors are able to use multipath devices for installation. Multipath is often used for SANs or other networked storage. Multipath is enabled by default at install time. Any block device which responds to
scsi_id functions with multipath. Devices where this is not the case include USB storage and some older ATA disks.