Skip to content

Commit 6e7d919

Browse files
Merge pull request #230205 from jahjha/patch-30
Update get-sap-installation-media.md
2 parents 111a20f + b55ca78 commit 6e7d919

File tree

1 file changed

+56
-13
lines changed

1 file changed

+56
-13
lines changed

articles/sap/center-sap-solutions/get-sap-installation-media.md

Lines changed: 56 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,34 @@ Next, set up a virtual machine (VM) where you will download the SAP components l
111111
az login
112112
```
113113

114-
1. Install Ansible 2.9.27 on the VM.
114+
1. Install PIP3
115115

116-
```bash
117-
sudo pip3 install ansible==2.9.27
116+
```Bash
117+
sudo apt install python3-pip
118118
```
119-
119+
120+
1. Install Ansible 2.11.12 on the VM.
121+
122+
```Bash
123+
sudo pip3 install ansible-core==2.11.12
124+
```
125+
126+
1. Install Ansible galaxy collection modules
127+
128+
```Bash
129+
ansible-galaxy collection install ansible.netcommon:==5.0.0 -p /opt/ansible/collections
130+
ansible-galaxy collection install ansible.posix:==1.5.1 -p /opt/ansible/collections
131+
ansible-galaxy collection install ansible.utils:==2.9.0 -p /opt/ansible/collections
132+
ansible-galaxy collection install ansible.windows:==1.13.0 -p /opt/ansible/collections
133+
ansible-galaxy collection install community.general:==6.4.0 -p /opt/ansible/collections
134+
```
135+
136+
1. Clone the SAP automation samples repository from GitHub.
137+
138+
```git bash
139+
git clone https://github.com/Azure/SAP-automation-samples.git
140+
```
141+
120142
1. Clone the SAP automation repository from GitHub.
121143

122144
```git bash
@@ -140,21 +162,37 @@ Next, set up a virtual machine (VM) where you will download the SAP components l
140162

141163
Next, download the SAP installation media to the VM using a script.
142164

143-
1. Run the Ansible script **playbook_bom_download** with your own information.
165+
1. Run the Ansible script **playbook_bom_download** with your own information. Enter the actual values within double quotes but without the triangular brackets
144166

145167
The Ansible command that you run should look like:
146168

147-
```azurecli
148-
ansible-playbook ./sap-automation/deploy/ansible/playbook_bom_downloader.yaml -e "bom_base_name=S41909SPS03_v0011ms" -e "deployer_kv_name=dummy_value" -e "s_user=<username>" -e "s_password=<password>" -e "sapbits_access_key=<storageAccountAccessKey>" -e "sapbits_location_base_path=<containerBasePath>"
169+
```Bash
170+
export bom_base_name="<Enter bom base name>"
171+
export s_user="<s-user>"
172+
export s_password="<password>"
173+
export storage_account_access_key="<storageAccountAccessKey>"
174+
export sapbits_location_base_path="<containerBasePath>"
175+
export BOM_directory="<BOM_directory_path>"
176+
export orchestration_ansible_user="<orchestration_ansible_user>"
177+
178+
ansible-playbook /home/demouser/sap-automation/deploy/ansible/playbook_bom_downloader.yaml \
179+
-e "bom_base_name=${bom_base_name}" \
180+
-e "deployer_kv_name=dummy_value" \
181+
-e "s_user=${s_user}" \
182+
-e "s_password=${s_password}" \
183+
-e "storage_account_access_key=${storage_account_access_key}" \
184+
-e "sapbits_location_base_path=${sapbits_location_base_path}" \
185+
-e "BOM_directory=${BOM_directory}" \
186+
-e "orchestration_ansible_user=${orchestration_ansible_user}"
149187
```
150188

151189
1. When asked if you have a storage account, enter `Y`.
152-
153-
1. For `<username>`, use your SAP username.
154-
155-
1. For `<password>`, use your SAP password.
156-
190+
157191
1. For `<bom_base_name>`, use the SAP Version you want to install i.e. **_S41909SPS03_v0011ms_** or **_S42020SPS03_v0003ms_** or **_S4HANA_2021_ISS_v0001ms_**
192+
193+
1. For `<s_user>`, use your SAP username.
194+
195+
1. For `<s_password>`, use your SAP password.
158196

159197
1. For `<storageAccountAccessKey>`, use your storage account's access key. To find the storage account's key:
160198

@@ -176,6 +214,11 @@ Next, download the SAP installation media to the VM using a script.
176214

177215
1. Copy down the **URL** value. The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`. The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`.
178216

217+
1. Where `BOM_directory_path` is the absolute path to **SAP-automation-samples/SAP**
218+
219+
1. Where `orchestration_ansible_user` is the user with **admin** privileges.
220+
221+
179222
Now you can [install the SAP software](install-software.md) through Azure Center for SAP solutions.
180223

181224
## Manual upload method
@@ -404,4 +447,4 @@ Now you can [install the SAP software](install-software.md) through Azure Center
404447

405448
## Next steps
406449

407-
- [Install the SAP software](install-software.md) through Azure Center for SAP solutions
450+
- [Install the SAP software](install-software.md) through Azure Center for SAP solutions

0 commit comments

Comments
 (0)