Stopping and starting TPE software or instance
Prerequisites
Stopping TPE software
You might need to stop the TPE software for maintenance, e.g running tpe-bench script.
-
From console:
systemctl stop docker docker.socket
-
From Cockpit:
- Go to the "Services" tab
- Click on docker.service in System Services tab then click on Stop button
- Click on docker.socket in Sockets tab then click on Stop button
Starting TPE software
-
From console:
systemctl start docker docker.socket
-
From Cockpit:
- Go to the "Services" tab
- Click on docker.service in System Services tab then click on Start button
- Click on docker.socket in Sockets tab then click on Start button
Stopping a TPE instance
It is not necessary to stop TPE software before stopping the TPE instance.
Standalone mode
To shutdown a TPE instance
-
From console:
sudo /sbin/shutdown -P now
-
From Cockpit:
Go to the "System" tab and select Shutdown from the Power Options dropdown menu.
High availability mode
Shutting down the entire cluster involves shutting down the nodes one by one in a specific order to ensure a smooth start in the future.
The procedure consists in first stopping a primary node (node 1 or 2), then the arbiter node (node 3) and finally the remaining primary node. For example:
- On the node 2, run the following command
sudo /sbin/shutdown -P now
- Wait for the server to be completely stopped
- Repeat the same steps on node 3, then on node 1
Starting a TPE instance
Starting the instance in Standalone mode
- Power on the node
- From Cockpit, go to the "TPE Services" tab, and wait for all groups in Infra and Services sections to be in running state with green color.
Starting the instance in High availability mode
Following the stopping procedure in High availability mode, the starting procedure consists in starting the last halted primary node first, then the arbiter node and finally the first halted primary node.
For example:
- Power on the node 1
- Power on the node 3
- From Cockpit, go to the "TPE Services" tab, and wait for all groups in Infra and Services sections to be in running state with orange color.
- Power on the node 2
- Wait for all groups in Infra and Services to be in running state with green color.