Menu

#2542 osaf: Divide the safe reboot into two phases

5.17.11
fixed
None
enhancement
osaf
-
minor
False
2017-10-30
2017-08-02
No

As a simple solution to the problem described in [#2451], we can divide the safe reboot in the opensaf_reboot script into two phases: in the first phase we stop important OpenSAF services (especially IMM), and in the second phase we reboot the nodes. The full solution described in [#2451] can be implemented later as part of the enhanced cluster management.

Related

Tickets: #2451
Wiki: ChangeLog-5.17.11
Wiki: NEWS-5.17.11

Discussion

  • Anders Widell

    Anders Widell - 2017-08-02
    • status: accepted --> review
     
  • Anders Widell

    Anders Widell - 2017-10-30
    • status: review --> fixed
     
  • Anders Widell

    Anders Widell - 2017-10-30

    commit 5424b5152c88969edb813906de3e69dc92859dc4 (HEAD -> develop)
    Author: Anders Widell an..@..com
    Date: Mon Oct 30 15:52:21 2017 +0100

    clm: Call opensaf_reboot_prepare() so that fallback reboot will work [#2542]
    
    The fallback reboot mechanism requires write permission to the SysRq proc
    interface, so we must call opensaf_reboot_prepare() before daemonize() to make
    sure it works properly.
    

    commit 5736614dca5e1d224021bde5650556b0be88b64c
    Author: Anders Widell an..@..com
    Date: Mon Oct 30 15:52:21 2017 +0100

    base: Use fallback reboot when safe reboot fails [#2542]
    
    If the shutdown -r command fails, either by returning an error code immediately,
    or by not completing the reboot within one minute, we will call the failfast
    reboot mechanism to make sure the node reboots.
    

    commit cf1b581e1dc1771af2099787c041ca05efe6762c
    Author: Anders Widell an..@..com
    Date: Mon Oct 30 15:52:21 2017 +0100

    osaf: Divide the safe reboot into two phases [#2542]
    
    Divide the safe reboot in the opensaf_reboot script into two phases: in the
    first phase we stop important OpenSAF services (currently only IMM), and in the
    second phase we reboot the nodes.
    
     

Log in to post a comment.