[Devel] [PATCH RHEL7 COMMIT] config.OpenVZ: enable fencing watchdog for HA cluster support

Konstantin Khorenko khorenko at virtuozzo.com
Wed Nov 18 04:07:41 PST 2015


The commit is pushed to "branch-rh7-3.10.0-229.7.2.vz7.9.x-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-229.7.2.vz7.9.10
------>
commit d4e809c421b86c2d3395eadf9188bece066dd37e
Author: Konstantin Khorenko <khorenko at virtuozzo.com>
Date:   Wed Nov 18 16:05:13 2015 +0400

    config.OpenVZ: enable fencing watchdog for HA cluster support
    
    +CONFIG_FENCE_WATCHDOG=y
    
    /dev/watchdog "softdog" is really close but it has several problems:
    - no shutdown action
    - no network blocking action
    - can not get timeout and timeleft
    - set timeout through ioctl only
    - set action in module load parameters only
    - our userspace(shaman) is using our interface
    
    so it is easier to port our watchdog.
    
    https://jira.sw.ru/browse/PSBM-40736
    
    Signed-off-by: Konstantin Khorenko <khorenko at virtuozzo.com>
---
 configs/kernel-3.10.0-x86_64-debug.config | 2 ++
 configs/kernel-3.10.0-x86_64.config       | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/configs/kernel-3.10.0-x86_64-debug.config b/configs/kernel-3.10.0-x86_64-debug.config
index 648493e..0712942 100644
--- a/configs/kernel-3.10.0-x86_64-debug.config
+++ b/configs/kernel-3.10.0-x86_64-debug.config
@@ -5410,6 +5410,8 @@ CONFIG_BLK_DEV_CBT=y
 
 CONFIG_BLK_DEV_NBD=m
 
+CONFIG_FENCE_WATCHDOG=y
+
 #
 # User resources
 #
diff --git a/configs/kernel-3.10.0-x86_64.config b/configs/kernel-3.10.0-x86_64.config
index 1f22f37..2ce0f0a 100644
--- a/configs/kernel-3.10.0-x86_64.config
+++ b/configs/kernel-3.10.0-x86_64.config
@@ -5381,6 +5381,8 @@ CONFIG_LOGO_ODIN_CLUT224=y
 
 CONFIG_BLK_DEV_CBT=y
 
+CONFIG_FENCE_WATCHDOG=y
+
 #
 # User resources
 #


More information about the Devel mailing list