How does the /opt/vertica/sbin/verticad stop work ?
Sathya
Vertica Customer ✭
The below setup
Unit]
Description=Vertica server restart oneshot
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/opt/vertica/sbin/verticad start
ExecStop=/opt/vertica/sbin/verticad stop
SuccessExitStatus=1
TimeoutStopSec=300
[Install]
WantedBy=multi-user.target
Does it stop the DB cleanly or just kills the session during shutdown ?
0
Answers
'/opt/vertica/sbin/verticad stop' executes 'adminTools -t command_host -cstop'. This means the Vertica process is killed.