You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/automation-deploy-control-plane.md
+43-22Lines changed: 43 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,6 @@ The control plane deployment for the [SAP deployment automation framework on Azu
21
21
22
22
The SAP Deployment Frameworks uses Service Principals when doing the deployments. You can create the Service Principal for the Control Plane deployment using the following steps using an account with permissions to create Service Principals:
23
23
24
-
25
24
```azurecli
26
25
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscriptionID>" --name="<environment>-Deployment-Account"
> Be sure to replace the sample value `<subscriptionID>` with your subscription ID.
116
121
> Replace the `<appID>`, `<password>`, `<tenant>` values with the output values of the SPN creation
117
122
123
+
# [Azure DevOps](#tab/devops)
124
+
125
+
Open (https://dev.azure.com) and and go to your Azure DevOps project.
126
+
127
+
> [!NOTE]
128
+
> Ensure that the 'Deployment_Configuration_Path' variable in the 'SDAF-General' variable group is set to the folder that contains your configuration files, for this example you can use 'samples/WORKSPACES'.
129
+
130
+
The deployment will use the configuration defined in the Terraform variable files located in the 'samples/WORKSPACES/DEPLOYER/MGMT-WEEU-DEP00-INFRASTRUCTURE' and 'samples/WORKSPACES/LIBRARY/MGMT-WEEU-SAP_LIBRARY' folders.
131
+
132
+
Run the pipeline by selecting the _Deploy control plane_ pipeline from the Pipelines section. Enter the configuration names for the deployer and the SAP library. Use 'MGMT-WEEU-DEP00-INFRASTRUCTURE' as the Deployer configuration name and 'MGMT-WEEU-SAP_LIBRARY' as the SAP Library configuration name.
133
+
134
+
:::image type="content" source="media/automation-devops/automation-run-pipeline.png" alt-text="Screenshot of Azure DevOps run pipeline dialog.":::
135
+
136
+
You can track the progress in the Azure DevOps portal. Once the deployment is complete, you can see the Control Plane details in the _Extensions_ tab.
137
+
138
+
:::image type="content" source="media/automation-devops/automation-run-pipeline-control-plane.png" alt-text="Screenshot of the run Azure DevOps pipeline run results.":::
139
+
140
+
---
118
141
119
142
### Manually configure the deployer using Azure Bastion
120
143
@@ -154,9 +177,7 @@ cd sap-automation/deploy/scripts
154
177
155
178
The script will install Terraform and Ansible and configure the deployer.
156
179
157
-
### Manually configure the deployer (deployments without public IP)
158
-
159
-
If you deploy the deployer without a public IP Terraform isn't able to configure the deployer Virtual Machine as it will not be able to connect to it.
180
+
### Manually configure the deployer
160
181
161
182
> [!NOTE]
162
183
>You need to connect to the deployer virtual Machine from a computer that is able to reach the Azure Virtual Network
Open (https://dev.azure.com) and go to your Azure DevOps Services project.
167
+
168
+
> [!NOTE]
169
+
> Ensure that the 'Deployment_Configuration_Path' variable in the 'SDAF-General' variable group is set to the folder that contains your configuration files, for this example you can use 'samples/WORKSPACES'.
170
+
171
+
The deployment will use the configuration defined in the Terraform variable file located in the 'samples/WORKSPACES/SYSTEM/DEV-WEEU-SAP01-X00' folder.
172
+
173
+
Run the pipeline by selecting the _SAP system deployment_ pipeline from the Pipelines section. Enter 'DEV-WEEU-SAP01-X00' as the SAP System configuration name.
174
+
175
+
You can track the progress in the Azure DevOps Services portal. Once the deployment is complete, you can see the SAP System details in the _Extensions_ tab.
176
+
164
177
---
165
178
166
179
### Output files
167
180
168
-
The deployment will create a Ansible hosts file (`SID_hosts.yaml`) and an Ansible parameter file (`sap-parameters.yaml`) that are required input for the Ansible playbooks.
181
+
The deployment will create an Ansible hosts file (`SID_hosts.yaml`) and an Ansible parameter file (`sap-parameters.yaml`) that are required input for the Ansible playbooks.
Copy file name to clipboardExpand all lines: articles/virtual-machines/workloads/sap/automation-deploy-workload-zone.md
+36-27Lines changed: 36 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ environment="DEV"
40
40
# The location value is a mandatory field, it is used to control where the resources are deployed
41
41
location="westeurope"
42
42
43
-
# The network logical name is mandatory - it is used in the naming convention and should map to the workload virtual network logical name
43
+
# The network logical name is mandatory - it is used in the naming convention and should map to the workload virtual network logical name
44
44
network_name="SAP01"
45
45
46
46
# network_address_space is a mandatory parameter when an existing Virtual network is not used
@@ -67,7 +67,7 @@ The SAP Deployment Frameworks uses Service Principals when doing the deployment.
67
67
68
68
```azurecli-interactive
69
69
az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscriptionID>" --name="<environment>-Deployment-Account"
70
-
70
+
71
71
```
72
72
73
73
> [!IMPORTANT]
@@ -78,7 +78,7 @@ az ad sp create-for-rbac --role="Contributor" --scopes="/subscriptions/<subscrip
78
78
> - password
79
79
> - tenant
80
80
81
-
Assign the correct permissions to the Service Principal:
81
+
Assign the correct permissions to the Service Principal:
82
82
83
83
```azurecli
84
84
az role assignment create --assignee <appId> \
@@ -87,7 +87,7 @@ az role assignment create --assignee <appId> \
87
87
```
88
88
89
89
## Deploying the SAP Workload zone
90
-
90
+
91
91
The sample Workload Zone configuration file `DEV-WEEU-SAP01-INFRASTRUCTURE.tfvars` is located in the `~/Azure_SAP_Automated_Deployment/samples/WORKSPACES/LANDSCAPE/DEV-WEEU-SAP01-INFRASTRUCTURE` folder.
92
92
93
93
Running the command below will deploy the SAP Workload Zone.
> Replace `<storageaccount>` with the name of the storage account containing the Terraform state files
173
168
> Replace `<statefile_subscription>` with the subscription ID for the storage account containing the Terraform state files
174
169
170
+
# [Azure DevOps](#tab/devops)
171
+
172
+
Open (https://dev.azure.com) and go to your Azure DevOps Services project.
173
+
174
+
> [!NOTE]
175
+
> Ensure that the 'Deployment_Configuration_Path' variable in the 'SDAF-General' variable group is set to the folder that contains your configuration files, for this example you can use 'samples/WORKSPACES'.
176
+
177
+
The deployment will use the configuration defined in the Terraform variable file located in the 'samples/WORKSPACES/LANDSCAPE/DEV-WEEU-SAP01-INFRASTRUCTURE' folder.
178
+
179
+
Run the pipeline by selecting the _Deploy workload zone_ pipeline from the Pipelines section. Enter the workload zone configuration name and the deployer environment name. Use 'DEV-WEEU-SAP01-INFRASTRUCTURE' as the Workload zone configuration name and 'MGMT' as the Deployer Environment Name.
180
+
181
+
You can track the progress in the Azure DevOps Services portal. Once the deployment is complete, you can see the Workload Zone details in the _Extensions_ tab.
182
+
175
183
---
176
184
185
+
177
186
> [!TIP]
178
187
> If the scripts fail to run, it can sometimes help to clear the local cache files by removing `~/.sap_deployment_automation/` and `~/.terraform.d/` directories before running the scripts again.
179
188
180
-
## Next step
189
+
## Next steps
181
190
182
191
> [!div class="nextstepaction"]
183
192
> [About SAP system deployment in automation framework](automation-configure-system.md)
0 commit comments