Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
4.2. Deploying RHEV Hypervisors with PXE and tftp
This section covers installing RHEV Hypervisors over a network with
PXE and tftp. Configuring the DHCP and tftp servers for PXE booting is outside the scope of this book.
- Install the rhev-hypervisor package and extract the
livecd-iso-to-pxebootscript. Refer to Procedure 4.1, “Downloading and Installing the Package”. - Create
vmlinuzandinitrdimages withlivecd-iso-to-pxeboot:/usr/share/rhev-hypervisor/livecd-iso-to-pxeboot /usr/share/rhev-hypervisor/rhev-hypervisor.iso
# /usr/share/rhev-hypervisor/livecd-iso-to-pxeboot /usr/share/rhev-hypervisor/rhev-hypervisor.isoCopy to Clipboard Copied! Toggle word wrap Toggle overflow Copy to Clipboard Copied! Toggle word wrap Toggle overflow - The output of
livecd-iso-to-pxebootcommand is a directory calledtftpbootthat has the following files in it:pxelinux.0pxelinux.cfg/defaultvmlinuz0initrd0.img
- The
vmlinuzandinitrdfiles can be imported into a cobbler server or any other PXE andtftpservers.Import the files to the appropriate directory. - The
pxelinux.cfg/defaultfile provides a template for configuring the PXE server to export the Hypervisor image:Copy to Clipboard Copied! Toggle word wrap Toggle overflow PXE booted Hypervisors rely on the PXE server passing the MAC address of the PXE interface to the kernel. This is provided by using theIPAPPEND 2parameter.Modify the templates as required for your environment.
Warning
The
root=/rhev-hypervisor.iso parameter in pxelinux.cfg/default is a default value. If the ISO file you are using has a name other than rhev-hypervisor.iso it should be passed when calling livecd-iso-to-pxeboot. For example, for the ISO file rhev_hypervisor_2_2.iso use the command livecd-iso-to-pxeboot rhev_hypervisor_2_2.iso. This will produce the correct parameter root=/rhev_hypervisor_2_2.iso in pxelinux.cfg/default.
4.2.1. Booting a RHEV Hypervisor with PXE Link kopierenLink in die Zwischenablage kopiert!
Link kopierenLink in die Zwischenablage kopiert!
For network booting the network interface card must support PXE booting.
To boot a RHEV Hypervisor from a PXE server:
- Enter your system's BIOS. On most systems, the key or combination of keys is prompted shortly after the system has power. Usually, this key is delete, F1 or F2.
- Enable network booting if network booting is disabled.
- Set the network interface card as the first boot device.
- Boot the system. If the PXE parameters are configured correctly an automated installation should begin.
- Change or disable network booting after the RHEV Hypervisor is installed. This is to avoid overwriting the installation on each reboot (unless this is desired functionality) and to prevent certain security vulnerabilities.
Warning
The network interface used for PXE boot installation must be same interface used to connect to the RHEV Manager.
Note
For more information on the kernel parameters, refer to Section 5.2, “RHEV Hypervisor Kernel Parameters and Automated Installation”.
The RHEV Hypervisor should now be installed.