The Azure Quickstart templates are currently available in English
This template deploys a virtual machine and installs the required applications to use this virtual machine for SAP LaMa. The template also creates the required disk layout. For more information about managing Azure virtual machines with SAP LaMa, see https://docs.microsoft.com/azure/virtual-machines/workloads/sap/lama-installation.
此 Azure Resource Manager (ARM) 範本是由社群成員 (而非 Microsoft) 建立。每個 ARM 範本都是由其擁有者 (而非 Microsoft) 依據授權合約授權給您。Microsoft 並不負責社群成員所提供和授權的 ARM 範本,而不會為了安全性、相容性或效能進行篩選。社群 ARM 範本並未依據任何 Microsoft 支援方案或服務提供支援,而且會在沒有任何擔保的情況下依現況提供。
參數
參數名稱 | 說明 |
---|---|
sapSystemId | SAP System ID. |
computerName | The computer name. This parameter is also used as virtual machine name. It is required if you want to deploy this template using SAP LaMa. |
osType | The type of the operating system you want to deploy. |
dbtype | The type of the database |
sapSystemSize | The size of the SAP System you want to deploy. |
adminUsername | Username for the Virtual Machine. |
authenticationType | Type of authentication to use on the Virtual Machine. |
adminPasswordOrKey | Password or ssh key for the Virtual Machine. |
subnetId | The id of the subnet you want to use. |
deployEmptyTarget | You can deploy an empty target if you want to use the virtual machine as a target for an instance relocate or similar. In this case, no additional disks or IP configurations are attached. |
sapArtifactsLocation | The location of the SAR archives. The location should contain archives for SAPCAR, SAP Host Agent, SAPACEXT, Microsoft Visual C++ Redistributable and the Microsoft ODBC driver for SQL Server. |
sapArtifactsLocationSasToken | The sasToken required to access sapArtifactsLocation. |
sapcarFilename | The filename for the sapcar application that matches the operating system you deploy. sapcar is used to extract the archives you provide in other parameters. |
sapHostAgentArchiveFilename | The filename of the SAP Host Agent archive. SAP Host Agent is deployed as part of this template depoyment. |
sapacExtArchiveFilename | The filename of the SAP Adaptive Extensions. SAP Note 2343511 lists the minimum patch level required for Azure. |
vcRedistFilename | The filename of the VC Runtime that is required to install the SAP Adaptive Extensions. This parameter is only required for Windows. |
sapadmPassword | Password for the sapadm account. |
sapadmId | The Linux User Id of the sapadm user. Not required for Windows. |
sapsysGid | The Linux group id of the sapsys group. Not required for Windows. |
location | Location for all resources. |
_artifactsLocation | The base URI where artifacts required by this template are located. When the template is deployed using the accompanying scripts, a private location in the subscription will be used and this value will be automatically generated. |
_artifactsLocationSasToken | The sasToken required to access _artifactsLocation. When the template is deployed using the accompanying scripts, a sasToken will be automatically generated. |
使用範本
PowerShell
New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment安裝和設定 Azure PowerShell
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/sap-lama-database/azuredeploy.json
命令列
az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment安裝和設定 Azure 跨平台命令列介面
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/sap-lama-database/azuredeploy.json