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
Database Services Startup
There are two methods of starting database services:GUI Startup
If GAdmin is not running, start system management processes first.- Log in to GAdmin
- Click Admin on the left menu
- Click Start
- On the Start Service? pop-up, click Start
- 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: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
GUI Stop
- Log in to GAdmin
- Click Admin on the left menu
- Click Stop
- On the Stop Service? pop-up, click Stop
- 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.-
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 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.-
Stop all system management processes (Host Manager, GAdmin) on every
node:
This will, in turn, stop database services, as well
-
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 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):Stop All Processes
Run the following commands as the root user. Stop the database services on the 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 userDirectives
Components
Examples
To restart the stats server:-
If
external_text_search = truein the/opt/gpudb/core/etc/gpudb.conffile, then the text search server can be managed using the directives above. Ifexternal_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
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.