Skip to content

Commit a463ad7

Browse files
Merge pull request #314348 from Xelu86/devopstut
[Update] Deploy SAP infrastructure by using SAP Deployment Automation Framework and Azure DevOps
2 parents 178dced + 8b3b8d3 commit a463ad7

1 file changed

Lines changed: 55 additions & 49 deletions

File tree

Lines changed: 55 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
---
2-
title: 'Tutorial: Use SAP Deployment Automation Framework with DevOps'
3-
description: This tutorial shows you how to use SAP Deployment Automation Framework by using Azure DevOps Services.
2+
title: Deploy SAP infrastructure by using SAP Deployment Automation Framework and Azure DevOps
3+
description: Learn how to deploy SAP infrastructure by using SAP Deployment Automation Framework with Azure DevOps Services.
44
author: mimergel
55
ms.author: mimergel
66
ms.reviewer: kimforss
7-
ms.date: 10/19/2022
8-
ms.topic: tutorial
7+
ms.date: 04/06/2026
8+
ms.topic: how-to
99
ms.service: sap-on-azure
1010
ms.subservice: sap-automation
11-
# Customer intent: "As a DevOps engineer, I want to automate the deployment of SAP infrastructure using a deployment framework, so that I can streamline and manage SAP resources efficiently within Azure DevOps."
11+
# Customer intent: As a DevOps engineer, I want to automate the deployment of SAP infrastructure using a deployment framework, so that I can streamline and manage SAP resources efficiently within Azure DevOps.
1212
---
1313

14-
# Tutorial: Use SAP Deployment Automation Framework with DevOps
14+
# Deploy SAP infrastructure by using SAP Deployment Automation Framework and Azure DevOps
1515

16-
This tutorial shows you how to perform the deployment activities of [SAP Deployment Automation Framework](deployment-framework.md) by using Azure DevOps Services.
16+
[SAP Deployment Automation Framework](deployment-framework.md) provides pipelines in Azure DevOps that automate the entire SAP deployment lifecycle, from control plane setup through SAP software installation. By using these pipelines, you can deploy and manage SAP environments consistently without running scripts manually.
1717

18-
In this tutorial, you learn how to:
18+
In this article, you:
1919

2020
> [!div class="checklist"]
2121
> * Deploy the control plane (deployer infrastructure and library).
@@ -32,24 +32,22 @@ In this tutorial, you learn how to:
3232

3333
- An Azure subscription. If you don't have an Azure subscription, you can [create a free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn).
3434

35-
> [!Note]
36-
> The free Azure account might not be sufficient to run the deployment.
35+
> [!NOTE]
36+
> The free Azure account might not be sufficient to run the deployment.
3737
3838
- A service principal with Contributor permissions in the target subscriptions. For more information, see [Prepare the deployment credentials](deploy-control-plane.md#prepare-the-deployment-credentials).
3939
- A configured Azure DevOps instance. For more information, see [Configure Azure DevOps Services for SAP Deployment Automation](configure-devops.md).
40-
- For the `SAP software acquisition` and the `Configuration and SAP installation` pipelines, a configured self-hosted agent.
40+
- For the `SAP software acquisition` and the `Configuration and SAP installation` pipelines, a configured self-hosted agent. The self-hosted agent virtual machine is deployed as part of the control plane deployment.
4141

42-
The self-hosted agent virtual machine is deployed as part of the control plane deployment.
42+
## Review the deployment configuration
4343

44-
## Overview
45-
46-
These steps reference and use the [default naming convention](naming.md) for the automation framework. Example values are also used for naming throughout the configurations. This tutorial uses the following names:
44+
These steps reference and use the [default naming convention](naming.md) for the automation framework. The configurations also use example values for naming. This article uses the following names:
4745

4846
- The Azure DevOps Services project name is `SAP-Deployment`.
4947
- The Azure DevOps Services repository name is `sap-automation`.
5048
- The control plane environment is named `MGMT`. It's in the region West Europe (`WEEU`) and is installed in the virtual network `DEP00`. The deployer configuration name is `MGMT-WEEU-DEP00-INFRASTRUCTURE`.
5149
- The SAP workload zone has the environment name `DEV`. It's in the same region as the control plane and uses the virtual network `SAP01`. The SAP workload zone configuration name is `DEV-WEEU-SAP01-INFRASTRUCTURE`.
52-
- The SAP system with SID `X00` is installed in this SAP workload zone. The configuration name for the SAP system is `DEV-WEEU-SAP01-X00`.
50+
- The SAP system with security ID (SID) `X00` is installed in this SAP workload zone. The configuration name for the SAP system is `DEV-WEEU-SAP01-X00`.
5351

5452
| Artifact type | Configuration name | Location |
5553
| ------------- | ------------------------------- | --------------- |
@@ -59,10 +57,10 @@ These steps reference and use the [default naming convention](naming.md) for the
5957

6058
The following diagram shows the deployed infrastructure.
6159

62-
:::image type="content" source="media/devops/automation-devops-tutorial-design.png" alt-text="Diagram that shows the DevOps tutorial infrastructure design.":::
60+
:::image type="content" source="media/devops/automation-devops-tutorial-design.png" alt-text="Diagram that shows the deployment infrastructure design.":::
6361

64-
> [!Note]
65-
> In this tutorial, the X00 SAP system is deployed with the following configuration:
62+
> [!NOTE]
63+
> In this example, the X00 SAP system is deployed with the following virtual machine (VM) configuration:
6664
>
6765
> * Standalone deployment
6866
> * HANA DB VM SKU: Standard_M32ts
@@ -73,71 +71,79 @@ The following diagram shows the deployed infrastructure.
7371

7472
The deployment uses 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.
7573

76-
Ensure that the `Deployment_Configuration_Path` variable in the `SDAF-General` variable group is set to `samples/WORKSPACES`.
74+
1. Make sure the `Deployment_Configuration_Path` variable in the `SDAF-General` variable group is set to `samples/WORKSPACES`.
75+
76+
1. Select the `Deploy control plane` pipeline from the **Pipelines** section.
7777

78-
Run the pipeline by selecting the `Deploy control plane` pipeline from the **Pipelines** section. Enter `MGMT-WEEU-DEP00-INFRASTRUCTURE` as the deployer configuration name and `MGMT-WEEU-SAP_LIBRARY` as the SAP library configuration name.
78+
1. Enter `MGMT-WEEU-DEP00-INFRASTRUCTURE` as the deployer configuration name and `MGMT-WEEU-SAP_LIBRARY` as the SAP library configuration name.
7979

80-
:::image type="content" source="media/devops/automation-run-pipeline.png" alt-text="Screenshot that shows the DevOps tutorial Run pipeline dialog.":::
80+
:::image type="content" source="media/devops/automation-run-pipeline.png" alt-text="Screenshot that shows the Run pipeline dialog for the control plane deployment.":::
8181

82-
You can track the progress in the Azure DevOps Services portal. After the deployment is finished, you can see the control plane details on the **Extensions** tab.
82+
1. Track the progress in the Azure DevOps Services portal. After the deployment finishes, you can see the control plane details on the **Extensions** tab.
8383

84-
:::image type="content" source="media/devops/automation-run-pipeline-control-plane.png" alt-text="Screenshot that shows the DevOps Run pipeline results.":::
84+
:::image type="content" source="media/devops/automation-run-pipeline-control-plane.png" alt-text="Screenshot that shows the pipeline results for the control plane deployment.":::
8585

8686
## Deploy the workload zone
8787

8888
The deployment uses the configuration defined in the Terraform variable file located in the `samples/WORKSPACES/LANDSCAPE/DEV-WEEU-SAP01-INFRASTRUCTURE` folder.
8989

90-
Run the pipeline by selecting the `Deploy workload zone` pipeline from the **Pipelines** section. Enter `DEV-WEEU-SAP01-INFRASTRUCTURE` as the workload zone configuration name and `MGM` as the deployer environment name.
90+
1. Select the `Deploy workload zone` pipeline from the **Pipelines** section.
91+
92+
1. Enter `DEV-WEEU-SAP01-INFRASTRUCTURE` as the workload zone configuration name and `MGM` as the deployer environment name.
9193

92-
You can track the progress in the Azure DevOps Services portal. After the deployment is finished, you can see the workload zone details on the **Extensions** tab.
94+
1. Track the progress in the Azure DevOps Services portal. After the deployment finishes, you can see the workload zone details on the **Extensions** tab.
9395

9496
## Deploy the SAP system
9597

9698
The deployment uses the configuration defined in the Terraform variable file located in the `samples/WORKSPACES/SYSTEM/DEV-WEEU-SAP01-X00` folder.
9799

98-
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.
100+
1. Select the `SAP system deployment` pipeline from the **Pipelines** section.
99101

100-
You can track the progress in the Azure DevOps Services portal. After the deployment is finished, you can see the SAP system details on the **Extensions** tab.
102+
1. Enter `DEV-WEEU-SAP01-X00` as the SAP system configuration name.
103+
104+
1. Track the progress in the Azure DevOps Services portal. After the deployment finishes, you can see the SAP system details on the **Extensions** tab.
101105

102106
## Download the SAP software
103107

104-
Run the pipeline by selecting the `SAP software acquisition` pipeline from the **Pipelines** section. Enter `S41909SPS03_v0011ms` as the name of Bill of Materials, `MGMT` as the control plane environment name, and `MGMT` and `WEEU` as the control plane (SAP library) location code.
108+
1. Select the `SAP software acquisition` pipeline from the **Pipelines** section.
105109

106-
You can track the progress in the Azure DevOps portal.
110+
1. Enter `S41909SPS03_v0011ms` as the Bill of Materials name, `MGMT` as the control plane environment name, and `MGMT` and `WEEU` as the control plane (SAP library) location code.
107111

108-
## Run the configuration and SAP installation pipeline
112+
1. Track the progress in the Azure DevOps Services portal.
109113

110-
Run the pipeline by selecting the `Configuration and SAP installation` pipeline from the **Pipelines** section. Enter `DEV-WEEU-SAP01-X00` as the SAP system configuration name and `S41909SPS03_v0010ms` as the Bill of Materials name.
114+
## Run the configuration and SAP installation pipeline
111115

112-
Choose the playbooks to run.
116+
1. Select the `Configuration and SAP installation` pipeline from the **Pipelines** section.
113117

114-
:::image type="content" source="media/devops/automation-os-sap.png" alt-text="Screenshot that shows the DevOps tutorial, OS, and SAP configuration.":::
118+
1. Enter `DEV-WEEU-SAP01-X00` as the SAP system configuration name and `S41909SPS03_v0010ms` as the Bill of Materials name.
115119

116-
You can track the progress in the Azure DevOps Services portal.
120+
1. Choose the playbooks to run.
117121

118-
## Run the repository update pipeline
122+
:::image type="content" source="media/devops/automation-os-sap.png" alt-text="Screenshot that shows the OS and SAP configuration options.":::
119123

120-
Run the pipeline by selecting the `Repository updater` pipeline from the **Pipelines** section. Enter `https://github.com/Azure/sap-automation.git` as the source repository and `main` as the source branch to update from.
124+
1. Track the progress in the Azure DevOps Services portal.
121125

122-
Only select **Force the update** if the update fails.
126+
## Run the repository update pipeline
123127

124-
## Run the removal pipeline
128+
1. Select the `Repository updater` pipeline from the **Pipelines** section.
125129

126-
Run the pipeline by selecting the `Deployment removal` pipeline from the **Pipelines** section.
130+
1. In the **Source** repository field, enter `https://github.com/Azure/sap-automation.git`. In the **Source** branch field, enter `main`.
127131

128-
### SAP system removal
132+
1. Select **Force the update** only if the update fails.
129133

130-
Enter `DEV-WEEU-SAP01-X00` as the SAP system configuration name.
134+
## Run the removal pipeline
131135

132-
### SAP workload zone removal
136+
1. Select the `Deployment removal` pipeline from the **Pipelines** section.
133137

134-
Enter `DEV-WEEU-SAP01-INFRASTRUCTURE` as the SAP workload zone configuration name.
138+
1. To remove the SAP system, enter `DEV-WEEU-SAP01-X00` as the SAP system configuration name.
135139

136-
### Control plane removal
140+
1. To remove the SAP workload zone, enter `DEV-WEEU-SAP01-INFRASTRUCTURE` as the SAP workload zone configuration name.
137141

138-
Enter `MGMT-WEEU-DEP00-INFRASTRUCTURE` as the deployer configuration name and enter `MGMT-WEEU-SAP_LIBRARY` as the SAP library configuration name.
142+
1. To remove the control plane, enter `MGMT-WEEU-DEP00-INFRASTRUCTURE` as the deployer configuration name and `MGMT-WEEU-SAP_LIBRARY` as the SAP library configuration name.
139143

140-
## Next step
144+
## Related content
141145

142-
> [!div class="nextstepaction"]
143-
> [Configure control plane](configure-control-plane.md)
146+
- [SAP Deployment Automation Framework](deployment-framework.md)
147+
- [Configure Azure DevOps Services for SAP Deployment Automation](configure-devops.md)
148+
- [Configure control plane](configure-control-plane.md)
149+
- [Deploy the control plane](deploy-control-plane.md)

0 commit comments

Comments
 (0)