Shutdown Process¶
Master Server Shutdown¶
Go to the Master server
Login into motadata server
Enter command: service motadata stop
Enter Command: ps -ef | grep motadata | awk ‘{print $2}’ | xargs kill -9
Check motadata service is stopped or not: service motadata status
Status should be Inactive (dead)
Enter command for shutdown machine : poweroff
Datanode Server Shutdown¶
Go to Datanode Server
Login into Datanode server
Enter Command: service clickhouse-server stop
Check clickhouse-server is stopped or not : service clickhouse-server status
Status should be stopped
Enter command for shutdown machine : poweroff
Note: When you start motadata master server you need to start motadata service: service motadata start