At a Glance
Install the below patches from http://www.itrc.hp.com
PHSS_37312 (Integrity VM)
PHSS_37306 (VMagent)
Install the Integrity VM Media Kit
I am creating lvols cos I do not have any left on my Box.
# lvcreate -L 40960m -n lvol9 vg00
# lvcreate -L 40960m -n lvol10 vg00
# lvcreate -L 40960m -n lvol11 vg00
# lvcreate -L 40960m -n lvol12 vg00
Now I will create a VM Guest:
# hpvmcreate -P VM03A -O HPUX:11.31 -c2 -r1G
# hpvmmodify -P VM03A -a disk:scsi::lv:/dev/vg00/rlvol9
# hpvmmodify -P VM03A -a network:lan::vswitch:vswth01
# hpvmstart -P VM03A
(C) Copyright 2000 - 2007 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 2
Allocating guest memory: 1024MB
allocating low RAM (0-40000000, 1024MB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ad310ce-8fe0-11dd-8403-001f29f280f2
/vmm_config.next): Allocated 1073741824 bytes at 0x6000000100000000
allocating datalogger memory: FF800000-FF840000 (256KB for 155KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ad310ce-8fe0-11dd-8403-001f29f280f2
/vmm_config.next): Allocated 262144 bytes at 0x6000000180000000
locking datalogger memory
allocating firmware RAM (fff00000-fff20000, 128KB)
/opt/hpvm/lbin/hpvmapp (/var/opt/hpvm/uuids/8ad310ce-8fe0-11dd-8403-001f29f280f2
/vmm_config.next): Allocated 131072 bytes at 0x6000000180080000
locked SAL RAM: 00000000fff00000 (8KB)
locked ESI RAM: 00000000fff02000 (8KB)
locked PAL RAM: 00000000fff04000 (8KB)
locked
locked datalogger: 00000000ff800000 (256KB)
Loading boot image
Image initial IP=102000 GP=67E000
Initialize guest memory mapping tables
Starting event polling thread
Starting thread initialization
No NVRAM persistent variables on disk
Daemonizing....
hpvmstart: Successful start initiation of guest 'VM03A'
Assigning a Virtual dvd
hpvmmodify -P VM03A -a dvd:scsi::disk:/dev/rdsk/c1t0d0
hpvmmodify -P VM03B -a dvd:scsi::disk:/dev/rdsk/c1t0d0
hpvmmodify -P VM04A -a dvd:scsi::disk:/dev/rdsk/c1t0d0
hpvmmodify -P VM04B -a dvd:scsi::disk:/dev/rdsk/c1t0d0
I have now managed to create four Virtual Guests viz., VM03A,VM03B,VM04A,VM04B
Assign the LVOLS:
# hpvmmodify -P VM04A -a disk:scsi::lv:/dev/vg00/rlvol9
# hpvmmodify -P VM04B -a disk:scsi::lv:/dev/vg00/rlvol10
Now each VM has a disk.
Next is LAN.
Create a virtual switch on a physical NIC (here lan0), name it vswitch01:
# hpvmnet -c -S vswth01 -n 0
power on the vswitch:
# hpvmnet -b -S vswth01
assign the network:
# hpvmmodify -P VM04A -a network:lan::vswitch:vswth01
# hpvmmodify -P VM04B -a network:lan::vswitch:vswth01
start the VMs:
# hpvmstart -P VM04A
# hpvmstart -P VM04B
Connect to the vMP of the first VM:
# hpvmconsole -P VM04A
and proceed to install HP-UX via IGNITE-UX.
NOTE: You can install OS on the Guest using Disk/ISO/IGNITE.I have chosen IGNITE.
In my second blog we can discuss on IGNITE-UX.
USEFUL/HANDY LINKS
http://h10025.www1.hp.com/ewfrf/wc/document?lc=en&dlc=en&cc=emea_middle_east&docname=c01794546
http://bizsupport1.austin.hp.com/bc/docs/support/SupportManual/c02018678/c02018678.pdf
http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=10008&contentType=SupportManual&docIndexId=64255&prodTypeId=18964&prodSeriesId=4146186
Useful Integrity VM commands:
hpvmclone: Creates a cloned copy of a virtual machine. Runs on the VM Host.
hpvmcollect: Collects crash dumps, logs, system status, and configuration on host and guest. Runs on the VM Host and on guests.
hpvmconsole: Connects to the console of a virtual machine. Runs on the VM Host.
hpvmcreate: Creates a new virtual machine. Runs on the VM Host.
hpvmdevmgmt: Manages the device database. Runs on the VM Host.
hpvmmgmt: Manages the guest memory allocation. Runs on guests only.
hpvminfo: Displays information about the Integrity VM environment. Runs on the VM Host and on guests.
hpvmmigrate: Moves a virtual machine from one VM Host to another. Runs on the VM Host.
hpvmmodify: Renames or modifies the attributes of a virtual machine. Runs on the VM Host.
hpvmnet: Configures virtual network devices. Runs on the VM Host.
hpvmremove: Removes a virtual machine. Runs on the VM Host.
hpvmstart: Starts a virtual machine. Runs on the VM Host.
hpvmstatus: Displays status of one or more virtual machines. Runs on the VM Host.
hpvmstop: Stops a virtual machine. Runs on the VM Host.
p2vassist: Moves a system workload from a discreet server to a virtual machine. Runs on the VM Host.
All commands except hpvmconsole require superuser privileges
hp laserjet cp4025n driver, hp laserjet cp4025n driver, hp laserjet cp4025n driver, hp laserjet cp4025n driver, hp laserjet cp4025n driver,
ReplyDeleteYour article was really impressive.Do keep post like this . You can also visit my site if you have time.Kindly visit our site for
ReplyDelete123.hp.com/envy5540