Operating System - HP-UX
1826451 Members
4125 Online
109692 Solutions
New Discussion

Is it possible to boot VM guests from SAN ?

 
SOLVED
Go to solution
Pulse001
Regular Advisor

Is it possible to boot VM guests from SAN ?

Hi All,

I have a BL870c Integrity Blade. is it possible to create VM's in this and use SAN disks to boot the guest VM's ? I have 4 HDD's and 4 cores in BL870c and i want to create 6 VM's in it. So i want to use LUN's from SAN storage box to boot the guest VM's.

is this possible to do ?

Thanks in advance.
8 REPLIES 8
Torsten.
Acclaimed Contributor

Re: Is it possible to boot VM guests from SAN ?

In general yes, it is.

What is your version of HPVM?

Up to version 3.5 you need multipathing software if you want to use raw disks as backing store, otherwise IMHO the best is to use LVM lvols and present them to the guests.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pulse001
Regular Advisor

Re: Is it possible to boot VM guests from SAN ?

Torsten i am using HPVM 4.0 . If i present logical volumes to VM guest it will be like
disk:scsi::lv:/dev/vg01/rlvol1 from VM host.

So exactly what file i will see on VM guest ? How to specify that while installing OS ?
Torsten.
Acclaimed Contributor
Solution

Re: Is it possible to boot VM guests from SAN ?

This should work without problems.

The guest see the disk as a normal scsi disk, identifier will be "virtual LV disk".

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Pulse001
Regular Advisor

Re: Is it possible to boot VM guests from SAN ?

Torsten so you mean disks will show normally as /dev/dsk/c#t#d# on VM guest ?

And one more doubt that even when i am presenting SAN disks to the VM, on command line while allocating to the guest i will still have to use "scsi" ?
Torsten.
Acclaimed Contributor

Re: Is it possible to boot VM guests from SAN ?

For the guest it is still a normal local scsi disk.

From host side you can present it either as scsi or avio (need to check if an LVOL can be avio too).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim Nelson
Honored Contributor

Re: Is it possible to boot VM guests from SAN ?

Concurring with Torsten.

The vGuest does not have a clue, see or care what the backingstore really is. The vHost takes care of the presentation to the vGuest.

A backingstore could be an iso file, lvol, raw disk, etc...

vGuest will always sees an atypical scsi device of some type.

example:
# ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
=======================================================================
disk 0 0/0/0/0.0.0 sdisk CLAIMED DEVICE HP Virtual FileDVD
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/0/0/0.1.0 sdisk CLAIMED DEVICE HP Virtual LvDisk
/dev/dsk/c0t1d0 /dev/dsk/c0t1d0s2 /dev/rdsk/c0t1d0 /dev/rdsk/c0t1d0s2
/dev/dsk/c0t1d0s1 /dev/dsk/c0t1d0s3 /dev/rdsk/c0t1d0s1 /dev/rdsk/c0t1d0s3
disk 2 0/0/0/0.2.0 sdisk CLAIMED DEVICE HP Virtual LvDisk
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 3 0/0/0/0.3.0 sdisk CLAIMED DEVICE HP Virtual LvDisk
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 4 0/0/0/0.4.0 sdisk CLAIMED DEVICE HP Virtual LvDisk
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 5 0/0/0/0.5.0 sdisk CLAIMED DEVICE HP Virtual LvDisk
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0

Olivier Masse
Honored Contributor

Re: Is it possible to boot VM guests from SAN ?

Yes it works, and I've been doing it a lot since HPVM 4.0 came out, using raw devices with the new storage stack (/dev/rdisk/diskXXXX). You'll get more performance than with the file backend, and it's simpler to manage than the LVM datastore. Don't forget to use AVIO if you can. Furthermore, every feature you're used to with a SAN (Busines Copy, CA, etc) can be done transparently as if it was a physical server.

Good luck
Pulse001
Regular Advisor

Re: Is it possible to boot VM guests from SAN ?

Thank you all for your knowledge sharing and guidance.