Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Interfejs wiersza polecenia platformy Azure służy do tworzenia zasobów platformy Azure i zarządzania nimi z poziomu wiersza polecenia lub skryptów.
In this how-to guide, you'll learn how to start and stop your SAP systems through the Virtual Instance for SAP solutions (VIS) resource in Azure Center for SAP solutions using the Azure CLI.
Through the Azure CLI, you can start and stop:
- Cała warstwa aplikacyjna SAP, obejmująca usługi ABAP SAP Central Services (ASCS) oraz instancje serwera aplikacji.
- Individual SAP instances, which include Central Services and Application server instances.
- Baza danych HANA
- Wystąpienia można uruchamiać i zatrzymywać w następujących typach wdrożeń:
- Single-Server
- Wysoka dostępność (HA)
- Distributed Non-HA
- Systemy SAP działające w systemach operacyjnych Windows i RHEL i SUSE Linux.
- Systemy SAP HA, które korzystają z oprogramowania do klastrowania SUSE i RHEL Pacemaker oraz z Windows Server Failover Clustering (WSFC). Inne certyfikowane oprogramowanie klastra nie jest obecnie obsługiwane.
Wymagania wstępne
- System SAP, który utworzyłeś w Azure Center dla rozwiązań SAP lub zarejestrowałeś w Azure Center dla rozwiązań SAP jako zasób Virtual Instance for SAP solutions.
- Check that your Azure account has Azure Center for SAP solutions administrator or equivalent role access on the Virtual Instance for SAP solutions resources. You can learn more about the granular permissions that govern Start and Stop actions on the VIS, individual SAP instances and HANA Database in this article.
- For the start operation to work, the underlying virtual machines (VMs) of the SAP instances must be running. Ta funkcja uruchamia lub zatrzymuje wystąpienia aplikacji SAP, a nie maszyny wirtualne tworzące zasoby systemowe SAP.
-
sapstartsrvUsługa musi być uruchomiona na wszystkich maszynach wirtualnych powiązanych z systemem SAP. - W przypadku wdrożeń HA złącze klastra interfejsu HA dla SAP (
sap_vendor_cluster_connector) musi być zainstalowane na instancji ASCS. Aby uzyskać więcej informacji, zobacz specyfikacje łącznika SUSE i specyfikacje łącznika RHEL. - Funkcja Zatrzymaj operację dla bazy danych HANA może być inicjowana tylko wtedy, gdy tryb konserwacji klastra ma stan Wyłączone . Similarly, the Start operation function can only be initiated when the cluster maintenance mode is in Enabled status.
Uruchamianie systemu SAP
To Start an SAP system represented as a Virtual Instance for SAP solutions resource:
Use the az workloads sap-virtual-instance start command:
Opcja 1:
Use the Virtual Instance for SAP solutions resource Name and ResourceGroupName to identify the system you intend to start.
az workloads sap-virtual-instance start -g <Resource-group-name> -n <ResourceName>
Opcja 2.
Use the id parameter and pass the resource ID of the Virtual Instance for SAP solutions resource you intend to start.
az workloads sap-virtual-instance start --id <ResourceID>
Zatrzymaj system SAP
To stop an SAP system represented as a Virtual Instance for SAP solutions resource:
Use the az workloads sap-virtual-instance stop command:
Opcja 1:
Use the Virtual Instance for SAP solutions resource Name and ResourceGroupName to identify the system you intend to stop.
az workloads sap-virtual-instance stop -g <Resource-group-name> -n <ResourceName>
Opcja 2.
Use the id parameter and pass the resource ID of the Virtual Instance for SAP solutions resource you intend to stop.
az workloads sap-virtual-instance stop --id <ResourceID>