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

use multi-target Hook on HANA scale-out and use sudoers.d file #136

Merged
merged 2 commits into from
Nov 15, 2021

Conversation

yeoldegrove
Copy link
Collaborator

Starting with version 0.180 the SAPHanaSR-ScaleOut package supports SAP HANA scale-out multi-target system replication. That means you can connect a third HANA site by system replication to either of the two HANA sites which are managed by the SUSE HA cluster.

More Details can be found here:
https://www.suse.com/c/sap-hana-scale-out-upgrade-details/
https://www.suse.com/c/sap-hana-scale-out-multi-target-upgrade/

To enable this feature, a different hook script needs to be used:
/usr/share/SAPHanaSR-ScaleOut/SAPHanaSR.py
/usr/share/SAPHanaSR-ScaleOut/SAPHanaSrMultiTarget.py

This PR enables the new Hook if it is available and also migrates old setups (hook and sudoers).

fixes #135
fixes SUSE/ha-sap-terraform-deployments#787

Copy link
Collaborator

@melzer-b1 melzer-b1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed. Thanks Eike

@fmherschel
Copy link
Member

This fix completely makes sense in top-level-view (architecture view).
So far I did not have checked the code but using the multi-target instead of the "old" hook is completely ok.
The internal migration should NOT be done automatically (so no attributes should be changed here).

@yeoldegrove yeoldegrove force-pushed the scale-out_multi-target branch 2 times, most recently from 38a40b1 to 7beb128 Compare November 12, 2021 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants