Shutdown Process

Master Server Shutdown

  1. Go to the Master server

  2. Login into motadata server

  3. Enter command: service motadata stop

  4. Enter Command: ps -ef | grep motadata | awk ‘{print $2}’ | xargs kill -9

  5. Check motadata service is stopped or not: service motadata status

  6. Status should be Inactive (dead)

  7. Enter command for shutdown machine : poweroff

Datanode Server Shutdown

  1. Go to Datanode Server

  2. Login into Datanode server

  3. Enter Command: service clickhouse-server stop

  4. Check clickhouse-server is stopped or not : service clickhouse-server status

  5. Status should be stopped

  6. Enter command for shutdown machine : poweroff

  7. Note: When you start motadata master server you need to start motadata service: service motadata start