How does the /opt/vertica/sbin/verticad stop work ?

SathyaSathya 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 ?

Answers

  • HibikiHibiki Vertica Employee Employee

    '/opt/vertica/sbin/verticad stop' executes 'adminTools -t command_host -cstop'. This means the Vertica process is killed.

Leave a Comment

BoldItalicStrikethroughOrdered listUnordered list
Emoji
Image
Align leftAlign centerAlign rightToggle HTML viewToggle full pageToggle lights
Drop image/file