Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Integrity Virtual Machines Version 4.0 Installation, Configuration, and Administration > Chapter 6 Creating Linux Guests

Installing SUSE Linux Guests from ISO Images

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

Before installing the SUSE Linux guest, note the following:

  • You must install the tog-pegasus RPM kit prior to installing the SUSE Linux RPM guest kit; however, the SUSE Linux installation media does not contain the tog-pegasus RPM kit. This RPM kit is available in the “HP Integrity Essentials Foundation Pack for Linux” (also known as HPIEFL for Linux).

    The SUSE Linux RPM guest kit is actually two parts, a guest kit and a provider kit. The Hpvm.*.rpm kit contains:

    • Tuning scripts

    • hpvminfo

    • hpvmcollect

    • Guest library

    The Hpvmprovider.*.rpm kit contains the VMprovider and related files. This RPM requires that both the hpvm and tog-pegasus kits must be installed.

    http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T2387AA

    The information you need is provided in Chapter 5 of the HP Integrity Essentials Foundation Pack for Linux User's Guide.

    To download the HPIEFL for Linux kit, click the link http://www.hp.com/go/integritylinuxessentials listed in Chapter 5, then click Download for HP Integrity Essentials Foundation Pack for Linux link on this website.

  • The first time you install the Linux guest management software, the following error may occur:

    === from /var/log/messages file === Jan 18 22:45:00 1sn000 kernel: ipmi_si: Error clearing flags: cl === from "dmesg" command === ipmi_si: Error clearing flags: cl

    You can ignore this error message.

  • SLES 10 requires the media to be in the first optical drive present to the guest; otherwise, the installation fails with the following error:

    Failed to initialize the catalog. Try again?

The following steps install SUSE Linux Enterprise Server (SLES) for HP Integrity servers SLES 10 update 1 guests:

  1. On the VM Host system, load the *.iso files of SUSE Linux Enterprise Server (SLES) for HP Integrity servers SLES 10 update 1 into the following directory:

    /var/opt/hpvm/ISO-images/linux/

    Use the following file names or any file names you prefer:

    • SLES-U1-ia64-AS-disc1.iso

    • SLES-U1-ia64-AS-disc2.iso

    For security reasons, mark the ISO images as read-only.

  2. Create a virtual machine with one disk and one DVD device for the ISO files, as well as one network virtual switch. Specify the operating system type as LINUX. For example:

    # hpvmcreate -P linux -B manual -O LINUX -c 1 -r 2G \ -a disk:scsi::lv:/dev/vg01/sles10_boot_volume \ -a disk:scsi::file:/var/opt/hpvm/ISO-images/linux/SLES10-SP1-DVD-ia64-DVD1.iso \ -a network:lan::vswitch:switch1

    If DVD2 is required during your installation, eject (EJ) DVD1 and insert (IN) DVD2 from the guest management console.

  3. On the VM Host system, start the virtual machine:

    # hpvmstart -P linux1 (C) Copyright 2000 - 2008 Hewlett-Packard Development Company, L.P. Opening minor device and creating guest machine container Creation of VM, minor device 1 Allocating guest memory: 2048MB allocating low RAM (0-80000000, 2048MB) /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids /eaccd6e4-b004-11db-bd1f-00306ef4693e/vmm_config.next): Allocated 2147483648 bytes at 0x6000000100000000 allocating firmware RAM (ffaa0000-ffab5000, 84KB) /opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids /eaccd6e4-b004-11db-bd1f-00306ef4693e/vmm_config.next): Allocated 86016 bytes at 0x6000000180000000 Loading boot image Image initial IP=102000 GP=62E000 Initialize guest memory mapping tables Starting event polling thread Starting thread initialization Daemonizing.... hpvmstart: Successful start initiation of guest 'linux1'

    Use the hpvmconsole command to connect to the guest.

  4. Boot the guest.

    Boot the guest in one of the following ways:

    • From the EFI shell

    • From the File menu

    To boot from the EFI shell:

    1. Go to the EFI shell. For example:

      fs0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig5D1D1134-C809-11DB-9AEB-000000000000) fs1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0)/HD(Part2,Sig5DB58D88-C809-11DB-9AEB-000000000000) fs2 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0)

      EFI lists devices with file systems detected as fs{n}. In this example, fs0 and fs1 are older file systems that are present on the disk. fs2 is the file system corresponding to the bootable Linux ISO image/Virtual DVD, as can be recognized by the CDROM against it.

    2. Boot the first installation DVD, which is indicated in the device mapping table by /CDROM by entering the following commands:

      shell > fsn: fsn > bootia64

      Where n corresponds to the Virtual DVD.

    The following example shows how to boot from fs0:

    # hpvmconsole -P linux1 - - - - - - - - - - Prior Console Output - - - - - - - - - - Device mapping table fs0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0) blk0 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun0,Lun0) blk1 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0) blk2 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun1,Lun0)/CDROM(Entry0) blk3 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun2,Lun0) blk4 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun3,Lun0) blk5 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun4,Lun0) blk6 : Acpi(PNP0A03,0)/Pci(0|0)/Scsi(Pun5,Lun0) Shell> fs0: fs0:>bootia64

    To boot from the File menu:

    1. Exit the EFI shell.

    2. Select Boot from a file.

    3. Select Removable Media Boot, then press Enter.

      The guest boots from the media.

  5. When the screen labeled SUSE Linux Itanium Edition appears, enter the following:

    console=ttyS0 command in the Boot: box:

    Boot: console=ttyS0

    NOTE: Failure to add this option results in an apparent guest hang, where the guest is trying to run a graphical installation program without a display. If this happens, reset the virtual machine. Press Ctrl/B to reach the virtual console. Enter the RS command to restart the virtual machine. Resume the installation procedure.

    The installation process continues:

    On the CD Found screen, select Skip.

  6. The boot program presents a sequence of screens that allow you to customize Linux. Follow normal SUSE SLES10 install procedures.

    NOTE: If you use ISO images for installation, you can leave the virtual CD images mounted, so that you can easily install additional software at a later time.
  7. Optionally, remove the virtual DVD device from the guest using the hpvmmodify command. For example, enter this command on the VM Host:

    # hpvmmodify -P guest1 \ -d dvd:scsi::file:/var/opt/hpvm/ISO-images/linux/SLES-U1-ia64-AS-disc1.iso \ dvd:scsi::file:/var/opt/hpvm/ISO-images/linux/SLES-U1-ia64-AS-disc2.iso

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2008 Hewlett-Packard Development Company, L.P.