Configure JDBC Resources Configure Oracle WebLogic Server SIP Container Persistence Options

Configuring SIP Data Tier Partitions and Replicas 4-7 12. Follow the steps under Section 4.4.4.3, Create the Database Schema to create the necessary tables in your RDBMS.

4.4.3.1 Modify the JDBC Datasource Connection Information

After installing the new domain, modify the template JDBC datasource to include connection information for your RDBMS server:

1. Use your browser to access the URL http:address:portconsole where address is

the Administration Servers listen address and port is the listen port.

2. From the scrolling list in the Domain Structures panel left side of the page, select

Services Data Sources.

3. Select the data source named wlss.callstate.datasource in the right pane.

4. Select the Configuration Connection Pool tab in the right pane.

5. Modify the following connection pool properties:

■ URL : Modify the URL to specify the host name and port number of your RDBMS server. ■ Properties : Modify the value of the user, portNumber, SID, and serverName properties to match the connection information for your RDBMS. ■ Password and Confirm Password: Enter the password of the RDBMS user you specified.

6. Click Save to save your changes.

7. Select the Targets tab in the right pane.

8. On the Select Targets page, select the name of your SIP data tier cluster for

example, BEA_DATA_TIER_CLUST, then click Save. 9. Click Save. 10. Follow the steps under Section 4.4.4.3, Create the Database Schema to create the necessary tables in your RDBMS.

4.4.4 Configuring RDBMS Call State Storage by Hand

To change an existing Oracle WebLogic Server SIP Container domain to store call state data in an Oracle or MySQL RDBMS, you must configure the required JDBC datasource, edit the Oracle WebLogic Server SIP Container configuration, and add the required schema to your database. Follow the instructions in the sections below to configure an Oracle Database.

4.4.4.1 Configure JDBC Resources

Follow these steps to create the required JDBC resources in your domain: 1. Boot the Administration Server for the domain if it is not already running. 2. Access the Administration Console for the domain. 3. From the scrolling list in the Domain Structures panel left side of the page, select Services Data Sources. 4. Click New to create a new data source. 5. Fill in the fields of the Create a New JDBC Data Source page as follows: ■ Name: Enter wlss.callstate.datasource 4-8 Oracle WebLogic SIP Server Container Administrators Guide ■ JNDI Name : Enter wlss.callstate.datasource. ■ Database Type : Select Oracle. ■ Database Driver : Select an appropriate JDBC driver from the Database Driver list. Note that some of the drivers listed in this field may not be installed by default on your system. Install third-party drivers as necessary using the instructions from your RDBMS vendor.

6. Click Next.

7. Fill in the fields of the Connection Properties tab using connection information for the database you wan to use. Click Next to continue. 8. Click Test Configuration to test your connection to the RDBMS, or click Next to continue. 9. On the Select Targets page, select the name of your SIP data tier cluster for example, BEA_DATA_TIER_CLUST. 10. Click Finish to save your changes.

4.4.4.2 Configure Oracle WebLogic Server SIP Container Persistence Options

Follow these steps to configure the Oracle WebLogic Server SIP Container persistence options to use an RDBMS call state store:

1. Boot the Administration Server for the domain if it is not already running.

2. Access the Administration Console for the domain.

3. Select the SipServer node in the left pane.

4. Select the Configuration Persistence tab in the right pane.

5. In the Default Handling drop-down menu, select either db or all. It is

acceptable to select all because geographically-redundant replication is only performed if the Geo Site ID and Geo Remote T3 URL fields have been configured.

6. Click Save to save your changes.

4.4.4.3 Create the Database Schema