Configuring the Catalog Service to run on SQL Server
About this task
By performing the following actions, the data is imported in the SQL database.
Procedure
- Open the server.xml file from \wlp\usr\servers\ad_server.
- Enable IBM® AD Catalog, by removing the
<!-- -->
comment around its<webApplication>
element.<webApplication contextRoot="com.ibm.etools.ad.catalog" id="com.ibm.etools.ad.catalog" location="com.ibm.etools.ad.catalog.war" name="ad-catalog"> <application-bnd> <security-role name="ADCatalogUser"> <user name="catalog"/> </security-role> </application-bnd> </webApplication>
- Open the server.xml file from \wlp\usr\servers\ad_server.
-
In the <!-- Add the Catalog database connection details--> area, enter
the SQL database in the databaseName field.
databaseName="Catalog"
-
In the same area, enter the IP of the server in the serverName
field.
serverName=
-
Enter the SQL port in the portNumber field (the default is 1433).
portNumber="1433"
-
Enter the user and password used to connect to the SQL database in the
user and password fields.
Important: The password that is used to connect to the SQL database can be encrypted. The securityUtility command supports plain text encryption for Liberty. For more information, see securityUtility command.
- Make sure that IBM® AD Catalog Service is configured in IBM® AD Configuration Server. For more information, see Configuring IBM AD Catalog Service.
- Once the configuration is done, go to the Dashboard tab, in IBM® AD Configuration Server, click the menu button of Web Service, and
select Restart Service. Note:
- Wait until the services are restarted, this can take a few minutes to complete.
- The Catalog database will be automatically populated when Data Collector starts for the first time.