[DRBD-user] Secondary node io-error

Lars Ellenberg lars.ellenberg at linbit.com
Mon Oct 8 10:55:10 CEST 2012

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


On Sat, Oct 06, 2012 at 01:08:43PM +0000, Velayutham, Prakash wrote:
> Hi,
> 
> I recently got a DRBD (8.4.2-2) cluster up (still testing). It seems to work nicely with Pacemaker CRM in several scenarios I have tested. Here is my config.
> 
> global {
>                 usage-count     yes;
> }
> 
> common {
>         handlers {
>                 outdate-peer    /usr/lib/drbd/crm-fence-peer.sh;
>                 fence-peer      /usr/lib/drbd/crm-fence-peer.sh;
>                 after-resync-target     /usr/lib/drbd/crm-unfence-peer.sh;
>                 local-io-error "/usr/lib/drbd/notify-io-error.sh; /usr/lib/drbd/notify-emergency-shutdown.sh; echo o > /proc/sysrq-trigger ; halt -f";
>                 split-brain "/usr/lib/drbd/notify-split-brain.sh root";
>         }
> 
>         startup {
>                 degr-wfc-timeout        0;
>         }
> 
>         net {
>                 shared-secret   1QP69G4kWDslx2TMiaEStI6bwaGH5y8d;
>                 after-sb-0pri discard-zero-changes;
>                 after-sb-1pri discard-secondary;
>                 after-sb-2pri disconnect;
>         }
> 
>         disk {
>                 on-io-error     call-local-io-error;
>                 fencing resource-and-stonith;
>         }
> 
> }
> 
> The io-error handler only gets called when the primary node has a disk
> issue. I have not seen the secondary node call the "local-io-error"
> handler when it had disk access issues. Is this by design?

No.

"Works for me", though.

Can you please double check?
And if in fact you can reproduce, tell us how, including logs?


Thanks,

-- 
: Lars Ellenberg
: LINBIT | Your Way to High Availability
: DRBD/HA support and consulting http://www.linbit.com

DRBD® and LINBIT® are registered trademarks of LINBIT, Austria.
__
please don't Cc me, but send to list   --   I'm subscribed



More information about the drbd-user mailing list