- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migration of a Physical Server to Virtual Machine
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 09:36 AM
тАО07-21-2009 09:36 AM
So I am planning to get a BL860C and create couple of VM's on with ..
Could you gurus guide me on how to do this...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 10:14 AM
тАО07-21-2009 10:14 AM
SolutionFor 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 11:54 AM
тАО07-21-2009 11:54 AM
Re: Migration of a Physical Server to Virtual Machine
Could you please Attach the above as a Notepad cos most of the commands got messed up due to copy/paste..
Thank you so much
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 12:07 PM
тАО07-21-2009 12:07 PM
Re: Migration of a Physical Server to Virtual Machine
The VMGUEST Creation on the Blade Server is based on the Hardware Capacity RAM & CPU.
Please find the attached for creation of VM
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 12:24 PM
тАО07-21-2009 12:24 PM
Re: Migration of a Physical Server to Virtual Machine
As a single VM is can run on as little as 5% of a CPU core , in theory a BL860 with 4 cores could support up to 80 VMs (max of 4 cores in a BL860c so 400/5=80)
Of course a VM which is only entitled to 5% of one CPU core isn't going to run particularly fast, and in reality the real limitation is memory - you can't really run a HP-UX OS instance in less than 2GB of memory these days and that's before you run any application on the OS as well - so figure out how much memory you need for your VMs, and that will probably give you your limit (remember to keep memory for the VM host as well - can't remember how much but I'm sure its in the documentation...)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2009 08:56 PM
тАО07-21-2009 08:56 PM
Re: Migration of a Physical Server to Virtual Machine
Creating Integrity Virtual machine
==============================
1) Collect all system Informations
==================================
>Processor/Memory
-----------------
#machinfo
>Storage
-----------------
#ioscan -fnC disk
>Network adapters -LAN
-----------------
#ioscan -fnC lan
#netstat -in
2) Install HPVM software
========================
#swinstall -s
Integrity VM is installed in the /var/opt/hpvm directory.
Data files are installed under the /var/opt/hpvm directory.
Commands are installed in the /opt/hpvm/bin directory.
3) Verify the installation
=========================
#hpvminfo
4) Create Virtual switch
========================
Note: Before creating VM guest we need to create Virtual Switch
i) Identify the Network adapters which can be used as shared virtual switch and create it
with the following command.
#hpvmnet -c -S
Eg.#hpvmnet -c -S vsw1 -n1
ii)Verify Virtual switch by following command.
#hpvmnet -v >>>>it will show virtual switch is down.
iii)Start Virtual switch and verify,
#hpvmnet -S
#hpvmnet -v >>>Now it will be up.
#hpvmnet -c -S vsw1 -n2 >>> Creating virtual switch with name vsw1 and with LAN card 2.
#hpvmnet
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
vsw1 2 Down Shared lan2
====
#hpvmnet -S vsw1 -b >>> Start Virtual swicth vsw1
#hpvmnet
Name Number State Mode PPA MAC Address IP Address
======== ====== ======= ========= ====== ============== ===============
localnet 1 Up Shared N/A N/A
vsw1 2 Up Shared lan2 0x00127943e5dc
====
5) Creating VM Guests
======================
#hpvmcreate -P guest1 -c1 -r4G -a network:lan::vswitch:vsw1
-a disk:scsi::disk:scsi::disk:/dev/rdsk/c2t0d0 -O HPUX -a dvd:scsi::file:/ISO_IMAGES/B.11.23.iso
where as,
Guest name ==> guest1
No.of processors assigned ==> 1
(Note:We can assign with respect % as well)
Memory ==> 4GB
Virtual swicth ==> vsw1
Storage/Disk ==> /dev/rdsk/c2t0d0
(Note: We can assign Logical volume also as a disk)
Removable Media ==> ISO file
(This we can use as a bootable DVD to install HP-UX)
Operating system ==> HP-UX
(Note: We can install WINDOWS and Linux as well)
6) Verify the VM guests
======================
#hpvmstatus
[Virtual Machines]
Virtual Machine Name VM # OS Type State # vCPUs # Devs # Nets Memory
==================== ===== ======= ======== ======= ====== ====== ===========
guest1 2 HPUX On 1 2 1 4 GB
#hpvmstatus -P guest1
[Virtual Machine Details]
Virtual Machine Name VM # OS Type State
==================== ===== ======= ========
guest1 2 HPUX On
[Authorized Administrators]
Oper Groups:
Admin Groups:
Oper Users:
Admin Users:
[Virtual CPU Details]
Number Entitle
vCPUs Type Entitlement Maximum
====== ======= =========== =======
1 percent 5.0% 100.0%
[Memory Details]
Total Reserved
Memory Memory
=========== ===========
4 GB 64 MB
[Storage Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
====== ========== === === === === === ========= =========================
disk scsi 0 1 0 0 0 disk /dev/rdsk/c2t0d0
dvd scsi 0 1 0 1 0 file /ISO_IMAGES/B.11.23.iso
[Network Interface Details]
Interface Adaptor Name/Num Bus Dev Ftn Mac Address
========= ========== ========== === === === =================
vswitch lan vsw1 0 0 0 5a-7f-49-46-29-b8
[Misc Interface Details]
Guest Physical
Device Adaptor Bus Dev Ftn Tgt Lun Storage Device
====== ========== === === === === === ========= =========================
serial com1 tty console
7) Booting VM Guests
=====================
#hpvmstart -P guest1 >>>It will start guest1
8) Logging to the VM guest console
=================================
#hpvmconsole -P guest1
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
[guest1] vMP>
9) Installing Operating system on the guests
===========================================
There are three methods to install Operating system
a) From local DVD as Virtual DVD.
>>>For this we need to assign DVD drive to guest1 and insert DVD and boot from
DVD from EFI manager.
#hpvmmodify -P guest1 -a dvd:scsi::disk:/dev/rdsk/c0t0d0 >>>assigning DVD.
b) From local file as Virtual DVD.
>>>For this we should have a copy of OS ISO image copied to the VM host.
Assign the local ISO file as DVD to guest1, then boot from it.
#hpvmmodify -P guest1 -a dvd:scsi::file:/ISO_IMAGES/B.11.23.iso
c) From Ignite-UX server.
Refer following links for more informations,
http://docs.hp.com/en/T2767-90067/T2767-90067.pdf
http://docs.hp.com/en/T2767-90141/T2767-90141.pdf
Regards
-----------
LIJEESH N G
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-22-2009 01:09 PM
тАО07-22-2009 01:09 PM