HPVM creation

1> Install the HPVM package -- VMMGR_A.6.3.0.91593_HP-UX_B.11.31_IA.depot
2> Create VM
# hpvmcreate -P hpux11v1 -c2 -r16G
#
# ioscan -kfnNC disk
Class     I  H/W Path  Driver S/W State   H/W Type     Description
===================================================================
disk      3  64000/0xfa00/0x1  esdisk   CLAIMED     DEVICE       HP      LOGICAL VOLUME
                      /dev/disk/disk3      /dev/disk/disk3_p2   /dev/rdisk/disk3     /dev/rdisk/disk3_p2
                      /dev/disk/disk3_p1   /dev/disk/disk3_p3   /dev/rdisk/disk3_p1  /dev/rdisk/disk3_p3
disk      4  64000/0xfa00/0x3  esdisk   CLAIMED     DEVICE       IBM     2810XIV
                      /dev/disk/disk4   /dev/rdisk/disk4
disk     11  64000/0xfa00/0x4  esdisk   CLAIMED     DEVICE       IBM     2810XIV
                      /dev/disk/disk11   /dev/rdisk/disk11
disk     12  64000/0xfa00/0x8  esdisk   CLAIMED     DEVICE       IBM     2810XIV
                      /dev/disk/disk12   /dev/rdisk/disk12
disk     13  64000/0xfa00/0x9  esdisk   CLAIMED     DEVICE       IBM     2810XIV
                      /dev/disk/disk13   /dev/rdisk/disk13

# hpvmmodify -P hpux11v1 -a disk:avio_stor::disk:/dev/rdisk/disk11
# hpvmmodify -P hpux11v1 -a network:avio_lan::vswitch:vswitch0
# hpvmmodify -P hpux11v1 -a dvd:avio_stor::file:/home/images/HP_UX_11i_v3_BOE_Core_2_2_BA927-10032.iso
# hpvmstatus -P hpux11v1
[Virtual Machine Details]
Virtual Machine Name VM #  Type OS Type State
==================== ===== ==== ======= ========
hpux11v1                 2 SH   UNKNOWN Off      

[Runnable Status Details]
Runnable status         : Runnable

[Remote Console]
Remote Console not configured
[Authorized Administrators]
Oper Groups             :
Admin Groups            :
Oper Users              :
Admin Users             :
[Virtual CPU Details]
#vCPUs Ent Min Ent Max
====== ======= =======
     3   10.0%  100.0%
[Memory Details]
Total    Reserved  Overhead
Memory   Memory    Memory 
=======  ========  ========
  16 GB     64 MB    256 MB
[Storage Interface Details]
vPar/VM                                Physical
Device  Adapter    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
disk    avio_stor    0   1   0   0   0 disk      /dev/rdisk/disk11
dvd     avio_stor    0   2   0   0   0 file      /home/images/HP_UX_11i_v3_BOE_Core_1_2_BA927-10031.iso
[Network Interface Details]
Interface Adaptor    Name/Num              PortNum Bus Dev Ftn Mac Address
========= ========== ===================== ======= === === === =================
vswitch   avio_lan   vswitch0              1         0   0   0 26-9f-0b-9d-32-18
[Direct I/O Interface Details]
vPar/VM                                       Physical
Device  Adapter Bus Dev Ftn Mac Address       Storage   Device
======= ======= === === === ================= ========= ===========
[Misc Interface Details]
vPar/VM                                Physical
Device  Adapter    Bus Dev Ftn Tgt Lun Storage   Device
======= ========== === === === === === ========= =========================
serial  com1                           tty       console

-Go to the Virtual MP and eject the vDVD:
vMP> ej
 4) Remove the first DVD and mount the second image on VM host.
- Check the state of the DVD
# hpvmstatus -P vmGuest1

vPar/VM Physical
Device Adapter Bus Dev Ftn Tgt Lun Storage Device
======= ========== === === === === === ========= =========================
disk avio_stor 0 0 0 0 0 lv /dev/vg01/rlvol6
dvd avio_stor 0 0 0 1 0 null /tmp/DVD_HP-UX_11i_11iv2_EOE_Core_1_5011-5442.dvdimage

Note: After the DVD is ejected the physical storage is changed to null.

- Remove the DVD from the VM guest
# hpvmmodify -P vmGuest1 -d dvd:avio_stor::null

5) Add the 2nd DVD image to VM guest:

# hpvmmodify -P vmGuest1 -a dvd:avio_stor::file:/tmp/DVD_HP-UX_11i_11iv2_EOE_Core_2_5013-8364.dvdimage

 -Go to the Virtual MP and insert the vDVD:
vMP>in

# hpvmstart -P hpux11v1
(C) Copyright 2000 - 2014 Hewlett-Packard Development Company, L.P.
Initializing System Event Log
Initializing Forward Progress Log
Mapping vPar/VM memory: 16384MB
  mapping low RAM (0-80000000, 2048MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/a9dba5aa-46ed-11e5-ba02-3cd92b2f396e/vmm_config.next): Allocated 2147483648 bytes at 0x6000000100000000
    locking memory(lowmem 0x6000000100000000): 0-80000000
  allocating high RAM (100000000-480000000, 14336MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/a9dba5aa-46ed-11e5-ba02-3cd92b2f396e/vmm_config.next): Allocated 15032385536 bytes at 0x6000000200000000
    locking memory(highmem 0x6000000200000000): 100000000-480000000
  allocating overhead RAM (overhead_mem_mbase)6000000580000000-6000000590000000, 256MB)
    locking memory: 6000000580000000-6000000590000000
  allocating datalogger memory: FF800000-FF900000 (1024KB) ramBaseLog 6000000581500000
  allocating firmware RAM (fff00000-100000000, 1024KB) ramBaseFw 6000000581400000
    locked SAL RAM: 00000000fff00000 (8KB)
    locked ESI RAM: 00000000fff02000 (8KB)
    locked PAL RAM: 00000000fff04000 (8KB)
    locked Min Save State: 00000000fff0a000 (12KB)
    locked datalogger: 00000000ff800000 (1024KB)
Creation of VM minor device 1
Device file = /var/opt/hpvm/uuids/a9dba5aa-46ed-11e5-ba02-3cd92b2f396e/vm_dev
Loading boot image
Image initial IP=102000 GP=69E000
No NVRAM persistent variables on disk
Starting event polling thread
guestStatsStartThread: Started guestStatsCollectLoop - thread = 15
Starting thread initialization
No NVRAM persistent variables on disk
Event: configuration file renamed to /var/opt/hpvm/uuids/a9dba5aa-46ed-11e5-ba02-3cd92b2f396e/vmm_config.current
Daemonizing....
hpvmstart: Successful start initiation of vPar or VM 'hpux11v1'
# hpvmconsole -P hpux11v1

   vMP MAIN MENU
         CO: Console
         CM: Command Menu
         CL: Console Log
         SL: Show Event Logs
         VM: Virtual Machine Menu
         HE: Main Help Menu
          X: Exit Connection
[hpux11v1] vMP> CO

        (Use Ctrl-B to return to vMP main menu.)

- - - - - - - - - - Prior Console Output - - - - - - - - - -
The terminals supported are listed below.
Enter the number corresponding to the terminal type
that best matches your terminal.
        1) HP        type terminals.
        2) VT100     type terminals (and VT100 emulators).
        3) Wyse 60   type terminals (and Wyse 60 emulators).

Choose an option from above [1 by default] :
- - - - - - - - - - - - Live Console - - - - - - - - - - - -
2

             Welcome to the HP-UX installation/recovery process!
  Use the <tab> key to navigate between fields, and the arrow keys
  within fields.  Use the <return/enter> key to select an item.
  Use the <return/enter> or <space-bar> to pop-up a choices list.  If the
  menus are not clear, select the "Help" item for more information.
  Hardware Summary:         System Model: ia64 hp server Integrity Virtual Mach
  +----------------------+---------------+--------------------+[ Scan Again  ]
  | Disks: 1  (  944.0GB)| Floppies: 0   | LAN cards:   1     |
  | CD/DVDs:        1    | Tapes:    0   | Memory:    16378Mb |
  | Graphics Ports: 0    | IO Buses: 3   | CPUs:        3     |[ H/W Details ]
  +----------------------+---------------+--------------------+
                       [      Install HP-UX       ]
                   [   Run an Expert Recovery Shell   ]
                       [    Advanced Options      ]

          [  Reboot  ]                              [  Help  ]

Comments

Popular posts from this blog

VIOS TIPs

Configure Solaris 10 LDOM on Solaris 11.4

Change P410i from HBA mode to Raid mdoe