Configuring QuerySurge Connections: DB2
When you create a QuerySurge Connection, the Connection Wizard will guide you through the process. Different types of QuerySurge connections require different types of information.
For a DB2 Connection, you will need the following information (check with a DBA or other knowledgeable resource in your organization):
- Database login credentials (ID and Password)
- Server Name or IP address of the DB2 Server (e.g. db21.myserver.com, or 192.168.0.255)
- The Port for your DB2 database (50000 is the default port)
- The DB2 Database name
Note: QuerySurge DB2 builtin support is for the IBM JCC Universal Driver. If you use a different driver, QuerySurge supports you via the Connection Wizard's Connection Extensibility feature.
Launch the Connection Wizard
- Log into QuerySurge as an Admin user.
- To configure a Connection, select Configuration > Connection in the Administrative View tree (at the left).
- Click on the Add button at the bottom left of the page to launch the Connection Wizard. Click Next.
Note: Check the Advanced Mode checkbox for access to advanced features.
- Provide a name for your connection. Select DB2 as the Data Source. Click Next.
Note: QuerySurge builtin support is for the IBM JCC Universal Driver. If you use a different driver, QuerySurge supports you via the Generic JCBC Connection option.
Note: The JCC Universal JDBC driver is not bundled with QuerySurge, so you will need to obtain and install the driver with your Agents. See Adding a JDBC Driver to your QuerySurge Agent for instructions.
- Once you have selected your Data Source, the Wizard will tell you what information you are likely to need in order to create your Connection. Once you have collected this information, you are ready to click Next.
- Provide the connection information to your database. This includes the Server name or IP address, the port (the default port for your database product will automatically populate), the database name and login credentials. Click Next.
Required fields for your Connection Type are marked by an *.
- Click on Test Connection.
Note: You must have an Agent running with the driver for this Connection deployed in order to test the Connection.
- Save the Connection.
- Congratulations! You’ve created a QuerySurge Connection. Again, make sure that you have deployed the driver for this connection to all your QuerySurge Agents (see the link in #4 above).