beautypg.com

3 guidelines for configuring a xen virtual guest – HP Insight Control Software for Linux User Manual

Page 132

background image

Check that the configured MAC address matches the DNS/DHCP entry. The virt-manager
command might display MAC addresses beginning with 00:16:3e, but configure the NIC to start
with 52:54:00 instead. You can adjust the MAC address by running these commands on the KVM
virtual host:

1.

Use the following command to shut down the virtual guest:

# virsh shutdown virtual_guest_name

Watch the console to determine that the virtual guest is completely shut down.

2.

Edit the MAC address with the virsh edit command:

# virsh edit virtual_guest_name

Save your changes and exit the editor.

3.

Restart the virtual guest:

# virsh start virtual_guest_name

11.3.3 Guidelines for configuring a Xen virtual guest

This section describes one possible method to create and configure a Xen virtual guest. There
are many other ways to accomplish the same result.

You will need the virt-manager utility and an X window session to create a virtual guest. Be
sure to consult the documentation for the virt-manager utility

For information on licensing virtual guests, see

Section 3.3 (page 30)

.

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.

Use the following guidelines for configuring a Xen virtual guest:

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

directory on the CMS, where

osver

indicates the operating system version, for example, rh055.

The format of the Kickstart or AutoYaST file name is osver-virt-guest-xen.cfg.

If you need to customize the Kickstart or AutoYaST 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:

Consider matching the machine name to the host name in a virtual machine map. See

Section 23.10 (page 211)

.

Select the Paravirtualized option for the virtualization method.

The installation media URL (also called the Network URL) for the operating system must
link to the Insight Control for Linux Repository:

http://CMS:port/instconfig/os/os_specifier

Where:

CMS

Is the fully-qualified IP address of the CMS

port

Is the port used

132

Installing and setting up virtual machines