You can create and manipulate sites.
Creating Sites
The basic command for creating sites is structured as follows:siveillancecontrol create [site type][sitename]
For [site type]
parameter either ENGINEERING
or RUNTIME
can be entered.
The default value for the [site name]
parameter is the hostname of the machine. Site names can only be entered with the following options:
- Lowercase letters
- Digits
- The special character -
- The special character _
- Stop the server with the following command:
siveillancecontrol stop
- To create a site, you have the following options:
- To create an engineering site, enter the following command:
# siveillancecontrol create ENGINEERING [engineering_sitename] (optional)
- To create a runtime site, enter the following command:
# siveillancecontrol create RUNTIME [runtime_sitename] (optional)
Deleting Sites
The command siveillancecontrol create
deletes the old site and creates a new one.
Migrating Sites
NOTICE
Backing up your database before the migration is strongly recommended.
If you upgrade Siveillance Control using installSiveillanceControl.sh script, the site migration is automatically triggered. Migration is necessary when a new version is installed.
- To migrate the engineering site, start the engineering client.
- In the Engineering perspective on the Tasks tab, check if tasks need to be processed.
- After having processed all tasks, activate the data on the runtime client.
- Login to the engineering server as user root.
- Enter the following command to migrate a site:
#siveillancecontrol migrate
- To migrate the runtime site, login to the runtime server as user root.
- Enter the following command to migrate a site:
#siveillancecontrol migrate
- When a site is migrated, the password for starting the client is reset to the default password.