File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 4141
4242- name : Create HANA resource
4343 # TODO this task has hardcoded SID and instance number values which should be variables!
44- ansible.builtin.command : " crm configure primitive rsc_SAPHana_HDB_{{ sap_hana_install_sid }}{{ sap_hana_install_instance_number }} ocf:suse:SAPHana operations $id=\" rsc_sap_HDB_{{ sap_hana_install_sid }}{{ sap_hana_install_instance_number }}-operations\" op start interval=\" 0\" timeout=\" 3600\" op stop interval=\" 0\" timeout=\" 3600\" op promote interval=\" 0\" timeout=\" 3600\" op demote interval=\" 0\" timeout=\" 3600\" op monitor interval=\" 60\" role=\" Master\" timeout=\" 700\" op monitor interval=\" 61\" role=\" Slave\" timeout=\" 700\" params SID=\" {{ sap_hana_install_sid }}\" InstanceNumber=\" {{ sap_hana_install_instance_number }}\" PREFER_SITE_TAKEOVER=\" true\" DUPLICATE_PRIMARY_TIMEOUT=\" 7200\" AUTOMATED_REGISTER=\" true \" "
44+ ansible.builtin.command : " crm configure primitive rsc_SAPHana_HDB_{{ sap_hana_install_sid }}{{ sap_hana_install_instance_number }} ocf:suse:SAPHana operations $id=\" rsc_sap_HDB_{{ sap_hana_install_sid }}{{ sap_hana_install_instance_number }}-operations\" op start interval=\" 0\" timeout=\" 3600\" op stop interval=\" 0\" timeout=\" 3600\" op promote interval=\" 0\" timeout=\" 3600\" op demote interval=\" 0\" timeout=\" 3600\" op monitor interval=\" 60\" role=\" Master\" timeout=\" 700\" op monitor interval=\" 61\" role=\" Slave\" timeout=\" 700\" params SID=\" {{ sap_hana_install_sid }}\" InstanceNumber=\" {{ sap_hana_install_instance_number }}\" PREFER_SITE_TAKEOVER=\" true\" DUPLICATE_PRIMARY_TIMEOUT=\" 7200\" AUTOMATED_REGISTER=\" false \" "
4545 when :
4646 - is_primary
4747 - hana_resource | length == 0
You can’t perform that action at this time.
0 commit comments