Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

/etc/multipath.conf for virtual Box

Y.RamletJul 7 2015 — edited Jul 8 2015

Oracle Linux 6.6

For testing purposes, I am going to create a  2 node RAC cluster (11.2) in Virtual Box. I am using shared disks provided by Virtualbox (not iSCSI). I have already created these disks and shared it. The partitions are visible in both nodes.

I understand that multipath is required only when you have multiple HBA cards (Failover). But, I am doing some testing for multipathing + udev combination to avoid using ASMLib ; hence using native multipathing functionality of Linux.

I have already installed multipath. But, multipath won't work without /etc/multipath.conf file.

# service multipathd start

Starting multipathd daemon:                                [  OK  ]

#

#

#

# multipath -ll

Jul 07 13:01:32 | /etc/multipath.conf does not exist, blacklisting all devices.

Jul 07 13:01:32 | A sample multipath.conf file is located at

Jul 07 13:01:32 | /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf

Jul 07 13:01:32 | You can run /sbin/mpathconf to create or modify /etc/multipath.conf

#

I gather that /etc/multipath.conf is vendor specific (Hitachi, EMC,..etc). But virtualbox is the vendor in this case

A sample /etc/multipath.conf is provided as shown above ( /usr/share/doc/device-mapper-multipath-0.4.9/multipath.conf )

Is this enough ? If not, where can i get a sample which is specific to VirtualBox's shared disk feature ?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 5 2015
Added on Jul 7 2015
5 comments
2,777 views