Changing the data sources names

The data sources names for WebSphere® Business Monitor databases are hardcoded. To change those names, perform the following steps:

  1. Stop the application whose data source name you want to change. (For example, stop the Monitor Server if you want to change the data source name that is used for recording the state of the process or process aggregate in the State database.)
  2. Create a new data source in the resources of the application server on which the application is deployed as follows:
    1. From the navigation tree on the WebSphere Application Server administrative console, select Resources > JDBC Providers.
    2. Change the scope to the server on which the application is installed.
    3. Select MonitorDB2XADriver > Data Sources > New. Click New.
    4. In the New Data Source properties page, enter the information of the new data source. Click Save to save your entries.
    5. Click the Test connection button to test the connection with this new data source.
  3. Change the data source that the application points to as follows:
    1. From the navigation tree on the WebSphere Application Server administrative console, select Enterprise Applications > <Enterprise_Application_Name>.
    2. Click Map resource references to resources
    3. Go to javax.sql.DataSource section, and select your newly created data source JNDI name from the Specify existing Resource JNDI name combo box.
    4. Select both check boxes at the bottom of the javax.sql.DataSource section.
    5. Click Save to save your changes.
    6. Click OK.
    7. In the Message information box, click Save to apply your changes. The Save page appears.
    8. Click Save.
  4. Start the enterprise application.

Copyright IBM Corporation 2005, 2006. All Rights Reserved.