Skip to main content
Typical maintenance of the system may require starting & stopping of Kinetica services. A variety of service status checks are available for assessing the health of the system and troubleshooting.

Managing Database Services

Start Database Services

The following database services can be started via GAdmin or command-line:
  • Database
    • httpd
    • Query Service
    • Text Search
  • Reveal
  • Graph Service
All services can be started via KAgent. Consult Admin for details.

Database Services Startup

There are two methods of starting database services:

GUI Startup

If GAdmin is not running, start system management processes first.
  1. Log in to GAdmin
  2. Click Admin on the left menu
  3. Click Start
  4. On the Start Service? pop-up, click Start
  5. Click Continue when the database has started

Command-Line Startup

This method will automatically start system management processes, if they are not already running. Run the following as the root user:
Verify that Kinetica is running by browsing to http://<yourhostname>:8080/gadmin

Stop Database Services

The following database services can be stopped via GAdmin or command-line:
  • Reveal
  • Graph Service
  • Database
    • httpd
    • Query Service
    • Text Search
All services can be stopped via KAgent. Consult Admin for details.

GUI Stop

  1. Log in to GAdmin
  2. Click Admin on the left menu
  3. Click Stop
  4. On the Stop Service? pop-up, click Stop
  5. Click Continue when the database has stopped

Command-Line Stop

Run the following as the root user:

Managing System Processes

Start System Management Processes

If the cluster was installed via KAgent, the statistics/metrics process and optional high-availability queues need to be started first. Run the following as the root user.
  1. Start the statistics/metrics manager on the KAgent node (usually head node):
  2. If this is a cluster in a High-Availability ring, start RabbitMQ on every node running it:
  3. Start all system management processes (Host Manager, GAdmin) on every node:

Stop System Management Processes

If the cluster was installed via KAgent, the statistics/metrics process and optional high-availability queues need to be stopped last. Run the following as the root user.
  1. Stop all system management processes (Host Manager, GAdmin) on every node:
    This will, in turn, stop database services, as well
  2. If this is a cluster in a High-Availability ring, stop RabbitMQ on every node running it:
  3. Stop the statistics/metrics manager on the KAgent node (usually head node):

Managing All Services

For KAgent installations, the following sections detail how to manage system processes via CLI.

Start All Processes

Run the following commands as the root user. Start the statistics/metrics manager on the KAgent node (usually head node):
If this is a cluster in a High-Availability ring, start RabbitMQ on every node running it:
Start the Host Manager on every node:
Start the database services on the head node:

Stop All Processes

Run the following commands as the root user. Stop the database services on the head node:
Stop the Host Manager on every node:
If this is a cluster in a High-Availability ring, stop RabbitMQ on every node running it:
Stop the statistics/metrics manager on the KAgent node (usually head node):

Managing Individual Components

The /opt/gpudb/core/bin/gpudb script has several directives available to assist in managing the individual Kinetica components.
The /opt/gpudb/core/bin/gpudb script should always be run as the gpudb user

Directives

Components

Examples

To restart the stats server:
  • If external_text_search = true in the /opt/gpudb/core/etc/gpudb.conf file, then the text search server can be managed using the directives above. If external_text_search = false, then the text search server will not be able to be managed individually.
  • The Host Manager service manages the HTTPD and ODBC components. It’s possible to stop these components, but Host Manager will restart them immediately. Stopping Host Manager and attempting to start these components individually will not work.

System Status Checks

There are several means to check the status of system components:

Processes

To check the status of the database processes:
  • Host Manager
  • GAdmin
  • Stats Services
  • Database
    • httpd
    • Query Service
    • Text Search
  • Reveal
  • Graph Service
Run the following as the root or gpudb user:

GAdmin

The Kinetica Administration Application (GAdmin) provides a GUI for monitoring various aspects of the system:

API

To determine whether the REST endpoint services are operating, the Python API can be invoked, as follows:

Statuses

The tables below list the various statuses you could experience in GAdmin or in logs for the system itself, the nodes and ranks employed by the system, or all three.
It’s likely you won’t see many of the node and rank statuses in GAdmin as they are transient and only last for a few seconds during start up or shut down.

System

Node

Rank