The service script siveillancecontrol is available on the Siveillance Control servers.

Siveillance Control Service Script

The basic script is siveillancecontrol [option] [parameter].

Option

Parameter

Description

start

wait (optional)

Starts the Siveillance Control service and all required services, such as the JBoss service and the PostgreSQL service.

Parameter wait delays completion of the script until the server has fully started up.

restart

wait (optional)

Restarts the server. If the server is already started, it will shut down and restart.

Parameter wait delays completion of the script until the server has fully started up.

stop

 

Stops the JBoss Siveillance Control server. The required services remain active.

status

 

Displays the status of the Siveillance Control server and required services, such as ActiveMQ, PostgreSQL, Blob and Nginx.

The status output is: current status

backup

[backup directory] or [file name] (optional)

Creates a backup of the Siveillance Control database.

help

 

Displays parameter information.

migrate

 

Migrates from a Siveillance Control version ≥1.3.

NOTICE! Only the engineering site may be migrated. The runtime site has to be created again. Enables the secure communication over SSL.

restore

[backup tar file]

Restores a Siveillance Control database.

create

[site type](optional)

[site name]

Creates a Siveillance Control site.

NOTICE! The current site will be deleted!

version

 

Shows the version of Siveillance Control.

report

-b [target directory] (optional)

Compiles relevant data for an error report, which is saved in a zipped archive file.

When –b switch is given, also creates backup of database.

Using Additional Scripts

Other scripts are available for example for generating certificates.

  • To generate or regenerate certificates, enter the following command:
    /usr/share/viewpoint/bin/makejks.sh -f