Skip to content

Commit 1f21934

Browse files
authored
Merge pull request #230997 from kalyaninamuduri/patch-36
Update register-existing-system.md
2 parents cb1462d + ba75fea commit 1f21934

File tree

1 file changed

+23
-31
lines changed

1 file changed

+23
-31
lines changed

articles/sap/center-sap-solutions/register-existing-system.md

Lines changed: 23 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -19,28 +19,31 @@ author: lauradolan
1919
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:
2020

2121
- 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.
2323
- Get health and status information about your SAP system.
2424
- Start and Stop SAP application tier.
25+
- Start and Stop individual instances of ASCS, App server and HANA Database.
2526
- Monitor the Azure infrastructure metrics for the SAP system resources.
27+
- View Cost Analysis for the SAP system.
2628

2729
## Prerequisites
2830

2931
- 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
3932
- Grant access to your Azure Storage accounts from the virtual network where the SAP system exists. Use one of these options:
4033
- Allow outbound internet connectivity for the VMs.
4134
- Use a [**Storage** service tag](../../virtual-network/service-tags-overview.md) to allow connectivity to any Azure storage account from the VMs.
4235
- 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.
4336
- 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.
4447

4548
## Supported systems
4649

@@ -53,7 +56,7 @@ You can register SAP systems with Azure Center for SAP solutions that run on the
5356
The following SAP system configurations aren't supported in Azure Center for SAP solutions:
5457

5558
- HANA Large Instance (HLI)
56-
- Systems with HANA Scale-out configuration
59+
- Systems with HANA Scale-out, MCOS and MCOD configurations
5760
- Java stack
5861
- Dual stack (ABAP and Java)
5962
- Systems distributed across peered virtual networks
@@ -64,7 +67,7 @@ The following SAP system configurations aren't supported in Azure Center for SAP
6467

6568
## Enable resource permissions
6669

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).
6871

6972
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.
7073

@@ -73,7 +76,7 @@ Azure Center for SAP solutions uses this user-assigned managed identity to insta
7376
To provide permissions to the SAP system resources to a user-assigned managed identity:
7477

7578
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.
7780
1. Once the permissions are assigned, this managed identity can be used in Azure Center for SAP solutions to register and manage SAP systems.
7881

7982
> [!NOTE]
@@ -83,7 +86,7 @@ To provide permissions to the SAP system resources to a user-assigned managed id
8386

8487
To register an existing SAP system in Azure Center for SAP solutions:
8588

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).
8790
1. Search for and select **Azure Center for SAP solutions** in the Azure portal's search bar.
8891
1. On the **Azure Center for SAP solutions** page, select **Register an existing SAP system**.
8992

@@ -95,7 +98,7 @@ To register an existing SAP system in Azure Center for SAP solutions:
9598
1. For **SAP product**, select the SAP system product from the drop-down menu.
9699
1. For **Environment**, select the environment type from the drop-down menu. For example, production or non-production environments.
97100
1. For **Managed identity source**, select **Use existing user-assigned managed identity** option.
98-
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)
99102
1. Select **Review + register** to discover the SAP system and begin the registration process.
100103

101104
:::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:
106109

107110
You can now review the VIS resource in the Azure portal. The resource page shows the SAP system resources, and information about the system.
108111

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.
110113

111114
## Fix registration failure
112115

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.
122120

123121
### Error - Failed to discover details from the DB VM
124122
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
160158
- If this does not solve the issue, try updating the VM Agent using [this document](../../virtual-machines/extensions/update-linux-agent.md)
161159
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).
162160

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.
169161

170162
## Next steps
171163

0 commit comments

Comments
 (0)