Skip to content

Commit

Permalink
disable susTkOver and susChkSrv by default
Browse files Browse the repository at this point in the history
  • Loading branch information
yeoldegrove committed Nov 7, 2023
1 parent cfc6599 commit cbd2d18
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions form.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions hana/ha_cluster.sls
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
8 changes: 4 additions & 4 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -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'

Expand Down

0 comments on commit cbd2d18

Please sign in to comment.