USER MANUALS

Database Configuration

Note

Only Diagnostic & Monitoring Tool administrators can perform this task.

The Diagnostic & Monitoring Tool stores information of its catalog and configuration on a database. By default, it uses a local database included with the installation (Apache Derby). You can configure this tool to store the information on an external database.

Note

When a database change is applied, the loaded diagnostic files will not be migrated to the new database.

Note

In a Solution Manager installation, whenever you change its database it will transparently change the DMT database too. However, if you are using MySQL, it is required that you import a compatible 5.7 driver or higher as a MySQL-5 driver in the embedded VDP. To do this you must use the libraries section in Extensions Management dialog. See importing jdbc drivers for more details.

To configure a new database follow these steps:

  1. Copy the jar file(s) of the JDBC driver of the new database to the folder <DENODO_PLATFORM_HOME>/lib/dmt-extensions.

  2. Restart the Diagnostic & Monitoring Tool in case the jar files were not already in that folder.

  3. Click the menu Options > Database Configuration. In the new tab, enter the following parameters:

    • Database: select one of the supported databases:

      • Apache Derby

      • Microsoft SQL Server 2014, using the Microsoft JDBC driver (the jTDS driver is unsupported). Select this to use Microsoft SQL Server or for the Azure SQL Server-compatible edition.

      • Oracle 12cR2 or higher.

      • MySQL 5.6 or higher. Select this to use MySQL.

      • PostgreSQL 9.5 or later. Select this to use PostgreSQL.

      • Amazon Aurora MySQL.

      • Amazon Aurora PostgreSQL.

    • Driver Class: class name of the JDBC driver. E.g. for Oracle oracle.jdbc.OracleDriver.

    • URL: JDBC URL to connect to your database server.

    • User and Password: credentials to connect to the database. This user account needs privileges to create tables and insert/update/delete rows in these tables.

    • Authentication: (Only for Aurora PostgreSQL and Aurora MySQL) Select the authentication method for accessing the external database. You can choose among these ones:

      • Login and Password. Use the provided User and Password.

      • Denodo AWS Instance Credentials:

        • User: Database account that you want to access.

        • AWS IAM role ARN: An IAM identity that you can create in your account that has specific permissions.

        • AWS Region: AWS region where the Aurora database is deployed.

        • AWS Token Lifetime(minutes): Time during which DMT stores an AWS authentication token before refreshing it. DMT assumes 14 minutes by default since according to IAM database authentication for MariaDB, MySQL, and PostgreSQL the tokens have a default lifetime of 15 minutes.

      • AWS IAM Credentials. In addition to properties in Denodo AWS Instance Credentials:

        • AWS Access Key: A unique identifier that specifies the user or entity making the request.

        • AWS Secret Access Key: A secret string that is used to sign the requests you make to AWS.

Database configuration panel

Database configuration panel

Note

  • If you select the database Derby Embedded, the fields Driver Class, URI, Username and Password are not editable. It represents a connection to the Derby database included with the Diagnostic & Monitoring Tool.

  • If you select MySQL, add these parameters to the URL: useUnicode=true&characterEncoding=UTF-8. For example:

    jdbc:mysql://mysql.acme.com:3306/denodo_solution_manager?useUnicode=true&characterEncoding=UTF-8
    

    They are necessary so any non-ASCII character can be stored in the database correctly.

    In addition, the schema of MySQL that the Diagnostic & Monitoring Tool use has to have these options: Default Charset = utf8 and Collation = utf8_unicode_ci.

    To set these options, connect to this MySQL and execute the statement below:

    ALTER DATABASE <database name>
    CHARACTER SET utf8 COLLATE utf8_general_ci;
    
  1. After clicking the Save button, the Diagnostic & Monitoring Tool will check that it can reach this database.

  2. When the Diagnostic & Monitoring Tool is restarted it will try to create the tables on the new database if they do not already exist.

Add feedback