Procedure documentationStarting and Stopping a Database Locate this document in the navigation structure

 

If the database is in the ONLINE operational state, database users with the required permissions can perform operations on the database. For example, they can define, change, and display data, as well as create, change, and delete database users.

The administrative tasks in the database are carried out by DBM operators using Database Manager. They carry out DBM commands the majority of which must be executed in the ONLINE operational state of the database. If DBM commands require the database to be in the OFFLINE or ADMIN operational state, this is explicitly specified in the command description under “Prerequisites”.

Prerequisites

You can find the prerequisites for starting and stopping the database under Database Manager CLI, db_online, db_offline

Procedure

Starting the Database (Transfer to the ONLINE Operational State)

Call Database Manager CLI, log on as operator DBM with password DBM, connect to the database DEMODB, and transfer the database to the ONLINE operational state:

>dbmcli –u DBM,DBM –d DEMODB db_online

OK

Stopping the Database (Transfer to the OFFLINE Operational State)

Call Database Manager CLI, log on as operator DBM with password DBM, connect to the database DEMODB, and transfer the database to the OFFLINE operational state:

>dbmcli –u DBM,DBM –d DEMODB db_offline

OK

Displaying the Current Operational State of the Database

Call Database Manager CLI, log on as operator DBM with password DBM, connect to the database DEMODB, and display the operational state of the database:

>dbmcli –u DBM,DBM –d DEMODB db_state

OK

OFFLINE