Skip to main content
Skip table of contents

Configuration File

mMC uses configuration files to receive a list of data source configurations.

Create and edit configuration files using any plain text editor.

mMC supports configuration files in CSV format.

CSV configuration files can be of two types:

  • Multi-type CSV that can contain configurations for different data source types.

  • Single-type CSV that can contain configurations for sources of a specific DB engine type.

Configuration File Format

mMC automatically detects the following delimiters: space, tab, comma, colon, and semicolon. However, mMC also allows setting any delimiter of any length manually.

To be interpreted by mMC, configuration files must have correctly defined headers.

Configuration files may contain both database and application data source configurations. If a configuration file contains both databases and applications, mMC scans only data sources that correspond with the database or application keyword in the command.

If a configuration file is single-type, its name must end with _<DB_engine>.csv. For example, config_oracle.csv or sources_sqlserver.csv. The supported DB engine names are db2_luw, hbase, mongoDB, mysql, oracle, postgresql, and sqlserver. In single-type configuration files, the DB Engine header is not required.

If a configuration file is multi-type, it’s recommended to use any name apart from those reserved for single-type configuration files.

If a DB engine is specified in a file name but the file itself contains multi-type data source configurations, mMC ignores data sources that don't match the DB engine specified in the file name.

For sample CSV configuration files, see Sample Configuration Files.

Database Scanning Parameters

Database scanning parameters are engine-specific.

Sources with duplicate connection names are scanned and saved with a numeric suffix.

If there are several values for required parameters, the source is scanned with the value from the first occurrence, and subsequent values are ignored.

If there are incorrect values is of optional parameters, the default values are used.

Engine-Specific Parameters

DB2 LUW

The following options apply to DB2 LUW sources.

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to db2 or db2 luw to identify a data source as a DB2 LUW database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Host

(tick)

Database hostname or IP address.

Port

(tick)

TCP port. 50000 by default.

Database ID

(tick)

Database ID.

User

(tick)

Database user name.

Password

(tick)

Database user password.

SSL/TLS

(error)

Set to true if SSL/TLS protocols are applied. Set to false (default) if not applied.

CA Certificate

(error)

Required, if SSL/TLS is true. Certification Authority (CA) root certificate path.

Tags

(error)

Tag(s) to assign to the data source.

The maximum tag length is 32 characters.

HBase

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to hbase to identify a data source as an HBase database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Zookeeper Quorum

(error)

Required, if no HBase Config value is provided. ZooKeeper host.

Zookeeper Client Port

(error)

ZooKeeper port. 2181 by default.

HBase Master Port

(error)

HBase master port. 16000 by default.

KRB5 Config

(error)

Kerberos configuration file path.

HBase Config

(error)

Required, if Zookeeper Quorum is not set. Required, if KRB5 Config is set. hbase-site.xml file path.

Principal

(error)

Required, if KRB5 Config is set. Kerberos principal name.

Keytab File

(error)

Required, if KRB5 Config is set. Local keytab Kerberos authentication file path.

Tags

(error)

Tag(s) to assign to the data source.

The maximum tag length is 32 characters.

MongoDB

The following options apply to MongoDB sources.

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to mongodb to identify a data source as a MongoDB database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Host

(tick)

Cluster hostname or IP address.

Port

(tick)

TCP port. 27017 by default.

User

(error)

Cluster user name.

Password

(error)

Cluster user password.

Tags

(error)

Tag(s) to assign to the data source.

The maximum tag length is 32 characters.

Cluster name

(error)

User-defined cluster name.

Authentication

(error)

Authentication type. The available values are none, basic (default), ldap, and x509.

SSL/TLS

(error)

Set to true if SSL/TLS protocols are applied. Set to false (default) if not applied.

CA Certificate

(error)

Required, if SSL/TLS is true. Certification Authority (CA) root certificate path.

Secret Key

(error)

Required, if SSL/TLS is true or if authType is x509. CA secret path.

Public Key

(error)

Required, if SSL/TLS is trueor if authType is x509. CA public key certificate path.

MySQL

The following options apply to MySQL sources.

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to mysql to identify a data source as a MySQL database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Host

(tick)

Database hostname or IP address.

Port

(tick)

TCP port. 3306 by default.

Database ID

(tick)

Database ID.

User

(tick)

Database user name.

Password

(tick)

Database user password.

Timezone

(error)

Session timezone name.

For the available timezone name values, see the NAME column in the time_zone_name table in the https://dev.mysql.com/downloads/timezones.html.

Tags

(error)

Tag(s) to assign to the data source.

The maximum tag length is 32 characters.

Extended Scan

(error)

Set to true to use the Extended Scan mode. Specify Scan Duration and Sample Interval. false by default.

Scan Duration

(error)

Required, if Extended Scan is true. Total number of seconds for query execution in Extended Scan mode. Must be a positive integer from 1800 to 86400 inclusive.

Sample Interval

(error)

Required, if Extended Scan is true. Single interval length (in seconds) within the total duration for query execution in Extended Scan mode. Must be a positive integer from 600 to 1800 inclusive.

Oracle

The following options apply to Oracle sources.

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to oracle to identify a data source as an Oracle database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Workload Repository

(tick)

Workload repository. The available values are awr (default), statspack, dynamic-views.

AWR

Utilizing Oracle's Automatic Workload Repository (AWR) can offer a comprehensive workload analysis including deep insights and requires a paid license. Confirm that AWR data retention and proper licensing is in place before proceeding with this option. To allow for comprehensive analysis, when selecting a custom collection period, make sure to select a time range that encompasses relevant workload trends and peaks.

Statspack

Utilizing Oracle's Statspack can offer a comprehensive workload analysis similar to AWR, and is free to use. Confirm proper setup and configuration before proceeding with this option. To allow for comprehensive analysis, when selecting a custom collection period, make sure to select a time range that encompasses relevant workload trends and peaks.

Dynamic Views

Oracle's Dynamic Views primarily contain aggregated information collected since the last instance startup. Although it is readily available and free for immediate use without the need for additional licensing or configurations, data acquired through this method may lack the granularity needed to assess system load over time, and therefore, choosing this option will result in an inadequate representation and analysis of workload and target sizing information.

Scan Duration

(error)

Required, if Dynamic Views is set as a workload repository. Total number of seconds for query execution. Must be a positive integer from 1800 to 2592000 inclusive.

Sample Interval

(error)

Required, if Dynamic Views is set as a workload repository. Single interval length (in seconds) within the total duration for query execution. Must be a positive integer from 300 to 3600 inclusive.

Host

(tick)

Database hostname or IP address.

Port

(tick)

The TCP port for the database. 1521 by default.

SID

(tick)

Database SID or service name.

Service Name

(error)

Required, if no SID value is provided. Database service name.

SID

(error)

Required, if no Service Name is provided. Database SID.

User

(tick)

Database user name.

Password

(tick)

Database user password.

Tags

(error)

Tag(s) to assign to the data source.

The maximum tag length is 32 characters.

Is CDB

(error)

Oracle Container Database (CDB) flag. If set to true, set CDB SID, CDB User, and CDB Password.

CDB SID

(error)

Required, if Is CDB is true. CDB Service ID.

CDB User

(error)

Required, if Is CDB is true. CDB common user name.

CDB Password

(error)

Required, if Is CDB is true. CDB common user password.

PostgreSQL

The following options apply to PostgreSQL sources.

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to postgresql to identify a data source as a PostgreSQL database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Host

(tick)

Database hostname or IP address.

Port

(tick)

TCP port. 5432 by default.

Database ID

(tick)

Database ID.

User

(tick)

Database user name.

Password

(tick)

Database user password.

Tags

(error)

Tag(s) to assign to the data source.

The maximum tag length is 32 characters.

Extended Scan

(error)

Set to true to switch to the Extended Scan mode. Specify the Scan Duration and Sample Interval parameters. false by default.

Scan Duration

(error)

Required, if Extended Scan is true. Total number of seconds for query execution in Extended Scan mode. Must be a positive integer from 1800 to 86400 inclusive.

Sample Interval

(error)

Required, if Extended Scan is true. Single interval length (in seconds) within the total duration for query execution in Extended Scan mode. Must be a positive integer from 600 to 1800 inclusive.

SQL Server

The following options apply to SQL Server sources.

Parameter Name for CSV and TXT

Required

Description

DB Engine

(tick)

Set to sqlserver to identify a data source as a SQL Server database and enable DB engine-specific headers.

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Host

(tick)

Hostname or IP address.

Port

(tick)

TCP port. 1433 by default.

Database ID

(tick)

Database ID.

User

(error)

Required, if Windows Authentication is false. Database user name.

Password

(error)

Required, if Windows Authentication is false. Database user password.

Tags

(error)

Tag(s) to assign to the database.

The maximum tag length is 32 characters.

Windows Authentication

(error)

Set to true to use Windows Kerberos authentication. Set to false (default) if using SQL Server authentication.

Extended Scan

(error)

Set to true to switch to the Extended Scan mode. Specify the Scan Duration and Sample Interval parameters. false by default.

Scan Duration

(error)

Required, if Extended Scan is true. Total number of seconds for query execution in Extended Scan mode. Must be a positive integer from 1800 to 2592000 inclusive.

Sample Interval

(error)

Required, if Extended Scan is true. Single interval length (in seconds) within the total duration for query execution in Extended Scan mode. Must be a positive integer from 300 to 1200 inclusive.

Trust Server Certificate

(error)

Set to true to trust the server certificate during the scan process. false by default.

Application Scanning Parameters

Applications

Parameter Name for CSV and TXT

Required

Description

Name

(tick)

Data source name.

This name must be unique among all data sources scanned at the same time.

Language

(tick)

Primary language. Options: JAVA or CSHARP.

Directory

(tick)

Application root folder path.

For Windows, in the application location, use the double slashes instead of the single slashes.

Probe

(error)

Set to true (default) to scan the data source. Set to false to skip it.

Dialect

(tick)

Primary dialect. The available values are Oracle, SQLServer, PostgreSQL, MySQL, DB2LUW, and HBase.

Sample Configuration Files

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.