Skip to content

Commit 0e728fa

Browse files
authored
Merge pull request #207830 from jahjha/patch-8
Update install-software.md
2 parents 76ec743 + 54bad58 commit 0e728fa

File tree

1 file changed

+44
-39
lines changed

1 file changed

+44
-39
lines changed

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

Lines changed: 44 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ ACSS supports the following operating system (OS) software versions:
4444

4545
## Required components
4646

47-
The following components are necessary for the SAP installation . If you are following the "Upload components with script" step, these will be installed automatically. However you can also follow "Upload components manually" steps listed below to do this yourself.
47+
The following components are necessary for the SAP installation:
4848

4949
- SAP software installation media (part of the `sapbits` container described later in this article)
5050
- All essential SAP packages (*SWPM*, *SAPCAR*, etc.)
@@ -69,24 +69,10 @@ You can use the following method to upload the SAP components to your Azure acco
6969

7070
You also can [upload the components manually](#upload-components-manually) instead.
7171

72-
### Create storage account and container
72+
### Set up storage account
7373

7474
Before you can download the software, set up an Azure Storage account for the downloads.
7575

76-
1. [Create an Azure Storage account through the Azure portal](../storage/common/storage-account-create.md). Make sure to create the storage account in the same subscription as your SAP system infrastructure. This is the storage account where SAP bits/media will reside.
77-
78-
1. Create a container within the Azure Storage account named `sapbits`.
79-
80-
1. On the storage account's sidebar menu, select **Containers** under **Data storage**.
81-
82-
1. Select **+ Container**.
83-
84-
1. On the **New container** pane, for **Name**, enter `sapbits`.
85-
86-
1. Select **Create**.
87-
88-
### Set up storage account
89-
9076
1. [Create an Ubuntu 20.04 VM in Azure](/cli/azure/install-azure-cli-linux?pivots=apt).
9177

9278
1. Sign in to the VM.
@@ -97,15 +83,35 @@ Before you can download the software, set up an Azure Storage account for the do
9783
curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
9884
```
9985

100-
1. [Update the Azure CLI](/cli/azure/update-azure-cli) to latest version.
86+
1. [Update the Azure CLI](/cli/azure/update-azure-cli) to version 2.30.0 or higher.
10187

88+
1. Install the following packages:
89+
90+
- `pip3` version `pip-21.3.1.tar.gz`
91+
- `wheel` version 0.37.1
92+
- `jq` version 1.6
93+
- `ansible` version 2.9.27
94+
- `netaddr` version 0.8.0
95+
- `zip`
96+
- `netaddr` version 0.8.0
10297

10398
1. Sign in to Azure:
10499

105100
```azurecli
106101
az login
107102
```
108103

104+
1. [Create an Azure Storage account through the Azure portal](../storage/common/storage-account-create.md). Make sure to create the storage account in the same subscription as your SAP system infrastructure.
105+
106+
1. Create a container within the Azure Storage account named `sapbits`.
107+
108+
1. On the storage account's sidebar menu, select **Containers** under **Data storage**.
109+
110+
1. Select **+ Container**.
111+
112+
1. On the **New container** pane, for **Name**, enter `sapbits`.
113+
114+
1. Select **Create**.
109115
110116
1. Download the following shell script for the deployer VM packages.
111117
@@ -139,63 +145,62 @@ Before you can download the software, set up an Azure Storage account for the do
139145
140146
1. In the Azure CLI, when asked for the access key, enter your storage account's key. To find the storage account's key:
141147
142-
1. Find the storage account in the Azure portal you created.
148+
1. Find the storage account in the Azure portal.
143149
144150
1. On the storage account's sidebar menu, select **Access keys** under **Security + networking**.
145151

146152
1. For **key1**, select **Show key and connection string**.
147153

148154
1. Copy the **Key** value.
149155

150-
1. The following packages will be installed automatically under a new folder **deployervmpackages** in the storage account:
151-
152-
- `pip3` version `pip-21.3.1.tar.gz`
153-
- `wheel` version 0.37.1
154-
- `jq` version 1.6
155-
- `ansible` version 2.9.27
156-
- `netaddr` version 0.8.0
157-
- `zip`
158-
- `netaddr` version 0.8.0
159-
156+
1. In the Azure portal, find the container named `sapbits` in the storage account that you created.
160157

161-
1. Make sure the deployer VM packages folder is now visible in `sapbits` container.
158+
1. Make sure the deployer VM packages are now visible in `sapbits`.
162159

163160
1. Find the storage account that you created in the Azure portal.
164161

165162
1. Find the container named `sapbits`.
166163

167164
1. On the **Overview** page for `sapbits`, look for a folder named **deployervmpackages**.
168165

169-
1. Move to next step to download SAP media
170-
171166
### Download SAP media
172167

173168
After setting up your Azure Storage account, you can download the SAP installation media required to install the SAP software.
174169

175170
1. Sign in to the Ubuntu VM that you created in the [previous section](#set-up-storage-account).
176171

177-
1. Install ansible on the ubuntu VM
178-
179-
```bash
180-
sudo pip3 install ansible==2.9.27
181-
```
182-
183172
1. Clone the SAP automation repository from GitHub.
184173

185174
```azurecli
186175
git clone https://github.com/Azure/sap-automation.git
187176
```
188177

178+
1. Generate a shared access signature (SAS) token for the `sapbits` container.
179+
180+
1. In the Azure portal, open the Azure Storage account.
181+
182+
1. Open the `sapbits` container.
183+
184+
1. On the container's sidebar menu, select **Shared access signature** under **Security + networking**.
185+
186+
1. On the SAS page, under **Allowed resource types**, select **Container**.
187+
188+
1. Configure other settings as necessary.
189+
190+
1. Select **Generate SAS and connection string**.
191+
192+
1. Copy the **SAS token** value. Make sure to copy the `?` prefix with the token.
193+
189194
1. Run the Ansible script **playbook_bom_download** with your own information.
190195
191196
- For `<username>`, use your SAP username.
192197
- For `<password>`, use your SAP password.
193198
- For `<storageAccountAccessKey>`, use your storage account's access key. You found this value in the [previous section](#set-up-storage-account).
194199
- For `<containerBasePath>`, use the path to your `sapbits` container. You found this value in the [previous section](#set-up-storage-account).
195-
- For `<containerSasToken>`, enter the SAS token that you generated in the previous step for `sapbits`.
200+
The format is `https://<your-storage-account>.blob.core.windows.net/sapbits`
196201

197202
```azurecli
198-
ansible-playbook ./sap-automation/deploy/ansible/playbook_bom_downloader.yaml -e "bom_base_name=S41909SPS03_v0011ms" -e "deployer_kv_name=abcd" -e "s_user=<username>" -e "s_password=<password>" -e "sapbits_access_key=<storageAccountAccessKey>" -e "sapbits_location_base_path=<containerBasePath>" -e "sapbits_sas_token=<containerSasToken>"
203+
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>"
199204
```
200205

201206
Now, you can [install the SAP software](#install-software) using the installation wizard.

0 commit comments

Comments
 (0)