New disk addition on HPVM - hpux
The storage team will allocate a new lun to the VM HOST (Physical server).
We will be using that disk on VM guest. We can do this by two methods
i.e either using that entire disk on HPVM guest.
or by creating a LV on HPVM host and using that LV as a disk on HPVM guest.
1. On HPVM Host ( Where the VM machine is running )
#ioscan -fnC disk
#insf -eCdisk
After identifying the disk:
{ For LV --
#pvcreate /dev/disk/rdisk??
#vgcreate /dev/vg_name?? /dev/disk/disk??
#lvcreate -L "disk size in MB" -n /dev/vg_name??/lv_?? /dev/vg_name??
(Create a RAW Lvol only , no need to create a FS, since we are going to allocate this RAW lvol as disk to HPVM) }
2. # /opt/hpvm/bin/hpvmstatus -P {VMguest} = To check existing disk details for the VM machine
For LV :
#hpvmmodify -P {VMguest} -a disk:scsi::lv:/dev//rdisk/diskxx
For Disk :
#hpvmmodify –P {VMguest} -a disk:avio_stor::disk:/dev/rdisk/diskxx
3. Once disk is added on HPVM guest; check and confirm:
#/opt/hpvm/bin/hpvmstatus -P {VMguest} = to check the new added disk details in o/p
Thanks...
Kalyanjit
No comments:
Post a Comment