Start / Log check / Shutdown / Initialization

This section describes how to start, check logs, stop, and initialize SysMaster DB 8.3 in Docker-compose and Podman-compose environments.

1. Start

1.1. Set SysMaster DB environment variables

export SYSMASTERDB_HOME={SysMasterDB_Home_Path}
Arg
Description

{SysMasterDB_Home_Path}

The directory path where the docker-compose.yml file is located.

1.2. Add SYSMASTERDB_HOME to PATH

export PATH=$PATH:$SYSMASTERDB_HOME

1.3. Execute

sysmaster-db up

After booting is complete, the users can log in and use the program. Boot completion can be confirmed via the SDM log with the following log:

Started SdmApplication in ... seconds (JVM running for ...)


2. Log check

The users can specify the path where logs will be stored by configuring the log-related parameters in the .env file. The default log path is ./logs, so a logs folder is automatically created in the directory where the docker-compose.yml file is located, and the users can view the log files there.

Note

For the Client module, logs are not saved to a file separately, so the users must check the logs output using commands such as docker compose logs .


3. Shutdown

With the environment variables and PATH set for SysMaster DB 8.3 startup, executing the following command will remove all services and shut down SysMaster DB 8.3. Note that even after shutting down SysMaster DB 8.3, the files created in METADB_PATH and REPODB_PATH will be retained, so the users can use SysMaster DB 8.3 as before after restarting it.

sysmaster-db down


4. Initialization

After deleting the METADB_PATH and REPODB_PATH directories, restarting SysMaster DB 8 will restore it to its initial installation state. However, any previously saved data will not be available.

Last updated