Skip to content

Commit efcc867

Browse files
committed
Add HA functional tests for primary and secondary node failures to enhance cluster resilience
1 parent 0629524 commit efcc867

File tree

1 file changed

+90
-90
lines changed

1 file changed

+90
-90
lines changed

src/vars/input-api.yaml

Lines changed: 90 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -39,96 +39,96 @@ test_groups:
3939
migration.
4040
enabled: true
4141

42-
# - name: HA Functional Test- Primary Node Crash
43-
# task_name: primary-node-crash
44-
# description: |
45-
# The Primary Index Server Crash test simulates cluster behavior when the HANA index server
46-
# crashes on the primary node. It simulates an index server failure by forcefully terminating
47-
# the process, then verifies automatic failover to the secondary node, monitors system
48-
# replication status, and confirms service recovery without data loss.
49-
# enabled: true
50-
51-
# - name: HA Functional Test- Block Network Communication
52-
# task_name: block-network
53-
# description: |
54-
# The Block Network test validates cluster behavior during network partition scenarios by
55-
# implementing iptables rules to block communication between primary and secondary HANA nodes.
56-
# It verifies split-brain prevention mechanisms, validates proper failover execution when nodes
57-
# become isolated, and ensures cluster stability and data consistency after network
58-
# sconnectivity is restored.
59-
# enabled: true
60-
61-
# - name: HA Functional Test- Crash index server on primary node
62-
# task_name: primary-crash-index
63-
# description: |
64-
# The Primary Index Server Crash test validates high availability behavior by forcefully
65-
# terminating the HANA index server process on the primary node. This simulates a critical
66-
# service failure, triggering automatic failover to the secondary node. The test verifies
67-
# proper failover execution, ensures data consistency, and validates service restoration after
68-
# recovery.
69-
# enabled: true
70-
71-
# - name: HA Functional Test- Primary Node Kill
72-
# task_name: primary-node-kill
73-
# description: |
74-
# The Primary Node Kill test validates cluster behavior by forcefully terminating all HANA
75-
# processes on the primary node using SIGKILL signal. This simulates an abrupt service failure,
76-
# triggering automatic failover to the secondary node. The test verifies proper promotion of
77-
# secondary to primary, ensures data consistency, and validates complete cluster recovery.
78-
# enabled: true
79-
80-
# - name: HA Functional Test- Echo B on Primary Node
81-
# task_name: primary-echo-b
82-
# description: |
83-
# The Primary Echo B test simulates an immediate system crash on the primary HANA node by
84-
# executing the 'echo b' command to trigger an abrupt reboot without proper shutdown. This
85-
# tests the cluster's ability to handle unexpected primary node failures, validates proper
86-
# failover execution, and verifies data consistency after recovery.
87-
# enabled: true
88-
89-
# - name: HA Functional Test- Secondary Node Kill
90-
# task_name: secondary-node-kill
91-
# description: |
92-
# The Secondary Node Kill test examines cluster resilience by forcefully terminating HANA
93-
# processes on the secondary node using the kill -9 signal. The test validates that the primary
94-
# node maintains normal operation while the secondary node undergoes recovery, ensuring cluster
95-
# stability and proper data synchronization after the recovery process completes.
96-
# enabled: true
97-
98-
# - name: HA Functional Test- Echo B on Secondary Node
99-
# task_name: secondary-echo-b
100-
# description: |
101-
# The Secondary Echo B test simulates an uncontrolled system crash on the secondary HANA node
102-
# by executing the 'echo b' command, triggering an immediate reboot without proper shutdown
103-
# procedures. The test validates that the primary node maintains operation, verifies cluster
104-
# stability, and ensures system replication resumes correctly after the secondary node recovers.
105-
# enabled: true
106-
107-
# - name: HA Functional Test- Freeze File System on Primary Node
108-
# task_name: fs-freeze
109-
# description: |
110-
# The Filesystem Freeze test validates cluster behavior when the primary node's filesystem
111-
# becomes unresponsive. It simulates a storage issue by freezing the filesystem on the primary
112-
# node running HANA database, which triggers automatic failover to the secondary node. The test
113-
# verifies proper cluster reaction, resource migration, and data consistency after recovery.
114-
# enabled: true
115-
116-
# - name: HA Functional Test- Test SBD Inquisitor kill
117-
# task_name: sbd-fencing
118-
# description: |
119-
# Validates cluster fencing mechanism by killing the SBD inquisitor process on the primary
120-
# node. Tests proper fence detection, node isolation, and automated failover to ensure cluster
121-
# integrity during hardware or communication failures.
122-
# enabled: true
123-
124-
# - name: HA Functional Test- Crash index server on secondary node
125-
# task_name: secondary-crash-index
126-
# description: |
127-
# The Secondary Index Server Crash test simulates failure of the HANA index server process on
128-
# the secondary node. It validates that the primary node continues normal operation while
129-
# verifying the cluster's ability to handle secondary failures, tests automatic recovery
130-
# mechanisms, and ensures system replication resumes properly after service restoration.
131-
# enabled: true
42+
- name: HA Functional Test- Primary Node Crash
43+
task_name: primary-node-crash
44+
description: |
45+
The Primary Index Server Crash test simulates cluster behavior when the HANA index server
46+
crashes on the primary node. It simulates an index server failure by forcefully terminating
47+
the process, then verifies automatic failover to the secondary node, monitors system
48+
replication status, and confirms service recovery without data loss.
49+
enabled: true
50+
51+
- name: HA Functional Test- Block Network Communication
52+
task_name: block-network
53+
description: |
54+
The Block Network test validates cluster behavior during network partition scenarios by
55+
implementing iptables rules to block communication between primary and secondary HANA nodes.
56+
It verifies split-brain prevention mechanisms, validates proper failover execution when nodes
57+
become isolated, and ensures cluster stability and data consistency after network
58+
sconnectivity is restored.
59+
enabled: true
60+
61+
- name: HA Functional Test- Crash index server on primary node
62+
task_name: primary-crash-index
63+
description: |
64+
The Primary Index Server Crash test validates high availability behavior by forcefully
65+
terminating the HANA index server process on the primary node. This simulates a critical
66+
service failure, triggering automatic failover to the secondary node. The test verifies
67+
proper failover execution, ensures data consistency, and validates service restoration after
68+
recovery.
69+
enabled: true
70+
71+
- name: HA Functional Test- Primary Node Kill
72+
task_name: primary-node-kill
73+
description: |
74+
The Primary Node Kill test validates cluster behavior by forcefully terminating all HANA
75+
processes on the primary node using SIGKILL signal. This simulates an abrupt service failure,
76+
triggering automatic failover to the secondary node. The test verifies proper promotion of
77+
secondary to primary, ensures data consistency, and validates complete cluster recovery.
78+
enabled: true
79+
80+
- name: HA Functional Test- Echo B on Primary Node
81+
task_name: primary-echo-b
82+
description: |
83+
The Primary Echo B test simulates an immediate system crash on the primary HANA node by
84+
executing the 'echo b' command to trigger an abrupt reboot without proper shutdown. This
85+
tests the cluster's ability to handle unexpected primary node failures, validates proper
86+
failover execution, and verifies data consistency after recovery.
87+
enabled: true
88+
89+
- name: HA Functional Test- Secondary Node Kill
90+
task_name: secondary-node-kill
91+
description: |
92+
The Secondary Node Kill test examines cluster resilience by forcefully terminating HANA
93+
processes on the secondary node using the kill -9 signal. The test validates that the primary
94+
node maintains normal operation while the secondary node undergoes recovery, ensuring cluster
95+
stability and proper data synchronization after the recovery process completes.
96+
enabled: true
97+
98+
- name: HA Functional Test- Echo B on Secondary Node
99+
task_name: secondary-echo-b
100+
description: |
101+
The Secondary Echo B test simulates an uncontrolled system crash on the secondary HANA node
102+
by executing the 'echo b' command, triggering an immediate reboot without proper shutdown
103+
procedures. The test validates that the primary node maintains operation, verifies cluster
104+
stability, and ensures system replication resumes correctly after the secondary node recovers.
105+
enabled: true
106+
107+
- name: HA Functional Test- Freeze File System on Primary Node
108+
task_name: fs-freeze
109+
description: |
110+
The Filesystem Freeze test validates cluster behavior when the primary node's filesystem
111+
becomes unresponsive. It simulates a storage issue by freezing the filesystem on the primary
112+
node running HANA database, which triggers automatic failover to the secondary node. The test
113+
verifies proper cluster reaction, resource migration, and data consistency after recovery.
114+
enabled: true
115+
116+
- name: HA Functional Test- Test SBD Inquisitor kill
117+
task_name: sbd-fencing
118+
description: |
119+
Validates cluster fencing mechanism by killing the SBD inquisitor process on the primary
120+
node. Tests proper fence detection, node isolation, and automated failover to ensure cluster
121+
integrity during hardware or communication failures.
122+
enabled: true
123+
124+
- name: HA Functional Test- Crash index server on secondary node
125+
task_name: secondary-crash-index
126+
description: |
127+
The Secondary Index Server Crash test simulates failure of the HANA index server process on
128+
the secondary node. It validates that the primary node continues normal operation while
129+
verifying the cluster's ability to handle secondary failures, tests automatic recovery
130+
mechanisms, and ensures system replication resumes properly after service restoration.
131+
enabled: true
132132

133133

134134
- name: HA_SCS

0 commit comments

Comments
 (0)