Skip to content

Commit 7ec1c56

Browse files
committed
Acrolinc updates
1 parent f30e14a commit 7ec1c56

File tree

3 files changed

+33
-56
lines changed

3 files changed

+33
-56
lines changed

articles/virtual-machines/workloads/sap/automation-configure-devops.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ ms.service: virtual-machines-sap
1111

1212
# Use SAP Deployment Automation Framework from Azure DevOps Services
1313

14-
You can use Azure DevOps Services (Azure Repos and Azure Pipelines) as your configuration repository and as the deployment and configuration environment for the SAP Deployment Automation Framework. This page describes how you can set up Azure DevOps Services.
14+
You can use Azure Repos to store your configuration files and Azure Pipelines to deploy and configure the infrastructure and the SAP application.
1515

1616
## Sign up for Azure DevOps Services
1717

18-
To use Azure DevOps Services, you'll need an Azure DevOps organization. An organization is used to connect groups of related projects. Use your work or school account to automatically connect your organization to your Azure Active Directory (Azure AD). To create an account open [Azure DevOps](https://azure.microsoft.com/services/devops/) and either _sign-in_ or create a new account. Record the URL of the project.
18+
To use Azure DevOps Services, you'll need an Azure DevOps organization. An organization is used to connect groups of related projects. Use your work or school account to automatically connect your organization to your Azure Active Directory (Azure AD). To create an account, open [Azure DevOps](https://azure.microsoft.com/services/devops/) and either _sign-in_ or create a new account. Record the URL of the project.
1919

2020
## Create a new project
2121

@@ -30,7 +30,7 @@ Open (https://dev.azure.com) and create a new project by clicking on the _New Pr
3030

3131
Start by importing the SAP Deployment Automation Framework GitHub repository into Azure Repos. Navigate to the Repositories section and choose Import a repository. Import the 'https://github.com/Azure/sap-automation.git' repository into Azure DevOps. For more info, see [Import a repository](/azure/devops/repos/git/import-git-repository?view=azure-devops&preserve-view=true)
3232

33-
Some of the pipelines will add files to the Azure Repos and therefore require pull permissions. Assign the permissions using Security tab of the source code repository in the Repositories section in Project settings. Assign "Contribute" permissions to the Build Service.
33+
Some of the pipelines will add files to the Azure Repos and therefore require pull permissions. Assign "Contribute" permissions to the 'Build Service' using the Security tab of the source code repository in the Repositories section in Project settings.
3434

3535
:::image type="content" source="./media/automation-devops/automation-repo-permissions.png" alt-text="Picture showing repository permissions":::
3636

@@ -51,9 +51,9 @@ To create the service connection, go to Project settings and navigate to the Ser
5151

5252
:::image type="content" source="./media/automation-devops/automation-create-service-connection.png" alt-text="Picture showing how to create a Service connection":::
5353

54-
Choose _Azure Resource Manager_ as the service connection type and _Service principal (manual)_ as the authentication method. Specify the target subscription (typically the control plane subscription) and provide the service principal details (verify that they're valid using the _Verify_ button). If you don't have a service principal see [Creating a Service Principal](automation-deploy-control-plane.md#prepare-the-deployment-credentials) for more information.
54+
Choose _Azure Resource Manager_ as the service connection type and _Service principal (manual)_ as the authentication method. Enter the target subscription, typically the control plane subscription, and provide the service principal details (verify that they're valid using the _Verify_ button). For more information on how to create a service principal, see [Creating a Service Principal](automation-deploy-control-plane.md#prepare-the-deployment-credentials).
5555

56-
Finally provide a Service connection name, for instance 'Connection to DEV subscription' and ensure that the _Grant access permission to all pipelines_ checkbox is checked. Select _Verify and save_ to save the service connection.
56+
Enter a Service connection name, for instance 'Connection to DEV subscription' and ensure that the _Grant access permission to all pipelines_ checkbox is checked. Select _Verify and save_ to save the service connection.
5757

5858
## Create Azure Pipelines
5959

@@ -165,11 +165,11 @@ The pipelines use a custom task to perform cleanup activities post deployment. T
165165

166166
## Variable definitions
167167

168-
The deployment pipelines are configured to use a set of predefined parameter values. I Azure DevOps these can be defined using variable groups.
168+
The deployment pipelines are configured to use a set of predefined parameter values. I Azure DevOps the variables are defined using variable groups.
169169

170170
### Common variables
171171

172-
There are a set of common variables that are used by all the workload zones. These are stored in their own variable group 'SDAF-General'
172+
There's a set of common variables that are used by all the deployment pipelines. These variables are stored in a variable group called 'SDAF-General'.
173173

174174
Create a new variable group 'SDAF-General' using the Library page in the Pipelines section. Add the following variables:
175175

@@ -201,14 +201,14 @@ Create a new variable group 'SDAF-DEV' using the Library page in the Pipelines s
201201
| ARM_SUBSCRIPTION_ID | Target subscription ID | |
202202
| ARM_TENANT_ID | Tenant ID for service principal | |
203203
| AZURE_CONNECTION_NAME | Previously created connection name | |
204-
| sap_fqdn | SAP Fully Qualified Domain Name, for example sap.contoso.net | Only needed if Private DNS is not used. |
204+
| sap_fqdn | SAP Fully Qualified Domain Name, for example sap.contoso.net | Only needed if Private DNS isn't used. |
205205

206206

207207
Save the variables and assign permissions for all pipelines using _Pipeline permissions_.
208208

209209
## Register the Deployer as a self-hosted agent for Azure DevOps
210210

211-
You must use the Deployer as a [self-hosted agent for Azure DevOps](/azure/devops/pipelines/agents/v2-linux) to perform the Ansible configuration activities. As a one-time step, you must register the Deployer as an self-hosted agent.
211+
You must use the Deployer as a [self-hosted agent for Azure DevOps](/azure/devops/pipelines/agents/v2-linux) to perform the Ansible configuration activities. As a one-time step, you must register the Deployer as a self-hosted agent.
212212

213213
### Prerequisites
214214

articles/virtual-machines/workloads/sap/automation-devops-tutorial.md

Lines changed: 15 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.service: virtual-machines-sap
1313

1414
This tutorial shows how to perform the deployment activities of the [SAP deployment automation framework on Azure](automation-deployment-framework.md) using Azure DevOps Services.
1515

16-
You will perform the following tasks during this lab:
16+
You'll perform the following tasks during this lab:
1717

1818
> [!div class="checklist"]
1919
> * Deploy the Control Plane (Deployer Infrastructure & Library)
@@ -44,8 +44,8 @@ These steps reference and use the [default naming convention](automation-naming.
4444
- Azure DevOps repository name is `sap-automation`
4545
- The control plane environment is named `MGMT`, in the region West Europe (`WEEU`) and installed in the virtual network `DEP00`, giving a deployer configuration name: `MGMT-WEEU-DEP00-INFRASTRUCTURE`
4646

47-
- The SAP workload zone has the environment name `DEV` and is in the same region as the control plane using the virtual network `SAP01`, leading to the SAP workload zone configuration name: `DEV-WEEU-SAP01-INFRASTRUCTURE`
48-
- The SAP System with SID `X00` will be installed in this SAP workload zone. This leads to the configuration name for the SAP System: `DEV-WEEU-SAP01-X00`
47+
- The SAP workload zone has the environment name `DEV` and is in the same region as the control plane using the virtual network `SAP01`, giving the SAP workload zone configuration name: `DEV-WEEU-SAP01-INFRASTRUCTURE`
48+
- The SAP System with SID `X00` will be installed in this SAP workload zone. The configuration name for the SAP System: `DEV-WEEU-SAP01-X00`
4949

5050
| Artifact type | Configuration name | Location |
5151
| ------------- | ------------------------------- | --------------- |
@@ -71,10 +71,7 @@ The deployment will use the configuration defined in the Terraform variable file
7171

7272
Ensure that the 'Deployment_Configuration_Path' variable in the 'SDAF-General' variable group is set to 'samples/WORKSPACES'
7373

74-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _Deploy control plane_ pipeline. Run the pipeline and when prompted enter the following values:
75-
76-
Deployer configuration name: MGMT-WEEU-DEP00-INFRASTRUCTURE
77-
SAP Library configuration name: MGMT-WEEU-SAP_LIBRARY
74+
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.
7875

7976
:::image type="content" source="media/automation-devops/automation-run-pipeline.png" alt-text="Picture showing the DevOps tutorial run pipeline dialog":::
8077

@@ -86,39 +83,28 @@ You can track the progress in the Azure DevOps portal. Once the deployment is co
8683

8784
The deployment will use the configuration defined in the Terraform variable file located in the 'samples/WORKSPACES/LANDSCAPE/DEV-WEEU-SAP01-INFRASTRUCTURE' folder.
8885

89-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _Deploy workload zone_ pipeline. Run the pipeline and when prompted enter the following values:
90-
91-
Workload zone configuration name: DEV-WEEU-SAP01-INFRASTRUCTURE
92-
Deployer Environment Name: MGMT
86+
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 'MGMT' as the Deployer Environment Name.
9387

9488
You can track the progress in the Azure DevOps portal. Once the deployment is complete, you can see the Workload Zone details in the _Extensions_ tab.
9589

9690
## Deploy the SAP System
9791

9892
The deployment will use the configuration defined in the Terraform variable file located in the 'samples/WORKSPACES/SYSTEM/DEV-WEEU-SAP01-X00' folder.
9993

100-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _SAP system deployment_ pipeline. Run the pipeline and when prompted enter the following values:
101-
102-
SAP System configuration name: DEV-WEEU-SAP01-X00
94+
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.
10395

10496
You can track the progress in the Azure DevOps portal. Once the deployment is complete, you can see the SAP System details in the _Extensions_ tab.
10597

10698
## Download the SAP Software
10799

108-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _SAP software acquisition_ pipeline. Run the pipeline and when prompted enter the following values:
109-
110-
Name of Bill of Materials (BoM): S41909SPS03_v0010ms
111-
Control Plane Environment name: MGMT
112-
Control Plane (SAP Library) location code: WEEU
100+
Run the pipeline by selecting the _SAP software acquisition_ pipeline from the Pipelines section. Enter 'S41909SPS03_v0010ms' as the Name of Bill of Materials (BoM), 'MGMT' as the Control Plane Environment name: MGMT and 'WEEU' as the
101+
Control Plane (SAP Library) location code.
113102

114103
You can track the progress in the Azure DevOps portal.
115104

116105
## Run the Configuration and SAP Installation pipeline
117106

118-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _Configuration and SAP installation_ pipeline. Run the pipeline and when prompted enter the following values:
119-
120-
SAP System configuration name: DEV-WEEU-SAP01-X00
121-
Bill of Materials name: S41909SPS03_v0010ms
107+
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.
122108

123109
Choose the playbooks to execute.
124110

@@ -128,36 +114,27 @@ You can track the progress in the Azure DevOps portal.
128114

129115
## Run the Repository update pipeline
130116

131-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _Repository updater_ pipeline. Run the pipeline and when prompted enter the following values:
132-
133-
Source repository: https://github.com/Azure/sap-automation.git
134-
Source branch to update from: main
117+
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.
135118

136119
Only choose 'Force the update' if the update fails.
137120

138121

139122
## Run the removal pipeline
140123

141-
Run the pipeline by navigating to the Pipelines section in the [Azure DevOps Portal](https://dev.azure.com) and selecting the _Deployment removal _ pipeline. Run the pipeline and select which deployment to remove.
124+
Run the pipeline by selecting the _Deployment removal_ pipeline from the Pipelines section.
142125

143126
### SAP System removal
144127

145-
When prompted enter the following values:
146-
147-
SAP System configuration name: DEV-WEEU-SAP01-X00
128+
Enter 'DEV-WEEU-SAP01-X00' as the SAP System configuration name.
148129

149130
### SAP Workload Zone removal
150131

151-
When prompted enter the following values:
152-
153-
SAP workload zone configuration name: DEV-WEEU-SAP01-INFRASTRUCTURE
132+
Enter 'DEV-WEEU-SAP01-INFRASTRUCTURE' as the SAP workload zone configuration name.
154133

155134
### Control Plane removal
156135

157-
When prompted enter the following values:
158-
159-
Deployer configuration name: MGMT-WEEU-DEP00-INFRASTRUCTURE
160-
SAP Library configuration name: MGMT-WEEU-SAP_LIBRARY
136+
Enter 'MGMT-WEEU-DEP00-INFRASTRUCTURE' as the Deployer configuration name and 'MGMT-WEEU-SAP_LIBRARY' as the
137+
SAP Library configuration name.
161138
## Next step
162139

163140
> [!div class="nextstepaction"]

articles/virtual-machines/workloads/sap/automation-tutorial.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ A valid SAP user account (SAP-User or S-User account) with software download pri
113113

114114
1. Go to [Azure Cloud Shell](https://shell.azure.com)
115115

116-
1. Log in to your Azure account.
116+
1. Sign in your Azure account.
117117

118118
```cloudshell-interactive
119119
az login
@@ -147,7 +147,7 @@ A valid SAP user account (SAP-User or S-User account) with software download pri
147147
az account list --query "[?isDefault].{Name: name, CloudName: cloudName, SubscriptionId: id, State: state, IsDefault: isDefault}" --output=table
148148
```
149149
150-
1. Optionally remove all the deployment artifacts. Use this if you want to remove all remnants of previous deployment artifacts.
150+
1. Optionally remove all the deployment artifacts. Use when you want to remove all remnants of previous deployment artifacts.
151151
152152
```cloudshell-interactive
153153
@@ -391,7 +391,7 @@ The sample SAP Library configuration file `MGMT-NOEU-SAP_LIBRARY.tfvars` is in t
391391
392392
## Connect to deployer VM
393393
394-
After preparing the region, the Terraform state file moves to a remote backend, `azurerm`. All secrets for connecting to the deployer VM are available in a key vault within the deployer's resource group.
394+
After the control plane is deployed, the Terraform state is stored using a remote backend, `azurerm`. All secrets for connecting to the deployer VM are available in a key vault in the deployer's resource group.
395395
396396
Make sure you can connect to your deployer VM:
397397
@@ -523,7 +523,7 @@ For this example configuration, the resource group is `MGMT-NOEU-DEP00-INFRASTRU
523523
524524
```
525525

526-
1. Replace `<Deployer KeyVault Name>` with the name of the deployer resource group key vault
526+
1. Replace `<Deployer KeyVault Name>` with the name of the deployer resource group Azure key vault
527527

528528
Your file should look similar to the following example configuration:
529529

@@ -581,7 +581,7 @@ For this example configuration, the resource group is `MGMT-NOEU-DEP00-INFRASTRU
581581
582582
1. Additionally, the following piece of information needs to be collected.
583583
584-
1. The name of deployer state file, can be found under Library resource group
584+
1. The name of deployer state file can be found under Library resource group
585585
- Library resource group -> state storage account -> containers -> tfstate -> Copy the **name** of the Deployer state file.
586586
- Following from the example above, the name of the blob will be: *MGMT-NOEU-DEP00-INFRASTRUCTURE.terraform.tfstate*
587587
@@ -621,7 +621,7 @@ For this example configuration, the resource group is `MGMT-NOEU-DEP00-INFRASTRU
621621
git pull
622622
```
623623
624-
1. Go into the *WORKSPACES/LANDSCAPE* folder and copy the sample configuration files that you'll be using from from the repository.
624+
1. Go into the *WORKSPACES/LANDSCAPE* folder and copy the sample configuration files that you'll be using from the repository.
625625
626626
```bash
627627
cd ~/Azure_SAP_Automated_Deployment/WORKSPACES/LANDSCAPE
@@ -775,7 +775,7 @@ This playbook will install the HANA database instances.
775775
776776
### Playbook: SCS Install
777777
778-
This playbook will install SAP Central Services. If, high availability is configured the playbook will also install the ERS instance and configure Pacemaker.
778+
This playbook will install SAP Central Services. For highly available configurations, the playbook will also install the SAP ERS instance and configure Pacemaker.
779779
780780
### Playbook: DB Load
781781
@@ -787,7 +787,7 @@ This playbook will install the primary application server.
787787
788788
### Playbook: APP Install
789789
790-
This playbook will install the additional application servers.
790+
This playbook will install the application servers.
791791
792792
You've now deployed and configured a stand-alone HANA system, if you need to configure a highly available SAP HANA database run the HANA HA playbook
793793
@@ -809,7 +809,7 @@ To remove the entire SAP infrastructure you deployed, you need to:
809809
810810
Execute the removal of your SAP infrastructure resources and workload zones from the deployer VM. Execute the removal of the control plane from Cloud Shell.
811811
812-
Before you begin, log in to your Azure account. Then, check that you're in the correct subscription.
812+
Before you begin, sign in your Azure account. Then, check that you're in the correct subscription.
813813
814814
### Remove SAP infrastructure
815815

0 commit comments

Comments
 (0)