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 Installation, Configuration, and Administration > Chapter 4 Creating and Booting Guests

Booting Guests

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

You can boot the guest in either of the following ways:

  • The hpvmstart command

  • The hpvmconsole command

If you attempt to boot a guest on a VM Host system that does not have the required resources, the guest will not be booted and error messages will describes the specific resource problems.

To boot the guest the first time, you have to specify the installation media. To install from an Ignite server, set up the server with the guest VM Host name, MAC (obtained from hpvmstatus) and IP address, as you would for a physical system. Set up a LAN boot device from the guest console as you would for a physical system.

To install using a physical DVD device, you must first set up a virtual DVD. Follow these steps:

  1. Verify the VM Host physical DVD drive location by checking the ioscan output:

    # ioscan -funC disk

  2. Use the character device path of the VM Host's physical DVD to set a virtual DVD entry:

    # hpvmmodify -P compass1 -a dvd:scsi::disk:/dev/rdsk/c0t0d0

To start the guest from the VM Host administrator account, enter the hpvmstart command. For example, to start the guest called compass1, enter the following command:

# hpvmstart -Pcompass1
(C) Copyright 2000 - 2005 Hewlett-Packard Development Company, L.P.
Initializing System Event Log
Initializing Forward Progress Log
Opening minor device and creating guest machine container
Creation of VM, minor device 1
Allocating guest memory: 64MB
  allocating low RAM (0-4000000, 64MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/ce17ee10-3131-11da-9845-00306e39f70b
/vmm_config.current): Allocated 67108864 bytes at 00
  allocating firmware RAM (ffaa0000-ffab5000, 84KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/ce17ee10-3131-11da-9845-00306e39f70b
/vmm_config.current): Allocated 86016 bytes at 0x600
Loading boot image
Image initial IP=102000 GP=5F4000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
Daemonizing....
hpvmstart: Successful start initiation of guest 'compass1'
#
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM #  OS Type State    # vCPUs # Devs # Nets Memory
==================== ===== ======= ======== ======= ====== ====== ===========
compass1                15 HPUX    On             1      2      2        1 GB
compass2                16 HPUX    Off            2      1      0        3 GB
compass3                17 HPUX    Off            1      1      1        2 GB
#

After you specify the installation media, OS installation continues normally, independent of the type of installation media.

To boot the guest from the guest console, enter the following command to turn on the virtual machine:

# hpvmconsole -c 'pc -on' -P compass1

Press any key to interrupt the boot sequence.

EFI Boot Manager ver 1.10 [14.62]

Please select a boot option

    Acpi(PNP0A03,0)/Pci(3|1)/Ata(Primary,Slave)                     
    HP-UX Primary Boot: 0/16/1/3/1.0.0.0                            
    EFI Shell [Built-in]                                            
    Boot option maintenance menu
Use ^ and v to change options. Press Enter to select an option.

Select “Boot option maintenance menu.”

EFI Boot Maintenance Manager ver 1.10 [14.62]

Main Menu. Select an Operation


        Boot from a File
        Add a Boot Option
        Delete Boot Option(s)
        Change Boot Order

        Manage BootNext setting
        Set Auto Boot TimeOut

        Select Active Console Output Devices
        Select Active Console Input Devices
        Select Active Standard Error Devices

        Cold Reset
        Exit

Select “Add a Boot Option.”

EFI Boot Maintenance Manager ver 1.10 [14.62]

Add a Boot Option.  Select a Volume

    Removable Media Boot [Acpi(PNP0604,0)]                          
    Load File [Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)]
    Load File [EFI Shell [Built-in]]                                
    Legacy Boot                                                     
    Exit

To install from virtual DVD, select Removable Media Boot.

To install from the Ignite-UX server, select the entry with your MAC address. For example:

 
Device Path Acpi(PNP0A03,0)/Pci(1|0)/Mac(763AE48F393F)

    Enter New Description:  lan0boot
    New BootOption Data. ASCII/Unicode strings only, with max of 240 characters
    Enter BootOption Data Type [A-Ascii U-Unicode N-No BootOption] :  N

    Save changes to NVRAM [Y-Yes N-No]:  Y

Exit the EFI Boot Maintenance Management screen to return to the EFI Boot Manager screen. Boot from the selected entry.

When basic installation setup is complete, the software is copied from the distribution media to the guest's disk. Then the operating sytem eboots. If this reboot fails, restart it by booting from the master disk, as follows:

  1. Enter the EFI shell.

  2. Enter fs0:

    Shell> fs0:
  3. Enter hpux:

    fs0\> hpux

The guest will boot from master disk (fs0:).

If the autoboot fails, use the EFI to select the correct boot option. Otherwise, you will have to boot from the master disk whenever you reboot.

If you used a DVD to install the guest operating system, remove the virtual DVD, as follows:

  1. Determine the bus, device, and target ID by entering the following command:

    # hpvmstatus -P compass1
    #
  2. Delete the virtual DVD by entering the following command:

    # hpvmmodify -P compass1 -d dvd:scsi:0,0,0
  3. Reboot the guest, if necessary, by entering the following command:

    # hpvmconsole -P $compass1 -c 'pc -on'

Allow the system postinstallation configuration to complete. The guest reboots automatically when the configuration process is done.

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