Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
themeConfluence
titleUsage
<APP_PATH>/bin/system/service <ACTION><COMMAND> [<service-name>] [<options>]

The tool should be run under root or vcs user. The tool typically takes 2 arguments – action to perform and related system service. Actions prefixed with "all-*" do not require service name and operate over all services.

ActionCommandDescription
start

Start System Service

Takes "--wait" option in order to wait and exit only when service finishes its execution.

stop

Stop System Service

restart
Stop and then start System Service
reload
Send reload (HUP) signal to the System Service (forces reload of settings, connections, etc)
status
Show current status of the System Service
all-start
Start all required System Services (list of services varies depending on the role of current node in the cluster)
all-stop
Stop all running System Services
all-status
Show status of all System Services on the current node

...

The tool is used to manage clustersnodes in the cluster deployment. It allows to init initialize the cluster, add and promote a slave new node, promote redundancy to master, etc. 

Code Block
languagebash
titleUsage
<VCS<APP_PATH>/bin/system/cluster <command><COMMAND> [<options>]

The tool requires "requires root" permissions. Cluster Manager takes command as a mandatory argument and additional options. Some of the commands may be run only on Master and others only on Slave. There are two available types of Slave: redundancy and reporting. All extra options for the commands are explained below in the corresponding subsection. permissions. The list of arguments and other requirements depend on the command used. Please refer to below table for a summary and respective sections for details.

CommandDescriptionNodesRoot Required
status
Show status of the clusterAny nodeNo
init-master
Init Master Node configurationMasterYes
init-slave
Init Slave Node configurationMasterYes
promote
Promote current node to MasterRedundancyYes
sync-files
Sync files from MasterRedundancy, Reporting, ProcessingNo
remove-node
Remove Node from the ClusterMasterYes

Init Master

The command is run on Master and used for Master to configure its parameters.

...