Page created: 4 Feb 2020
|
Page updated: 22 Jul 2020
| 2 min read
Product PingDirectory 8.1 Directory Capability Product documentation Content Type Administration User task IT Administrator Administrator Audience Software Deployment Method Configuration
- Copy the database JAR files to the <server-root>/lib directory, and then restart the Directory Server.
-
Launch the dsconfig tool in interactive command-line
mode.
$ bin/dsconfig
- Next, type the connection parameters to bind to the Directory Server. Enter the host name or IP address, type of LDAP connection (LDAP, SSL, or StartTLS) that you are using on the Directory Server, the LDAP listener port number, the user bind DN, and the bind DN password.
- On the main menu, type the number corresponding to Log Publisher.
- On the Log Publisher management menu, enter the option to create a new Log Publisher.
- On the Log Publisher template menu, type n to create a new Log Publisher.
- On the Log Publisher Type menu, enter the option to create a new JDBC-Based Access Log Publisher.
- Type a name for the JDBC Access Log Publisher.
- On the Enabled Property menu, enter the option to enable the log publisher.
- On the Server Property menu, enter the option to create a new JDBC External Server.
- Next, type the name for the JDBC External Server. This is a symbolic name used to represent the DBMS.
- On the JDBC Driver Type Property menu, type the number corresponding to the type of JDBC database driver type.
-
Next, type a name for the
database-name
property. This is the DBMS database name. The database name must contain the table referred to in the generated DDL. - Next, type the host name or IP address (server-host-name) of the external server.
- Type the server listener port. In this example, type 1541.
- Review the properties for the external server, and the type f to apply the changes.
-
If you need to supply your own JDBC URL, type a for advanced properties to open
the
jdbc-driver-url
property and supply the appropriate URL. The example below shows how to access an Oracle Thin Client connection using a SID instead of a Service.>>>> Configure the properties of the JDBC External Server Property Value(s) ----------------------------------------------------- 1) description - 2) jdbc-driver-type oraclethin 3) jdbc-driver-url jdbc:oracle:thin@myhost:1541:my_SID 4) database-name jdbc-test 5) server-host-name localhost 6) server-port 1541 7) user-name - 8) password - ?) help f) finish - create the new JDBC External Server a) hide advanced properties of the JDBC External Server d) display the equivalent dsconfig arguments to create this object b) back q) quit Enter choice [b]: f
JDBC External Server was created successfully
- When the JDBC Log Publisher is created, the Directory Server automatically generates a DDL file of the Log Field Mappings in the <server-root>/logs/ddls/<name-of-logger>.sql file. Import the DDL file to your database.