5.5 Stopping and Starting Vertica Services

IMPORTANT:It is mandatory and highly recommended that you stop the Vertica cluster before shutting down any of the Vertica nodes (ZENworks appliance) for maintenance.

5.5.1 Commands for Stopping and Starting Vertica Services

You can use Vertica-controller utility to effectively maintain Vertica cluster.

Following commands are available to use with Vertica-controller:

Usage:

/opt/novell/vertica/vertica-controller.sh <command>

Example: /opt/novell/vertica/vertica-controller.sh start-cluster

NOTE:

  • To use the following specified commands, ensure that you apply Official 960 FTF for ZENworks 2020 Update 3. For more information, see the Server Patches section in ZENworks Patch Updates.

  • These commands can be run on any of the appliance servers in the Management Zone in which Vertica is configured.

start-cluster

This command starts the Vertica cluster in the ZENworks zone. Ensure that before you start the cluster, you have performed all the maintenance activities (like applying security patches and restarting the appliance) on all the Primary Servers, where Vertica is configured.

This command might take some time to complete depending on the duration that Vertica needs to perform the initializing activities.

stop-cluster

This command stops the whole cluster in the ZENworks zone. Before stopping the cluster, this command performs the maintenance tasks so that Vertica will be in a consistent state when it starts again.

This command might take some time to complete depending on the duration that Vertica needs to perform all the maintenance activities.

do-maintenance

This command performs the maintenance tasks.

This command might take some time to complete depending on the duration that Vertica needs to perform all the maintenance activities.

NOTE:By running this command, all the existing connections will be closed and new connections cannot be made to Vertica until all the maintenance tasks are complete.

status

This displays the status of the nodes in the cluster.

IMPORTANT:

When the appliance starts, ZENworks WILL NOT START the Vertica cluster automatically. The Vertica cluster should be started manually using the following command:

/opt/novell/vertica/vertica-controller.sh start-cluster

It is recommended that you stop the Vertica cluster manually using the following command, before you shut down or reboot the ZENworks appliance:

/opt/novell/vertica/vertica-controller.sh stop-cluster

NOTE:

  • In a Vertica cluster, if 50% of the nodes are down, the cluster will automatically shut down.

  • You can stop a cluster only from an active node.

WARNING:The following commands are deprecated and should not be used to Start or Stop Vertica. For the latest commands, see Commands for Stopping and Starting Vertica Services.

  • Execute the following to stop Vertica services:

    /opt/novell/vertica/vertica-controller.sh stop-node

  • Execute the following command, to start Vertica services:

    /opt/novell/vertica/vertica-controller.sh start-node