Skip to content

Commit 6cd1bdd

Browse files
author
Kimmo Forss
committed
Refactor subscription planning and connectivity testing
1 parent e150461 commit 6cd1bdd

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

articles/sap/automation/plan-deployment.md

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ For generic SAP on Azure design considerations, see [Introduction to an SAP adop
2121
2222
## Subscription planning
2323

24-
It's recommended to deploy the control plane and the workload zones in different subscriptions. The control plane should reside in a hub subscription that is used to host the management components of the SAP automation framework.
24+
You should deploy the control plane and the workload zones in different subscriptions. The control plane should reside in a hub subscription that is used to host the management components of the SAP automation framework.
2525

26-
The SAP systems should be hosted in spoke subscriptions, which are dedicated to the SAP systems. An example of partitioning the systems would be to host the development systems in a separate subscription with a dedicated virtual network that would host the development systems, the production systems would be hosted in their own subscription with a dedicated virtual network for the production systems.
26+
The SAP systems should be hosted in spoke subscriptions, which are dedicated to the SAP systems. An example of partitioning the systems would be to host the development systems in a separate subscription with a dedicated virtual network and the production systems would be hosted in their own subscription with a dedicated virtual network.
2727

2828
This approach provides a both a security boundary and allows for clear separation of duties and responsibilities. For example, the SAP Basis team can deploy systems into the workload zones, and the infrastructure team can manage the control plane.
2929

@@ -37,7 +37,7 @@ Before you design your control plane, consider the following questions:
3737
* In which regions do you need to deploy SAP systems?
3838
* Is there a dedicated subscription for the control plane?
3939
* Is there a dedicated deployment credential (service principal) for the control plane?
40-
* Are you deploying to an existing virtual network or creating a new virtual network?
40+
* Is there an existing virtual network or is a new virtual network needed?
4141
* How is outbound internet provided for the virtual machines?
4242
* Are you going to deploy Azure Firewall for outbound internet connectivity?
4343
* Are private endpoints required for storage accounts and the key vault?
@@ -249,6 +249,44 @@ The following table shows the required permissions for the service principals.
249249
> | SAP downloads | `softwaredownloads.sap.com`                                    | SAP software download | See [SAP downloads](https://launchpad.support.sap.com/#/softwarecenter). |
250250
> | Azure DevOps agent | `https://vstsagentpackage.azureedge.net`                                   | Setup of Azure DevOps | |
251251
252+
253+
You can test the connectivity to the URLs from a Linux Virtual Machine in Azure using a PowerShell script that uses the 'run-command' feature in Azure to test the connectivity to the URLs.
254+
255+
The following example shows how to test the connectivity to the URLs by using an interactive PowerShell script.
256+
257+
```powershell
258+
259+
260+
if ( $PSVersionTable.Platform -eq "Unix") {
261+
if ( Test-Path "SDAF") {
262+
}
263+
else {
264+
$sdaf_path = New-Item -Path "SDAF" -Type Directory
265+
}
266+
}
267+
else {
268+
$sdaf_path = Join-Path -Path $Env:HOMEDRIVE -ChildPath "SDAF"
269+
if ( Test-Path $sdaf_path) {
270+
}
271+
else {
272+
New-Item -Path $sdaf_path -Type Directory
273+
}
274+
}
275+
276+
Set-Location -Path $sdaf_path
277+
278+
git clone https://github.com/Azure/sap-automation.git
279+
280+
cd sap-automation
281+
cd deploy
282+
cd scripts
283+
284+
Test-SDAFURLs.ps1
285+
286+
```
287+
288+
289+
252290
## DevOps structure
253291

254292
The deployment framework uses three separate repositories for the deployment artifacts. For your own parameter files, it's a best practice to keep these files in a source control repository that you manage.

0 commit comments

Comments
 (0)