From cbd2d18e8481f7ec1dbbfb57e589c8c92af4263e Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Tue, 7 Nov 2023 10:36:38 +0100 Subject: [PATCH] disable susTkOver and susChkSrv by default --- form.yml | 4 ++-- hana/ha_cluster.sls | 4 ++-- pillar.example | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/form.yml b/form.yml index 02c9e5f..ed68fd8 100644 --- a/form.yml +++ b/form.yml @@ -60,12 +60,12 @@ hana: ha_dr_sustkover_enabled: $name: Enable HANA HA/DR provdider hook susTkOver $type: boolean - $default: true + $default: false $help: See https://documentation.suse.com/sbp/all/single-html/SLES4SAP-hana-sr-guide-PerfOpt-15/#cha.s4s.hana-hook for details. ha_dr_suschksrv_enabled: $name: Enable HANA HA/DR provdider hook susChkSrv $type: boolean - $default: true + $default: false $help: See https://documentation.suse.com/sbp/all/single-html/SLES4SAP-hana-sr-guide-PerfOpt-15/#cha.s4s.hana-hook for details. ha_dr_suschksrv_action_on_lost: $name: Configure "Action on lost" for HANA HA/DR provider hook susChkSrv diff --git a/hana/ha_cluster.sls b/hana/ha_cluster.sls index 7cc4914..5b602a2 100644 --- a/hana/ha_cluster.sls +++ b/hana/ha_cluster.sls @@ -37,8 +37,8 @@ install_SAPHanaSR: {% set sustkover_hook = hook_path + '/susTkOver.py' %} {% set suschksrv_hook = hook_path + '/susChkSrv.py' %} -{% set sustkover_hook_enabled = True %} -{% set suschksrv_hook_enabled = True %} +{% set sustkover_hook_enabled = False %} +{% set suschksrv_hook_enabled = False %} {% set suschksrv_hook_action_on_lost = 'stop' %} {% if hana.ha_dr_sustkover_enabled is defined %} {% set sustkover_hook_enabled = hana.ha_dr_sustkover_enabled %} diff --git a/pillar.example b/pillar.example index f72b41c..fa94f8a 100644 --- a/pillar.example +++ b/pillar.example @@ -46,10 +46,10 @@ hana: # HANA HA/DR provider configuration # See https://documentation.suse.com/sbp/all/single-html/SLES4SAP-hana-sr-guide-PerfOpt-15/#cha.s4s.hana-hook for details. # The SAPHanaSR hook is always enabled. - # disable susTkOver hook (enabled by default) - #ha_dr_sustkover_enabled: false - # disable susChkSrv hook (enabled by default) - #ha_dr_suschksrv_enabled: false + # enable susTkOver hook (disabled by default) + #ha_dr_sustkover_enabled: true + # enable susChkSrv hook (disabled by default) + #ha_dr_suschksrv_enabled: true # susChkSrv action on lost, see `man 7 susChkSrv.py` (Options: stop [default], fence) #ha_dr_suschksrv_action_on_lost: 'fence'