This topic describes how to add a user-created IBM DB2 LUW data source. Quick BI Enterprise Standard and Quick BI Pro allow you to add user-created IBM DB2 LUW data sources in group workspaces.

Prerequisites

  • You can access data sources directly or indirectly from an external network.
  • A self-managed IBM DB2 LUW database is created.
  • The username and password that are used to log on to the user-created IBM DB2 LUW database are obtained.

Procedure

  1. Click the Workspace tab. In the left-side navigation pane, click Data Sources.
  2. On the Data Sources page, click Create Data Source in the upper-right corner.
  3. In the Add Data Source dialog box, click the User-created Data Sources tab and then the IBM DB2 LUW card.
    添加数据源
  4. In the Add IBM DB2 LUW Database dialog box, configure the parameters.
    2
    Parameter Description
    Name The name of the data source. In this example, set the value to user-created DB2 data source.
    Database Address The IP address of the database that is used as the data source.
    Port Number The port that you use to access the database. Default value: 50000.
    Database The name of the database that you want to access. In this example, set the value to DB2.
    Schema The schema of the database. Default value: DB2INST1.
    Username The username that you use to access the database.
    Password The password that you use to access the database.
    ssh Specify whether to access the data source over an SSH tunnel based on your business requirements. If you select ssh, configure the following parameters:
    • SSH Host: the hostname or IP address of the SSH host.
    • SSH Username: the username that you use to access the SSH host.
    • SSH Password: the password that you use to access the SSH host.
    • SSH Port Number: the port that you use to access the SSH host. Default value: 22.
    Note Only Quick BI Enterprise Standard allows you to access user-created data sources in group workspaces over SSH tunnels.
  5. Click Test Connection to test connectivity with the database.
    测试连通性
  6. After the database passes the connectivity test, click OK.