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/sap/center-sap-solutions/register-existing-system.md
+23-31Lines changed: 23 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,28 +19,31 @@ author: lauradolan
19
19
In this how-to guide, you'll learn how to register an existing SAP system with *Azure Center for SAP solutions*. 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:
20
20
21
21
- View and track the SAP system as an Azure resource, called the *Virtual Instance for SAP solutions (VIS)*.
22
-
- Get recommendations for your SAP infrastructure, based on quality checks that evaluate best practices for SAP on Azure.
22
+
- Get recommendations for your SAP infrastructure, Operating System configurations etc. based on quality checks that evaluate best practices for SAP on Azure.
23
23
- Get health and status information about your SAP system.
24
24
- Start and Stop SAP application tier.
25
+
- Start and Stop individual instances of ASCS, App server and HANA Database.
25
26
- Monitor the Azure infrastructure metrics for the SAP system resources.
27
+
- View Cost Analysis for the SAP system.
26
28
27
29
## Prerequisites
28
30
29
31
- Check that you're trying to register a [supported SAP system configuration](#supported-systems)
30
-
- Check that your Azure account has **Contributor** role access on the subscription or resource groups where you have the SAP system resources.
31
-
- Register the **Microsoft.Workloads** Resource Provider in the subscription where you have the SAP system.
32
-
- A **User-assigned managed identity** which has **Virtual Machine Contributor** and **Tag Contributor** role access on the Compute resource group and **Reader** and **Tag Contributor** role access on the 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.
33
-
- Make sure each virtual machine (VM) in the SAP system is currently running on Azure. These VMs include:
34
-
- The ABAP SAP Central Services (ASCS) Server instance
35
-
- The Application Server instance or instances
36
-
- The Database instance for the SAP system identifier (SID)
37
-
- Make sure the **sapstartsrv** process is currently running on all the VMs in the SAP system.
38
-
- Command to start up sapstartsrv process on SAP VMs: /usr/sap/hostctrl/exe/hostexecstart -start
39
32
- Grant access to your Azure Storage accounts from the virtual network where the SAP system exists. Use one of these options:
40
33
- Allow outbound internet connectivity for the VMs.
41
34
- Use a [**Storage** service tag](../../virtual-network/service-tags-overview.md) to allow connectivity to any Azure storage account from the VMs.
42
35
- 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.
43
36
- Allowlist the region-specific IP addresses for Azure Storage.
37
+
- Register the **Microsoft.Workloads** Resource Provider in the subscription where you have the SAP system.
38
+
- Check that your Azure account has **Azure Center for SAP solutions administrator** or equivalent role access on the subscription or resource groups where you have the SAP system resources.
39
+
- A **User-assigned managed identity** which has **Azure Center for SAP solutions service role** and **Tag Contributor** role access on the Compute resource group and **Reader** and **Tag Contributor** role access on the 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.
40
+
- Make sure ASCS, Application Server and Database virtual machines of the SAP system are in **Running** state.
41
+
- sapcontrol and saphostctrl exe files must exist in the path /usr/sap/hostctrl/exe on ASCS, App server and Database.
42
+
- Make sure the **sapstartsrv** process is running on all **SAP instances** and for **SAP hostctrl agent** on all the VMs in the SAP system.
43
+
- To start hostctrl sapstartsrv use the command: 'hostexecstart -start'
44
+
- To start instance sapstartsrv use the command: 'sapcontrol -nr 'instanceNr' -function StartService S0S'
45
+
- For successful discovery and registration of the SAP system, ensure there is network connectivity between ASCS, App and DB VMs. 'ping' command for App instance hostname must be successful from ASCS VM. 'ping' for Database hostname must be successful from App server VM.
46
+
- On App server profile, SAPDBHOST, DBTYPE, DBID parameters must have the right values configured for the discovery and registration of Database instance details.
44
47
45
48
## Supported systems
46
49
@@ -53,7 +56,7 @@ You can register SAP systems with Azure Center for SAP solutions that run on the
53
56
The following SAP system configurations aren't supported in Azure Center for SAP solutions:
54
57
55
58
- HANA Large Instance (HLI)
56
-
- Systems with HANA Scale-out configuration
59
+
- Systems with HANA Scale-out, MCOS and MCOD configurations
57
60
- Java stack
58
61
- Dual stack (ABAP and Java)
59
62
- Systems distributed across peered virtual networks
@@ -64,7 +67,7 @@ The following SAP system configurations aren't supported in Azure Center for SAP
64
67
65
68
## Enable resource permissions
66
69
67
-
When you register an existing SAP system as a VIS, Azure Center for SAP solutions service needs a **User-assigned managed identity** which has **Virtual Machine Contributor** and **Tag Contributor** role access on the Compute (VMs, Disks, Load balancers) resource group and **Reader** role access on the Virtual Network resource group of the SAP system. Before you register an SAP system with Azure Center for SAP solutions, either [create a new user-assigned managed identity or update role access for an existing managed identity](#setup-user-assigned-managed-identity).
70
+
When you register an existing SAP system as a VIS, Azure Center for SAP solutions service needs a **User-assigned managed identity** which has **Azure Center for SAP solutions service role** and **Tag Contributor** role access on the Compute (VMs, Disks, Load balancers) resource group and **Reader** role access on the Virtual Network resource group of the SAP system. Before you register an SAP system with Azure Center for SAP solutions, either [create a new user-assigned managed identity or update role access for an existing managed identity](#setup-user-assigned-managed-identity).
68
71
69
72
Azure Center for SAP solutions uses this user-assigned managed identity to install VM extensions on the ASCS, Application Server and DB VMs. This step allows Azure Center for SAP solutions to discover the SAP system components, and other SAP system metadata. User-assigned managed identity is required to enable SAP system monitoring and management capabilities.
70
73
@@ -73,7 +76,7 @@ Azure Center for SAP solutions uses this user-assigned managed identity to insta
73
76
To provide permissions to the SAP system resources to a user-assigned managed identity:
74
77
75
78
1.[Create a new user-assigned managed identity](../../active-directory/managed-identities-azure-resources/how-manage-user-assigned-managed-identities.md#create-a-user-assigned-managed-identity) if needed or use an existing one.
76
-
1.[Assign **Virtual Machine Contributor** and **Tag Contributor**](../../active-directory/managed-identities-azure-resources/how-manage-user-assigned-managed-identities.md#manage-access-to-user-assigned-managed-identities) role access to the user-assigned managed identity on the resource group(s) which have the Virtual Machines, Disks and Load Balancers of the SAP system and **Reader** role on the resource group(s) which have the Virtual Network components of the SAP system.
79
+
1.[Assign **Azure Center for SAP solutions service role** and **Tag Contributor**](../../active-directory/managed-identities-azure-resources/how-manage-user-assigned-managed-identities.md#manage-access-to-user-assigned-managed-identities) role access to the user-assigned managed identity on the resource group(s) which have the Virtual Machines, Disks and Load Balancers of the SAP system and **Reader** role on the resource group(s) which have the Virtual Network components of the SAP system.
77
80
1. Once the permissions are assigned, this managed identity can be used in Azure Center for SAP solutions to register and manage SAP systems.
78
81
79
82
> [!NOTE]
@@ -83,7 +86,7 @@ To provide permissions to the SAP system resources to a user-assigned managed id
83
86
84
87
To register an existing SAP system in Azure Center for SAP solutions:
85
88
86
-
1. Sign in to the [Azure portal](https://portal.azure.com). Make sure to sign in with an Azure account that has **Contributor** role access to the subscription or resource groups where the SAP system exists. For more information, see the [resource permissions explanation](#enable-resource-permissions).
89
+
1. Sign in to the [Azure portal](https://portal.azure.com). Make sure to sign in with an Azure account that has **Azure Center for SAP solutions administrator** role access to the subscription or resource groups where the SAP system exists. For more information, see the [resource permissions explanation](#enable-resource-permissions).
87
90
1. Search for and select **Azure Center for SAP solutions** in the Azure portal's search bar.
88
91
1. On the **Azure Center for SAP solutions** page, select **Register an existing SAP system**.
89
92
@@ -95,7 +98,7 @@ To register an existing SAP system in Azure Center for SAP solutions:
95
98
1. For **SAP product**, select the SAP system product from the drop-down menu.
96
99
1. For **Environment**, select the environment type from the drop-down menu. For example, production or non-production environments.
1. For **Managed identity name**, select a **User-assigned managed identity** which has **Virtual Machine Contributor**, **Reader** and **Tag Contributor** role access to the [respective resources of this SAP system.](#enable-resource-permissions)
101
+
1. For **Managed identity name**, select a **User-assigned managed identity** which has **Azure Center for SAP solutions service role**, **Reader** and **Tag Contributor** role access to the [respective resources of this SAP system.](#enable-resource-permissions)
99
102
1. Select **Review + register** to discover the SAP system and begin the registration process.
100
103
101
104
:::image type="content" source="media/register-existing-system/registration-page.png" alt-text="Screenshot of Azure Center for SAP solutions registration page, highlighting mandatory fields to identify the existing SAP system." lightbox="media/register-existing-system/registration-page.png":::
@@ -106,19 +109,14 @@ To register an existing SAP system in Azure Center for SAP solutions:
106
109
107
110
You can now review the VIS resource in the Azure portal. The resource page shows the SAP system resources, and information about the system.
108
111
109
-
If the registration doesn't succeed, see [what to do when an SAP system registration fails in Azure Center for SAP solutions](#fix-registration-failure).
112
+
If the registration doesn't succeed, see [what to do when an SAP system registration fails in Azure Center for SAP solutions](#fix-registration-failure). Once you have fixed the configuration causing the issue, retry registration using the **Retry** action available on the VIS resource page on Azure portal.
110
113
111
114
## Fix registration failure
112
115
113
-
The process of registering an SAP system in Azure Center for SAP solutions might fail for the following reasons:
114
-
115
-
- The selected ASCS VM and SID don't match. Make sure to select the correct ASCS VM for the SAP system that you chose, and vice versa.
116
-
- The ASCS instance or VM isn't running. Make sure the instance and VM are in the **Running** state.
117
-
- The **sapstartsrv** process isn't running on all the VMs in the SAP system.
118
-
- Command to start up sapstartsrv process on SAP VMs: /usr/sap/hostctrl/exe/hostexecstart -start
119
-
- 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.
120
-
- 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).
121
-
- The user-assigned managed identity doesn't have **Virtual Machine Contributor** role access to the Compute resources and **Reader** role access to the Network resource groups of the SAP system. For more information, see [how to enable Azure Center for SAP solutions resource permissions](#enable-resource-permissions).
116
+
- The process of registering an SAP system with Azure Center for SAP solutions might fail when any of the [pre-requisites are not met](#prerequisites).
117
+
- Review the pre-requisites and ensure the configurations are as suggested.
118
+
- Review any error messages displayed on the VIS resource on Azure portal. Follow any recommended actions.
119
+
- Once you have fixed the configuration causing the issue, retry registration using the **Retry** action available on the Virtual Instance for SAP solutions page on Azure portal.
122
120
123
121
### Error - Failed to discover details from the DB VM
124
122
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:
@@ -160,12 +158,6 @@ This issue occurs when Azure VM agent's provisioning state is not as expected on
160
158
- If this does not solve the issue, try updating the VM Agent using [this document](../../virtual-machines/extensions/update-linux-agent.md)
161
159
3. If the VM agent does not exist or needs to be re-installed, then follow [this documentation](../../virtual-machines/extensions/update-linux-agent.md).
162
160
163
-
If your registration fails:
164
-
165
-
1. Review the previous list of possible reasons for failure. Follow any steps to fix the issue.
166
-
1. Review any error messages in the Azure portal. Follow any recommended actions.
167
-
1. Delete the VIS resource from the failed registration. The VIS has the same name as the SID that you tried to register.
168
-
1. Retry the [registration process](#register-sap-system) again.
0 commit comments