Skip to content

Commit

Permalink
Merge pull request #288 from BillAnastasiadis/aws_best_practices
Browse files Browse the repository at this point in the history
Follow SUSE docs for aws+gcp order configuration
  • Loading branch information
BillAnastasiadis authored Oct 25, 2024
2 parents e01d8b3 + 2450ddf commit 354016c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/playbooks/tasks/aws-cluster-hana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
cmd: >-
crm configure order
ord_SAPHana
2000:
Optional:
cln_SAPHanaTpg_{{ sap_hana_install_sid }}_HDB{{ sap_hana_install_instance_number }}
msl_SAPHanaCtl_{{ sap_hana_install_sid }}_HDB{{ sap_hana_install_instance_number }}
when: cluster_order | length == 0
Expand Down
5 changes: 4 additions & 1 deletion ansible/playbooks/tasks/cluster-hana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,15 @@
- ip_colo | length == 0
- cloud_platform_is_gcp

# Order configured as documentation for both AWS and GCP dictates
# AWS: https://documentation.suse.com/sbp/sap-15/html/SLES4SAP-hana-sr-guide-perfopt-15-aws/index.html#id-constraints
# GCP: https://cloud.google.com/solutions/sap/docs/sap-hana-ha-config-sles#create_the_saphana_primitive_resource
- name: Configure order
ansible.builtin.command:
cmd: >-
crm configure order
ord_SAPHana
2000:
Optional:
cln_SAPHanaTpg_{{ sap_hana_install_sid }}_HDB{{ sap_hana_install_instance_number }}
msl_SAPHanaCtl_{{ sap_hana_install_sid }}_HDB{{ sap_hana_install_instance_number }}
when:
Expand Down

0 comments on commit 354016c

Please sign in to comment.