We're Moving!

The Vertica Forum is moving to a new OpenText Analytics Database (Vertica) Community.

Join us there to post discussion topics, learn about

product releases, share tips, access the blog, and much more.

Create My New Community Account Now


How does the /opt/vertica/sbin/verticad stop work ? — Vertica Forum

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