beautypg.com

1 installing a rhel kvm virtual guest – HP Insight Control Software for Linux User Manual

Page 129

background image

IMPORTANT:

The RHEL Kickstart and SLES AutoYaST configuration template files for virtual

guests are delivered with a hard-coded root password, which poses a security issue if used
without modification.

For secure installations, HP recommends that you install the virtual guest operating systems in
a manner that keeps the root password secure, such as an interactive installation, or use a Kickstart
or AutoYaST file that is properly protected on the local host.

Secure installations should not store the root password on the CMS.

11.3.2.1 Installing a RHEL KVM virtual guest

Use the following guidelines for configuring a KVM virtual guest:

Verify that the Kickstart file for the virtual guest resides in the
/opt/repository/instconfig/osver-virt-guest-kvm

directory on the CMS, where

osver

indicates the operating system version, for example, rh055.

The format of the Kickstart file name is osver-virt-guest-kvm.cfg

If you need to customize the Kickstart file, do so before proceeding.

Open an xterm window or a remote desktop connection to the virtual host.

Run the virt-manager utility on the virtual host to create and name a new machine.

TIP:

Match the machine name to the host name in a virtual machine map. See

Section 23.10

(page 211)

.

Ensure that the localhost (QEMU) is connected.

If the localhost entry is missing, select File

Add Connection, then select QEMU/KVM as the

hypervisor, specify that the connection is Local, and select Connect. If the localhost entry
exists but is not connected, right-click on the localhost entry and select Connect.

Start the procedure by selecting New.

Specify a unique name for the virtual guest.

Select Network Install.

When prompted for the URL, enter:

http://CMS/os/os_specifier

Where:

CMS

Is the fully-qualified IP address of the CMS

IMPORTANT:

The port for this server must be 80, which is the default.

os_specifier

Specifies the operating system to be installed on the virtual guest, for
example, RHEL5U5-i386.

Under URL options, specify a URL that links to virtual guest configuration file in the Insight
Control for Linux Repository:

http://CMS/instconfig/os/osver-virt-guest/osver-virt-guest-kvm.cfg

IMPORTANT:

The port for this server must be 80, which is the default.

Select the option so that virt-manager automatically detects the operating system based
on the installation media. Otherwise, you need to select the OS type and the version.

11.3 Creating and installing virtual guests

129