Results 1 to 3 of 3

Thread: sbd fencing to shutdown and NOT restart the node in cluster

  1. #1

    sbd fencing to shutdown and NOT restart the node in cluster

    Hi Everyone,

    I have configured a pacemaker stonith fencing agent using sbd (Cluster is on SLES 12 SP3).
    The watchdog used is softdog.

    The crm property is set as stonith-action="poweroff"

    But still each time there is an action triggered (for e.g. in case of interface going down) for sbd, it reboots the node instead of shutdown of the node.
    The poweroff option is not working as expected.

    Is there any other option that needs to be set or any other parameter that would make this work!

    Thanks ahead!

  2. #2

    Re: sbd fencing to shutdown and NOT restart the node in clus

    Try using "stonith-action=off" instead.
    "poweroff" is a legacy option and its likely using the default of "reboot" as a result.

    https://clusterlabs.org/pacemaker/do...r-options.html

  3. Re: sbd fencing to shutdown and NOT restart the node in clus

    Quote Originally Posted by pri14bal View Post
    Hi Everyone,

    I have configured a pacemaker stonith fencing agent using sbd (Cluster is on SLES 12 SP3).
    The watchdog used is softdog.

    The crm property is set as stonith-action="poweroff"

    But still each time there is an action triggered (for e.g. in case of interface going down) for sbd, it reboots the node instead of shutdown of the node.
    The poweroff option is not working as expected.

    Is there any other option that needs to be set or any other parameter that would make this work!

    Thanks ahead!
    Can you provide the stonith resource configuration?
    Code:
    crm configure show <sbd_resource>
    You can view the meta even for stonith devices via(note, take the device type from cluster configuration and replace below):
    Code:
    crm ra  classes
    crm ra  list stonith
    crm ra info stonith:<type-of-stonith-device>
    Most probably you haven't defined what the SBD should do and it takes 'reboot' as default.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •