Storing data in Microsoft SQL Server 2016+

Data Storage is only available in version 6.0+

Data Storage in 6.0+ allows a Metric Insights server to connect to existing enterprise database infrastructure. 

PREREQUISITES:

  • Microsoft SQL Server must be installed and configured for use.
  • Microsoft SQL Server 2016 or later versions are supported.

This article describes how to initialize Data Storage with Microsoft SQL Server. The process of connecting to MariaDB/MySQL is essentially the same.

1. Admin > Collection & Storage > Data Storage

From the Admin menu, access the Data Storage option.

2. Data Storage List > [+ New Data Storage]

Add a New Data Storage from the UI.

3. Configure Connection Parameters

  1. Name: provide the name of the Data Storage profile
    • This name will be used internally in the Metric Insights UI and can differ from the database name
  2. Storage Type: choose one of the supported options. In this case, it is Microsoft SQL Server
  3. Node Name: leave as "node1"
    • node1 is the default name of your node in MI Version 6.0. 
    • Multiple node option will be added future releases
  4. Username/Password: credentials for accessing the Microsoft SQL Server
  5. Hostname: name or  IP of the database host
  6. Database name: MS SQL Server database name where you will store your Metric Insights datasets
  7. JDBC driver: from the dropdown, choose the driver that will be used to interact with the database
    • After the JDBC driver has been selected, the Port and the JDBC string will be provided automatically

Click [Save] to proceed.

4. Initialize your Data Storage and Test Connection

  1. Initializing will configure and setup the Data Storage for use.
  2. Click [Test Connection] to verify that the Data Storage profile can communicate with the database.

After Data Storage Initialization, configuration process is complete and can not be reverted. 

  • If you need to change the Database name, re-enter Password and save changes before reinitializing the Data Storage.

5. Selecting the Data Storage (applicable to Datasets only)

Having configured the Data Storage profile, Users can select it for storing their MI data (Datasets).

This option is available from the Dataset Editor > Data tab

0 Comments

Add your comment

E-Mail me when someone replies to this comment