Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.


  Search this Thread
Old 02-18-2010, 06:11 PM   #1
Registered: Jan 2010
Posts: 42

Rep: Reputation: 15
Xen and multipathing to SAN within VMs.

I am in an interesting situation and uncertain about the optimal or safe way to proceed.

I have a client that has a physical server that is set up with OVM. (Basically Xen, supported by Oracle.) I have set up two HBAs on the physical server, and can see all 140+ paths to all their SAN luns. Those paths show up as /dev/sd* devices.

Also, for now, I set up multipathing on the physical host. So we have all sorts of nice device files in /dev/mapper that map to the LUNs. I can easily undo that if need be.

Do I want to attempt to make the /dev/mapper/* files visible to the guest OSes? (If so, I'm wondering if there's a risk of the VMs attempting to start before the /dev/mapper/* files appear on the physical host.)

OR, is the correct methodolgy simply to make all /dev/sd* devices available to each guest OS, and set up multipathing individually on each guest OS? (It's okay with multiple hosts writing to the same LUN - Oracle manages all of that. There's no mounting of ext3 filesystems to multiple hosts going on here.)

I'm completely new to Xen. Any suggestions or warnings greatly appreciated!

Last edited by larold; 02-18-2010 at 06:12 PM. Reason: Typo in title.
Old 02-24-2010, 03:32 PM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,986
Blog Entries: 14

Rep: Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187Reputation: 1187
Haven't done this at all but was curious.

Based on document I found on EMC PowerLink for PowerPath their procedure seems to be to create the the multipath device in the Xen base then allocate that multipath device to the Xen virtual hosts you create. There's more to it than that in their document but I think that answers your base question.

You didn't say what you're using for multipathing or what the array is.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Xen VMs for Development & Testing of Supercomputer and HPC Cluster MPICH Apps Teo En Ming Linux - Virtualization and Cloud 0 10-30-2009 06:45 AM
installing Lan Card driver with xen kernel amit_kalipur Linux - Server 0 04-10-2009 07:05 AM
LXer: How To Convert Physical Systems And Xen VMs Into OpenVZ Containers (Debian Etch LXer Syndicated Linux News 0 01-16-2009 01:00 PM
LXer: Using Xen With LVM-Based VMs Instead Of Image-Based VMs (Debian Etch) LXer Syndicated Linux News 0 01-14-2009 08:20 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:31 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration