|
1 | 1 | --- |
2 | | -title: Quickstart - Install software for a distributed non-HA SAP system with Azure Center for SAP solutions with PowerShell |
3 | | -description: Learn how to install software for a distributed non-HA SAP system in Azure Center for SAP solutions through Azure PowerShell module. |
| 2 | +title: Install SAP software for a distributed non-HA system by using Azure PowerShell |
| 3 | +description: Learn how to install SAP software for a distributed non-high-availability SAP system in Azure Center for SAP solutions by using Azure PowerShell. |
4 | 4 | ms.service: sap-on-azure |
5 | 5 | ms.subservice: center-sap-solutions |
6 | 6 | ms.custom: devx-track-azurepowershell |
7 | 7 | ms.topic: quickstart |
8 | | -ms.date: 05/04/2023 |
| 8 | +ms.date: 04/16/2026 |
9 | 9 | ms.author: sagarkeswani |
10 | 10 | author: sagarkeswani |
11 | | -#Customer intent: As a developer, I want to Create a Distributed non-HA SAP system so that I can use the system with Azure Center for SAP solutions. |
12 | 11 | # Customer intent: As a cloud administrator, I want to install SAP software for a distributed non-high-availability system using PowerShell, so that I can set up and manage the SAP environment within the Azure Center for SAP solutions. |
13 | 12 | --- |
14 | | -# Quickstart: Install software for a distributed non-high-availability (HA) SAP system with Azure Center for SAP solutions using Azure PowerShell |
15 | 13 |
|
16 | | -The [Azure PowerShell AZ](/powershell/azure/new-azureps-module-az) module is used to create and manage Azure resources from the command line or in scripts. |
| 14 | +# Install SAP software for a distributed non-HA system by using Azure PowerShell |
17 | 15 |
|
18 | | -[Azure Center for SAP solutions](overview.md) enables you to deploy and manage SAP systems on Azure. This article shows you how to Install SAP software for infrastructure deployed for an SAP system. In the [previous step](deploy-s4hana.md), you created infrastructure for an SAP system with non highly available (HA) Distributed architecture on Azure with *Azure Center for SAP solutions* using Az PowerShell module. |
| 16 | +[Azure Center for SAP solutions](overview.md) enables you to deploy and manage SAP systems on Azure. This quickstart shows you how to install SAP software for infrastructure deployed for an SAP system. In the [previous step](deploy-s4hana.md), you created infrastructure for an SAP system with a non-highly available distributed architecture on Azure by using Azure Center for SAP solutions. |
19 | 17 |
|
20 | | -After you [deploy infrastructure](deploy-s4hana.md) and install SAP software with *Azure Center for SAP solutions*, you can use its visualization, management and monitoring capabilities through the [Virtual Instance for SAP solutions](manage-virtual-instance.md). For example, you can: |
| 18 | +After you [deploy infrastructure](deploy-s4hana.md) and install SAP software, you can manage and monitor the system through the [Virtual Instance for SAP solutions (VIS)](manage-virtual-instance.md) resource. For example, you can: |
21 | 19 |
|
22 | 20 | - View and track the SAP system as an Azure resource, called the *Virtual Instance for SAP solutions (VIS)*. |
23 | | -- Get recommendations for your SAP infrastructure, Operating System configurations etc. based on quality checks that evaluate best practices for SAP on Azure. |
| 21 | +- Get recommendations for your SAP infrastructure and operating system configurations based on quality checks that evaluate best practices for SAP on Azure. |
24 | 22 | - Get health and status information about your SAP system. |
25 | | -- Start and Stop SAP application tier. |
26 | | -- Start and Stop individual instances of ASCS, App server and HANA Database. |
| 23 | +- Start and stop the SAP application tier. |
| 24 | +- Start and stop individual instances of Advanced Business Application Programming SAP Central Services (ASCS), application server, and HANA database. |
27 | 25 | - Monitor the Azure infrastructure metrics for the SAP system resources. |
28 | | -- View Cost Analysis for the SAP system. |
| 26 | +- View cost analysis for the SAP system. |
29 | 27 |
|
30 | 28 | ## Prerequisites |
31 | | -- An Azure subscription. |
32 | | -- An Azure account with **Azure Center for SAP solutions administrator** and **Managed Identity Operator** role access to the subscriptions and resource groups in which you'll create the Virtual Instance for SAP solutions (VIS) resource. |
33 | | -- A **User-assigned managed identity** which has **Azure Center for SAP solutions service role** access on the Subscription or at least all resource groups (Compute, Network,Storage). |
34 | | -- A storage account where you would store the SAP Media |
35 | | -- **Reader and Data Access** role to the **User-assigned managed identity** on the storage account where you would store the SAP Media. |
| 29 | + |
| 30 | +- An Azure subscription. If you don't have one, [create a free account](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn). |
| 31 | +- An Azure account with **Azure Center for SAP solutions administrator** and **Managed Identity Operator** role access to the subscriptions and resource groups in which you create the Virtual Instance for SAP solutions (VIS) resource. |
| 32 | +- A **User-assigned managed identity** that has **Azure Center for SAP solutions service role** access on the subscription or at least all resource groups (compute, network, storage). |
| 33 | +- A storage account where you store the SAP media. |
| 34 | +- **Reader and Data Access** role assigned to the **User-assigned managed identity** on the storage account where you store the SAP media. |
36 | 35 | - A [network set up for your infrastructure deployment](prepare-network.md). |
37 | 36 | - A deployment of S/4HANA infrastructure. |
38 | 37 | - The SSH private key for the virtual machines in the SAP system. You generated this key during the infrastructure deployment. |
39 | | -- You should have the SAP installation media available in a storage account. For more information, see [how to download the SAP installation media](get-sap-installation-media.md). |
40 | | -- The *json* configuration file that you used to create infrastructure in the [previous step](deploy-s4hana.md) for SAP system using PowerShell or Azure CLI. |
41 | | - |
42 | | -## Create *json* configuration file |
43 | | - |
44 | | -- The json file for installation of SAP software is similar to the one used to Deploy infrastructure for SAP with an added section for SAP software configuration. |
45 | | -- The software configuration section requires he following inputs |
46 | | - - Software installation type: Keep this as "SAPInstallWithoutOSConfig" |
47 | | - - BOM URL: This is the BOM file path. Example: `https://<your-storage-account>.blob.core.windows.net/sapbits/sapfiles/boms/S42022SPS00_v0001ms.yaml` |
48 | | - - Software version: Azure Center for SAP solutions supports the following SAP software versions viz. **SAP S/4HANA 1909 SPS03** or **SAP S/4HANA 2020 SPS 03** or **SAP S/4HANA 2021 ISS 00** or **SAP S/4HANA 2022** |
49 | | - - Storage account ID: This is the resource ID for the storage account where the BOM file is created |
50 | | -- You can use the [sample software installation payload file](https://github.com/Azure/Azure-Center-for-SAP-solutions-preview/blob/main/Payload_Samples/InstallPayloadDistributedNon-HA.json) |
51 | | - |
52 | | -## Install SAP software |
53 | | -Use [New-AzWorkloadsSapVirtualInstance](/powershell/module/az.workloads/new-azworkloadssapvirtualinstance) to install SAP software |
54 | | -```powershell |
| 38 | +- The SAP installation media available in a storage account. For more information, see [Download the SAP installation media](get-sap-installation-media.md). |
| 39 | +- The JSON configuration file that you used to create infrastructure in the [previous step](deploy-s4hana.md) for the SAP system by using PowerShell or Azure CLI. |
| 40 | + |
| 41 | +## Create a JSON configuration file |
| 42 | + |
| 43 | +The JSON file for installation of SAP software is similar to the one used to deploy infrastructure for SAP, with an added section for SAP software configuration. |
| 44 | + |
| 45 | +The software configuration section requires the following inputs: |
| 46 | + |
| 47 | +- **Software installation type**: Keep this value as `SAPInstallWithoutOSConfig`. |
| 48 | + |
| 49 | +- **BOM URL**: The BOM file path. For example, `https://<your-storage-account>.blob.core.windows.net/sapbits/sapfiles/boms/S42022SPS00_v0001ms.yaml`. |
| 50 | + |
| 51 | +- **Software version**: Azure Center for SAP solutions supports **SAP S/4HANA 1909 SPS03**, **SAP S/4HANA 2020 SPS 03**, **SAP S/4HANA 2021 ISS 00**, and **SAP S/4HANA 2022**. |
| 52 | + |
| 53 | +- **Storage account ID**: The resource ID for the storage account where the BOM file is created. |
| 54 | + |
| 55 | +You can use the [sample software installation payload file](https://github.com/Azure/Azure-Center-for-SAP-solutions-preview/blob/main/Payload_Samples/InstallPayloadDistributedNon-HA.json). |
| 56 | + |
| 57 | +## Install SAP software |
| 58 | + |
| 59 | +Use [New-AzWorkloadsSapVirtualInstance](/powershell/module/az.workloads/new-azworkloadssapvirtualinstance) to install SAP software: |
| 60 | + |
| 61 | +```azurepowershell |
55 | 62 | New-AzWorkloadsSapVirtualInstance -ResourceGroupName 'PowerShell-CLI-TestRG' -Name L46 -Location eastus -Environment 'NonProd' -SapProduct 'S4HANA' -Configuration .\InstallPayload.json -Tag @{k1 = "v1"; k2 = "v2"} -IdentityType 'UserAssigned' -ManagedResourceGroupName "L46-rg" -UserAssignedIdentity @{'/subscriptions/aaaa0a0a-bb1b-cc2c-dd3d-eeeeee4e4e4e/resourcegroups/SAP-E2ETest-rg/providers/Microsoft.ManagedIdentity/userAssignedIdentities/E2E-RBAC-MSI'= @{}} |
56 | 63 | ``` |
57 | 64 |
|
58 | | -## Next steps |
59 | | -In this quickstart, you installed SAP software on the deployed infrastructure in Azure for an SAP system using Azure Center for SAP solutions. Continue to the next article to learn how to Manage your SAP system on Azure using [Virtual Instance for SAP solutions]() |
60 | | -> [!div class="nextstepaction"] |
61 | | -> [Manage a Virtual Instance for SAP solutions](manage-virtual-instance.md) |
| 65 | +## Related content |
| 66 | + |
| 67 | +- [Manage a Virtual Instance for SAP solutions](manage-virtual-instance.md) |
| 68 | +- [Monitor SAP system from the Azure portal](monitor-portal.md) |
0 commit comments