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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Setting up Multipath on iSCSI and OVM 3.2.4 or later

1544183Mar 31 2014 — edited Apr 3 2014

Hi all,

I really wanna try on multipath setup for iSCSI storage.  I'm using OVM 3.2.4.  I ran OVM and OVS as virtualbox images.  I turned on OVM iSCSI and setup some targets.  I would like to know whether my config is right.

1) OVM (Oracle VM Manager):

two virtual network cards: 10.1.1.101 and 192.168.57.101

I created a virtual disks as /dev/sdc and add it to target.conf:

<target iqn.ovm1.myoracle.com:ovm1.target1>

  backing-store /dev/sdc

</target>

2) OVS (Oracle VM Server):

I ran two times discovery:

iscsiadm --mode discoverydb --type sendtargets --portal 192.168.57.101:3260 --discover

iscsiadm --mode discoverydb --type sendtargets --portal 10.1.1.101:3260 --discover

then restart the scsi.  Now, I have discovered two devices: /dev/sdc and /dev/sdd

I checked multipath:

[root@ovs1 ~]# multipath -ll

1IET_00010001 dm-1 IET,VIRTUAL-DISK

size=2.0G features='0' hwhandler='0' wp=rw

|-+- policy='round-robin 0' prio=1 status=active

| `- 3:0:0:1 sdc 8:32 active ready running

`-+- policy='round-robin 0' prio=1 status=enabled

  `- 4:0:0:1 sdd 8:48 active ready running

Just wanna know whether this means the multipath is configured successfully.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 1 2014
Added on Mar 31 2014
4 comments
2,378 views