Skip to content

Commit 64602cf

Browse files
author
Kimmo Forss
committed
DevOps update
1 parent a9d4e4e commit 64602cf

File tree

2 files changed

+29
-18
lines changed

2 files changed

+29
-18
lines changed

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

Lines changed: 21 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,18 @@ Create the SAP configuration and software installation pipeline by choosing _New
189189

190190
Save the Pipeline, to see the Save option select the chevron next to the Run button. Navigate to the Pipelines section and select the pipeline. Rename the pipeline to 'SAP configuration and software installation' by choosing 'Rename/Move' from the three-dot menu on the right.
191191

192+
## Configuration Web App pipeline
193+
194+
Create the Configuration Web App pipeline by choosing _New Pipeline_ from the Pipelines section, select 'Azure Repos Git' as the source for your code. Configure your Pipeline to use an existing Azure Pipelines YAML File. Specify the pipeline with the following settings:
195+
196+
| Setting | Value |
197+
| ------- | -------------------------------------------------- |
198+
| Branch | main |
199+
| Path | `deploy/pipelines/21-deploy-web-app.yaml` |
200+
| Name | Configuration Web App |
201+
202+
Save the Pipeline, to see the Save option select the chevron next to the Run button. Navigate to the Pipelines section and select the pipeline. Rename the pipeline to 'Configuration Web App' by choosing 'Rename/Move' from the three-dot menu on the right.
203+
192204
## Deployment removal pipeline
193205

194206
Create the deployment removal pipeline by choosing _New Pipeline_ from the Pipelines section, select 'Azure Repos Git' as the source for your code. Configure your Pipeline to use an existing Azure Pipelines YAML File. Specify the pipeline with the following settings:
@@ -267,15 +279,10 @@ Create a new variable group 'SDAF-General' using the Library page in the Pipelin
267279

268280
| Variable | Value | Notes |
269281
| ---------------------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------- |
270-
| `ANSIBLE_HOST_KEY_CHECKING` | false | |
271282
| Deployment_Configuration_Path | WORKSPACES | For testing the sample configuration use 'samples/WORKSPACES' instead of WORKSPACES. |
272283
| Branch | main | |
273284
| S-Username | `<SAP Support user account name>` | |
274285
| S-Password | `<SAP Support user password>` | Change variable type to secret by clicking the lock icon. |
275-
| `PAT` | `<Personal Access Token>` | Use the Personal Token defined in the previous step. |
276-
| `POOL` | `<Agent Pool name>` | Use the Agent pool defined in the previous step. |
277-
| `advice.detachedHead` | false | |
278-
| `skipComponentGovernanceDetection` | true | |
279286
| `tf_version` | 1.2.6 | The Terraform version to use, see [Terraform download](https://www.terraform.io/downloads) |
280287

281288
Save the variables.
@@ -347,20 +354,18 @@ Enter a Service connection name, for instance 'Connection to MGMT subscription'
347354
348355
:::image type="content" source="./media/automation-devops/automation-repo-permissions.png" alt-text="Picture showing repository permissions":::
349356

350-
## Register the Deployer as a self-hosted agent for Azure DevOps
351-
352-
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.
353-
354-
355357
## Deploy the Control Plane
356358

357359
Newly created pipelines might not be visible in the default view. Select on recent tab and go back to All tab to view the new pipelines.
358360

359-
Select the _Control plane deployment_ pipeline, provide the configuration names for the deployer and the SAP library and choose "Run" to deploy the control plane. Make sure to check "deploy the web app infrastructure" if you would like to set up the web app.
361+
Select the _Control plane deployment_ pipeline, provide the configuration names for the deployer and the SAP library and choose "Run" to deploy the control plane. Make sure to check ""Deploy the configuration web application" if you would like to set up the configuration web app.
360362

361-
Wait for the deployment to finish.
362363

363-
## Configure the Azure DevOps Services self-hosted agent
364+
### Configure the Azure DevOps Services self-hosted agent manually
365+
366+
> [!NOTE]
367+
>This is only needed if the Azure DevOps Services agent is not automatically configured. Please check that the agent pool is empty before proceeding.
368+
364369

365370
Connect to the deployer by following these steps:
366371

@@ -414,7 +419,9 @@ The agent will now be configured and started.
414419

415420
Checking the "deploy the web app infrastructure" parameter when running the Control plane deployment pipeline will provision the infrastructure necessary for hosting the web app. The "Deploy web app" pipeline will publish the application's software to that infrastructure.
416421

417-
Before running the Deploy web app pipeline, first update the reply-url values for the app registration. As a result of running the SAP workload zone deployment pipeline, part of the web app URL needed will be stored in a variable named "WEBAPP_URL_BASE" in your environment-specific variable group. Copy this value, and use it in the following command:
422+
Wait for the deployment to finish. Once the deployment is complete, navigate to the Extensions tab and follow the instructions to finalize the configuration and update the reply-url values for the app registration.
423+
424+
As a result of running the SAP workload zone deployment pipeline, part of the web app URL needed will be stored in a variable named "WEBAPP_URL_BASE" in your environment-specific variable group. Copy this value, and use it in the following command:
418425

419426
# [Linux](#tab/linux)
420427

articles/virtual-machines/workloads/sap/automation-plan-deployment.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ You'll be creating or granting access to the following services in each workload
161161
* Azure Virtual Networks, for virtual networks, subnets and network security groups.
162162
* Azure Key Vault, for system credentials and the deployment Service Principal.
163163
* Azure Storage accounts, for Boot Diagnostics and Cloud Witness.
164+
* Shared storage for the SAP Systems either Azure Files or Azure NetApp Files.
164165

165166
Before you design your workload zone layout, consider the following questions:
166167

@@ -197,20 +198,23 @@ When planning a deployment, it's important to consider the overall flow. There a
197198
1. Creating the deployment environment
198199
1. Creating shared storage for Terraform state files
199200
1. Creating shared storage for SAP installation media
200-
1. Preparing the workload zone. This step deploys the [workload zone components](#workload-zone-structure), such as the virtual network and key vaults.
201-
1. Deploying the system. This step includes the [infrastructure for the SAP system](#sap-system-setup).
201+
202+
1. Deploy the workload zone. This step deploys the [workload zone components](#workload-zone-structure), such as the virtual network and key vaults.
203+
204+
1. Deploy the system. This step includes the [infrastructure for the SAP system](#sap-system-setup) deployment and the SAP configuration [configuration and SAP installation](automation-run-ansible.md).
202205

203206
## Orchestration environment
204207

205208
For the automation framework, you must execute templates and scripts from one of the following supported environments:
206209

207-
* Azure Cloud Shell
210+
* Azure DevOps
208211
* An Azure-hosted Linux VM
212+
* Azure Cloud Shell
209213
* PowerShell on your local Windows computer
210214

211215
## Naming conventions
212216

213-
The automation framework uses a default naming convention. If you'd like to use a custom naming convention, plan and define your custom names before deployment.
217+
The automation framework uses a default naming convention. If you'd like to use a custom naming convention, plan and define your custom names before deployment. For more information, see [how to configure the naming convention](automation-naming-module.md).
214218

215219
## Disk sizing
216220

0 commit comments

Comments
 (0)