Register your Project with DMC

Connecting your client to the Deployment Monitoring Console (DMC) database allows the DMC to detect the status of each pipeline step and all performed operations to make information and reports available through the browser.

Uses

Connecting to the DMC database gives you access to your pipeline data within the DMC WebApp. You would typically connect to the DMC database to include status and operational reports associated with projects, pipelines, and steps you are managing in the DMC WebApp.

Connecting to the internal Datical demo database

To connect to the internal Datical demo database, you can find connection credentials and instructions on the Client Connect page in the WebApp.

Connecting to an external database

To connect to your external database, you can find connection details and instructions on the Client Connection page in the WebApp.

Note: For external databases, contact your database administrator to get the external database password.

Where are the DMC database credentials stored?

The DMC stores these credentials in two places:

  1. In the web server.
  2. On the client side in Eclipse and the Command Line Interface (CLI).

Connecting your project

To connect your project to the DMC database you must register your project through the desktop client or through the CLI.

Note: You will need to have the PostgreSQL JDBC driver installed if you have not already done so!

Desktop client

To connect your project using the desktop client:

  1. Navigate to Project Settings.
  2. Expand DMC Database settings.
  3. Enter the information provided in the Connection details section above.
  4. Test the connection
  5. Confirm and Exit

Your project will automatically be imported and visible to all system administrator roles in the DMC.

Command line

To connect your project using the command line, use the newDbDef hammer command to create the audit DBDef

$ hammer newDbDef DbDefClass PostgresqlDbDef name MyAuditDB hostname localhost port 5432 username datical password Hk9LF2YxrVims8u6ZdOq database datical dbDefType audit

Next, register the project with AuditDB

$ hammer groovy registerProjectWithAuditDB.groovy

Related links