-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Travis CI User
committed
Nov 28, 2023
1 parent
235c0e5
commit 24e08ec
Showing
381 changed files
with
1,609 additions
and
9,764 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
- "fileshares-vars.yml" | ||
- "hainfra-vars.yml" | ||
- "dns-vars.yml" | ||
|
||
roles: | ||
- ascsclusterinst | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
- "saphana-vars.yml" | ||
- "hainfra-vars.yml" | ||
- "dns-vars.yml" | ||
|
||
roles: | ||
- dbinstance | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,6 @@ | |
- "fileshares-vars.yml" | ||
- "hainfra-vars.yml" | ||
- "dns-vars.yml" | ||
|
||
roles: | ||
- ersclusterinst | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,6 @@ | |
loop: | ||
- "saphana-vars.yml" | ||
roles: | ||
- hdbclusterhooks | ||
- hdbclusterprimary | ||
- hdbstatus | ||
... |
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
cli/ansible/hdbclusterprimary.yml → ansible/hdbprimaryhooks.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
--- | ||
- hosts: all | ||
- hosts: hdb_iphost1 | ||
gather_facts: true | ||
pre_tasks: | ||
- name: Import playbook variables | ||
include_vars: "{{ item }}" | ||
loop: | ||
- "saphana-vars.yml" | ||
roles: | ||
- hsrstatus | ||
- hdbclusterhooks | ||
- hdbclusterprimary | ||
... |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
- "hainfra-vars.yml" | ||
- "dns-vars.yml" | ||
roles: | ||
- sapbasereq | ||
- saphanareq | ||
- clusterreq | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
--- | ||
- hosts: all | ||
- hosts: hdb_iphost2 | ||
gather_facts: true | ||
pre_tasks: | ||
- name: Import playbook variables | ||
include_vars: "{{ item }}" | ||
loop: | ||
- "saphana-vars.yml" | ||
- "hainfra-vars.yml" | ||
roles: | ||
- saphsrreplica | ||
- hdbclusterhooks | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,4 @@ | |
- "hainfra-vars.yml" | ||
roles: | ||
- saphsrreplica | ||
- hdbclusterhooks | ||
... |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
- "hainfra-vars.yml" | ||
- "dns-vars.yml" | ||
roles: | ||
- sapbasereq | ||
- saphanareq | ||
- clusterreq | ||
... |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
NW_Delete_Sapinst_Users.removeUsers = true | ||
|
||
NW_GetMasterPassword.masterPwd = {{ sap_main_password }} | ||
|
||
NW_GetSidNoProfiles.sid = {{ sap_sid | upper }} | ||
|
||
NW_SAPCrypto.SAPCryptoFile = {{ sap_kit }}/sapexe.sar | ||
|
||
NW_SCS_Instance.instanceNumber = {{ sap_ascs_instance_number }} | ||
|
||
NW_SCS_Instance.scsVirtualHostname = {{ cname_ascs }} | ||
|
||
NW_Unpack.sapExeSar = {{ sap_kit }}/sapexe.sar | ||
|
||
NW_getFQDN.FQDN = {{ domain_name }} | ||
|
||
archives.downloadBasket = {{ sap_kit }} | ||
|
||
hostAgent.sapAdmPassword = {{ sap_main_password }} | ||
|
||
nwUsers.sidadmPassword = {{ sap_main_password }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
NW_Delete_Sapinst_Users.removeUsers = true | ||
|
||
NW_Users_Create.sid = {{ sap_sid | upper }} | ||
|
||
hostAgent.sapAdmPassword = {{ sap_main_password }} | ||
|
||
nwUsers.dbtype = ind | ||
|
||
nwUsers.sapadmUID = 1002 | ||
|
||
nwUsers.sapsysGID = 1002 | ||
|
||
nwUsers.sidAdmUID = 1001 | ||
|
||
nwUsers.sidadmPassword = {{ sap_main_password }} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
HDB_Schema_Check_Dialogs.schemaName = SAPHANADB | ||
|
||
HDB_Schema_Check_Dialogs.schemaPassword = {{ sap_main_password }} | ||
|
||
HDB_Userstore.doNotResolveHostnames = {{ cname_hana }} | ||
|
||
NW_Delete_Sapinst_Users.removeUsers = true | ||
|
||
NW_GetMasterPassword.masterPwd = {{ sap_main_password }} | ||
|
||
NW_HDB_DB.abapSchemaName = SAPHANADB | ||
|
||
NW_HDB_DB.abapSchemaPassword = {{ sap_main_password }} | ||
|
||
NW_HDB_DBClient.clientPathStrategy = SAPCPE | ||
|
||
NW_HDB_getDBInfo.dbhost = {{ cname_hana }} | ||
|
||
NW_HDB_getDBInfo.dbsid = {{ hana_sid|upper }} | ||
|
||
NW_HDB_getDBInfo.instanceNumber = {{ hana_sysno }} | ||
|
||
NW_HDB_getDBInfo.systemDbPassword = {{ hana_main_password }} | ||
|
||
NW_HDB_getDBInfo.systemPassword = {{ hana_main_password }} | ||
|
||
NW_HDB_getDBInfo.systemid = {{ hana_sid|upper }} | ||
|
||
NW_Recovery_Install_HDB.extractLocation = /usr/sap/{{ hana_sid|upper }}/HDB{{ hana_sysno }}/backup/data/DB_{{ hana_sid|upper }} | ||
|
||
NW_Recovery_Install_HDB.extractParallelJobs = {{ hdb_concurrent_jobs }} | ||
|
||
NW_Recovery_Install_HDB.sidAdmName = {{ hana_sid|lower }}adm | ||
|
||
NW_Recovery_Install_HDB.sidAdmPassword = {{ hana_main_password }} | ||
|
||
NW_System.installSAPHostAgent = false | ||
|
||
NW_Unpack.sapExeDbSar = {{ sap_kit }}/sapexedb.sar | ||
|
||
NW_getFQDN.FQDN = {{ domain_name }} | ||
|
||
NW_getLoadType.loadType = SAP | ||
|
||
NW_readProfileDir.profileDir = /usr/sap/{{ sap_sid|upper }}/SYS/profile | ||
|
||
archives.downloadBasket = {{ sap_kit }} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
NW_Delete_Sapinst_Users.removeUsers = true | ||
|
||
NW_readProfileDir.profileDir = /usr/sap/{{ sap_sid | upper }}/SYS/profile | ||
|
||
archives.downloadBasket = {{ sap_kit }} | ||
|
||
hostAgent.sapAdmPassword = {{ sap_main_password }} | ||
|
||
nwUsers.sapadmUID = 1002 | ||
|
||
nwUsers.sapsysGID = 1002 | ||
|
||
nwUsers.sidAdmUID = 1001 | ||
|
||
nwUsers.sidadmPassword = {{ sap_main_password }} | ||
|
||
nw_instance_ers.ersInstanceNumber = {{ sap_ers_instance_number }} | ||
|
||
nw_instance_ers.ersVirtualHostname = {{ cname_ers }} | ||
|
||
nw_instance_ers.restartSCS = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
NW_Delete_Sapinst_Users.removeUsers = true | ||
|
||
NW_Users_Create.sid = {{ sap_sid | upper }} | ||
|
||
hostAgent.sapAdmPassword = {{ sap_main_password }} | ||
|
||
nwUsers.dbtype = ind | ||
|
||
nwUsers.sapadmUID = 1002 | ||
|
||
nwUsers.sapsysGID = 1002 | ||
|
||
nwUsers.sidAdmUID = 1001 | ||
|
||
nwUsers.sidadmPassword = {{ sap_main_password }} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
hana_db_env: "source /usr/sap/{{ hana_sid | upper }}/home/.sapenv.sh" | ||
hana_db_status_command: "python /usr/sap/{{ hana_sid | upper }}/HDB{{ hana_sysno }}/exe/python_support/systemOverview.py" | ||
hana_db_status_ok: "| Services | All Started | OK | Yes |" | ||
task_retries: 30 | ||
task_delay: 30 | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: Wait for hdb cluster resource | ||
shell: "{{ hana_db_env }} && {{ hana_db_status_command }}" | ||
become: true | ||
become_user: "{{ hana_sid | lower }}adm" | ||
register: hdbstatus | ||
until: hana_db_status_ok in hdbstatus.stdout | ||
retries: "{{ task_retries }}" | ||
delay: "{{ task_delay }}" | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
hana_db_env: "source /usr/sap/{{ hana_sid | upper }}/home/.sapenv.sh" | ||
hana_replication_status_command: "python /usr/sap/{{ hana_sid | upper }}/HDB{{ hana_sysno }}/exe/python_support/systemReplicationStatus.py" | ||
hana_replication_status_ok: "overall system replication status: ACTIVE" | ||
task_retries: 30 | ||
task_delay: 30 | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
- name: Wait for hana system replication to complete | ||
shell: "{{ hana_db_env }} && {{ hana_replication_status_command }}" | ||
become: true | ||
become_user: "{{ hana_sid | lower }}adm" | ||
register: hsrstatus | ||
until: hana_replication_status_ok in hsrstatus.stdout | ||
retries: "{{ task_retries }}" | ||
delay: "{{ task_delay }}" | ||
ignore_errors: true | ||
failed_when: "hsrstatus.rc not in [ 0, 10, 11, 12, 13, 14, 15 ]" | ||
... |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
HDB_Schema_Check_Dialogs.schemaName = SAPHANADB | ||
|
||
HDB_Schema_Check_Dialogs.schemaPassword = {{ sap_main_password }} | ||
|
||
HDB_Userstore.doNotResolveHostnames = {{ cname_hana }} | ||
|
||
NW_HDB_getDBInfo.dbhost = {{ cname_hana }} | ||
|
||
NW_AS.instanceNumber = {{ sap_aas_instance_number }} | ||
|
||
NW_DI_Instance.virtualHostname = {{ ansible_hostname }} | ||
|
||
NW_Delete_Sapinst_Users.removeUsers = true | ||
|
||
NW_GetMasterPassword.masterPwd = {{ sap_main_password }} | ||
|
||
NW_HDB_getDBInfo.instanceNumber = {{ hana_sysno }} | ||
|
||
NW_System.installSAPHostAgent = false | ||
|
||
NW_getLoadType.loadType = SAP | ||
|
||
NW_readProfileDir.profileDir = /usr/sap/{{ sap_sid | upper }}/SYS/profile | ||
|
||
archives.downloadBasket = {{ sap_kit }} | ||
|
||
nwUsers.sapsysGID = 1002 | ||
|
||
nwUsers.sidAdmUID = 1001 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.