Skip to main content
Version: I2024.1.3

Starting, Stopping, and Restarting AtScale Database Instances

After logging into the system where an AtScale instance is installed, you can run the following commands to start, stop, and restart the local instance of the AtScale database.

Starting an AtScale database instance

To start the database instance, run this command:

/opt/atscale/bin/atscale_service_control start database

The message Database system is ready to accept connections is logged in the latest log file under /opt/atscale/log/database/ after the instance starts.

info

Important: You do not have to stop any AtScale services before starting the database instance. However, those services cannot fully function unless the AtScale database instance is up and running. After you start the database instance, the services will detect that the instance is running and recover. However, you should check the status of the services to find out whether any need to be restarted. To do so, run this command: /opt/atscale/bin/atscale_service_control status. To restart a service, run this command: /opt/atscale/bin/atscale_service_control restart service_name

Stopping an AtScale database instance

Before running the command to stop the database instance, stop the AtScale apps and egress services by running these commands:

/opt/atscale/bin/atscale_stop_apps
/opt/atscale/bin/atscale_service_control stop egress

To stop the database instance, run this command:

/opt/atscale/bin/atscale_service_control stop database

The message Database system is shut down is logged in the latest log file under /opt/atscale/log/database/ after the instance stops.

Restarting an AtScale database instance

/opt/atscale/bin/atscale_service_control restart database