Forums

Home / Forums

You need to log in to create posts and topics. Login · Register

About multipath

There were some discussion about rbd over multipath iscsi on ceph maillist.

It seems Active/Active multipath can cause data corruption in some corner cases.

I am a newbie to iscsi so maybe my question is kinda stupid:P

1.Is that right the multipath can be achieved on one node with multiple NICs and multiple node with the same rbd?

2.Is Active/Active multipath with the same node with the same rbd  perfectly safe?Is the the problem only Active/Active

3.Is Active/Passive multipath with different node and the same rbd safer than Active/Active multipath?Is rbd exclusive lock needed?Can petasan support acitve/passive multipath?

 

If you wish to use active/passive, you just need to setup your multipath configuration on the client side to be active/passive. you do not need exclusive lock.

I see.

Is it safe to use active/active multipath with paths on different nodes?

yes it is safe

Is it true the multipath patched kernel is only needed for iscsi node? Does the osd need the patched kernel to support multipath?

 

Yes the kernel is only needed for iSCSI gateway. The osd does not need this kernel. We have a patched osd to support vmware commands sent from kernel client, but if you do no use vmware you do not need these changes either.

I see.Thank you.

Another thing I can't figure out is to achieve active/active multipath across nodes. Do the targets need to communicate with echo other? How do they communicate?

Regular communication is from client initiator to targets, the client controls this. In few cases the target nodes communicate among themselves, this is done via ceph watch/notify notifications and writing attributes to the rbd object header.

So targets themselves don't communicate directly.The communication is done via ceph.

Thank you, I now have more understanding about how petasan's multipath works now.