Deleting A Database; Connecting Dicentis To A (Remote) Sql Server - Bosch DICENTIS Configuration Manual

Hide thumbs Also See for DICENTIS:
Table of Contents

Advertisement

112 en | Hints and Tips
14.8

Deleting a database

Deleting a database will remove the database files. The system will not work anymore unless a
new database is created or a previous database is restored. This function can be used to
delete the database if you need to downgrade to a previous version.
1.
2.
3.
4.
Note: Without a database, the DICENTIS system will not function properly. A database needs
to be created or restored to make the system functional again.
14.9

Connecting DICENTIS to a (remote) SQL server

The DICENTIS system uses environment variables to access the database. The default values
are used when environment variables are not present.
The following environment variables are used for the database name and database server:
MMCN_DB_SERVER
MMCN_DB_USER_ID
MMCN_DB_PW
MMCN_DB_DATABASE DICENTIS database name. Default: DcnmDatabase
Note: DICENTIS uses two databases: DcnmDatabase for storing all configuration and
DcnmLoggingDatabase for storing the logging. Using the environment variables, the
DcnmDatabase can be redirected to another server/database. However, there is currently no
possibility to redirect the DcnmLoggingDatabase. The logging database is always located on
the default server (.\SQLDICENTIS2014).
Creating a new environment variable
To create a new environment variable:
1.
2.
3.
Creating the database on the SQL server
DcnmDatabaseConsole.exe
2021.06 | V3.7 |
Stop DICENTIS services using the DICENTIS Server Console.
Open a command prompt in Administrator mode.
Go to: C:\Program Files\Bosch\DICENTIS.
To delete the database, run DcnmDatabaseConsole.exe -x.
The Database server PC name and server instance name.
Format: MachineName\instanceName (the instance name can be
omitted when the default instance is used. The machine name can
be a dot ('.') when the local machine is used)
Default: .\SQLDICENTIS2014
SQL server user-Id (SQL authentication). When absent, integrated
authentication is used.
SQL server password (SQL authentication). Only valid in
combination with MMCN_DB_USER_ID
Right click "This PC" \ Properties \ Advanced system settings \ Environment Variables \
System variable \ New
Enter the required variable name
Enter the required variable content
The console tool DcnmDatabaseConsole.exe is used to create the database. When
necessary to copy the tool, the following files have to be copied:
Configuration manual
DICENTIS
Bosch Security Systems B.V.

Advertisement

Table of Contents
loading

Table of Contents