Step 6. Install and configure the Lenovo XClarity Administrator virtual appliance (Red Hat KVM)
Install and configure the XClarity Administrator virtual appliance on the Red Hat KVM host that was just installed.
Before you begin
You must be logged in to Red Hat KVM as a user with root authority to install the virtual appliance.
Ensure that the virtual network virbr0 is configured before installing XClarity Administrator.
When connecting to Red Hat KVM console, you have a choice of connecting to serial or graphical console. To see and change the IP address during the startup of XClarity Administrator, you must be connected to the graphical console. To use the graphical console, click from the Virtual Machine Manager.
When installing Lenovo XClarity Administrator virtual appliance using the Red Hat KVM user interface, the video output might not display through the console, resulting in a black console screen when you powered the XClarity Administrator virtual machine instead of the virtual-machine banner with XClarity Administrator IP info. To see video output through the console, ensure that the video device is set to Cirrus by .opening the XClarity Administrator virtual hardware details screen and clicking Video in the left navigation. By default, the RedHat KVM user interface sets the video device to QXL.
Procedure
To install the XClarity Administrator virtual appliance, complete the following steps.
(Optional) Using a configuration file to set the IP settings
If you are not using a DHCP server, you can optionally use a configuration file to specify the IP settings that you want to use to access the XClarity Administrator web interface using the Eth0 network interface.
The configuration file (eth0_config) is contained in an ISO file that you create and mount to the virtual machine before XClarity Administrator is started for the first time. When XClarity Administrator starts the first time, it configures the IP address for the Eth0 network using the static IP address that is defined in the eth0_config file and displays the web interface to set up initially and configure the appropriate settings (see Configuring Lenovo XClarity Administrator).
To use a configuration file, perform the following steps before powering on the virtual appliance
Create a file named eth0_config (with no file extension) that contains the following IPv4 parameters that you want the virtual machine to use at startup.
- IPV4_ADDR=
- IPV4_NETMASK=
- IPV4_GATEWAY=
- IPV6_ADDR=
- IPV6_GATEWAY=
You can use the echo command to create the file, for example:ECHO IPV4_ADDR=1.1.1.1 > ./eth0_config
ECHO IPV4_NETMASK=255.255.255.05 >> ./eth0_config
ECHO IPV4_GATEWAY=1.1.1.5 >> ./eth0_config
ECHO IPV6_ADDR=1001:1002:1003:1004::2 >> ./eth0_config
ECHO IPV6_GATEWAY=1001:1002:1003:1004::1 >> ./eth0_configNoteThe IPV6_ADDR and IPV6_GATEWAY parameters are supported inXClarity Administrator v1.1.1 and later. Create an ISO image that contains the eth0_config file.
To create an ISO image on Windows, use your favorite ISO software. On Linux, use the mkisofs command, for example:
mkisofs -V IP4ADDR -J -o ./boot.iso ./eth0_config
where -V is the volume label, -J is for Joliet format, -o is the output file name, and ./eth0_config is the file to be included in the ISO image.
Upload the ISO image to a suitable location using the Datastore Browser.
Mount the .ISO image to the virtual machine.
From Virtual Machine Manager, select the virtual machine, and then click Add Hardware to display the Add new Virtual Hardware dialog.
Click the Storage tab.
Select Select managed or other existing storage, click Browse, and select the eth0_config.iso image.
Select VirtIO for the device type.
NoteForXClarity Administrator 1.4.0 and earlier, select IDE for the disk bus. Select None for the cache mode.
Click Finish.
NoteYou can unmount the drive and delete the ISO image after you log in to theXClarity Administrator web interface and finish configuring the appropriate settings.
After you finish
Log in and configure XClarity Administrator (see Accessing the Lenovo XClarity Administrator web interface for the first time and Configuring Lenovo XClarity Administrator).