Databases Reference
In-Depth Information
Changing the multi data source algorithm type using WLST
1. Log in as a
wls
user to shell and start WLST:
[wls@prod01]$ $WL_HOME/common/bin/wlst.sh
2. Connect to the Administration Server using
wlsadmin
as the user,
<pwd>
as the
password, and
t3://adminhost.domain.local:7001
as the server URL:
wls:/offline> connect("wlsadmin","<pwd>","t3://adminhost.domain.
local:7001")
3. Run the following WLST commands to change the multi data source algorithm:
edit()
startEdit()
cd('/JDBCSystemResources/ds-XA/JDBCResource/ds-XA/
JDBCDataSourceParams/ds-XA')
cmo.setAlgorithmType('Load-Balancing')
activate()
exit()
See also
F
Creating a JDBC data source
F
Creating a multi data source
F
Tuning data sources for reliable connections
F
Tuning multi data sources - surviving RAC node failures
Creating a GridLink data source
The GridLink data source is a new type of data source that has been available in WebLogic
Server since Version 10.3.4. The GridLink is used to connect to Oracle RAC databases and is
a recommended alternative to the multi data sources since it provides some useful features,
such as fast connection failover, runtime connection load balancing, graceful handling of
Oracle RAC outages, GridLink affinity, and SCAN addresses.
The same
DBApp
application requirement from the earlier recipe will be used, but in this
recipe a GridLink data source will be used instead of a multi data source.
Search WWH ::
Custom Search