Skip to content

Commit 4caa48b

Browse files
Merge pull request #314082 from Xelu86/dlsapsoft
[Update] Download SAP software
2 parents 30a5051 + 3efe860 commit 4caa48b

1 file changed

Lines changed: 54 additions & 55 deletions

File tree

articles/sap/automation/software.md

Lines changed: 54 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ title: Download SAP software for the automation framework
33
description: Download the SAP software to your Azure environment by using Ansible playbooks to use SAP Deployment Automation Framework.
44
author: kimforss
55
ms.author: kimforss
6-
ms.reviewer: kimforss
7-
ms.date: 11/17/2021
6+
ms.date: 04/01/2026
87
ms.topic: how-to
98
ms.service: sap-on-azure
109
ms.subservice: sap-automation
@@ -16,7 +15,9 @@ ms.custom:
1615

1716
# Download SAP software
1817

19-
You need a copy of the SAP software before you can use [SAP Deployment Automation Framework](deployment-framework.md). [Prepare your Azure environment](#configure-a-key-vault) so that you can put the SAP media in your storage account. Then, [download the SAP software by using Ansible playbooks](#download-sap-software).
18+
You need a copy of the SAP software before you can use SAP Deployment Automation Framework. Prepare your Azure environment to store the SAP media in your storage account. Then, download the SAP software by using Ansible playbooks.
19+
20+
For more information about the framework, see [SAP Deployment Automation Framework](deployment-framework.md).
2021

2122
## Prerequisites
2223

@@ -29,89 +30,87 @@ First, configure your deployer key vault secrets. For this example configuration
2930

3031
1. [Sign in to the Azure CLI](/cli/azure/authenticate-azure-cli) with the account you want to use.
3132

32-
```azurecli
33-
az login
34-
```
33+
```azurecli
34+
az login
35+
```
3536

36-
1. Add a secret with the username for your SAP user account. Replace `<keyvault-name>` with the name of your deployer key vault. Also replace `<sap-username>` with your SAP username.
37+
1. Add a secret with the username for your SAP user account. Replace `<keyvault-name>` with the name of your deployer key vault, and replace `<sap-username>` with your SAP username.
3738

38-
```azurecli
39-
export key_vault=<vaultID>
40-
sap_username=<sap-username>
39+
```azurecli
40+
export key_vault=<keyvault-name>
41+
sap_username=<sap-username>
4142
42-
az keyvault secret set --name "S-Username" --vault-name $key_vault --value "${sap_username}";
43-
```
43+
az keyvault secret set --name "S-Username" --vault-name $key_vault --value "${sap_username}";
44+
```
4445

45-
1. Add a secret with the password for your SAP user account. Replace `<keyvault-name>` with the name of your deployer key vault. Also replace `<sap-password>` with your SAP password.
46+
1. Add a secret with the password for your SAP user account. Replace `<sap-password>` with your SAP password.
4647

47-
```azurecli
48-
sap_user_password="<sap-password>
49-
az keyvault secret set --name "S-Password" --vault-name "${key_vault}" --value "${sap_user_password}";
50-
```
48+
```azurecli
49+
sap_user_password="<sap-password>"
50+
az keyvault secret set --name "S-Password" --vault-name "${key_vault}" --value "${sap_user_password}";
51+
```
5152

52-
1. Two other secrets are needed in this step for the storage account. The automation framework automatically sets up `sapbits`. It's always a good practice to verify whether they existed in your deployer key vault or not.
53+
1. Verify that the following secrets exist in your deployer key vault. The automation framework automatically sets up `sapbits`, but confirm that the secrets are present.
5354

54-
```text
55-
sapbits-access-key
56-
sapbits-location-base-path
57-
```
55+
```text
56+
sapbits-access-key
57+
sapbits-location-base-path
58+
```
5859

59-
## Download SAP software
60+
## Download the SAP software with Ansible playbooks
6061

61-
Next, [configure your SAP parameters file](#configure-the-parameters-file) for the download process. Then, [download the SAP software by using Ansible playbooks](#download-sap-software).
62+
Next, [configure your SAP parameters file](#configure-the-parameters-file) for the download process. Then, [run the Ansible playbooks](#run-the-ansible-playbooks) to download the software.
6263

6364
### Configure the parameters file
6465

6566
To configure the SAP parameters file:
6667

67-
1. Create a new directory called `BOMS`.
68+
1. Create a directory called `BOMS`.
6869

69-
```bash
70-
mkdir -p ~/Azure_SAP_Automated_Deployment/WORKSPACES/BOMS; cd $_
71-
```
70+
```bash
71+
mkdir -p ~/Azure_SAP_Automated_Deployment/WORKSPACES/BOMS; cd $_
72+
```
7273

7374
1. Create the SAP parameters YAML file.
7475

75-
```bash
76-
cat <<EOF > sap-parameters.yaml
77-
---
78-
bom_base_name: S41909SPS03_v0010ms
79-
kv_name: Name of your Management/Control Plane keyvault
80-
..
81-
EOF
82-
```
76+
```bash
77+
cat <<EOF > sap-parameters.yaml
78+
---
79+
bom_base_name: S41909SPS03_v0010ms
80+
kv_name: Name of your Management/Control Plane keyvault
81+
..
82+
EOF
83+
```
8384
84-
1. Open `sap-parameters.yaml` in an editor.
85+
1. Open `sap-parameters.yaml` in an editor and verify the following values:
8586
86-
```bash
87-
vi sap-parameters.yaml
88-
```
87+
```bash
88+
vi sap-parameters.yaml
89+
```
8990
90-
1. Update the following parameters:
91+
1. Confirm that `bom_base_name` is set to the correct Bill of Materials name for your deployment (for example, `S41909SPS03_v0010ms`).
9192
92-
1. Change the value of `bom_base_name` to `S41909SPS03_v0010ms`.
93+
1. Confirm that `kv_name` matches the name of your deployer key vault.
9394
94-
1. Change the value of `kv_name` to the name of the deployer key vault.
95-
96-
1. (If needed) Change the value of `secret_prefix` to match the prefix in your environment (for example, `DEV-WEEU-SAP`).
95+
1. (If needed) Update the value of `secret_prefix` to match the prefix in your environment (for example, `DEV-WEEU-SAP`).
9796
9897
### Run the Ansible playbooks
9998
100-
You're ready to run the Ansible playbooks. One way you can run the playbooks is to use the validator test menu.
99+
You're ready to run the Ansible playbooks. One way to run the playbooks is to use the validator test menu.
101100
102101
1. Run the download menu script:
103102
104-
```bash
105-
~/Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/download_menu.sh
106-
```
103+
```bash
104+
~/Azure_SAP_Automated_Deployment/sap-automation/deploy/ansible/download_menu.sh
105+
```
107106
108107
1. Select the playbook to run. For example:
109-
110-
```text
111-
1) BoM Downloader
112-
2) Quit
113-
Please select playbook:
114-
```
108+
109+
```text
110+
1) BoM Downloader
111+
2) Quit
112+
Please select playbook:
113+
```
115114
116115
Another option is to run the Ansible playbooks by using the `ansible-playbook` command.
117116

0 commit comments

Comments
 (0)