# System Start & Stop

## Starting and Stopping Systems

| This function is only available with the Avantra Automation and Enterprise Editions. For more information about editions please see the Avantra Editions Matrix.

Avantra allows you to start and stop SAP Instances, SAP System, and Cloud Servers directly from the UI.

### Starting and Stopping of SAP Systems

Open Systems SAP Systems and select the desired SAP System. Push the Open button.

Push the Stop button in order to stop an SAP System, the Start button in order to start it, and the Restart in order to restart it.

In case you push the Stop button you have the option to choose between a hard and a soft shutdown. In case of a soft shutdown – which is only available for ABAP SAP Systems – you have to define a Soft Timeout as well.

If you restart an SAP System, you have the option to define a wait time after the system is stopped before it is started again.

You need Permissions `Start/Stop SAP` to start and stop SAP Systems.

| You need to have the SAPControl user defined in order to use this feature. See also Defining the SAPControl User.

You need Permissions `Start/Stop SAP` to start and stop SAP Systems.

### Starting and Stopping of SAP Instances

Open Systems SAP Instances and select the desired SAP Instance. Push the Open button.

Push the Stop button in order to stop an SAP Instance, and the Start button in order to start it.

In case you push the Stop button you have the option to choose between a hard and a soft shutdown. In case of a soft shutdown – which is only available for ABAP SAP Instances – you have to define a Soft Timeout as well.

| You need to have the SAPControl user defined in order to use this feature. See also Defining the SAPControl User.

You need Permissions `Start/Stop SAP` to start and stop SAP Instances.

### Starting and Stopping of Cloud Servers

Open Systems Servers and select the desired Cloud Server. Push the Open button.

Push the Stop button in order to stop a Cloud Server, the Start button in order to start it, and the Restart button in order to restart it.

If you restart a Cloud Server, you have the option to define a wait time after the Cloud Server is stopped before it is started again.

You need Permissions `Start/Stop Server` to start and stop Cloud Servers.

### Starting and Stopping of Databases

Open Systems Databases and select the desired Database. Push the Open button.

Push the Stop button in order to stop a Database, the Start button in order to start it, and the Restart button in order to restart it.

If you restart a Database, you have the option to define a wait time after the Database is stopped before it is started again.

You need Permissions `Start/Stop Database` to start and stop Databases.

### Starting and Stopping Systems using Maintenance Windows

You can also stop and start Systems using a Maintenance Window.

1. Follow the procedure Turning Monitoring On or Off using a Maintenance Window to create a Maintenance Window.

2. Open the recently created Maintenance Window and choose appropriate values for Begin of maintenance, Stop System(s) n minutes after maintenance window starts, End of maintenance (?), and Stop System(s) n minutes before maintenance window ends.

   For the Stop process, you also can choose between hard and soft shutdown, and in case of a soft shutdown, you have to define a soft shutdown timeout. The soft shutdown is available only for ABAP SAP Instances and SAP Systems.

3. Push the Apply button.

### Starting and Stopping Systems using Monitoring Parameters

A workflow can be assigned to a specific monitoring parameter, so the built-in functionality for the Start/Stop/Restart buttons can be replaced. The assigned workflow is executed to start/stop when the Start/Stop/Restart button is clicked.

The assigned workflow must be the corresponding type as the monitoring parameter. While configuring the monitoring parameter after adding it to the workflow, choose the correct workflow from the dropdown menu of the workflows filtered by type.

The new monitoring parameters are:

- WorkflowStartServer

- WorkflowStopServer

- WorkflowStartSAPInstance

- WorkflowStopSAPInstance

- WorkflowStartSAPSystem

- WorkflowStopSAPSystem

- WorkflowRestartSAPSystem

- WorkflowStartDatabase

- WorkflowStopDatabase

- WorkflowStartSAPBusinessObject

- WorkflowStopSAPBusinessObject

| If the monitoring parameter is not set, the built-in Start/Stop is executed.

Complete the following steps to configure the monitoring parameter to start/stop the System:

1. Open the System you want to manage.

2. In the Properties, choose the Moni.Params tab and click New

3. Choose the needed monitoring parameter from the dropdown menu and click OK

4. In the column Value of the added monitoring parameter, select the required workflow from the dropdown menu and click Apply.