Program guide > (deprecated) Partitioning facility > Partitioning facility programming > Proxy DataSource development > Configure Proxy DataSource in WebSphere eXtreme Scale
Deprecated feature: The partitioning facility (WPF) feature is deprecated. You can configure partitioning with WebSphere eXtreme Scale.
Create DB2DB2 data sources
- Select Resources > JDBC Providers.
- Create a cluster-wide DB2 Universal Java™ database connectivity (JDBC) provider.
To create a cluster-wide JDBC provider, set the scope to cluster level and then select the cluster you want. Make sure you see a red arrow on the left of the cluster.
- Click New. Select DB2 as the database type. Select DB2 Universal JDBC Driver Provider as the provider type. Select connection pool data source as the implementation type.
- Click Next.
The classpath of the JDBC provider uses DB2 JDBC driver jar files. Define the variables as the path where the DB2 JDBC driver jar files reside. If you have multiple nodes, and DB2 JDBC driver JAR files are in different directories, override the variables appropriately in the node level.
- Click Apply. Click Data Sources > Additional Properties.
- Under the JDBC provider, click New to create a data source with the JNDI name as jdbc/WestDS, and the name as WestDS.
- Select the Use this Data Source in container managed persistence (CMP) check box. This option is checked by default.
- Select com.ibm.websphere.rsadapter.helper.DB2UniversalDataStoreHelper as the data store helper class
- Select <CELL>/alias1 as the component-managed authentication alias.
- Set databaseName to westtest and set driverType to 2
- Leave others as the defaults. Click Apply.
- Navigate to the JDBC provider panel.
- Under the same DB2 Universal JDBC provider, create a datasource with the JNDI name jdbc/EastDS, naming it EastDS.
- Check the Use this Data Source in container managed persistence (CMP) check box. This option is checked by default.
- Select <CELL>/alias1 as the component-managed authentication alias.
- Set the databaseName to easttest and set driverType to 2.
- Leave others as the defaults. Click Apply.
- Click Save to save the configuration.
- Navigate back to the Data Sources page and click Test connection to test the connection.
Parent topic:
Configure Proxy DataSource in WebSphere eXtreme Scale
Related concepts
Configure proxy DataSource In WebSphere Extended Deployment