BETA | Verify OSI PI ODBC Connection

Verify that you have ODBC network connectivity by using the "ODBC Data Source Administrator (64-bit)" tool to configure an ODBC Data Source Name (DSN).

The DSN is used to validate the machine has access to the PI server.

For RQTP-based DAS (modern PI servers)

  1. Run the Windows ODBC Data Source Administrator (64-bit) tool, go to the System DSN tab and select Add to add a temporary system DSN.
  2. Double-click on the PI SQL Client driver you installed.
  3. Enter a name for your DSN.
  4. On the Connection tab, fill out the following fields:
    1. AF Server: IP address or hostname of the RQTP-based DAS machine.
    2. AF Database: Specify the AF database.
    3. Trusted connection: This is typically unchecked, but this depends on your security setup.
    4. User Name and Password: These are used for testing the connection but not used by the DSN.
  5. On the Workarounds tab, we recommend that you check the following boxes:
    1. Variant as String
    2. Guid as String
  6. On the Advanced tab:
    1. Specify the time zone.

      You will also need to specify the time zone when creating a System Connection, and these settings must match.

    2. Configure the firewall.
      PI drivers support two protocols, whose ports and order are configurable. The typical port selection for PI SQL Client drivers is (NetTcp) 5465.

      Make sure this port is opened between the PI server(s) and the Info360 Insight Data Connector.

  7. Verify connectivity to your database by selecting Test Connection.
    Important: We strongly recommend that you create a ReadOnly account with access to only the databases that are needed.
  8. Once you are connected, save the system DSN.

Next step: Create a System Connection in Info360 Insight.

For OLEDB-based DAS (older PI servers)

  1. Run the Windows ODBC Data Source Administrator (64-bit) tool, go to the System DSN tab and select Add to add a temporary system DSN.
  2. Double-click on the PI ODBC driver you installed.
  3. Enter a name for your DSN.
  4. Under PI SQL Data Access Server, fill out the following:
    1. Name: IP address or hostname of the OLEDB-based DAS machine.
    2. Trusted connection: This is typically unchecked, but this depends on your security setup.
  5. Under Credentials, fill out the following:
    1. User and Password: These are used for testing the connection but not used by the DSN.
  6. Under Data Source, fill out the following:
    1. Type: PI OLEDB Provider
    2. PI Data Archive: Enter the hostname of the PI archive (not an IP address)
    3. Initial Catalog: Default database
  7. On the Workarounds tab, we recommend that you check the following boxes:
    1. Variant as String
    2. Guid as String
  8. On the Protocols tab, configure the firewall:
    1. PI drivers support two protocols, whose ports and order are configurable. The typical port selection for PI ODBC drivers is (NetTcp) 5462.
    2. Make sure this port is opened between the PI server(s) and the Info360 Insight Data Connector.
  9. Verify connectivity to your database by selecting Test Connection.
    Important: We strongly recommend that you create a ReadOnly account with access to only the databases that are needed.
  10. Once you are connected, save the system DSN.

Next step: Create a System Connection in Info360 Insight.