- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Xen Multipath Virtualization
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
Forums
Discussions
Discussions
Discussions
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
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
06-18-2009 06:01 PM
06-18-2009 06:01 PM
My question is this: Underneath the Oracle installation (which I did as Oracle DBA) we enter the world of how the multipathing can be designed, about which as an Oracle DBA I know not so much as I do about Oracle.
First, we did the devices using (deprecated) raw devices by making use of the various files in the /etc/udev/rules.d directory since there is no more "service rawdevices start" etc. We could have used dm-multipath though, and I'd like to do some prototyping of that on my Xen VM prototypes of our system using dm-multipath instead of rawdevices approach.
So what I am wondering about is this: I have done my shared disk on the domU's for rac this way: they are files on disk of this presentation type to the domU's:
disk = [ "tap:aio:/vtdev/rac1.img,xvda,w", "tap:aio:/vtdev/hdb,xvdb,!", "tap:aio:/vtdev/hdc,xvdc,!", "tap:aio:/vtdev/hdd,xvdd,!", "tap:aio:/vtdev/hde,xvde,!" ]
The disks with "!" as the last entry are the shared disks (the domU's access these as "shared raw"). This works fine for the RAC prototype.
Ok finally I think we come to what I am wondering about. First of all, what in fact is the "path" to these "raw disks" ? I'm trying to get a hand on the the rockledge of "multipath" so I'd like to start by understanding what is my "path" to these simple "shared disks". I am guessing these are "singlepath" devices and are not multipath. How, in the language of linux, can we describe, view the "path" to these simple "devices" (e.g. /dev/xvdd, /dev/xvde, etc.). Are there linux commands which can "show" me how we describe the "path" to these devices?
My next question is, can I somehow simulate with what I already have, "multipath" devices. Can I build "multiple paths" to these "shared files".
Also, have you any suggestions on how to create a "replica" of a "SAN" or any links you could point me to so that I could build under these RAC nodes "virtual" HBA's, SAN's, controllers, etc. that would allow us to emulate our actual physical hardware.
Currently ( I discussed this with the Linux Administrator) we are using IBM "RDAC" for our "multipath" and I verified using lsmod and "service dm_multipath status" that although dm_multipath rpm's are installed, the service is not on and all boot levels (chkconfig) have dm-multipath off so we are definitely not using dm for anything now.
I apologize for this kind of vague message. I'm just looking for general pointers where I can go to learn more about this and start to move in the direction of building a more authentic "virtual" structure underneath the domU's than just these files which are emulating raw devices.
Thanks in Advance,
Gil Standen
HP CWO Consultant
NYC
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 07:41 PM
06-18-2009 07:41 PM
Re: Xen Multipath Virtualization
http://www.ibm.com/developerworks/linux/library/l-multipath-xen/?ca=dgr-lnxw16RedHatLinuxXenp&S_TACT=105AGX59&S_CMP=GR
Thoughts? The only thing remaining really given this great roadmap at the above URL is to create a "simulated" IBM DS4800 in the sense of just simulating the existence of the 3 LUNS. Any thoughts on that? Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 11:05 PM
06-18-2009 11:05 PM
SolutionIn other scenarios we have used SSSU to create snapclones/snapshots of datasets. Instead of using dm-multipath, we have used Qlogic FC HBAs with their built-in failover mode, and setup multiple paths to the disks at the switch/SAN level. - This has worked really well for us, and has also given us the added benefit of being able to use Continous Access to replicate data between 'live' and DR site with no service interruptions.
Hope this helps.
regards
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2009 11:23 PM
06-18-2009 11:23 PM
Re: Xen Multipath Virtualization
I've looked over the link you provided, and the tests that the guy does are basically the same ones I created for the environment I have here. The only difference in my configuration is that I'm running SLES 10 SP2 not redhat. I found a link on google that details an issue with using the failover mode on a Qlogic FC HBA in conjuntion with dm-multipath. What I saw happening was that the failover only appeared to work one way, and then once the path was available again the filesystem remained locked as readonly and required a reboot to cure this. Not sure if this problem is particular to just SLES10/Qlogic/dm-multipath, but thought it may be worth a mention.
regards
Matt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2009 07:01 AM
06-19-2009 07:01 AM
Re: Xen Multipath Virtualization
# INTERNAL SCSI HBA
scsi0.present = "TRUE"
scsi0.virtualDev = "lsilogic"
# HBAs attached to "shared disks"
scsi1.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.sharedBus = "virtual"
scsi2.present = "TRUE"
scsi2.virtualDev = "lsilogic"
scsi2.sharedBus = "virtual"
# shared bus setting
diskLib.dataCacheMaxSize = "0"
diskLib.dataCacheMaxReadAheadSize = "0"
diskLib.dataCacheMinReadAheadSize = "0"
diskLib.dataCachePageSize = "4096"
diskLib.maxUnsyncedWrites = "0"
disk.locking=FALSE
# internal disk 1
scsi0:0.present = "TRUE"
scsi0:0.fileName = "dsk0-000001.vmdk"
scsi0:0.redo = ""
# internal disk 2
scsi0:1.present = "TRUE"
scsi0:1.fileName = "dsk1-000001.vmdk"
scsi0:1.redo = ""
# shared disk 1, via path1
scsi1:0.present = "TRUE"
scsi1:0.fileName = "D:\share\shared1.vmdk"
scsi1:0.redo = ""
scsi1:0.mode = "independent-persistent"
scsi1:0.deviceType = "disk"
# shared disk 1, via path2
scsi2:0.present = "TRUE"
scsi2:0.fileName = "D:\share\shared1.vmdk"
scsi2:0.redo = ""
scsi2:0.mode = "independent-persistent"
scsi2:0.deviceType = "disk"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2009 11:55 PM
06-21-2009 11:55 PM
Re: Xen Multipath Virtualization
this approach looks fine from the guest point of view. My only question (not being from an oracle house) is does it only need to be the raw devices that you need have multipathing setup on? are there filesystems that need to have a diverse route set to them?
regards
Matt