Configuring the database in the Supervisor station

The Supervisor station must be connected to a running database. If you connected the system database using the Guided Setup Wizard, your database may not require additional configuration. This separate procedure documents how to configure the database, which may be running on the same computer as the Supervisor, or it may be running on a remote computer.
Prerequisites: You are logged in to the Supervisor station using the web UI with admin privileges. A database of the appropriate type exists. You have configured the RDBMS network for secure communication.
 CAUTION: Communication between the database and the Supervisor station must always be available, otherwise the software will not work. Communication must also be secure. 
Perform the following steps:
  1. From the Supervisor Home, click System Setup > Miscellaneous > Configure Database.
    The Configure Database view opens with a Database Services tab, and a MySQLDatabase (the default) tab. No database tab displays if no database driver is installed.
  2. Configure the important database services properties at the bottom of the Database Services tab: Replication Failure Alarm, Replication Overrun Alarm, and Replication Overrun Limit.
    These properties apply to all databases installed on this Supervisor’s network.
  3. To add or delete a database, click Manage Databases.
    The Manage Databases window opens.
  4. Select the Delete or Add option and click Ok.
    The system lists the existing database tabs.
  5. Select the database to add or delete and click Ok.
    Only one database can be enabled at any one time. To use a database other than MySQL, such as the MSSQL database, delete the MySQL database.
  6. Enter the database name and click Ok.
    The software adds the database as a tab to the view. This is the name of the MySQL or MS SQL database you configured before installing the software.
  7. Select the database tab, enable the database and configure at least these properties: Host Address, User Name, Password, and Database Name.
    • Host Address identifies the location of the database, which may be on the same computer as the system software or in another location on the network.
    • User Name and Password are the credentials you set up when you created the database schema using MySQL or MS SQL. For MySQL, User Name should be a unique name other than “root.”
    • Database Name is the unique name you created using MySQL or MS SQL.
    The database services are configured and you should now have a Database Services tab and a specific database tab that matches the MySQL or MS SQL database you are connecting to.
  8. Confirm that Use Encrypted Connection is set to true, and click Save at the top of the view.
    This property provides flexibility should you need to turn off secure encrypted communication.
     CAUTION: For normal operation, this property defaults to true, otherwise your data can be compromised by someone with malicious intent. 
  9. Click the Set Orion Database button, select the database you just configured from the drop-down list and click Ok.
     CAUTION: Changing the Orion database removes ALL DATA from any current Orion database. After designating the Orion database, you must restart the Supervisor station. 
  10. Click Restart Station, and click Ok to confirm the restart.
    The station restarts. The station name, visible at the top right corner of the interface, changes color or dims until the station is available again. After station restart, the station name displays in the normal color.