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/virtual-machines/workloads/sap/lama-installation.md
+38-8Lines changed: 38 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,18 +66,25 @@ Also read the [SAP Help Portal for SAP LaMa](https://help.sap.com/viewer/p/SAP_L
66
66
* If you sign in to managed hosts, make sure to not block file systems from being unmounted
67
67
If you sign in to a Linux virtual machines and change the working directory to a directory in a mount point, for example /usr/sap/AH1/ASCS00/exe, the volume cannot be unmounted and a relocate or unprepare fails.
68
68
69
+
* Make sure to disable CLOUD_NETCONFIG_MANAGE on SUSE SLES Linux virtual machines. For more details, see [SUSE KB 7023633](https://www.suse.com/support/kb/doc/?id=7023633).
70
+
69
71
## Set up Azure connector for SAP LaMa
70
72
71
-
The Azure connector is shipped as of SAP LaMa 3.0 SP05. We recommend always installing the latest support package and patch for SAP LaMa 3.0. The Azure connector uses a Service Principal to authorize against Microsoft Azure. Follow these steps to create a Service Principal for SAP Landscape Management (LaMa).
73
+
The Azure connector is shipped as of SAP LaMa 3.0 SP05. We recommend always installing the latest support package and patch for SAP LaMa 3.0.
74
+
75
+
The Azure connector uses the Azure Resource Manager API to manage your Azure resources. SAP LaMa can use a Service Principal or a Managed Identity to authenticate against this API. If your SAP LaMa is running on an Azure VM, we recommend using a Managed Identity as described in chapter [Use a Managed Identity to get access to the Azure API](lama-installation.md#af65832e-6469-4d69-9db5-0ed09eac126d). If you want to use a Service Principal, follow the steps in chapter [Use a Service Principal to get access to the Azure API](lama-installation.md#913c222a-3754-487f-9c89-983c82da641e).
76
+
77
+
### <aname="913c222a-3754-487f-9c89-983c82da641e"></a>Use a Service Principal to get access to the Azure API
78
+
79
+
The Azure connector can use a Service Principal to authorize against Microsoft Azure. Follow these steps to create a Service Principal for SAP Landscape Management (LaMa).
72
80
73
81
1. Go to https://portal.azure.com
74
82
1. Open the Azure Active Directory blade
75
83
1. Click on App registrations
76
-
1. Click on Add
77
-
1. Enter a Name, select Application Type "Web app/API", enter a sign-on URL (for example http:\//localhost) and click on Create
78
-
1. The sign-on URL is not used and can be any valid URL
79
-
1. Select the new App and click on Keys in the Settings tab
80
-
1. Enter a description for a new key, select "Never expires" and click on Save
84
+
1. Click on New registration
85
+
1. Enter a name and click on Register
86
+
1. Select the new App and click on Certificates & secrets in the Settings tab
87
+
1. Create a new client secret, enter a description for a new key, select when the secret should exire and click on Save
81
88
1. Write down the Value. It is used as the password for the Service Principal
82
89
1. Write down the Application ID. It is used as the username of the Service Principal
83
90
@@ -93,17 +100,40 @@ The Service Principal does not have permissions to access your Azure resources b
93
100
1. Click Save
94
101
1. Repeat step 3 to 8 for all resource groups you want to use in SAP LaMa
95
102
103
+
### <aname="af65832e-6469-4d69-9db5-0ed09eac126d"></a>Use a Managed Identity to get access to the Azure API
104
+
105
+
To be able to use a Managed Identity, your SAP LaMa instance has to run on an Azure VM that has a system or user assigned identity. For more information about Managed Identities, read [What is managed identities for Azure resources?](../../../active-directory/managed-identities-azure-resources/overview.md) and [Configure managed identities for Azure resources on a VM using the Azure portal](../../../active-directory/managed-identities-azure-resources/qs-configure-portal-windows-vm.md).
106
+
107
+
The Managed Identity does not have permissions to access your Azure resources by default. You need to give it permissions to access them.
108
+
109
+
1. Go to https://portal.azure.com
110
+
1. Open the Resource groups blade
111
+
1. Select the resource group you want to use
112
+
1. Click Access control (IAM)
113
+
1. Click on Add -> Add Role assignment
114
+
1. Select the role Contributor
115
+
1. Select 'Virtual Machine' for 'Assign access to'
116
+
1. Select the virtual machine where your SAP LaMa instance is running on
117
+
1. Click Save
118
+
1. Repeat the steps for all resource groups you want to use in SAP LaMa
119
+
120
+
In your SAP LaMa Azure connector configuration, select 'Use Managed Identity' to enable the usage of the Managed Identity. If you want to use a system assigned identity, make sure to leave the User Name field empty. If you want to use a user assigned identity, enter the user assigned identity Id into the User Name field.
121
+
122
+
### Create a new connector in SAP LaMa
123
+
96
124
Open the SAP LaMa website and navigate to Infrastructure. Go to tab Cloud Managers and click on Add. Select the Microsoft Azure Cloud Adapter and click Next. Enter the following information:
97
125
98
126
* Label: Choose a name for the connector instance
99
-
* User Name: Service Principal Application ID
100
-
* Password: Service Principal key/password
127
+
* User Name: Service Principal Application ID or ID of the user assigned identity of the virtual machine. See [Using a System or User Assigned Identity] for more information
128
+
* Password: Service Principal key/password. You can leave this field empty if you use a system or user assigned identity.
101
129
* URL: Keep default https://management.azure.com/
102
130
* Monitoring Interval (Seconds): Should be at least 300
131
+
* Use Managed Identity: SAP LaMa can use a system or user assigned identity to authenticate against the Azure API. See chapter [Use a Managed Identity to get access to the Azure API](lama-installation.md#af65832e-6469-4d69-9db5-0ed09eac126d) in this guide.
103
132
* Subscription ID: Azure subscription ID
104
133
* Azure Active Directory Tenant ID: ID of the Active Directory tenant
105
134
* Proxy host: Hostname of the proxy if SAP LaMa needs a proxy to connect to the internet
106
135
* Proxy port: TCP port of the proxy
136
+
* Change Storage Type to save costs: Enable this setting if the Azure Adapter should change the storage type of the Managed Disks to save costs when the disks are not in use. For data disks that are referenced in an SAP instance configuration, the adapter will change the disk type to Standard Storage during an instance unprepare and back to the original storage type during an instance prepare. If you stop a virtual machine in SAP LaMa, the adapter will change the storage type of all attached disks, including the OS disk to Standard Storage. If you start a virtual machine in SAP LaMa, the adapter will change the storage type back to the original storage type.
107
137
108
138
Click on Test Configuration to validate your input. You should see
0 commit comments