You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/center-sap-solutions/register-existing-system.md
+11-44Lines changed: 11 additions & 44 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,15 +26,13 @@ In this how-to guide, you'll learn how to register an existing SAP system with *
26
26
- Check that you're trying to register a [supported SAP system configuration](#supported-systems)
27
27
- Check that your Azure account has **Contributor** role access on the subscription or resource groups where you have the SAP system resources.
28
28
- Register the **Microsoft.Workloads** Resource Provider in the subscription where you have the SAP system.
29
+
- A **User-assigned managed identity** which has **Contributor** role access to the Compute, Network and Storage resource groups of the SAP system. ACSS service uses this identity to discover your SAP system resources and register the system as a VIS resource.
29
30
- Make sure each virtual machine (VM) in the SAP system is currently running on Azure. These VMs include:
30
31
- The ABAP SAP Central Services (ASCS) Server instance
31
32
- The Application Server instance or instances
32
33
- The Database instance for the SAP system identifier (SID)
33
34
- Make sure the **sapstartsrv** process is currently running on all the VMs in the SAP system.
34
35
- Command to start up sapstartsrv process on SAP VMs: /usr/sap/hostctrl/exe/hostexecstart -start
35
-
- Grant the ACSS application **Azure SAP Workloads Management****Contributor** role access to the resource groups for the SAP system. There are two options:
36
-
- If your Azure account has **Owner** or **User Access Admin** role access, you can automatically grant access to the application when registering the SAP system.
37
-
- If your Azure account doesn't have **Owner** or **User Access Admin** role access, you can [enable access for the ACSS application](#enable-acss-resource-permissions) as described later.
38
36
- Grant access to your Azure Storage accounts from the virtual network where the SAP system exists. Use one of these options:
39
37
- Allow outbound internet connectivity for the VMs.
40
38
- Use a [**Storage** service tag](../virtual-network/service-tags-overview.md) to allow connectivity to any Azure storage account from the VMs.
@@ -60,47 +58,17 @@ The following SAP system configurations aren't supported in ACSS:
60
58
61
59
## Enable ACSS resource permissions
62
60
63
-
When you register an existing SAP system as a VIS, ACSS needs **Contributor** role access to the Azure subscription or resource group in which the SAP system exists. Before you register an SAP system with ACSS, either [update your Azure subscription permissions](#update-subscription-permissions)or [update your resource group permissions](#update-resource-group-permissions).
61
+
When you register an existing SAP system as a VIS, ACSS service needs a **User-assigned managed identity** which has **Contributor** role access to the Compute, Network and Storage resource groups of the SAP system. Before you register an SAP system with ACSS, either [create a new user-assigned managed identity or update role access for an existing managed identity](#setup-user-assigned-managed-identity).
64
62
65
-
ACSS uses this role access to install VM extensions on the ASCS, Application Server and DB VMs. This step allows ACSS to discover the SAP system components, and other SAP system metadata. ACSS also needs this same permission to enable SAP system monitoring and management capabilities.
63
+
ACSS uses this user-assigned managed identity to install VM extensions on the ASCS, Application Server and DB VMs. This step allows ACSS to discover the SAP system components, and other SAP system metadata. ACSS also needs this user-assigned managed identity to enable SAP system monitoring and management capabilities.
66
64
67
-
### Update subscription permissions
65
+
### Setup User-assigned managed identity
68
66
69
-
To update permissions for an Azure subscription:
67
+
To provide permissions to the SAP system resources to a user-assigned managed identity:
70
68
71
-
1. Sign in to the [Azure portal](https://portal.azure.com).
72
-
1. Search for and select **Subscriptions** in the Azure portal's search bar.
73
-
1. On the **Subscriptions** page, select the name of the subscription where the SAP system exists.
74
-
1. In the subscription's sidebar menu, select **Access control (IAM)**.
75
-
1. On the **Access control (IAM)** page menu, select **Add role**>**Add role assignment**.
76
-
1. On the **Role** tab of the **Add role assignment** page, select the **Contributor** role in the table.
77
-
1. Select **Next**.
78
-
1. On the **Members** tab, for **Assign access to**, select **User, group, or service principal**.
79
-
1. For **Members**, select **Select members**.
80
-
1. In the **Select members** pane, search for **Azure SAP Workloads Management**.
81
-
1. Select the ACSS application in the results.
82
-
1. Select **Select**.
83
-
1. Select **Review + assign**.
84
-
85
-
### Update resource group permissions
86
-
87
-
To update permissions for a resource group:
88
-
89
-
1. Sign in to the [Azure portal](https://portal.azure.com).
90
-
1. Search for and select **Resource groups** in the Azure portal's search bar.
91
-
1. On the **Resource groups** page, select the name of the resource group where the SAP system exists.
92
-
1. In the resource group's sidebar menu, select **Access control (IAM)**.
93
-
1. On the **Access control (IAM)** page, select **Add**>**Add role assignment**.
94
-
1. On the **Role** tab of the **Add role assignment** page, select the **Contributor** role in the table.
95
-
1. Select **Next**.
96
-
1. On the **Members** tab, for **Assign access to**, select **User, group, or service principal**.
97
-
1. For **Members**, select **Select members**.
98
-
1. In the **Select members** pane, search for **Azure SAP Workloads Management**.
99
-
1. Select the ACSS application in the results.
100
-
1. Select **Select**.
101
-
1. Select **Review + assign**.
102
-
103
-
Then, repeat the process for any other resource groups where the SAP system exists.
69
+
1. Create a new user-assigned managed identity if needed or use an existing one.
70
+
1. Assign **Contributor** role access to the user-assigned managed identity on all Resource Groups in which the SAP system resources exist. That is, Compute, Network and Storage Resource Groups.
71
+
1. Once the permissions are assigned, this managed identity can be used in ACSS to register and manage SAP systems.
104
72
105
73
## Register SAP system
106
74
@@ -117,9 +85,8 @@ To register an existing SAP system in ACSS:
117
85
1. For **SID name**, enter the SID name.
118
86
1. For **SAP product**, select the SAP system product from the drop-down menu.
119
87
1. For **Environment**, select the environment type from the drop-down menu. For example, production or non-production environments.
120
-
1. For **Method to grant permission**, select your preferred method to grant Azure access to the related subscriptions and resource groups.
121
-
- If you choose **Automatic**, ACSS has access to the entire Azure subscription where the ASCS VM exists. To use this option, your Azure account also must have **User Access Admin** or **Owner** role access.
122
-
- If you choose **Manual**, you have to manually grant access to the resource group(s) where the SAP system exists. For more information, see the [resource permissions explanation](#enable-acss-resource-permissions).
1. For **Managed identity name**, select a **User-assigned managed identity** which has **Contributor** role access to the [resources of this SAP system.](#enable-acss-resource-permissions)
123
90
1. Select **Review + register** to discover the SAP system and begin the registration process.
124
91
125
92
:::image type="content" source="media/register-existing-system/registration-page.png" alt-text="Screenshot of ACSS registration page, highlighting mandatory fields to identify the existing SAP system." lightbox="media/register-existing-system/registration-page.png":::
@@ -142,7 +109,7 @@ The process of registering an SAP system in ACSS might fail for the following re
142
109
- Command to start up sapstartsrv process on SAP VMs: /usr/sap/hostctrl/exe/hostexecstart -start
143
110
- At least one Application Server and the Database aren't running for the SAP system that you chose. Make sure the Application Servers and Database VMs are in the **Running** state.
144
111
- The user trying to register the SAP system doesn't have **Contributor** role permissions. For more information, see the [prerequisites for registering an SAP system](#prerequisites).
145
-
- The ACSS service doesn't have **Contributor** role access to the Azure subscription or resource groups where the SAP system exists. For more information, see [how to enable ACSS resource permissions](#enable-acss-resource-permissions).
112
+
- The user-assigned managed identity doesn't have **Contributor** role access to the Azure subscription or resource groups where the SAP system exists. For more information, see [how to enable ACSS resource permissions](#enable-acss-resource-permissions).
146
113
147
114
There's also a known issue with registering *S/4HANA 2021* version SAP systems. You might receive the error message: **Failed to discover details from the Db VM**. This error happens when the Database identifier is incorrectly configured on the SAP system. One possible cause is that the Application Server profile parameter `rsdb/dbid` has an incorrect identifier for the HANA Database. To fix the error:
0 commit comments