Skip to content

Commit fa065f5

Browse files
committed
Merge branch 'main' of https://github.com/MicrosoftDocs/azure-docs-pr into amrmon
2 parents f1b7703 + 2a21dc1 commit fa065f5

8 files changed

Lines changed: 236 additions & 207 deletions

File tree

articles/sap/center-sap-solutions/quickstart-register-system-cli.md

Lines changed: 59 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,93 @@
11
---
2-
title: Quickstart - Register an existing system with Azure Center for SAP solutions with CLI
2+
title: Register an existing system with Azure Center for SAP solutions using CLI
33
description: Learn how to register an existing SAP system in Azure Center for SAP solutions through Azure CLI.
44
ms.service: sap-on-azure
55
ms.subservice: center-sap-solutions
66
ms.custom: devx-track-azurecli
77
ms.topic: how-to
8-
ms.date: 05/04/2023
8+
ms.date: 03/10/2026
99
ms.author: kanamudu
1010
author: kalyaninamuduri
1111
#Customer intent: As a developer, I want to register my existing SAP system so that I can use the system with Azure Center for SAP solutions.
1212
# Customer intent: As a system administrator, I want to register my existing SAP system with Azure Center for SAP solutions using CLI, so that I can leverage Azure's management and monitoring capabilities for my SAP environment.
1313
---
14+
1415
# Quickstart: Register an existing SAP system with Azure Center for SAP solutions with CLI
1516

16-
The Azure CLI is used to create and manage Azure resources from the command line or in scripts.
17+
The Azure CLI is used to create and manage Azure resources from the command line or in scripts.
1718

18-
[Azure Center for SAP solutions](overview.md) enables you to deploy and manage SAP systems on Azure. This article shows you how to register an existing SAP system running on Azure with *Azure Center for SAP solutions* using Az CLI. Alternatively, you can register systems using the Azure PowerShell or in the Azure portal.
19-
After you register an SAP system with *Azure Center for SAP solutions*, you can use its visualization, management, and monitoring capabilities through the Azure portal. For example, you can:
19+
[Azure Center for SAP solutions](overview.md) enables you to deploy and manage SAP systems on Azure. This article shows you how to register an existing SAP system running on Azure with *Azure Center for SAP solutions* using Az CLI. Alternatively, you can register systems using the Azure PowerShell or in the Azure portal. After you register an SAP system with *Azure Center for SAP solutions*, you can use its visualization, management, and monitoring capabilities through the Azure portal. For example, you can:
2020

2121
This quickstart enables you to register an existing SAP system with *Azure Center for SAP solutions*.
2222

23-
## Prerequisites for registering a system
23+
## Prerequisites
24+
2425
- Check that you're trying to register a [supported SAP system configuration](/azure/sap/center-sap-solutions/register-existing-system#supported-systems)
2526
- Grant access to Azure Storage accounts from the virtual network where the SAP system exists. Use one of these options:
26-
- Allow outbound internet connectivity for the Virtual Machines.
27-
- Use a [**Storage** service tag](../../virtual-network/service-tags-overview.md) to allow connectivity to any Azure storage account from the VMs.
28-
- Use a [**Storage** service tag with regional scope](../../virtual-network/service-tags-overview.md) to allow storage account connectivity to the Azure storage accounts in the same region as the VMs.
29-
- Allowlist the region-specific IP addresses for Azure Storage.
27+
- Allow outbound internet connectivity for the VMs.
28+
- Use a **Storage** [service tag](../../virtual-network/service-tags-overview.md) to allow connectivity to any Azure storage account from the virtual machines (VMs).
29+
- Use a **Storage** [service tag with regional scope](../../virtual-network/service-tags-overview.md) to allow storage account connectivity to the Azure storage accounts in the same region as the VMs.
30+
- Add the region-specific IP addresses for Azure Storage to your *allow* list.
3031
- The first time you use Azure Center for SAP solutions, you must register the **Microsoft.Workloads** Resource Provider in the subscription where you have the SAP system with [Register-AzResourceProvider](/powershell/module/az.Resources/Register-azResourceProvider), as follows:
3132

32-
```azurecli-interactive
33-
az provider register --namespace 'Microsoft.Workloads'
34-
```
33+
```azurecli-interactive
34+
az provider register --namespace 'Microsoft.Workloads'
35+
```
36+
3537
- Check that your Azure account has **Azure Center for SAP solutions administrator** and **Managed Identity Operator** or equivalent role access on the subscription or resource groups where you have the SAP system resources.
38+
3639
- A **User-assigned managed identity** which has **Azure Center for SAP solutions service role** access on the Compute resource group and **Reader** role access on the Virtual Network resource group of the SAP system. Azure Center for SAP solutions service uses this identity to discover your SAP system resources and register the system as a VIS resource.
37-
- Make sure ASCS, Application Server and Database virtual machines of the SAP system are in **Running** state.
38-
- sapcontrol and saphostctrl exe files must exist on ASCS, App server and Database.
39-
- File path on Linux Virtual Machines: /usr/sap/hostctrl/exe
40-
- File path on Windows Virtual Machines: C:\Program Files\SAP\hostctrl\exe\
40+
41+
- Make sure Advanced Business Application Programming Central Services (ASCS), Application Server, and Database VMs of the SAP system are
42+
in **Running** state.
43+
44+
- `sapcontrol` and `saphostctrl` executable files must exist on ASCS, App server, and Database.
45+
- File path on Linux VMs: `/usr/sap/hostctrl/exe`
46+
- File path on Windows VMs: `C:\Program Files\SAP\hostctrl\exe\`
47+
4148
- Make sure the **sapstartsrv** process is running on all **SAP instances** and for **SAP hostctrl agent** on all the VMs in the SAP system.
42-
- To start hostctrl sapstartsrv, use this command for Linux Virtual Machines: 'hostexecstart -start'
43-
- To start instance sapstartsrv, use the command: 'sapcontrol -nr 'instanceNr' -function StartService S0S'
44-
- To check status of hostctrl sapstartsrv use this command for Windows Virtual Machines: C:\Program Files\SAP\hostctrl\exe\saphostexec –status
45-
- For successful discovery and registration of the SAP system, ensure there's network connectivity between ASCS, App, and DB VMs. 'ping' command for App instance hostname must be successful from ASCS Virtual Machine. 'ping' for Database hostname must be successful from App server Virtual Machine.
49+
- To start hostctrl sapstartsrv, use this command for Linux VMs: `hostexecstart -start`
50+
- To start instance sapstartsrv, use the command: `sapcontrol -nr instanceNr -function StartService S0S`
51+
- To check status of hostctrl sapstartsrv use this command for Windows VMs: `C:\Program Files\SAP\hostctrl\exe\saphostexec –status`
52+
53+
- For successful discovery and registration of the SAP system, ensure there's network connectivity between ASCS, Application Server, and Database VMs. The `ping` command for the App instance hostname must be successful from an ASCS VM. When you ping the Database hostname, it must be successful from the App server VM.
54+
4655
- On App server profile, SAPDBHOST, DBTYPE, DBID parameters must have the right values configured for the discovery and registration of Database instance details.
4756

48-
## Register SAP system
57+
## Register an SAP system
4958

5059
To register an existing SAP system in Azure Center for SAP solutions:
5160

5261
1. Use the [az workloads sap-virtual-instance create](/cli/azure/workloads/sap-virtual-instance#az-workloads-sap-virtual-instance-create) to register an existing SAP system as a *Virtual Instance for SAP solutions* resource:
5362

54-
```azurecli-interactive
55-
az workloads sap-virtual-instance create -g <Resource Group Name> \
56-
-n C36 \
57-
--environment NonProd \
58-
--sap-product s4hana \
59-
--central-server-vm <Virtual Machine resource ID> \
60-
--identity "{type:UserAssigned,userAssignedIdentities:{<Managed Identity resource ID>:{}}}" \
61-
--managed-rg-name "acss-C36" \
62-
--managed-resources-network-access-type <private/public> \
63-
```
64-
- **g** is used to specify the name of the existing Resource Group into which you want the Virtual Instance for SAP solutions resource to be deployed. It could be the same RG in which you have Compute, Storage resources of your SAP system or a different one.
65-
- **n** parameter is used to specify the SAP System ID (SID) that you're registering with Azure Center for SAP solutions.
66-
- **environment** parameter is used to specify the type of SAP environment you're registering. Valid values are *NonProd* and *Prod*.
67-
- **sap-product** parameter is used to specify the type of SAP product you're registering. Valid values are *S4HANA*, *ECC*, *Other*.
68-
- **managed-rg-name** parameter is used to specify the name of the managed resource group which is deployed by ACSS service in your Subscription. This RG is unique for each SAP system (SID) you register. If you don't specify the name, ACSS service sets a name with this naming convention 'mrg-{SID}-{random string}'.
69-
- **managed-resources-network-access-type** specifies the network access configuration for the resources that will be deployed in the Managed Resource Group. The options to choose from are Public and Private. If 'Private' is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. This is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account.
70-
71-
2. Once you trigger the registration process, you can view its status by getting the status of the Virtual Instance for SAP solutions resource that gets deployed as part of the registration process.
72-
73-
```azurecli-interactive
74-
az workloads sap-virtual-instance show -g <Resource-group-name> -n C36
75-
```
63+
```azurecli-interactive
64+
az workloads sap-virtual-instance create -g <Resource Group Name> \
65+
-n C36 \
66+
--environment NonProd \
67+
--sap-product s4hana \
68+
--central-server-vm <Virtual Machine resource ID> \
69+
--identity "{type:UserAssigned,userAssignedIdentities:{<Managed Identity resource ID>:{}}}" \
70+
--managed-rg-name "acss-C36" \
71+
--managed-resources-network-access-type <private/public> \
72+
```
73+
74+
- **g** is used to specify the name of the existing resource group into which you want the Virtual Instance for SAP solutions resource to be deployed. It could be the same resource group in which you have Compute, Storage resources of your SAP system or a different one.
75+
76+
- **n** parameter is used to specify the SAP System ID (SID) that you're registering with Azure Center for SAP solutions.
77+
78+
- **environment** parameter is used to specify the type of SAP environment you're registering. Valid values are `NonProd` and `Prod`.
79+
80+
- **sap-product** parameter is used to specify the type of SAP product you're registering. Valid values are `S4HANA`, `ECC`, `Other`.
81+
82+
- **managed-rg-name** parameter is used to specify the name of the managed resource group that is deployed by Azure Cloud Solution for SAP (ACSS) service in your subscription. This resource group is unique for each SAP system (SID) you register. If you don't specify the name, ACSS service sets a name with this naming convention `mrg-{SID}-{random string}`.
83+
84+
- **managed-resources-network-access-type** specifies the network access configuration for the resources that is deployed in the Managed Resource Group. The options to choose from are **Public** and **Private**. If **Private** is chosen, the Storage Account service tag should be enabled on the subnets in which the SAP VMs exist. The service tag enablement is required for establishing connectivity between VM extensions and the managed resource group storage account. This setting is currently applicable only to Storage Account.
85+
86+
1. Once you trigger the registration process, you can view its status by getting the status of the Virtual Instance for SAP solutions resource that gets deployed as part of the registration process.
87+
88+
```azurecli-interactive
89+
az workloads sap-virtual-instance show -g <resource-group-name> -n C36
90+
```
7691

7792
## Next steps
7893

articles/sap/workloads/deployment-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -984,7 +984,7 @@ Set the following parameters:
984984

985985
If you want to use the Azure repositories, make sure that the traffic to these repositories isn't going through your on-premises intranet. If you created user-defined routes to enable forced tunneling, make sure that you add a route that routes traffic to the repositories directly to the Internet, and not through your site-to-site VPN connection.
986986

987-
The VM Extension for SAP also needs to be able to access the internet. Make sure to install the new VM Extension for SAP and follow the steps in [Configure the Azure VM extension for SAP solutions](vm-extension-for-sap-new.md#configure) in the VM Extension for SAP installation guide to configure the proxy.
987+
The VM Extension for SAP also needs to be able to access the internet. Make sure to install the new VM Extension for SAP and follow the steps in [Configure the Azure VM extension for SAP solutions](vm-extension-for-sap-new.md#configure-the-azure-vm-extension-for-sap-solutions) in the VM Extension for SAP installation guide to configure the proxy.
988988

989989
* **SLES**
990990

0 commit comments

Comments
 (0)