[dm-devel] Getting device-mapper failure notifications

Avishay Traeger avishay at stratoscale.com
Wed Feb 24 06:01:37 UTC 2016


On Wed, Feb 24, 2016 at 7:00 AM, Andy Grover <agrover at redhat.com> wrote:

> On 02/01/2016 11:07 PM, Avishay Traeger wrote:
>
>> Hi all,
>> I have a system where various configurations are possible - iSCSI/FC,
>> single paths and multiple.  For multiple I of course use device-mapper.
>> I was wondering if it was possible to:
>> 1. use it for cases where I have a single path.
>> 2. create a monitoring process that can take some action (e.g., send a
>> notification via message queue) in the case of some failure that would
>> normally cause failover.
>>
>
> Does dm-multipath support a single path? I don't know...
>
> but for your #2, dm-multipath publishes a uevent when a path fails, maybe
> the process could look for that? Using libudev?
>
> HTH -- Andy
>
>
Thanks for pointing me in the right direction Andy!

-- 
*Avishay Traeger, PhD*
*System Architect*

Mobile: +972 54 447 1475
E-mail: avishay at stratoscale.com



Web <http://www.stratoscale.com/> | Blog <http://www.stratoscale.com/blog/>
 | Twitter <https://twitter.com/Stratoscale> | Google+
<https://plus.google.com/u/1/b/108421603458396133912/108421603458396133912/posts>
 | Linkedin <https://www.linkedin.com/company/stratoscale>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/dm-devel/attachments/20160224/401cb16a/attachment.htm>


More information about the dm-devel mailing list