Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angi devel #270

Merged
merged 427 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
427 commits
Select commit Hold shift + click to select a range
39b6637
tester: angi-ScaleUp - fatal1.json, fatal2.json and sshtimeout.json a…
fmherschel Jul 24, 2024
b14fe49
tester: saphana_sr_test.py updated version string
fmherschel Jul 24, 2024
2d37f96
kill_prim_indexserver_fencing_alert.json kill_prim_worker_indexserver…
lpinne Jul 25, 2024
131e48b
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Jul 25, 2024
975cb98
tester: v 1.3.2
fmherschel Jul 26, 2024
ec12012
tester: saphana_sr_test.py - improved log format in case of dump_fail…
fmherschel Jul 26, 2024
a62f4b7
angi: SAPHanaSR-hookHelper - on action fence, kill hana first to avoi…
fmherschel Jul 26, 2024
5247aa8
tester: SAPHanaSR-testCluster - differ scaleUp,scaleOut and UNKNOWN t…
fmherschel Jul 26, 2024
2497c71
SAPHanaSR-tests-description_on-fail-fence.7: description
lpinne Jul 26, 2024
bb743de
angi: SAPHanaSR-hookHelper - added optional internal debugging of kil…
fmherschel Jul 26, 2024
8d50c67
kill_prim_indexserver_fencing.json kill_prim_inst.json kill_prim_inst…
lpinne Jul 27, 2024
87cd671
kill_prim_indexserver.json: aligned timeouts
lpinne Jul 27, 2024
74ee33d
kill_prim_node.json: aligned timeouts
lpinne Jul 27, 2024
c4cf5fa
kill_prim_node.json: aligned timeouts
lpinne Jul 27, 2024
6ca617f
tester: saphana_sr_test.py - fixed exit for fatal conditions and fixe…
fmherschel Jul 30, 2024
cb27c98
tester: package - v1.3.4
fmherschel Jul 30, 2024
beeb012
tester: saphana_sr_test.py - log number of failed role-checks in logfile
fmherschel Jul 30, 2024
94ce108
tester: saphana_sr_test.py - log number of failed role-checks (plus m…
fmherschel Jul 30, 2024
b6ca341
tester: angi-ScaleUp/standby_prim_node.json - fixed step20
fmherschel Jul 30, 2024
30d825f
010_basics_crm.txt: aligned stonith-timeout with SBD msgwait
lpinne Aug 1, 2024
30123d9
sct_test_delete_cluster_config: use cibadmin instead of crm because o…
fmherschel Aug 1, 2024
fef6308
tester: package - v1.3.5
fmherschel Aug 1, 2024
cc62bf4
kill_secn_indexserver_fencing_alert.json: sworker fenced
lpinne Aug 2, 2024
fb3cdbb
kill_prim_node_fencing_alert.json: pworker fenced, pmaster fenced
lpinne Aug 2, 2024
3ae092c
kill_prim_worker_node_fencing_alert.json: pworker fenced, pmaster fenced
lpinne Aug 2, 2024
27623da
freeze_prim_master_nfs_fencing_alert.json kill_prim_indexserver.json …
lpinne Aug 2, 2024
1dab3cb
kill_secn_indexserver_fencing_alert.json: smaster fenced, sworker fenced
lpinne Aug 2, 2024
075bb13
kill_prim_inst_fencing_alert.json: names
lpinne Aug 2, 2024
0d77d19
freeze_prim_master_nfs_fencing_alert.json kill_prim_indexserver_fenci…
lpinne Aug 2, 2024
0ccdf1c
kill_secn_worker_indexserver_fencing_alert.json: initial checkin
lpinne Aug 2, 2024
4473dec
SAPHanaSR-tests-angi-ScaleOut_on-fail-fence.7 SAPHanaSR-tests-descrip…
lpinne Aug 2, 2024
c3ffd29
kill_secn_worker_node_fencing_alert.json: initial checkin
lpinne Aug 2, 2024
999bf25
kill_secn_node_fencing_alert.json: initla checkin
lpinne Aug 2, 2024
c92dbb9
SAPHanaSR-tests-angi-ScaleOut_on-fail-fence.7: kill_secn_node_fencing…
lpinne Aug 2, 2024
2e05194
sct_test_delete_cluster_config sct_test_maintenance_cluster_hana_runn…
lpinne Aug 5, 2024
edc2ed2
kill_secn_node_fencing_alert.json kill_secn_worker_node_fencing_alert…
lpinne Aug 5, 2024
a50f302
kill_secn_node_fencing_alert.json kill_secn_worker_node_fencing_alert…
lpinne Aug 5, 2024
95babdc
kill_prim_node_fencing_alert.json: added some is None
lpinne Aug 5, 2024
db8b033
SAPHanaSR-tester.7: requirements
lpinne Aug 5, 2024
a31385a
kill_secn_indexserver_fencing_alert.json kill_secn_worker_indexserver…
lpinne Aug 5, 2024
00b2931
kill_prim_indexserver_fencing_alert.json kill_prim_node_fencing_alert…
lpinne Aug 5, 2024
d2df75f
kill_secn_worker_node_fencing_alert.json: begin recover
lpinne Aug 5, 2024
a0ebdd9
kill_secn_worker_node_fencing_alert.json kill_secn_node_fencing_alert…
lpinne Aug 5, 2024
38658a5
kill_secn_worker_indexserver_fencing_alert.json: begin recover
lpinne Aug 5, 2024
db09a1a
freeze_prim_master_nfs_fencing_alert.json: added takeover, alogned be…
lpinne Aug 5, 2024
adefa0e
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
9b8800b
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
c67bc7e
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
c626e24
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
ae58c52
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
3dac30e
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
652be71
freeze_prim_master_nfs_fencing_alert.json: step numbers
lpinne Aug 5, 2024
bfaf7f4
freeze_prim_master_nfs_fencing_alert.json: begin recovery
lpinne Aug 5, 2024
a3d9a3e
freeze_prim_master_nfs_fencing_alert.json: begin recovery
lpinne Aug 5, 2024
096a436
freeze_prim_master_nfs_fencing_alert.json: begin recovery
lpinne Aug 5, 2024
a5afda7
SAPHanaSR-alert-fencing.8: typo
lpinne Aug 6, 2024
4cde66b
SAPHanaSR_upgrade_to_angi.7: mentioned SAPHanaSR-alert-fencing
lpinne Aug 7, 2024
7f86a21
SAPHanaSR-upgrade-to-angi-demo.8: /usr/shared -> /usr/share
lpinne Aug 8, 2024
101a664
SAPHanaSR-alert-fencing.8: requirements
lpinne Aug 9, 2024
8aa0f91
SAPHanaSR-alert-fencing SAPHanaSR-alert-fencing.8: sudo is needed on …
lpinne Aug 9, 2024
dfaa6e9
SAPHanaSR-alert-fencing: fixed typos
lpinne Aug 10, 2024
21d4fc5
ango: man-page - removing training blanks
fmherschel Aug 12, 2024
e1e416f
angi: updating RA versin strings
fmherschel Aug 12, 2024
07937f6
SAPHanaSR-alert-fencing.8: requirements
lpinne Aug 14, 2024
67d2b52
tester: very simple test case to prove that moving the productive IP …
fmherschel Aug 16, 2024
aa61693
tester: sct_test_move_ip, ../tester/saphana_sr_test.py - new property…
fmherschel Aug 19, 2024
9a04fbc
SAPHanaSR_maintenance_examples.7: typo fixed
lpinne Sep 17, 2024
f91a92e
SAPHanaSR-alert-fencing.8: typos, wording
lpinne Sep 17, 2024
eb6f072
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Sep 18, 2024
8abfe87
freeze_secn_fs.json: fixed step 40
lpinne Sep 18, 2024
c51e285
sct_test_kill_prim_pacemaker sct_test_kill_secn_pacemaker: initial ch…
lpinne Sep 18, 2024
15b216c
kill_secn_pacemaker.json: initial checkin
lpinne Sep 18, 2024
6589bf8
angi-ScaleUp: fixed typo prerequitsites -> prerequisites
lpinne Sep 18, 2024
31d7c9f
kill_secn_pacemaker.json
lpinne Sep 18, 2024
f68d753
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Sep 18, 2024
26e13cc
SAPHanaSR-tests-angi-ScaleUp.7 SAPHanaSR-tests-classic-ScaleUp.7: des…
lpinne Sep 18, 2024
9e9d566
kill_secn_pacemaker.json: initial checkin for angi-ScaleOut, classic-…
lpinne Sep 18, 2024
a480e6b
SAPHanaSR-tests-angi-ScaleOut.7
lpinne Sep 18, 2024
bc0df15
kill_secn_pacemaker.json: initial checkin for classic-ScaleOut
lpinne Sep 18, 2024
32cd683
sct_test_kill_prim_worker_pacemaker sct_test_kill_secn_worker_pacemak…
lpinne Sep 18, 2024
e840e1b
kill_secn_pacemaker.json kill_secn_worker_pacemaker.json SAPHanaSR-te…
lpinne Sep 18, 2024
d25af13
angi-ScaleOut/kill_secn_pacemaker.json angi-ScaleUp/kill_secn_pacemak…
lpinne Sep 18, 2024
14f7153
SAPHanaSR-ScaleOut.7 SAPHanaSR.7 SAPHanaSR_maintenance_examples.7 ocf…
lpinne Sep 20, 2024
d4e5ac4
SAPHanaSR-ScaleOut.7: formatting
lpinne Sep 20, 2024
605f030
susHanaSR.py.7: nameserver.ini example
lpinne Sep 25, 2024
6294f45
kill_prim_pacemaker.json: initial checkin
lpinne Sep 26, 2024
12c4c8a
kill_secn_pacemaker.json: fixes, still not ready
lpinne Sep 26, 2024
fcede22
SAPHanaSR_basic_cluster.7: PCMK_fail_fast=yes, bsc #1229078
lpinne Sep 27, 2024
ac70ad2
SAPHanaSR-ScaleOut_basic_cluster.7 susHanaSR.py.7: nameserver.ini for…
lpinne Sep 27, 2024
8e07684
kill_secn_node.json: simplified by using pSiteUp
lpinne Sep 27, 2024
d908204
kill_secn_pacemaker.json: for PCMK_fail_fast=yes, like kill_secn_node…
lpinne Sep 27, 2024
47071cf
SAPHanaSR-tests-angi-ScaleUp.7 SAPHanaSR-tests-classic-ScaleUp.7 SAPH…
lpinne Sep 27, 2024
9f4dac7
purpose
lpinne Sep 27, 2024
21e7751
SAPHanaSR-tests-classic-ScaleUp.7 kill_prim_pacemkr-ctrld.json kill_s…
lpinne Sep 27, 2024
1128b9d
SAPHanaSR-tests-classic-ScaleUp.7 SAPHanaSR-tests-description.7 test/…
lpinne Sep 27, 2024
83ccb12
sct_test_kill_prim_pacemakerd sct_test_kill_secn_pacemakerd kill_prim…
lpinne Sep 27, 2024
7853e7e
sct_test_kill_prim_pacemakerd sct_test_kill_prim_pacemkr-ctrld sct_te…
lpinne Sep 27, 2024
6542308
kill_prim_pacemakerd.json kill_prim_pacemkr-ctrld.json kill_secn_pace…
lpinne Sep 27, 2024
adad9f8
classic-ScaleOut/kill_secn_pacemaker.json angi-ScaleUp/kill_secn_pace…
lpinne Sep 27, 2024
e61627e
kill_prim_pacemakerd.json kill_secn_pacemakerd.json: renamed from kil…
lpinne Sep 27, 2024
c9c0be9
classic-ScaleOut/kill_prim_pacemakerd.json classic-ScaleOut/kill_secn…
lpinne Sep 27, 2024
8dabec0
classic-ScaleUp/kill_prim_pacemakerd.json classic-ScaleUp/kill_secn_p…
lpinne Sep 27, 2024
e3834bd
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7
lpinne Sep 27, 2024
1bd5cf6
kill_secn_pacemkr-ctrld.json kill_prim_pacemkr-ctrld.json: initial ch…
lpinne Sep 27, 2024
5997888
SAPHanaSR-tests-description.7 SAPHanaSR-tests-description_on-fail-fen…
lpinne Sep 30, 2024
0a5ee3e
sct_test_kill_prim_worker_pacemakerd sct_test_kill_secn_worker_pacema…
lpinne Sep 30, 2024
e7c6e4b
kill_secn_worker_pacemakerd.json kill_prim_worker_pacemakerd.json kil…
lpinne Sep 30, 2024
0f0d5f5
kill_prim_pacemakerd.json kill_secn_pacemakerd.json: added worker
lpinne Sep 30, 2024
4a9a462
angi-ScaleUp/kill_secn_pacemkr-ctrld.json classic-ScaleUp/kill_secn_p…
lpinne Sep 30, 2024
a3b59a2
kill_secn_pacemkr-ctrld.json: added worker
lpinne Sep 30, 2024
74475ff
sct_test_kill_prim_worker_pacemkr-ctrld sct_test_kill_secn_worker_pac…
lpinne Sep 30, 2024
bdbe75f
kill_prim_pacemakerd.json kill_prim_worker_pacemakerd.json kill_secn_…
lpinne Sep 30, 2024
0125a6e
kill_secn_pacemkr-ctrld_fencing_alert.json: initial checkin
lpinne Sep 30, 2024
9a22b14
kill_secn_pacemkr-ctrld.json kill_secn_worker_pacemkr-ctrld.json: des…
lpinne Sep 30, 2024
652dda9
angi-ScaleOut: aligned description, names
lpinne Sep 30, 2024
10d20d0
kill_secn_pacemkr-ctrld.json kill_secn_pacemkr-ctrld_fencing_alert.js…
lpinne Sep 30, 2024
61827cf
kill_prim_pacemkr-ctrld.json kill_secn_pacemkr-ctrld.json: fixed lpt
lpinne Sep 30, 2024
1fa36b8
kill_secn_worker_pacemkr-ctrld_fencing_alert.json: initial checkin
lpinne Sep 30, 2024
cb26bf1
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleOut_on-fail…
lpinne Sep 30, 2024
6a411c4
SAPHanaSR-ScaleOut_basic_cluster.7 susHanaSR.py.7: nameserver.ini
lpinne Oct 1, 2024
1ace54c
SAPHanaSR-ScaleOut_basic_cluster.7 SAPHanaSR_basic_cluster.7: PCMK_fa…
lpinne Oct 1, 2024
417930a
SAPHanaSR-alert-fencing.8: PCMK_fail_fast
lpinne Oct 1, 2024
c63802f
SAPHanaSR-alert-fencing.8: PCMK_fail_fast
lpinne Oct 1, 2024
28c6900
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Oct 1, 2024
34e0843
SAPHanaSR-tests-basic-cluster.7: files section
lpinne Oct 1, 2024
cd839dc
SAPHanaSR-tests-basic-cluster.7: see also section
lpinne Oct 1, 2024
8e58a97
SAPHanaSR-testCluster.8 SAPHanaSR-tester.7: see also, formatting
lpinne Oct 1, 2024
6bf57a2
maintenance_with_standby_nodes.json standby_prim_node.json standby_se…
lpinne Oct 1, 2024
b643119
standby_prim_node.json: using defaults
lpinne Oct 1, 2024
876d827
standby_prim_node.json standby_secn_node.json maintenance_with_standb…
lpinne Oct 1, 2024
96e0757
kill_prim_node.json kill_secn_node.json maintenance_cluster_hana_runn…
lpinne Oct 1, 2024
23ec0c4
ocf_suse_SAPHana.7, ocf_suse_SAPHanaController.7: some options not ex…
lpinne Oct 18, 2024
633e9a9
susHanaSR.py.7: fixed grep
lpinne Oct 22, 2024
a2a7f39
global.ini_susChkSrv_fence: initial checkin
lpinne Oct 23, 2024
f58ce03
050_clone_con_fence_crm.txt: initial chekcin
lpinne Oct 23, 2024
23df88a
sct_test_unfreeze_secn_fs: initial checkin
lpinne Oct 23, 2024
605fab2
freeze_secn_fs.json: added sleep and unfreeze
lpinne Oct 23, 2024
f3070f5
sct_test_unfreeze_prim_fs: minor fix
lpinne Oct 23, 2024
24c336a
freeze_secn_fs.json
lpinne Oct 23, 2024
b033ce8
freeze_secn_fs.json
lpinne Oct 23, 2024
9149634
freeze_secn_fs.json
lpinne Oct 23, 2024
8e61e30
angi tester: bin - *freeze_secn_fs scripts to report node where the f…
fmherschel Oct 23, 2024
003cf8e
angi tester: freeze_secn_fs.json - fixed release post action
fmherschel Oct 23, 2024
cc8e56d
angi tester: freeze_secn_fs.json - adapted check rules
fmherschel Oct 23, 2024
25bc6a2
SAPHanaSR-tests-description.7
lpinne Oct 23, 2024
5cab010
angi tester: rename freeze_secn_fs.json to freeze_short_secn_fs.json …
fmherschel Oct 23, 2024
e61a67f
angi tester: rename freeze_secn_fs.json to freeze_short_secn_fs.json …
fmherschel Oct 23, 2024
75fc748
angi tester: freeze_long_secn_fs - new test case (very long runtime -…
fmherschel Oct 23, 2024
53b677f
angi tester: first tests with 'art'-flag which contains the aproximat…
fmherschel Oct 23, 2024
9dc7649
SAPHanaController-scale-out.7 SAPHanaController-scale-up.7 SAPHanaSR-…
lpinne Oct 28, 2024
93b484e
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Oct 28, 2024
65a71b7
SAPHanaSR-angi-scenarios.7: firt try
lpinne Oct 28, 2024
61dd74d
SAPHanaTopology.7 SAPHanaFilesystem.7: initial checkin
lpinne Nov 4, 2024
0ee091d
SAPHanaSR-angi-scenarios.7: table
lpinne Nov 4, 2024
df90267
SAPHanaSR-angi-scenarios.7: details, examples
lpinne Nov 4, 2024
0c26b22
SAPHanaSR-angi-scenarios.7: details, examples
lpinne Nov 4, 2024
1d7831c
SAPHanaSR-angi-scenarios.7: details, examples
lpinne Nov 4, 2024
cb7d98d
SAPHanaSR-angi-scenarios.7: variants
lpinne Nov 4, 2024
bd26014
SAPHanaSR-angi.7: SAPHanaSR-angi-scenarios(7)
lpinne Nov 4, 2024
9541175
SAPHanaSR-angi-scenarios.7: overview
lpinne Nov 4, 2024
b826f19
SAPHanaSR-angi-scenarios.7: overview
lpinne Nov 4, 2024
7ae67f1
SAPHanaSR-angi-scenarios.7: overview
lpinne Nov 4, 2024
3ac68c4
SAPHanaSR-angi-scenarios.7: syntax
lpinne Nov 4, 2024
76fe816
SAPHanaSR-angi-scenarios.7: table, details
lpinne Nov 5, 2024
a8ff4e0
SAPHanaSR-angi-scenarios.7: details on Undocumented
lpinne Nov 5, 2024
ac2c161
all json: fixed typo prerequitsits
lpinne Nov 5, 2024
44302b3
SAPHanaSR-angi-scenarios.7
lpinne Nov 5, 2024
315485b
SAPHanaSR-angi-scenarios.7: wording
lpinne Nov 6, 2024
9f49013
SAPHanaSR_upgrade_to_angi.7: mentioned hana_<sid>_glob_srMode
lpinne Nov 12, 2024
b59ebb6
SAPHanaSR_upgrade_to_angi.7: mentioned hana_<sid>_glob_srmode
lpinne Nov 12, 2024
c9cb570
SAPHanaSR-showAttr.8: hostname TODO
lpinne Nov 12, 2024
e126fec
SAPHanaSR_maintenance_examples.7: REQUIREMENTS
lpinne Nov 12, 2024
8083700
SAPHanaSR_basic_cluster.7: protective IPaddress2 config
lpinne Nov 14, 2024
d1ae4a6
kill_prim_inst.json: adapted step30 for 15sp6 and rev.074
lpinne Nov 18, 2024
7e2f4f7
kill_prim_inst.json: adapted step30 for 15sp6 and rev.074
lpinne Nov 18, 2024
b3bf541
kill_prim_indexserver.json kill_prim_inst.json kill_secn_inst.json ki…
lpinne Nov 18, 2024
c3844ce
split_brain_prio.json etc: failur detected loops=90
lpinne Nov 18, 2024
5460d17
free_log_area.json: purpose
lpinne Nov 18, 2024
f7c8e27
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Nov 18, 2024
3bc2e04
SAPHanaSR-tests-angi-ScaleUp.7 SAPHanaSR-tests-classic-ScaleUp.7: fix…
lpinne Nov 18, 2024
99b70f1
SAPHanaSR-tests-classic-ScaleUp.7: testcases
lpinne Nov 18, 2024
517f5b6
sct_test_kill_prim_ipaddr: initial checkin
lpinne Nov 18, 2024
9a9b79e
kill_prim_ipaddr.json: initial checkin
lpinne Nov 18, 2024
8f3101e
SAPHanaSR-tests-classic-ScaleUp.7: kill_prim_ipaddr
lpinne Nov 18, 2024
af490de
kill_prim_ipaddr.json: initial checkin
lpinne Nov 18, 2024
4e22f5e
SAPHanaSR-tests-angi-ScaleUp.7: kill_prim_ipaddr
lpinne Nov 18, 2024
dd892b8
sct_test_kill_prim_ipaddr: fixed
lpinne Nov 18, 2024
7391e25
sct_test_kill_prim_ipaddr: fixed
lpinne Nov 18, 2024
6de7961
kill_prim_ipaddr.json: fixes
lpinne Nov 18, 2024
87f4a58
kill_prim_ipaddr.json: initial checkin
lpinne Nov 19, 2024
1b975f0
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-description.7 SAPHana…
lpinne Nov 19, 2024
f242749
free_log_area.json kill_prim_indexserver.json kill_prim_indexserver_f…
lpinne Nov 19, 2024
a3d7c90
block_manual_takeover.json block_sr.json free_log_area.json kill_prim…
lpinne Nov 19, 2024
76ff6d7
block_manual_takeover.json block_sr.json free_log_area.json kill_prim…
lpinne Nov 19, 2024
817711f
SAPHanaSR-tests-syntax.5: pupose
lpinne Nov 19, 2024
95c5d16
SAPHanaSR-tests-syntax.5: pupose
lpinne Nov 19, 2024
562ac83
block_sr_and_freeze_prim_fs.json freeze_long_secn_fs.json freeze_prim…
lpinne Nov 19, 2024
4a9e10f
SAPHanaSR-tests-syntax.5: purpose
lpinne Nov 19, 2024
0c20a21
block_sr_and_freeze_prim_master_nfs.json freeze_prim_master_nfs.json …
lpinne Nov 19, 2024
0292ed2
sct_test_kill_prim_ipaddr
lpinne Nov 19, 2024
da4722a
SAPHanaSR_upgrade_to_angi.7: hana_<sid>_vhost not removed
lpinne Nov 20, 2024
eb56c47
SAPHanaSR_upgrade_to_angi.7: aligned scale-up, scale-out, angi, also …
lpinne Nov 20, 2024
1b1ea18
SAPHanaSR_basic_cluster.7: examples
lpinne Nov 21, 2024
6eca49c
SAPHanaSR-tester.7: requirements
lpinne Nov 23, 2024
e434b9d
SAPHanaSR-ScaleOut_basic_cluster.7 SAPHanaSR_basic_cluster.7: protect…
lpinne Nov 23, 2024
18454a1
SAPHanaSR-testCluster.8 --password
lpinne Nov 25, 2024
5727b78
SAPHanaSR-tests-syntax.5: purpose
lpinne Nov 25, 2024
efb7186
SAPHanaSR-tests-syntax.5: formatting
lpinne Nov 25, 2024
328f7ec
tester: tester/SAPHanaSR-testCluster, tester/saphana_sr_test.py: add …
fmherschel Nov 25, 2024
078405d
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Nov 25, 2024
605b6dc
block_sr.json: fixed missing ,
lpinne Nov 25, 2024
2a5ab30
sct_test_kill_secn_nameserver classic-ScaleUp/kill_secn_nameserver.js…
lpinne Nov 25, 2024
fb8b5d7
kill_prim_indexserver.json: step30 fix
lpinne Nov 25, 2024
6613a9c
kill_prim_indexserver.json: step30 fix
lpinne Nov 25, 2024
2382c58
kill_prim_indexserver.json: step30 fix
lpinne Nov 25, 2024
2492632
kill_prim_indexserver.json: step20 loops=120
lpinne Nov 25, 2024
af456c1
SAPHanaSR-tester.7: typo
lpinne Nov 26, 2024
a9eecbd
kill_prim_indexserver.json: step20
lpinne Nov 26, 2024
6f40f7f
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Nov 26, 2024
5f8b516
SAPHanaSR-tests-description.7: kill_secn_nameserver
lpinne Nov 26, 2024
baeb5f3
kill_secn_nameserver.json sct_test_kill_secn_nameserver: fixed
lpinne Nov 26, 2024
d8ea2c8
SAPHanaSR-tests-angi-ScaleUp.7 angi-ScaleUp/kill_secn_nameserver.json
lpinne Nov 26, 2024
06ec156
SAPHanaSR-tests-classic-ScaleUp.7 sct_test_kill_prim_nameserver class…
lpinne Nov 26, 2024
381454c
saphana_sr_test.py: added kill_prim_nameserver, kill_secn_indexserver
lpinne Nov 26, 2024
09fa484
kill_prim_nameserver.json kill_secn_nameserver.json: mentioned intern…
lpinne Nov 26, 2024
958e599
kill_prim_indexserver.json: fixed
lpinne Nov 26, 2024
154678a
SAPHanaSR-checkJson.8: initial checkin
lpinne Nov 26, 2024
a593ebd
block_manual_takeover.json: fixed missing ,
lpinne Nov 26, 2024
fdf9f15
kill_secn_nameserver.json kill_prim_nameserver.json: internal functio…
lpinne Nov 26, 2024
aca0add
sct_test_kill_prim_nameserver sct_test_kill_secn_nameserver: replaced…
lpinne Nov 26, 2024
ea4fd53
kill_prim_inst.json: increased final40 loops to 180
lpinne Nov 26, 2024
948585a
SAPHanaSR-tests-syntax.5: kill_prm_nameserver kill_secn_nameserver
lpinne Nov 26, 2024
4bd54ab
SAPHanaSR-tests-syntax.5: kill_prm_nameserver kill_secn_nameserver
lpinne Nov 26, 2024
ae711b0
kill_prim_nameserver.json: fixed post:
lpinne Nov 26, 2024
538584f
kill_prim_nameserver.json: fixed step20
lpinne Nov 26, 2024
51af945
kill_prim_nameserver.json: fixed step20
lpinne Nov 26, 2024
5495f6d
angi-ScaleUp/kill_prim_nameserver.json SAPHanaSR-tests-angi-ScaleUp.7
lpinne Nov 26, 2024
dff1745
sct_test_kill_prim_ipaddr: crm resource cleanup
lpinne Nov 27, 2024
fe442b7
angi-ScaleOut/kill_prim_nameserver.json angi-ScaleOut/kill_secn_names…
lpinne Nov 27, 2024
2b1c205
classic-ScaleUp/kill_prim_ipaddr.json angi-ScaleUp/kill_prim_ipaddr.j…
lpinne Nov 27, 2024
6074d19
SAPHanaSR-checkJson.8 SAPHanaSR-tests-syntax.5
lpinne Nov 27, 2024
ac50c6e
sct_test_kill_prim_nic: initial checkin
lpinne Nov 28, 2024
a6dbc3c
sct_test_kill_prim_nic: almost working
lpinne Nov 28, 2024
0bfd8f4
sct_test_kill_prim_ipaddr
lpinne Nov 28, 2024
9f5632f
SAPHanaSR-tests-angi-ScaleOut_on-fail-fence.7 SAPHanaSR-tests-angi-Sc…
lpinne Nov 28, 2024
649a69d
kill_prim_nic.json: initial checkin
lpinne Nov 28, 2024
903d8fa
SAPHanaSR-tests-description.7: kill_prim_nic
lpinne Nov 28, 2024
c39788e
SAPHanaSR-ScaleOut.7 SAPHanaSR-angi.7 SAPHanaSR.7: updated requiremen…
lpinne Dec 2, 2024
6702d83
SAPHanaSR-filter.8 SAPHanaSR-monitor.8 SAPHanaSR-showAttr.8 ocf_suse_…
lpinne Dec 2, 2024
c059aeb
Merge branch 'main' into angi-devel
fmherschel Dec 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions SAPHanaSR-tester.spec
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ License: GPL-2.0
Group: Productivity/Clustering/HA
AutoReqProv: on
Summary: Test suite for SAPHanaSR clusters
Version: 1.2.14
Version: 1.3.5
Release: 0
Url: https://www.suse.com/c/fail-safe-operation-of-sap-hana-suse-extends-its-high-availability-solution/

Expand Down Expand Up @@ -73,13 +73,13 @@ mkdir -p %{buildroot}%{_mandir}/man8

# test engine itself
mkdir -p %{buildroot}/usr/lib/%{name}
install -m 0755 test/SAPHanaSR-* %{buildroot}/usr/bin
install -m 0644 test/saphana_sr_test.py %{buildroot}/usr/lib/%{name}
install -m 0755 test/tester/SAPHanaSR-* %{buildroot}/usr/bin
install -m 0644 test/tester/saphana_sr_test.py %{buildroot}/usr/lib/%{name}

# test help programs, test loops and test calls
install -m 0755 test/cs_* %{buildroot}/usr/bin
install -m 0755 test/callTest* %{buildroot}/usr/bin
install -m 0755 test/loopTests* %{buildroot}/usr/bin
install -m 0755 test/bin/cs_* %{buildroot}/usr/bin
install -m 0755 test/bin/callTest* %{buildroot}/usr/bin
install -m 0755 test/bin/loopTests* %{buildroot}/usr/bin
install -m 0755 test/bin/sct_* %{buildroot}/usr/bin

# client files
Expand Down Expand Up @@ -109,6 +109,7 @@ install -m 0444 man-tester-client/*.7.gz %{buildroot}%{_mandir}/man7
/usr/lib/%{name}/saphana_sr_*.py
/usr/bin/SAPHanaSR-testCluster
/usr/bin/SAPHanaSR-checkJson
/usr/bin/SAPHanaSR-testSelect
/usr/bin/sct_*
/usr/bin/callTest*
/usr/bin/loopTests*
Expand Down
15 changes: 7 additions & 8 deletions alert/SAPHanaSR-alert-fencing
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash
#
# SAPHanaSR-alert
# SAPHanaSR-alert-fencing
# Author: Lars Pinne Fabian Herschel, June 2024
# Support: [email protected]
# License: GNU General Public License (GPL)
# Copyright: (c) 2024 SUSE LLC
# Version: 2024-06-18-15:33
# Version: 2024-08-09-14:35
#
# crm configure alert nodes-1 "/usr/bin/SAPHanaSR-alert" select nodes
# crm configure alert fencing-1 "/usr/bin/SAPHanaSR-alert" select fencing attributes alert_uptime_threshold=300
# crm configure alert nodes-1 "/usr/bin/SAPHanaSR-alert-fencing" select nodes
# crm configure alert fencing-1 "/usr/bin/SAPHanaSR-alert-fencing" select fencing attributes alert_uptime_threshold=300
#

logger_tag="SAPHanaSR-alert-fencing"
Expand All @@ -20,13 +20,12 @@ crm_alert_kind="${CRM_alert_kind:-manual call}"
crm_alert_node="${CRM_alert_node:-$HOSTNAME}"
crm_alert_desc="${CRM_alert_desc:-no description provided}"

$logger -t "$logger_tag" "AH: begin event '$crm_alert_kind'"
cache_file="/run/crm/SAPHanaSR_site_cache"

alert_uptime_threshold="${alert_uptime_threshold:-300}"

IFS=. read -r sys_uptime REST </proc/uptime
/usr/bin/logger -t "$logger_tag" "AH: begin event '$crm_alert_kind' (uptime=$sys_uptime, alert_uptime_threshold=$alert_uptime_threshold)"
$logger -t "$logger_tag" "AH: begin event '$crm_alert_kind' (uptime=$sys_uptime, alert_uptime_threshold=$alert_uptime_threshold)"


function process_fencing()
Expand All @@ -43,9 +42,9 @@ function process_fencing()
if [[ "$local_site_name" != "" && "$fenced_site_name" == "$local_site_name" ]]; then
$logger -t "$logger_tag" "DEC: FENCE ($fenced_site_name == $local_site_name)"
sleep 10
/usr/sbin/crm --force node fence "${HOSTNAME}"; rc="$?"
sudo /usr/sbin/crm --force node fence "${HOSTNAME}"; rc="$?"
if [[ "$rc" != "0" ]]; then
$logger -t "$logger_tag" "ACT: /usr/sbin/crm --force node fence ${HOSTNAME}; rc=$rc"
$logger -t "$logger_tag" "ACT: sudo /usr/sbin/crm --force node fence ${HOSTNAME}; rc=$rc"
fi
else
$logger -t "$logger_tag" "DEC: NO FENCE ($fenced_site_name != $local_site_name)"
Expand Down
2 changes: 1 addition & 1 deletion crm_cfg/angi-ScaleUp/010_basics_crm.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ property cib-bootstrap-options: \
cluster-name=SAP@@SID@@_@@INO@@ \
stonith-enabled=true \
stonith-action=reboot \
stonith-timeout=90 \
stonith-timeout=150 \
priority-fencing-delay=30
rsc_defaults rsc-options: \
migration-threshold=5000 \
Expand Down
17 changes: 17 additions & 0 deletions crm_cfg/angi-ScaleUp/050_clone_con_fence_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# promotable clone (5)
#
primitive rsc_SAPHanaCon_@@SID@@_HDB@@INO@@ ocf:suse:SAPHanaController \
op start interval=0 timeout=3600 \
op stop interval=0 timeout=3600 \
op promote interval=0 timeout=900 \
op monitor interval=60 role=Promoted timeout=700 \
op monitor interval=61 role=Unpromoted timeout=700 \
params SID=@@SID@@ InstanceNumber=@@INO@@ PREFER_SITE_TAKEOVER=yes DUPLICATE_PRIMARY_TIMEOUT=600 AUTOMATED_REGISTER=yes ON_FAIL_ACTION=fence\
meta priority=100
#
clone mst_SAPHanaCon_@@SID@@_HDB@@INO@@ rsc_SAPHanaCon_@@SID@@_HDB@@INO@@ \
meta clone-max=2 clone-node-max=1 interleave=true promotable=true maintenance=true
#
####################################################################
#
96 changes: 96 additions & 0 deletions man-tester/SAPHanaSR-checkJson.8
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
.\" Version: 1.2.4
.\"
.TH SAPHanaSR-checkJson 8 "26 Nov 2024" "" "SAPHanaSR-angi"
.\" TODO SAPHanaSR-testJson ?
.\"
.SH NAME
SAPHanaSR-checkJson \- Check syntax of SAPHanaSR-tester JSON file.
.PP
.\"
.SH SYNOPSIS
.PP
\fBSAPHanaSR-checkJson\fR [ --help | --version ]
.br
\fBSAPHanaSR-checkJson\fR --file \fIFILE\fR [ --quiet ]
.PP
.\"
.SH DESCRIPTION
.PP
SAPHanaSR-checkJson is a tool for checking SAPHanaSR-tester JSON files for
formally correct syntax.
.PP
.\"
.SH OPTIONS
.TP
--help
print help message and exit.
.TP
--file \fIFILE\fP
specify the JSON file to check.
.TP
--quiet
do not output JSON data on success.
.TP
--version
print version and exit.
.PP
.\"
.SH RETURN CODES
.PP
.B 0
Successful program execution.
.br
.B >0
Usage, syntax or execution errors.
.PP
.\"
.PP
.\"
.SH EXAMPLES
.PP
\fB*\fP Check one of the predefined files.
.PP
.RS 2
# SAPHanaSR-checkJson --file /usr/share/SAPHanaSR-tester/json/angi-ScaleUp/maintenance_cluster_hana_running.json
.RE
.PP
.\"
.SH FILES
.TP
/usr/bin/SAPHanaSR-checkJson
the program itself.
.PP
.\"
.SH REQUIREMENTS
.PP
See REQUIREMENTS section in SAPHanaSR-tester(7) and SAPHanaSR-tests-syntax(5).
.PP
.\"
.SH BUGS
.PP
In case of any problem, please use your favourite SAP support process to open
a request for the component BC-OP-LNX-SUSE.
Please report any other feedback and suggestions to [email protected].
.PP
.\"
.SH SEE ALSO
.PP
\fBSAPHanaSR-tester\fP(7) , \fBSAPHanaSR-tests-syntax\fP(5) ,
\fBSAPHanaSR-tests-classic-ScaleUp\fP(7) ,
\fBSAPHanaSR-tests-angi-ScaleUp\fP(7) , \fBSAPHanaSR-tests-angi-ScaleOut\fP(7)
.PP
.\"
.SH AUTHORS
.PP
F.Herschel, L.Pinne.
.PP
.\"
.SH COPYRIGHT
.PP
(c) 2023-2024 SUSE LLC
.br
The package SAPHanaSR-tester comes with ABSOLUTELY NO WARRANTY.
.br
For details see the GNU General Public License at
http://www.gnu.org/licenses/gpl.html
.\"
37 changes: 22 additions & 15 deletions man-tester/SAPHanaSR-testCluster.8
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
.\" Version: 1.001
.\" Version: 1.2.4
.\"
.TH SAPHanaSR-testCluster 8 "03 Apr 2024" "" "SAPHanaSR-angi"
.TH SAPHanaSR-testCluster 8 "24 Nov 2024" "" "SAPHanaSR-angi"
.\"
.SH NAME
SAPHanaSR-testCluster \- Run functional tests for SAPHanaSR clusters.
.PP
.\"
.SH SYNOPSIS
.\"
.PP
\fBSAPHanaSR-testCluster\fR [ --help | --version ]
.br
\fBSAPHanaSR-testCluster\fR \fIOPTION\fR [ \fIOPTION\fR ... ]
.PP
.\"
.SH DESCRIPTION
.\"
.PP
SAPHanaSR-testCluster is a tool to run one of the predefined test cases on a
given test cluster. For that purpose it is called with options specifying the
test case and the properties of the cluster to be tested.
Expand All @@ -23,7 +23,6 @@ and test automation frameworks.
.PP
.\"
.SH OPTIONS
.\"
.TP
--help
print help message and exit.
Expand All @@ -40,6 +39,9 @@ print and log debug messages.
--logFile \fIFILE\fP
path to log file.
.TP
--password \fIPASSWORD\fP
remote root user´s password (for debugging only).
.TP
--printTestProperties
print test properties and exit.
.TP
Expand All @@ -60,10 +62,10 @@ path to testcase description file.
.TP
--version
print version and exit.

.PP
.\"
.SH RETURN CODES
.PP
.B 0
Successful program execution.
.br
Expand All @@ -72,7 +74,6 @@ Usage, syntax or execution errors.
.PP
.\"
.SH EXAMPLES
.\"
.PP
\fB*\fR Running a very basic functional test.
.PP
Expand Down Expand Up @@ -118,7 +119,6 @@ Test ID is 8585, logfile is test.log, debug output is omitted.
.PP
.\"
.SH FILES
.\"
.TP
/usr/bin/SAPHanaSR-testCluster
the program itself.
Expand All @@ -127,10 +127,10 @@ the program itself.
functional tests for SAPHanaSR-angi scale-up scenarios.
.TP
/usr/share/SAPHanaSR-tester/json/angi-ScaleOut/
functional tests for SAPHanaSR-angi scale-out ERP scenarios, without HANA host auto-autofailover.
functional tests for SAPHanaSR-angi scale-out ERP scenarios, without HANA host auto-failover.
.TP
/usr/share/SAPHanaSR-tester/json/angi-ScaleOut-BW/
functional tests for SAPHanaSR-angi scale-out BW scenarios, with HANA host auto-autofailover. Not yet implemented.
functional tests for SAPHanaSR-angi scale-out BW scenarios, with HANA host auto-failover. Not yet implemented.
.TP
/usr/share/SAPHanaSR-tester/json/classic-ScaleUp/
functional tests for SAPHanaSR classic scale-up scenarios.
Expand All @@ -144,36 +144,43 @@ not yet implemented.
$PWD/.test_properties
auto-generated properties file for called shell scripts. No need to touch.
.TP
/usr/bin/
TODO
/usr/bin/SAPHanaSR-showAttr
script SAPHanaSR-showAttr from SAPHanaSR-angi.
.TP
/usr/bin/sct_test_*
shell scripts for un-easy tasks on the cluster nodes.
.PP
.\"
.SH REQUIREMENTS
.\"
.PP
See the REQUIREMENTS section in SAPHanaSR-tester(7) and SAPHanaSR-angi(7).
Of course, HANA database and Linux cluster have certain requirements.
Please refer to the product documentation.
.PP
.\"
.SH BUGS
.PP
In case of any problem, please use your favourite SAP support process to open
a request for the component BC-OP-LNX-SUSE.
Please report any other feedback and suggestions to [email protected].
.PP
.\"
.SH SEE ALSO
.PP
\fBSAPHanaSR-tester\fP(7) , \fBSAPHanaSR-tests-syntax\fP(5) ,
\fBSAPHanaSR-tests-description\fP(7) ,
\fBSAPHanaSR-tests-description\fP(7) , \fBSAPHanaSR-tests-classic-ScaleUp\fP(7) ,
\fBSAPHanaSR-tests-angi-ScaleUp\fP(7) , \fBSAPHanaSR-tests-angi-ScaleOut\fP(7) ,
\fBSAPHanaSR-angi\fP(7) , \fBSAPHanaSR-showAttr\fP(8) ,
\fBcrm_mon\fP(8) , \fBcrm\fP(8) , \fBcs_clusterstate\fP(8)
\fBcrm_mon\fP(8) , \fBcrm\fP(8) , \fBcs_clusterstate\fP(8) , \fBcs_show_cluster_actions\fP(8) ,
.PP
.\"
.SH AUTHORS
.PP
F.Herschel, L.Pinne.
.PP
.\"
.SH COPYRIGHT
.PP
(c) 2023-2024 SUSE LLC
.br
The package SAPHanaSR-tester comes with ABSOLUTELY NO WARRANTY.
Expand Down
Loading