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 to be merged into main #251

Merged
merged 216 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from 210 commits
Commits
Show all changes
216 commits
Select commit Hold shift + click to select a range
3406a24
SAPHanaSR_upgrade_to_angi.7
lpinne Feb 16, 2024
22cb869
angi tester classic: add flup
fmherschel Feb 16, 2024
f38da4d
SAPHanaSR_upgrade_to_angi.7: wording
lpinne Feb 16, 2024
0937380
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Feb 16, 2024
815ada2
angi tester classic: defaults.json - use new comperators
fmherschel Feb 16, 2024
3ecaeb3
angi tester classic: free_log_area.json - alligned to angi
fmherschel Feb 16, 2024
b655c16
angi tester classic: properties.json - alligned to classical resource…
fmherschel Feb 16, 2024
7e16e81
angi tester classic: *json - calling the new sct-scripts
fmherschel Feb 16, 2024
cbf1389
SAPHanaSR_upgrade_to_angi.7: typos
lpinne Feb 16, 2024
8044308
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Feb 16, 2024
c0e309f
angi tester classic: standby_secn_node.json - adapting to new compera…
fmherschel Feb 16, 2024
7c66bb8
angi tester classic: standby_prim_node.json - adapting to new compera…
fmherschel Feb 16, 2024
d77ffc4
angi tester classic: kill_secn_inst.json - adapting to new comperator…
fmherschel Feb 16, 2024
49e80bf
angi tester classic: kill_prim_inst.json - adapting to new comperator…
fmherschel Feb 16, 2024
38a3f12
angi tester classic: kill_secn_indexserver.json - adapting to new com…
fmherschel Feb 16, 2024
b69c717
angi tester classic: kill_prim_indexserver.json - adapting to new com…
fmherschel Feb 16, 2024
2b99274
angi tester classic: maintenance_with_standby_nodes.json - adapting t…
fmherschel Feb 16, 2024
74e5bf5
angi: SAPHanaSR-checkJson - define exit code
fmherschel Feb 16, 2024
f14950e
angi tester: json/angi-ScaleUp/defaults.json - corr indentation
fmherschel Feb 16, 2024
1d99b88
angi tester: json/angi-ScaleUp/standby_secn_node.json - corr indentation
fmherschel Feb 16, 2024
29f1e4f
SAPHanaSR_upgrade_to_angi.7: formatting, details scale-up and scale-lout
lpinne Feb 19, 2024
b6bf656
SAPHanaSR_upgrade_to_angi.7: examples
lpinne Feb 19, 2024
2d46067
SAPHanaSR_upgrade_to_angi.7: examples
lpinne Feb 19, 2024
c0c0f5c
SAPHanaSR_upgrade_to_angi.7: examples
lpinne Feb 19, 2024
f3fd975
SAPHanaSR_upgrade_to_angi.7: examples
lpinne Feb 19, 2024
d4517c9
angi tester: saphana_sr_test.py - allow key-rewriting for classic tes…
fmherschel Feb 19, 2024
7d16101
angi-tester: 1.2.9
fmherschel Feb 19, 2024
e874caf
angi-tester: classic needs lpa_@@sid@@_lpt
fmherschel Feb 19, 2024
36cb537
angi tester angi-ScaleUp: kill_prim_node.json, kill_secn_node.json - …
fmherschel Feb 20, 2024
283ed06
angi tester classic: standby_prim_node.json - fix for classic ScaleUp…
fmherschel Feb 20, 2024
273f7e0
angi tester classic: standby_prim_node.json - fix for classic ScaleUp…
fmherschel Feb 20, 2024
d032e62
SAPHanaSR-tests-classic-ScaleUp.7: initial checkin
lpinne Feb 20, 2024
a4b14d9
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Feb 20, 2024
a8f3a17
angi tester classic: saphana_sr_tools.py - also search for SAPHana re…
fmherschel Feb 20, 2024
cac0986
angi tester classic: block_sr.json added
fmherschel Feb 20, 2024
bf055c0
SAPHanaSR-tests-classic-ScaleUp.7: initial checkin
lpinne Feb 20, 2024
f9ee837
angi tester: sct_test* - use SAPHanaSR-showAttr with complete path to…
fmherschel Feb 20, 2024
971fee4
flup.json: changed test and name
lpinne Feb 20, 2024
b10368e
standby_secn_node.json: blanks
lpinne Feb 20, 2024
011c357
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Feb 20, 2024
dc735ab
angi tester: fix @@sid@@ place holder
fmherschel Feb 20, 2024
8d3c182
angi tester: fix @@sid@@ place holder
fmherschel Feb 20, 2024
2d88ae1
angi tester classic: kill_secn_inst.json - fixed checks for classic a…
fmherschel Feb 20, 2024
af54f91
angi tester classic: block_sr.json - fixed checks for classic attributes
fmherschel Feb 20, 2024
2b2ca82
angi tester classic: kill_prim_inst.json - fixed checks for classic a…
fmherschel Feb 20, 2024
34e338b
angi tester classic: standby_prim_node.json - fixed checks for classi…
fmherschel Feb 20, 2024
f140093
angi tester: version 1.2.10
fmherschel Feb 20, 2024
0e5faa7
SAPHanaSR-tests-description.7: details
lpinne Feb 21, 2024
0faeff9
SAPHanaSR-tests-classic-ScaleUp.7: details, requirements
lpinne Feb 21, 2024
dc070a3
SAPHanaSR-tests-classic-ScaleUp.7: details, requirements
lpinne Feb 21, 2024
fdd103e
SAPHanaSR-tests-classic-ScaleUp.7: details, requirements
lpinne Feb 21, 2024
f89b0d7
SAPHanaSR-tests-classic-ScaleUp.7: removed restart_cluster
lpinne Feb 21, 2024
2f51bc0
SAPHanaSR-tests-description.7: details
lpinne Feb 21, 2024
069dc7c
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Feb 22, 2024
1c58ef6
angi tester client: saphana_sr_tools.py - also search for SAPHana res…
fmherschel Feb 22, 2024
836a993
./SAPHanaSR-tests-classic-ScaleUp.7: requirements
lpinne Feb 22, 2024
04cc1f6
angi tester classic: one_stable_hour.json - added new long-running st…
fmherschel Feb 22, 2024
cd3ce2a
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Feb 22, 2024
86f6672
angi tester angi: one_stable_hour.json - added new long-running stabi…
fmherschel Feb 22, 2024
040a652
kill_prim_indexserver.json kill_secn_indexserver.json maintenance_wit…
lpinne Feb 23, 2024
9821905
kill_secn_node.json: initila checkin
lpinne Feb 23, 2024
a0ba569
kill_secn_node.json: step20
lpinne Feb 23, 2024
a312c07
kill_secn_node.json: PASSED
lpinne Feb 23, 2024
a6f0a45
SAPHanaSR-tests-classic-ScaleUp.7: kill_secn_node
lpinne Feb 23, 2024
a05d556
maintenance_with_standby_nodes.json: moved attributes from site to node
lpinne Feb 23, 2024
f18f323
defaults.json: srPoll -> srHook
lpinne Feb 23, 2024
2d1990b
restart_cluster_hana_running.json: name
lpinne Feb 23, 2024
7ccf2e8
SAPHanaSR-tests-classic-ScaleUp.7: sct_test_restart_cluster_hana_running
lpinne Feb 23, 2024
e1e1ffc
sct_test_restart_cluster_hana_running: crm cluster st[art|op] --all
lpinne Feb 23, 2024
9dbbedf
angi tester classic: added help script sct_test_restart_cluster_hana_…
fmherschel Feb 23, 2024
e73b3b1
angi tester classic: restart_cluster_hana_running - call help script …
fmherschel Feb 23, 2024
c50a515
SAPHanaSR-tests-classic-ScaleUp.7: fixes
lpinne Feb 23, 2024
c8d1d5d
sct_test_restart_cluster_hana_running_classic: description
lpinne Feb 23, 2024
d896e17
SAPHanaSR-tests-classic-ScaleUp.7: maintenance_cluster_turn_hana
lpinne Feb 26, 2024
cd48353
SAPHanaSR-tests-classic-ScaleUp.7 classic-ScaleUp/defaults.json class…
lpinne Feb 26, 2024
b7cfcbe
kill_prim_node.json: initial checkin
lpinne Feb 26, 2024
95213fc
kill_prim_indexserver.json, SAPHanaSR-tests-classic-ScaleUp.7, SAPHan…
lpinne Feb 26, 2024
3bdab24
defaults.json freeze_prim_fs.json kill_prim_node.json kill_secn_node.…
lpinne Feb 26, 2024
c0c2731
SAPHanaSR-tests-classic-ScaleUp.7 classic-ScaleUp/kill_prim_node.json
lpinne Feb 26, 2024
5a040c3
SAPHanaSR-tests-classic-ScaleUp.7: fixes
lpinne Feb 26, 2024
a9cc148
kill_prim_node.json
lpinne Feb 26, 2024
ac9b592
SAPHanaSR-tests-classic-ScaleUp.7 kill_secn_indexserver.json: kill_se…
lpinne Feb 26, 2024
ca3ea3f
split_brain_prio.json: trailing blanks
lpinne Feb 26, 2024
31bb93a
SAPHanaSR-tests-classic-ScaleUp.7 split_brain_prio.json
lpinne Feb 26, 2024
4bb0867
SAPHanaSR-tests-classic-ScaleUp.7
lpinne Feb 26, 2024
0e23c11
kill_secn_inst.json standby_prim_node.json: trainling blanks
lpinne Feb 26, 2024
e30d870
SAPHanaSR-tester-client.7: initial checkin
lpinne Feb 27, 2024
07dc02e
SAPHanaSR-tester-client.7
lpinne Feb 27, 2024
a706fdd
demo_kill_prim_inst.json kill_prim_indexserver.json kill_prim_inst.js…
lpinne Feb 27, 2024
8715666
SAPHanaSR-tests-classic-ScaleUp.7 classic-ScaleUp/maintenance_cluster…
lpinne Feb 27, 2024
26d77f5
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 angi-S…
lpinne Feb 27, 2024
5ef8df7
classic-ScaleUp/maintenance_cluster_hana_running.json: fixed
lpinne Feb 27, 2024
f4e3e50
SAPHanaSR-tests-description.7: maintenance_hana_cluster_running
lpinne Feb 27, 2024
3f9684a
angi tester: 1.2.11 - client package with own man page
fmherschel Feb 27, 2024
6cdbf90
angi tester: package corr for man pages
fmherschel Feb 27, 2024
2938931
angi tester: package Make archive to include tools and man-tester-client
fmherschel Feb 27, 2024
3d80658
angi tester classic: sct_test_restart_cluster_hana_running_classic re…
fmherschel Feb 27, 2024
772ce7a
angi tester classic: restart_cluster_hana_running.json removed
fmherschel Feb 27, 2024
cef43b5
SAPHanaSR-tests-description.7: description wording
lpinne Feb 27, 2024
ff7415c
angi tester classic-ScaleOut: defaults.json - using classic attribute…
fmherschel Feb 27, 2024
4016e10
angi tester classic-ScaleOut: nop.json - using classic attribute form…
fmherschel Feb 27, 2024
47d33e0
angi tester classic-ScaleOut: flup.json - using classic attribute for…
fmherschel Feb 27, 2024
59246f2
angi tester classic-ScaleOut: defaults.json - using classic attribute…
fmherschel Feb 27, 2024
ce6a0b6
angi tester classic-ScaleOut: nop.json - added pGlobalUp and sGlobalU…
fmherschel Feb 27, 2024
876f1e4
angi tester classic: one_stable_hour.json - fixed sequence
fmherschel Feb 27, 2024
c7acd01
angi tester classic-ScaleOut: flup.json - added pGlobalUp and sGlobal…
fmherschel Feb 27, 2024
4f23538
angi tester: remove nasti trailing blanks
fmherschel Feb 28, 2024
d6b2ddc
angi tester: classic-ScaleOut - steps to migrate to new comperartors …
fmherschel Feb 28, 2024
a22a4fb
ngi tester: classic-ScaleOut - fixed lpt attribute rules
fmherschel Feb 28, 2024
27452ff
ngi tester: classic-ScaleOut - fixed lss attribute rules
fmherschel Feb 28, 2024
33bd5ce
ngi tester: classic-ScaleOut - removed todos regarding new comperators
fmherschel Feb 28, 2024
83537bb
ngi tester: classic-ScaleOut - removed todos regarding new comperators
fmherschel Feb 28, 2024
fb2c35a
ngi tester: classic-ScaleOut - fixed score attribute rules
fmherschel Feb 28, 2024
3dd2267
SAPHanaSR-tester.7: requirements
lpinne Feb 29, 2024
618bf42
kill_prim_inst.json: PASSED
lpinne Feb 29, 2024
77170d1
kill_prim_inst.json: PASSED
lpinne Feb 29, 2024
d862833
ngi tester: classic-ScaleOut - fixed srr attribute rules
fmherschel Feb 29, 2024
294a0a6
ngi tester: classic-ScaleOut - fixed srHook attribute rules
fmherschel Feb 29, 2024
642edcc
ngi tester: classic-ScaleOut - fixed clone_state attribute rules
fmherschel Feb 29, 2024
c0a438b
split_brain_prio.json: WIP
lpinne Feb 29, 2024
eb05fd3
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Feb 29, 2024
735affd
ngi tester: classic-ScaleOut - fixed srPoll attribute rules
fmherschel Feb 29, 2024
01efb7d
ngi tester: classic-ScaleOut - srPoll->sync_state attribute rename
fmherschel Feb 29, 2024
db70d5d
susHanaSR.py.7: example checking HANA python
lpinne Mar 1, 2024
8867efc
angi tester: classic-ScaleOut defaukts - new check pointers for sync_…
fmherschel Mar 1, 2024
e278ca2
angi tester: classic-ScaleOut defaults - new check pointers for sync_…
fmherschel Mar 1, 2024
2f573a5
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Mar 1, 2024
f58104b
angi tester: classic-ScaleOut nop.json - using check pointers for glo…
fmherschel Mar 1, 2024
30d0205
split_brain_prio.json: PASSED
lpinne Mar 1, 2024
fdfb306
SAPHanaSR-tests-classic-ScaleUp.7: split_brain_prio
lpinne Mar 1, 2024
1772707
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Mar 1, 2024
9d1bb48
SAPHanaSR-tests-classic-ScaleUp.7: block_manual_takeover
lpinne Mar 1, 2024
2b652f5
angi tester: classic-ScaleOut - sync_state is never "PRIM"
fmherschel Mar 1, 2024
755ee21
SAPHanaSR-tests-classic-ScaleUp.7: one_stable_hour
lpinne Mar 1, 2024
d2a367d
angi tester: classic-ScaleOut - remove all "pGlobalUp" pointers
fmherschel Mar 1, 2024
f06b958
SAPHanaSR-tests-classic-ScaleUp.7: one_stable_hour
lpinne Mar 1, 2024
3cf9a86
SAPHanaSR-tests-description.7: one_stable_hour
lpinne Mar 1, 2024
a8d7694
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Mar 1, 2024
c71697b
angi tester: classic-ScaleOut - remove direct use of attribute "sync_…
fmherschel Mar 1, 2024
1ad6272
angi tester: classic-ScaleOut - using "sync_sate"-pointers for all "g…
fmherschel Mar 1, 2024
5a6dabe
SAPHanaSR_basic_cluster.7: fixed prio fencing
lpinne Mar 1, 2024
79d838d
angi tester: corr sct-script names (inline comment)
fmherschel Mar 4, 2024
e651bb3
angi tester: sct_test_delete_cluster_config added
fmherschel Mar 4, 2024
2763a02
angi tester: sct_test_delete_cluster_config - repair quotes for compl…
fmherschel Mar 4, 2024
bc8bd5b
kill_prim_indexserver.json: loop 180 for action_on_lsot=kill
lpinne Mar 4, 2024
7642e74
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Mar 4, 2024
1d77eee
SAPHanaSR-tests-classic-ScaleUp.7: kill_prim_indexserver
lpinne Mar 4, 2024
a6c75df
angi tester: maintenance_cluster_bootstrap.json added
fmherschel Mar 4, 2024
c6b4f93
angi tester: saphana_sr_test.py - version 1.2.12; 'is-None'-rule is f…
fmherschel Mar 4, 2024
d3c9f9f
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Mar 4, 2024
0677b8b
angi tester: sct_test_delete_cluster_config - corr remote call, awk v…
fmherschel Mar 4, 2024
52b56e2
sct_test_delete_cluster_config: cs_wait_for_idle, wording
lpinne Mar 4, 2024
5baae56
SAPHanaSR-tests-angi-ScaleOut.7 SAPHanaSR-tests-angi-ScaleUp.7 SAPHan…
lpinne Mar 4, 2024
0207538
SAPHanaSR-tests-syntax.5 SAPHanaSR-tester.7: ipAddr
lpinne Mar 4, 2024
6737bac
angi tester: maintenance_cluster_bootstrap.json - trigger srHook (blo…
fmherschel Mar 4, 2024
17af3f4
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Mar 4, 2024
1c9673b
angi tester: maintenance_cluster_bootstrap.json - fixed syntax
fmherschel Mar 4, 2024
5784fbf
angi tester: maintenance_cluster_bootstrap.json - corr checks; tuned …
fmherschel Mar 4, 2024
4e6e611
SAPHanaSR-tests-angi-ScaleUp.7
lpinne Mar 4, 2024
01c03f1
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
lpinne Mar 4, 2024
7397004
SAPHanaSR-tester.7: requirements
lpinne Mar 4, 2024
3fe596a
angi tester: package - version 1.2.12; added crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
4e3686e
angi tester: test/sct_test_delete_cluster_config - minimize output du…
fmherschel Mar 4, 2024
ae160f4
angi tester: test/sct_test_create_cluster_config - added
fmherschel Mar 4, 2024
6afed9c
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Mar 4, 2024
42b3862
angi tester: test/crm_config_angi-ScaleUp/10_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
890a2e2
angi tester: test/crm_config_angi-ScaleUp/20_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
cbcab63
angi tester: test/crm_config_angi-ScaleUp/30_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
01812ae
angi tester: test/crm_config_angi-ScaleUp/40_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
e316676
angi tester: test/crm_config_angi-ScaleUp/50_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
b02df88
angi tester: test/crm_config_angi-ScaleUp/60_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
41eedd1
angi tester: test/crm_config_angi-ScaleUp/70_crm_config_angi-ScaleUp …
fmherschel Mar 4, 2024
9923f81
SAPHanaSR-upgrade-to-angi-demo.8: initial checkin
lpinne Mar 6, 2024
3c0d3e2
SAPHanaSR_upgrade_to_angi.7: demo script
lpinne Mar 6, 2024
2bf9092
SAPHanaSR-upgrade-to-angi-demo: initial checkin
lpinne Mar 6, 2024
b6a84bc
angi srHook - susHanaSR.py - changes for pylint
fmherschel Mar 6, 2024
7080f5c
angi package - copyright (date) and inline name of package in comment
fmherschel Mar 6, 2024
9592334
angi multiple packages: moving crm samples from test to crm_cfg
fmherschel Mar 8, 2024
9d6f801
angi *: renaming of crm snipsets in progress
fmherschel Mar 8, 2024
7ce6791
angi crm examples: 020_primitive_sbd - renmaed to final? name scheme
fmherschel Mar 11, 2024
ce36816
angi crm examples: - 3 digits
fmherschel Mar 11, 2024
9d4d0d3
angi crm examples: NNN_name_crm.txt - renmaed to final? name scheme
fmherschel Mar 11, 2024
e0000f6
angi crm examples: NNN_name_crm.txt
fmherschel Mar 11, 2024
b8fb271
angi packages: adding crm_cfg snipsets to the repo and packages
fmherschel Mar 11, 2024
6530a6c
angi tester: test/sct_test_create_cluster_config - updating to the ne…
fmherschel Mar 11, 2024
c270f9e
angi tester library: SaphanasrTestClass.txt - call reference
fmherschel Mar 12, 2024
e33bfae
angi tester lib: add categories i call-cross-reference
fmherschel Mar 12, 2024
fa3897d
angi tester lib: saphana_sr_test.py - updated version string
fmherschel Mar 12, 2024
5d78abb
SAPHanaSR-manageProvider.8: described reconfigure, new example
lpinne Mar 13, 2024
e61f688
susHanaSR.py.7: HANA rev.059.04
lpinne Mar 13, 2024
24a8610
angi saphana-filesystem-lib - indentation fix
fmherschel Mar 14, 2024
dee5285
angi: ra/saphana-controller-lib - poc for 'FAST-STOP'
fmherschel Mar 14, 2024
cada0ea
ocf_suse_SAPHanaController.7
lpinne Mar 15, 2024
74dc5c8
angi fast-stop: saphana-controller-lib - added meta-data for paramete…
fmherschel Mar 15, 2024
bbbdaf5
ocf_suse_SAPHanaController.7: ON_FAIL_ACTION
lpinne Mar 15, 2024
8954c9f
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Mar 15, 2024
e5451c1
SAPHanaSR-ScaleOut_basic_cluster.7 SAPHanaSR_basic_cluster.7 ocf_suse…
lpinne Mar 18, 2024
efa0a37
SAPHanaSR-ScaleOut_basic_cluster.7 SAPHanaSR_basic_cluster.7 ocf_suse…
lpinne Mar 18, 2024
612c032
SAPHanaSR_maintenance_examples.7: basic procedure for stopping HANA a…
lpinne Mar 25, 2024
c1e0aae
SAPHanaSR_upgrade_to_angi.7: removing location constrants
lpinne Apr 2, 2024
382c870
SAPHanaSR_upgrade_to_angi.7: location constrants
lpinne Apr 2, 2024
b4b7815
SAPHanaSR-upgrade-to-angi-demo.8: changes from classic+upgrade-demo
lpinne Apr 2, 2024
6fdd243
SAPHanaSR-upgrade-to-angi-demo: changes from classic+upgrade-demo
lpinne Apr 2, 2024
3bb3c72
SAPHanaSR_upgrade_to_angi.7: fixed path in example
lpinne Apr 2, 2024
34bc0ae
SAPHanaSR-upgrade-to-angi-demo.8: typo
lpinne Apr 2, 2024
e2ddc74
angi package: adding SAPHanaSR-upgrade-to-angi-demo script example
fmherschel Apr 3, 2024
179ff43
angi lib: ra/saphana-controller-lib - fixing meta-data syntax error
fmherschel Apr 3, 2024
f5206e1
SAPHanaSR-testCluster.8: details
lpinne Apr 3, 2024
1b510f4
angi package: version 1.2.6
fmherschel Apr 10, 2024
9b8c1c9
Merge branch 'main' into angi-devel
fmherschel Apr 10, 2024
2511728
angi: SAPHanaSR-testCluster.8 - fixed date
fmherschel Apr 11, 2024
68e3000
Merge branch 'angi-devel' of github.com:fmherschel/SAPHanaSR into ang…
fmherschel Apr 11, 2024
f4ab264
angi: SAPHanaSR_maintenance_examples.7 - fixed date
fmherschel Apr 11, 2024
094280e
SAPHanaSR-upgrade-to-angi-demo - orking on shellcheck compatibility
fmherschel Apr 11, 2024
f7e4ead
SAPHanaSR-upgrade-to-angi-demo: fixing shellcheck SC2128
fmherschel Apr 11, 2024
0b3383f
SAPHanaSR-upgrade-to-angi-demo: fixed/disabled shellchecks
fmherschel Apr 11, 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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

FILE_LIST = LICENSE \
README.md \
crm_cfg \
icons \
man \
ra \
Expand Down
5 changes: 4 additions & 1 deletion Makefile-tester
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@

FILE_LIST = LICENSE \
README.md \
test \
crm_cfg \
man-tester \
man-tester-client \
test \
tools \

PKG = SAPHanaSR-tester
SPECFILE = ${PKG}.spec
Expand Down
11 changes: 8 additions & 3 deletions SAPHanaSR-angi.spec
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#
# spec file for package SAPHanaSR
# spec file for package SAPHanaSR-angi
#
# Copyright (c) 2013-2014 SUSE Linux Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014-2016 SUSE Linux GmbH, Nuernberg, Germany.
# Copyright (c) 2017-2023 SUSE LLC.
# Copyright (c) 2017-2024 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -21,7 +21,7 @@ License: GPL-2.0
Group: Productivity/Clustering/HA
AutoReqProv: on
Summary: Resource agents to control the HANA database in system replication setup
Version: 1.2.5
Version: 1.2.6
Release: 0
Url: https://www.suse.com/c/fail-safe-operation-of-sap-hana-suse-extends-its-high-availability-solution/

Expand Down Expand Up @@ -78,6 +78,7 @@ mkdir -p %{buildroot}/usr/bin
mkdir -p %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}/usr/share/%{name}/icons
mkdir -p %{buildroot}/usr/share/%{name}/samples
mkdir -p %{buildroot}/usr/share/%{name}/samples/crm_cfg/angi-ScaleUp
mkdir -p %{buildroot}/usr/lib/ocf/resource.d/suse
mkdir -p %{buildroot}/usr/lib/%{name}
mkdir -p %{buildroot}%{_mandir}/man7
Expand All @@ -95,6 +96,9 @@ install -m 0644 srHook/susCostOpt.py %{buildroot}/usr/share/%{name}/
install -m 0644 srHook/susChkSrv.py %{buildroot}/usr/share/%{name}/
install -m 0444 srHook/global.ini_* %{buildroot}/usr/share/%{name}/samples

# crm config templates
install -m 0644 crm_cfg/angi-ScaleUp/[0-9]*_* %{buildroot}/usr/share/%{name}/samples/crm_cfg/angi-ScaleUp

# icons for SAPHanaSR-monitor
install -m 0444 icons/* %{buildroot}/usr/share/%{name}/icons

Expand All @@ -111,6 +115,7 @@ install -m 0555 tools/SAPHanaSR-replay-archive-legacy %{buildroot}/usr/bin
install -m 0555 tools/SAPHanaSR-filter-legacy %{buildroot}/usr/bin
install -m 0555 tools/SAPHanaSR-hookHelper %{buildroot}/usr/bin
install -m 0555 tools/SAPHanaSR-manageProvider %{buildroot}/usr/bin
install -m 0555 tools/SAPHanaSR-upgrade-to-angi-demo %{buildroot}/usr/share/%{name}/samples
install -m 0444 tools/SAPHanaSRTools.pm %{buildroot}/usr/lib/%{name}
install -m 0444 tools/saphana_sr_tools.py %{buildroot}/usr/lib/%{name}

Expand Down
44 changes: 36 additions & 8 deletions SAPHanaSR-tester.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#
# spec file for package SAPHanaSR
# spec file for package SAPHanaSR-tester
#
# Copyright (c) 2023 SUSE LLC.
# Author: Fabian Herschel
# Copyright (c) 2023-2024 SUSE LLC.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
Expand All @@ -19,7 +20,7 @@ License: GPL-2.0
Group: Productivity/Clustering/HA
AutoReqProv: on
Summary: Test suite for SAPHanaSR clusters
Version: 1.2.8
Version: 1.2.13
Release: 0
Url: https://www.suse.com/c/fail-safe-operation-of-sap-hana-suse-extends-its-high-availability-solution/

Expand All @@ -31,6 +32,11 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build

Requires: python3

%package client
Group: Productivity/Clustering/HA
Summary: Test suite for SAPHanaSR clusters - SAPHanaSR-tester-client is to be installed on all SAPHanaSR classic nodes
Conflicts: SAPHanaSR-angi

%description
SAPHanaSR-tester is a suite for semi-automated tests of SAPHanaSR clusters. First focussed test-scenarios are angi-ScaleUp and angi-ScaleOut (e.g. for ERP systems).

Expand All @@ -44,17 +50,22 @@ Authors:
--------
Fabian Herschel

%description client
SAPHanaSR-tester-client is to be installed on all SAPHanaSR classic nodes to allow SAPHanaSR-tester to check the cluster attributes with the same method.

%prep
tar xf %{S:0}
#%define crmscr_path /usr/share/crmsh/scripts/

%build
gzip man-tester/*
gzip man-tester-client/*

%install
mkdir -p %{buildroot}/usr/bin
#mkdir -p %{buildroot}%{_docdir}/%{name}
mkdir -p %{buildroot}/usr/share/%{name}
mkdir -p %{buildroot}/usr/share/%{name}/samples/crm_cfg/angi-ScaleUp
mkdir -p %{buildroot}/usr/lib/%{name}
mkdir -p %{buildroot}%{_mandir}/man5
mkdir -p %{buildroot}%{_mandir}/man7
Expand All @@ -71,27 +82,44 @@ install -m 0755 test/callTest* %{buildroot}/usr/bin
install -m 0755 test/loopTests* %{buildroot}/usr/bin
install -m 0755 test/sct_* %{buildroot}/usr/bin

# client files
install -m 0755 tools/SAPHanaSR-showAttr %{buildroot}/usr/bin
mkdir -p %{buildroot}/usr/lib/SAPHanaSR-angi
install -m 0755 tools/saphana_sr_tools.py %{buildroot}/usr/lib/SAPHanaSR-angi

# test definitions
pwd
ls test/json
cp -va test/json %{buildroot}/usr/share/%{name}
cp -va test/www %{buildroot}/usr/share/%{name}
cp -a test/json %{buildroot}/usr/share/%{name}
cp -a test/www %{buildroot}/usr/share/%{name}
install -m 0644 crm_cfg/angi-ScaleUp/[0-9]*_* %{buildroot}/usr/share/%{name}/samples/crm_cfg/angi-ScaleUp

# manual pages
install -m 0444 man-tester/*.5.gz %{buildroot}%{_mandir}/man5
install -m 0444 man-tester/*.7.gz %{buildroot}%{_mandir}/man7
install -m 0444 man-tester/*.8.gz %{buildroot}%{_mandir}/man8

# man pages for client package
install -m 0444 man-tester-client/*.7.gz %{buildroot}%{_mandir}/man7

%files
%defattr(-,root,root)
/usr/share/%{name}
%dir /usr/lib/%{name}
/usr/lib/%{name}/saphana_sr_*.py
/usr/bin/*

/usr/bin/SAPHanaSR-testCluster
/usr/bin/SAPHanaSR-checkJson
/usr/bin/sct_*
/usr/bin/callTest*
/usr/bin/loopTests*
/usr/bin/cs_ssh
/usr/bin/SAPHanaSR-testCluster-html
%license LICENSE
#%dir %{_docdir}/%{name}
%doc README.md
%doc %{_mandir}/man*/*

%files client
/usr/bin/SAPHanaSR-showAttr
/usr/lib/SAPHanaSR-angi

%changelog
15 changes: 15 additions & 0 deletions crm_cfg/angi-ScaleUp/010_basics_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#
# base config (1)
#
property cib-bootstrap-options: \
cluster-name=SAP@@SID@@_@@INO@@ \
stonith-enabled=true \
stonith-action=reboot \
stonith-timeout=90 \
priority-fencing-delay=30
rsc_defaults rsc-options: \
migration-threshold=5000 \
resource-stickiness=1000
op_defaults op-options: \
timeout=600 \
record-pending=true
5 changes: 5 additions & 0 deletions crm_cfg/angi-ScaleUp/020_resource_sbd_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#
# primitive sbd (2)
#
primitive rsc_stonith_sbd stonith:external/sbd \
params pcmk_delay_base=15
14 changes: 14 additions & 0 deletions crm_cfg/angi-ScaleUp/030_clone_top_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# clone TOP (3)
#
primitive rsc_SAPHanaTop_@@SID@@_HDB@@INO@@ ocf:suse:SAPHanaTopology \
op monitor interval=50 timeout=600 \
op start interval=0 timeout=3600 \
op stop interval=0 timeout=300 \
params SID=@@SID@@ InstanceNumber=@@INO@@
#
clone cln_SAPHanaTop_@@SID@@_HDB@@INO@@ rsc_SAPHanaTop_@@SID@@_HDB@@INO@@ \
meta clone-node-max=1 interleave=true
#
####################################################################
#
14 changes: 14 additions & 0 deletions crm_cfg/angi-ScaleUp/040_clone_fil_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#
# clone FIL (4)
#
primitive rsc_SAPHanaFil_@@SID@@_HDB@@INO@@ ocf:suse:SAPHanaFilesystem \
op monitor interval=60 timeout=60 \
op start interval=0 timeout=10 \
op stop interval=0 timeout=20 on-fail=fence \
params SID=@@SID@@ InstanceNumber=@@INO@@
#
clone cln_SAPHanaFil_@@SID@@_HDB@@INO@@ rsc_SAPHanaFil_@@SID@@_HDB@@INO@@ \
meta clone-node-max=1 interleave=true
#
####################################################################
#
17 changes: 17 additions & 0 deletions crm_cfg/angi-ScaleUp/050_clone_con_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 \
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
#
####################################################################
#
7 changes: 7 additions & 0 deletions crm_cfg/angi-ScaleUp/060_resource_ip_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# primitive IP (6)
#
primitive rsc_ip_@@SID@@ IPaddr2 \
params ip=@@IP@@ \
op monitor interval=60 timeout=20 \
op_params on_fail=restart
6 changes: 6 additions & 0 deletions crm_cfg/angi-ScaleUp/070_constraints_crm.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#
# constraints (7)
#
colocation col_ip_prim_SAPHana_@@SID@@_HDB@@INO@@ 2000: rsc_ip_@@SID@@:Started mst_SAPHanaCon_@@SID@@_HDB@@INO@@:Promoted
#
order ord_SAPHana_@@SID@@_HDB@@INO@@ Optional: cln_SAPHanaTop_@@SID@@_HDB@@INO@@ mst_SAPHanaCon_@@SID@@_HDB@@INO@@
42 changes: 42 additions & 0 deletions crm_cfg/angi-ScaleUp/alternative-names.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
#
# sle15 hana ScaleUp perfopt:
#
crm-bs.txt
crm-sbd.txt
crm-saphanatop.txt
crm-saphana.txt
crm-vip.txt
crm-cs.txt

#
# sle15 hana ScaleUp costopt:
#
crm-bs.txt
crm-saphanatop.txt
crm-saphana.txt
crm-vip.txt
crm-cs.txt
crm-si.txt
crm-con.txt

#
# sle15 hana ScaleOut
#
crm-bs.txt
crm-fencing.txt
crm-saphanatop.txt
crm-saphanacon.txt
crm-vip.txt
crm-cs.txt

#
# sle15 hana ScaleOut Multi-Target
#
crm-bs.txt
crm-fencing.txt
crm-saphanatop.txt
crm-saphanacon.txt
crm-vip.txt
crm-cs.txt


68 changes: 68 additions & 0 deletions man-tester-client/SAPHanaSR-tester-client.7
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
.\" Version: 1.001
.\"
.TH SAPHanaSR-tester-client 7 "27 Jan 2024" "" "SAPHanaSR"
.\"
.SH NAME
SAPHanaSR-tester-client \- Client for functional testing SAPHanaSR clusters.
.PP
.\"
.DESCRIPTION
.\"
SAPHanaSR-tester-client is a package that allows to use SAPHanaSR-tester for
testing classical SAPHanaSR and SAPHanaSR-ScaleOut HA clusters.

.B SAPHanaSR-tester is shipped as technology preview.

The package provides a specific version of SAPHanaSR-shwoAttr, compatible to
SAPHanaSR-angi and SAPHanaSR-tester.
.PP
.\"
.SH EXAMPLES
.\"
\fB*\fR Checking the SAPHanaSR-showAttr.
.PP
The specific SAPHanaSR-showAttr is called to show the output format needed for
testing. See manual page SAPHanaSR-showAttr(8) from package SAPHanaSR-angi for
details.
.PP
.RS 2
# /usr/bin/SAPHanaSR-showAttr --format=tester
.RE
.PP
.\"
.SH FILES
.\"
.TP
/usr/bin/SAPHanaSR-showAttr
specific SAPHanaSR-showAttr, compatible to SAPHanaSR-angi and SAPHanaSR-tester
.PP
.\"
.SH REQUIREMENTS
See SAPHanaSR-tester(7), SAPHanaSR-tests-classic-ScaleUp(7) and SAPHanaSR(7).
.\"
.SH BUGS
The SAPHanaSR-tester-client is under development. Syntax and formats are
subject to change.
.br
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
\fBSAPHanaSR-tester\fP(7) , \fBSAPHanaSR-tests-classic-ScaleUp\fP(7) ,
\fBSAPHanaSR-showAttr\fP(8), \fBSAPHanaSR\fP(7)
.PP
.\"
.SH AUTHORS
F.Herschel, L.Pinne.
.PP
.\"
.SH COPYRIGHT
(c) 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
.\"
Loading
Loading