Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article shows you how to start and stop SAP systems through the Virtual Instance for SAP solutions (VIS) resource in Azure Center for SAP solutions by using the Azure CLI.
You can start and stop:
- The entire SAP application tier, which includes Advanced Business Application Programming SAP Central Services (ASCS) and application server instances.
- Individual SAP instances, which include Central Services and application server instances.
- A HANA database.
- Instances in the following types of deployments:
- Single-server.
- High availability (HA).
- Distributed non-HA.
- SAP systems that run on Windows.
- SAP systems that run on RHEL and SUSE Linux operating systems.
- SAP HA systems that use RHEL and SUSE Pacemaker clustering software and Windows Server Failover Clustering. Other certified cluster software isn't currently supported.
Prerequisites
- An SAP system that you created in Azure Center for SAP solutions or registered with Azure Center for SAP solutions as a VIS resource.
- An Azure account with the Azure Center for SAP solutions administrator role, or equivalent role access on the VIS resource. For more information about the granular permissions that govern start and stop actions on the VIS, individual SAP instances, and HANA database, see Start SAP system.
- The underlying virtual machines (VMs) of the SAP instances must be running. This capability starts or stops the SAP application instances, not the VMs that make up the SAP system resources.
- The
sapstartsrvservice must be running on all VMs related to the SAP system. - For HA deployments, the HA interface cluster connector for SAP (
sap_vendor_cluster_connector) installed on the ASCS instance. For more information, see the SUSE connector specifications and RHEL connector specifications. - For start operations, cluster maintenance mode must be Enabled. The start operation for the HANA database can only be initiated when cluster maintenance mode is enabled.
- For stop operations, cluster maintenance mode must be Disabled. The stop operation for the HANA database can only be initiated when cluster maintenance mode is disabled.
Start an SAP system
To start an SAP system represented as a VIS resource, use the az workloads sap-virtual-instance start command. Choose one of the following options:
Use the VIS resource
ResourceNameandResourceGroupNameto identify the system that you want to start.az workloads sap-virtual-instance start -g <Resource-group-name> -n <ResourceName>Use the
idparameter and pass the resource ID of the VIS resource that you want to start.az workloads sap-virtual-instance start --id <ResourceID>
Stop an SAP system
To stop an SAP system represented as a VIS resource, use the az workloads sap-virtual-instance stop command. Choose one of the following options:
Use the VIS
ResourceNameandResourceGroupNameto identify the system that you want to stop.az workloads sap-virtual-instance stop -g <Resource-group-name> -n <ResourceName>Use the
idparameter and pass the resource ID of the VIS resource that you want to stop.az workloads sap-virtual-instance stop --id <ResourceID>