Hi,
For Create the IVM please follow the below step for create the VM.
Hi,
You have 8 Blade Server in the Single Encolusre.
Suppose you taking a Blade Server No - 5
If in the present state there is no VMGUEST are running only one Physical server is running.
To Perform this Activity for installation of 2 HP-UNIX VMGUEST in this Blade No-5
Frist Take Full File System Backup of the running SAP & Database Instance.
Remove the all VGs & LVs from Physical Server
Before creating the HP-UX IVM - VMGUEST need to be install the Integrity Virtual Machine product # T2767AC on the Physical Server(VMHOSTS)
Then perform this to create the 2 VMGUEST Server.
Installation & Configuration of IVM INTEGRITY VIRTUAL MACHINE.
1. Create a virtual network switch
#hpvmnet â??c â??S vmsw1 â??n 1
Where â??câ?? is for create, â??Sâ?? is for the virtual switch name and â??nâ?? is the lan port so in this case it is lan1
Stop and start the vm by:
#cd /sbin/init.d
#./hpvm stop
#./hpvm start
Create VM Guest with dedicated processor and memory
#hpvmcreate â??P vm00 â??c3 â??r12G
Or
#hpvmcreate â??P vm00 â??e30 â??r12G
Where â??câ? is the no of cpu , â??eâ? is the percentage of cpu and â??râ? is the amount of memory in GB and â??vm00â?? is the VM Guest
Present the 70-GB LUN in RAID1 from EVA for installation of the VMGUEST -1 -O/S
Present the 70-GB LUN in RAID1 from EVA for installation of the VMGUEST -2 -O/S
Present an OS virtual disk to the VM Guest
#hpvmmodify â??P vm00 -a disk:scsi::disk:/dev/rdsk/c2t0d0
(Use raw device in case of scsi device)
As per best practice in case of San LUN create a vg then an lv and map the lv to the VM Guest by following Command
# hpvmmodify â??P vm00 -a disk:scsi::lv:/dev/vg01/rlvol1
Boot the vm Guest and install OS: -
#hpvmconsole -P vm00 â??Ffi â??c â??pc â??onâ??
Or
#hpvmconsole â??P vm00
After the installation is complete unpresent the DVD drive to take out the OS media :
#hpvmmodify â??P vm00 -d dvd:scsi::disk:/dev/rdsk/c0t0d0
In order to access a VM Guest console from the VM Host: -
# Hpvmconsole â??P vm00
This will bring the vm00 (VM Guest) MP menu as follows:-
MP 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
[vm00] vMP>
12. To switch between VM Host MP and VM Guest MP use cntl+x
13. Procedure to insert and eject DVD from the VM Guest :
type â??VMâ? from the MP of VM Guest
Then type â??inâ? to insert or â??ejâ? to eject.
After sucessfully done check the VMGEST status with below command.
# Hpvmstatus â??s
[HPVM Server System Resources]
Processor speed = 1399 Mhz
Total physical memory = 16363 Mbytes
Total number of processors = 2
Available memory = 789 Mbytes
Available swap space = 6649 Mbytes
Maximum vcpus for an HP-UX virtual machine = 2
Maximum vcpus for a Windows virtual machine = 2
Maximum vcpus for a Linux virtual machine = 2
Available entitlement for a 1 way virtual machine = 1399 Mhz
Available entitlement for a 2 way virtual machine = 699 Mhz
# hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State #VCPUs #Devs #Nets Memory Runsysid
==================== ===== ======= ========= ==============
vm00 1 HPUX On (OS) 1 4 1 4 GB 0
vm01 2 HPUX On (OS) 1 4 1 9 GB 0
The VMGUEST Creation done then u create the
same VGs,LVs & mount points.
Restore the Data from Backup
Thanks
Vinod Kumar Yadav
Jai Shiv Shankar