|
|
[ Pobierz całość w formacie PDF ]
attached to the system. There is no guarantee that on the next reboot the network interface controller will have the same eth# mapping. BOOTIF=eth0 Indicates to use the MAC address explicitly defined inside the brackets. 37 Red Hat Enterprise Linux 5 Hypervisor Deployment Guide Important When using PXE to boot Hypervisors for installation using the IPAPPEND 2 directive causes BOOTIF= to be automatically appended to the kernel arguments. If you use the IPAPPEND 2 directive you do not need to use the BOOTIF parameter. ip Sets the IP address for the network interface controller defined by the BOOTIF parameter. The ip parameter accepts either an IP address (in the form 0.0.0.0) or the value dhcp (for DHCP). ip=192.168.1.1 ip=dhcp netmask The netmask parameter sets the subnet mask for the IP address defined with the ip parameter. netmask=255.255.255.0 gateway The gateway parameter sets the Internet gateway. gateway=192.168.1.246 dns The dns parameter sets the addresses of one or more DNS servers. Each DNS server must be separated by a colon. dns=192.168.1.243:192.168.1.244 hostname The hostname parameter sets the hostname. The hostname must be a fully-qualified and resolvable domain name. hostname=rhev1.example.com ntp The ntp parameter sets the addresses of one or more Network Time Protocol servers. Each NTP server must be separated by a colon. ntp=192.168.2.253:192.168.2.254 38 Chapter 5. Installing Red Hat Enterprise Virtualization Hypervisors vlan The vlan parameter sets the VLAN identifier for the network connected to the RHEV Manager. Set this parameter if you are using VLANs. vlan=VLAN-ID 5.2.5. Red Hat Network (RHN) parameters These parameters are used to automatically register the hypervisor host with the Red Hat Network (RHN). At a minimum, either the rhn_activationkey or both the rhn_username and rhn_password parameters must be provided. If you are registering to a satellite server, you must also provide a value for the rhn_url parameter. rhn_username The rhn_username parameter sets the username used to connect to RHN. rhn_username=testuser rhn_password The rhn_password parameter sets the password used to connect to RHN. rhn_password=testpassword rhn_activationkey The rhn_activationkey parameter sets the activation key used to connect to RHN. Activation keys are used to register systems, entitle them to an RHN service level, and subscribe them to specific channels and system groups, all in one action. If both rhn_activationkey and rhn_username are provided, the rhn_activationkey value will be used. rhn_activationkey=7202f3b7d218cf59b764f9f6e9fa281b rhn_url The rhn_url parameter sets the URL of the satellite server used to register the host. rhn_url=https://your-satellite.example.com rhn_ca_cert The rhn_ca_cert parameter sets the URL of the CA certificate used to connect to the satellite server. If it is not provided, the default value is rhn_url/pub/RHN-ORG-TRUSTED-SSL-CERT rhn_ca_cert=https://your-satellite.example.com/pub/RHN-ORG-TRUSTED-SSL-CERT rhn_profile The rhn_profile parameter sets the name of the profile to be registered with RHN for this host. The default value is the system hostname. 39 Red Hat Enterprise Linux 5 Hypervisor Deployment Guide rhn_profile=testhost 5.2.6. Other parameters management_server The management_server parameter is required for an automated installation. The management_server parameter sets the address of the RHEV Manager. The management_server parameter takes an IP address or fully qualified domain name and, optionally, a port (the default port is 443). It is required for an automated installation. management_server=rhev.example.com:443 netconsole_server The netconsole_server parameter sets the address of the RHEV Manager. The netconsole_server parameter takes an IP address or fully qualified domain name and, optionally, a port (the default port is 25285). netconsole_server=rhev.example.com:25285 mem_overcommit The mem_overcommit parameter specifies the multiplier to use for adding extra swap to support memory overcommit. The default overcommit value is 0.5. mem_overcommit=0.7 firstboot The firstboot parameter starts the interactive configuration menu. On systems that have a RHEV Hypervisor installed and some systems with LVM volumes, the firstboot parameter may be required to trigger the interactive installation. Refer to Section 5.1.2, The RHEV Hypervisor Configuration Menu for installation from the configuration menu. upgrade The upgrade parameter will upgrade the existing hypervisor image to the version provided by the boot media. The hypervisor will be automatically upgraded and rebooted once complete. If a hypervisor image is not yet installed, the image will be installed to the device selected with the storage_init parameter. When performing an upgrade, the previous boot entry is saved as BACKUP in grub.conf. If the reboot following the upgrade procedure fails, the BACKUP boot entry will be automatically selected as the new default. local_boot The local_boot parameter is an alias for the upgrade parameter. nocheck The nocheck parameter will skip the MD5 check of the installation ISO, which can be time 40 Chapter 5. Installing Red Hat Enterprise Virtualization Hypervisors consuming if the media is remote or slow. qemu_pxe The qemu_pxe parameter is used to select which network bootloader is used in virtual machines. Possible values are gpxe and etherboot. For compatibility with RHEV Hypervisor 5.4-2.1, the default value is etherboot. qemu_pxe=gpxe 5.2.7. Example: Automated RHEV Hypervisor Installation This example uses the kernel command line parameters for an automated RHEV Hypervisor installation. Ensure you customize the example for your environment as not all installations are the same. Warning This example may not work accurately on all systems. Review the descriptions of the parameters above and modify as required for your systems. The following is a typical example for installing a RHEV Hypervisor with the kernel command line parameters In this example, the RHEV Manager is located at the hostname: rhevm.exam ple.com. :linux storage_init=/dev/sda storage_vol=::::: local_boot BOOTIF=eth0 management_server=rhevm.example.com netconsole=rhevm.example.com Note The kernel parameters can be automatically appended to virtual machines booting over a network with PXE. Automatically installing from PXE is not covered by this guide. 41 Red Hat Enterprise Linux 5 Hypervisor Deployment Guide Chapter 6. Maintaining and Administrating Red Hat Enterprise Virtualization Hypervisors
[ Pobierz całość w formacie PDF ] zanotowane.pldoc.pisz.plpdf.pisz.plblacksoulman.xlx.pl |
|
|
|
|