Skip to content

Commit 86a4c6e

Browse files
authored
Merge pull request #211329 from jahjha/patch-12
Update install-software.md
2 parents 5034ec2 + 23ae562 commit 86a4c6e

File tree

1 file changed

+39
-60
lines changed

1 file changed

+39
-60
lines changed

articles/center-sap-solutions/install-software.md

Lines changed: 39 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The following components are necessary for the SAP installation:
6464

6565
## Option 1: Upload software components with script
6666

67-
You can use the following method to upload the SAP components to your Azure account using scripts. Then, you can [run the software installation wizard](#install-software) to install the SAP software.
67+
You can use the following method to upload the SAP components to your Azure account using scripts. Then, you can [run the software installation wizard](#install-software) to install the SAP software. We recommend using this method.
6868

6969
You also can [upload the components manually](#option-2-upload-software-components-manually) instead.
7070

@@ -86,8 +86,10 @@ Before you can download the software, set up an Azure Storage account for storin
8686

8787
1. Grant the ACSS application *Azure SAP Workloads Management* **Storage Blob Data Reader** and **Reader and Data Access** role access on this storage account.
8888

89-
### Download supporting software
90-
After setting up your Azure Storage account, you need an Ubuntu VM to run scripts that download the software components.
89+
90+
### Download SAP media
91+
92+
You can download the SAP installation media required to install the SAP software, using a script as described in this section.
9193

9294
1. Create an Ubuntu 20.04 VM in Azure
9395

@@ -108,82 +110,62 @@ After setting up your Azure Storage account, you need an Ubuntu VM to run script
108110
az login
109111
```
110112

111-
1. Download the following shell script for the deployer VM packages.
113+
1. Install Ansible 2.9.27 on the ubuntu VM
112114

113-
```azurecli
114-
wget "https://raw.githubusercontent.com/Azure/Azure-Center-for-SAP-solutions-preview/main/DownloadDeployerVMPackages.sh" -O "DownloadDeployerVMPackages.sh"
115+
```bash
116+
sudo pip3 install ansible==2.9.27
115117
```
118+
119+
1. Clone the SAP automation repository from GitHub.
116120

117-
1. Update the shell script's file permissions.
118-
119-
```azurecli
120-
chmod +x DownloadDeployerVMPackages.sh
121+
```git bash
122+
git clone https://github.com/Azure/sap-automation.git
121123
```
122124

123-
1. Run the shell script.
125+
1. Change the branch to main
124126

125-
```azurecli
126-
./DownloadDeployerVMPackages.sh
127+
```git bash
128+
git checkout main
127129
```
128-
129-
1. When asked if you have a storage account, enter `Y`.
130-
131-
1. When asked for the base path to the software storage account, enter the container path. To find the container path:
132130

133-
1. Find the storage account that you created in the Azure portal.
131+
1. [Optional] : Verify if the current branch is "main"
134132

135-
1. Find the container named `sapbits`.
136133

137-
1. On the container's sidebar menu, select **Properties** under **Settings**.
134+
```git bash
135+
git status
136+
```
138137

139-
1. Copy down the **URL** value. The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`.
138+
1. Run the Ansible script **playbook_bom_download** with your own information.
139+
140+
- When asked if you have a storage account, enter `Y`.
141+
- For `<username>`, use your SAP username.
142+
- For `<password>`, use your SAP password.
143+
- For `<bom_base_name>`, use the SAP Version you want to install i.e. **_S41909SPS03_v0011ms_** or **_S42020SPS03_v0003ms_** or **_S4HANA_2021_ISS_v0001ms_**
144+
- For `<storageAccountAccessKey>`, use your storage account's access key. To find the storage account's key:
140145

141-
1. In the Azure CLI, when asked for the access key, enter your storage account's key. To find the storage account's key:
142146

143-
1. Find the storage account in the Azure portal.
147+
1. Find the storage account in the Azure portal that you created.
144148

145149
1. On the storage account's sidebar menu, select **Access keys** under **Security + networking**.
146150
147151
1. For **key1**, select **Show key and connection string**.
148152
149153
1. Copy the **Key** value.
150-
151-
1. Once the script completes successfully, in the Azure portal, find the container named `sapbits` in the storage account that you created.
152-
153-
1. Make sure the deployer VM packages are now visible in `sapbits`.
154+
155+
- For `<containerBasePath>`, use the path to your `sapbits` container. To find the container path:
154156
155157
1. Find the storage account that you created in the Azure portal.
156158
157159
1. Find the container named `sapbits`.
158160
159-
1. On the **Overview** page for `sapbits`, look for a folder named **deployervmpackages**.
160-
161-
### Download SAP media
162-
163-
You can download the SAP installation media required to install the SAP software, using a script as described in this section.
164-
165-
1. Sign in to the Ubuntu VM that you created in the [previous section](#download-supporting-software).
166-
167-
1. Install Ansible 2.9.27 on the ubuntu VM
168-
169-
```bash
170-
sudo pip3 install ansible==2.9.27
171-
```
172-
173-
1. Clone the SAP automation repository from GitHub.
174-
175-
```azurecli
176-
git clone https://github.com/Azure/sap-automation.git
177-
```
178-
179-
1. Run the Ansible script **playbook_bom_download** with your own information.
161+
1. On the container's sidebar menu, select **Properties** under **Settings**.
180162

181-
- For `<username>`, use your SAP username.
182-
- For `<password>`, use your SAP password.
183-
- For `<bom_base_name>`, use the SAP Version you want to install i.e. **_S41909SPS03_v0011ms_** or **_S42020SPS03_v0003ms_** or **_S4HANA_2021_ISS_v0001ms_**
184-
- For `<storageAccountAccessKey>`, use your storage account's access key. You found this value in the [previous section](#download-supporting-software).
185-
- For `<containerBasePath>`, use the path to your `sapbits` container. You found this value in the [previous section](#download-supporting-software).
163+
1. Copy down the **URL** value. The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`.
186164
The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`
165+
166+
167+
- Ansible command to run
168+
187169

188170

189171
```azurecli
@@ -346,14 +328,10 @@ To install the SAP software on Azure, use the ACSS installation wizard.
346328

347329
1. For **BOM directory location**, select **Browse** and find the path to your BOM file. For example, `https://<your-storage-account>.blob.core.windows.net/sapbits/sapfiles/boms/S41909SPS03_v0010ms.yaml`.
348330

349-
1. For **SAP FQDN**, provide a fully qualified domain name (FQDN) for your SAP system. For example, `sap.contoso.com`.
350-
351-
1. For High Availability (HA) systems only, enter the client identifier for the Fencing Agent service principal for **Fencing client ID**.
331+
1. For High Availability (HA) systems only, enter the client identifier for the STONITH Fencing Agent service principal for **Fencing client ID**.
352332

353333
1. For High Availability (HA) systems only, enter the password for the Fencing Agent service principal for **Fencing client password**.
354334

355-
1. For **SSH private key**, provide the SSH private key that you created or selected as part of your infrastructure deployment.
356-
357335
1. Select **Next**.
358336

359337
1. On the **Review + install** tab, review the software settings.
@@ -410,8 +388,9 @@ If you encounter this problem, follow these steps:
410388
411389
- For `<username>`, use your SAP username.
412390
- For `<bom_base_name>`, use the SAP Version you want to install i.e. **_S41909SPS03_v0011ms_** or **_S42020SPS03_v0003ms_** or **_S4HANA_2021_ISS_v0001ms_**
413-
- For `<storageAccountAccessKey>`, use your storage account's access key. You found this value in the [previous section](#download-supporting-software).
414-
- For `<containerBasePath>`, use the path to your `sapbits` container. You found this value in the [previous section](#download-supporting-software).
391+
- For `<storageAccountAccessKey>`, use your storage account's access key. You found this value in the Download SAP media section
392+
- For `<containerBasePath>`, use the path to your `sapbits` container. You found this value in the Download SAP media section.
393+
415394
The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`
416395

417396
This should resolve the problem and you can proceed with next steps as described in the section.

0 commit comments

Comments
 (0)