The SAP MC also enables you to start and stop the database. This function is not implemented in other tools, such as the SAP Microsoft Management Console (SAP MMC) or SAPControl. With tools, such as SAPControl, the database is only started when a PAS or AAS instance is started on the same host on which the database is installed (on condition that the database belongs to the same SAP system).
On the host where the database of the SAP system is installed, an SAP Host Agent must be installed, too. The SAP Host Agent starts and stops the database and provides monitoring data from the operating system to the SAP MC. The SAP MC receives the core information from sapstartsrv of the SAP instances that communicates on which host the database is installed. The SAP MC connects to the SAP Host Agent of the communicated host via port 1128 (or 1129 for secure network communications - SNC).
Note
On each host on which an SAP instance is installed, an SAP Host Agent should be installed, too. The SAP MC also connects to the SAP Host Agent of the individual instances to gather information about memory consumption, file system allocation, and processes of the corresponding operating system.
The SAP MC holds a connection to each sapstartsrv process and the SAP Host Agent (see figure below).

When it comes to a start action, the SAP Host Agent is addressed first to start the database, if the status is Stopped. For all SAP instances the sapstartsrv negotiate, based on the priorityLEVEL, the further start sequence. Accordingly the instances are started. The communication takes place directly between the sapstartsrvdaemon or services. Instances with priorityLEVEL 1 (ASCS instance in ABAP environments) are in most scenarios started directly after the database, although they could also be started before the database. Central Services are not dependent on a successful connection to the database at this stage within the start procedure.
The procedure to start an ABAP-based SAP system with instance prioritiesLEVEL 1 and 3 is a typical scenario and explained here with the steps shown in the previous figure SAP MC: Sequence when Starting an SAP System (including Database) as follows:
The administrator uses the SAP MC to start the SAP system.
Before starting the SAP system, the SAP Host Agent on the database host receives the command to start the underlying database.
If the database has the status Stopped, the SAP Host Agent uses a database start command. In case the database status returns Running, the next step is executed.
The sapstartsrv of the instance with priorityLEVEL 1 receives the command to start the instances according to their priority. The connection point is the result of identifying the instance with the highest priorityLEVEL , which corresponds to the lowest number!
The instance with priorityLEVEL 1 is started by the corresponding sapstartsrv.
The sapstartsrv of the instance with priorityLEVEL 1 triggers the sapstartsrv of the instance with priorityLEVEL 3, signaling it to start its instance.
Note
In case there is a scaled SAP system given, which is a system with at least one further AAS instance, the signal to start will be sent in parallel to all instances with the same priorityLEVEL.The instance with priorityLEVEL 3 is started by the respective sapstartsrv.
The status of a database in the SAP MC is self-explanatory, according to the colors (already discussed in a former lesson): a stopped database is displayed in gray, a started database in green color. In phases starting and stopping it shows up in yellow color.
Note
The SAP MC provides for some databases an option to stop the database when you stop the SAP system. If the flag is set, the SAP Host Agent stops the database when all the instances have been stopped. This does not apply to SAP HANA-based SAP systems, like the SAP systems used in this class!

You can start and stop the database independently from the SAP system in the SAP MC by expanding the Database node and selecting the relevant option in the context menu based on the <DBSID>.
Hint
Remember the dependency of the Application Server (AS) instances to a database in operational state. Technically spoken it is possible to stop the database even if AS-based instances were started before. But practically users cannot continue their work in the ABAP-based SAP system.Hint
If the database icon is colored blue in the SAP MC, it could have different reasons, for example:
The SAP Host Agent may not be installed
The SAP Host Agent version is outdated
The database authentication is missing