RE: Reducing amount of logmessages openiscsi/multipath [with md3000i]
-Original Message- He wants the RDAC hw handler and its path checker (rdac). The MD3000i is an LSI re-branded box and is the same as the IBM DS3300. You also want to make sure that you are using the md3000i hw handler or scsh_dh_module if you are not already. The dm-devel guys can help you out. Here is the multipath.conf he should be using for MD3000i (or for the DS3300 but will need to modify the vendor/model entry) # Note: The same as the IBM DS3300 # device { vendor DELL product MD3000i product_blacklist Universal Xport features1 queue_if_no_path path_grouping_policygroup_by_prio hardware_handler1 rdac path_checkerrdac priordac failbackimmediate } This fixed the problem, although a simple flush was not enough to activate the changes, so it took a bit longer to get the result I wanted. In the end I saw that it was still using the direction path_checker and noticed that you cannot change the 'path_checker' on the fly with just a multipath -F / -v 2, but that a reload of the modules was needed. $ multipath -ll webdata (36001ec9000d16311067f484e260c) dm-0 DELL,MD3000i [size=2.0T][features=0][hwhandler=1 rdac] \_ round-robin 0 [prio=1000][active] \_ 0:0:0:0 sda 8:0 [active][ready] \_ round-robin 0 [prio=1][enabled] \_ 1:0:0:0 sdb 8:16 [active][ready] \_ round-robin 0 [prio=0][enabled] \_ 2:0:0:0 sdc 8:32 [active][ghost] \_ 3:0:0:0 sdd 8:48 [active][ghost] That is the output of multipath now, and no more spam in my syslog or dmesg. (The different priorities you see are because the second path (with a prio of 1) is a longer path through 1 more switch, so I'd rather not give it a high priority, and if the '1000' path fails, it just uses the '1' path.) A big thanks to everyone who directed me on the right path ;) -kees --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Re: Reducing amount of logmessages openiscsi/multipath
So my questions: - Is there a way to suppress those messages, either in the iscsi programs or in multipath? Yes. Add this in your multipath.conf file: # device { vendor DELL product MD3000i product_blacklist Universal Xport features1 queue_if_no_path path_grouping_policygroup_by_prio hardware_handler1 rdac path_checkerrdac priordac failbackimmediate } If you are using a SLES10 SP2 version or the mainline one. I don't know if the Red Hat version in RHEL5 has been updated to have the 'rdac' path checker. - If that fails, is it possible to tweak multipath in such a way that it doesn't check the two failed paths, unless there is no other path available? These two paths should become available only if the main controller dies. The above configuration file does that. Thanks in advance, Kees Hoekzema --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---
Re: Reducing amount of logmessages openiscsi/multipath [with md3000i]
On Tue, Aug 19, 2008 at 12:20:05PM -0500, Mike Christie wrote: Kees Hoekzema wrote: Hello List, I am adding the dm-devel list. I think you want different settings in your multipath conf. For example it looks like you are using directio to test paths and you want TUR or the md3000i specific one which does not cause IO errors to passive paths. He wants the RDAC hw handler and its path checker (rdac). The MD3000i is an LSI re-branded box and is the same as the IBM DS3300. You also want to make sure that you are using the md3000i hw handler or scsh_dh_module if you are not already. The dm-devel guys can help you out. Here is the multipath.conf he should be using for MD3000i (or for the DS3300 but will need to modify the vendor/model entry) # Note: The same as the IBM DS3300 # device { vendor DELL product MD3000i product_blacklist Universal Xport features1 queue_if_no_path path_grouping_policygroup_by_prio hardware_handler1 rdac path_checkerrdac priordac failbackimmediate } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to open-iscsi@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/open-iscsi -~--~~~~--~~--~--~---