Skip to content

Commit 080f81e

Browse files
committed
Enhance indexserver configuration and update worker node kill conditions for HANA tasks
1 parent eef976b commit 080f81e

3 files changed

Lines changed: 7 additions & 1 deletion

File tree

src/modules/check_indexserver.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,12 @@ def check_indexserver(self) -> None:
112112
"path": "/hana/shared/myHooks",
113113
}
114114
},
115+
{
116+
"[ha_dr_provider_suschksrv]": {
117+
"provider": "susChkSrv",
118+
"path": "/usr/share/SAPHanaSR-ScaleOut",
119+
}
120+
},
115121
],
116122
OperatingSystemFamily.SUSE: [
117123
{

src/roles/ha_db_hana/tasks/primary-node-kill.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
when:
2323
- node_tier == "hana"
2424
- pre_validations_status == "PASSED"
25-
- saphanasr_provider | default('SAPHanaSR') == "SAPHanaSR-angi"
2625
block:
2726
- name: "Test Execution: Kill the primary node."
2827
when: ansible_hostname == cluster_status_pre.primary_node

src/roles/ha_db_hana/tasks/primary-worker-node-kill.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
- name: "Test Execution: Primary Worker Node Kill"
1212
ansible.builtin.include_tasks: "roles/ha_db_hana/tasks/includes/scaleout-worker-operation.yml"
13+
when: saphanasr_provider | default('SAPHanaSR') == "SAPHanaSR-angi"
1314
vars:
1415
hana_test_target_site_label: "primary"
1516
hana_test_target_worker_node: "{{ primary_worker_nodes | first | default('') }}"

0 commit comments

Comments
 (0)