Oracle Weblogic: Changing the multi data source algorithm type using WLST
- Log in as a
wls
user to shell and start WLST:[wls@prod01]$ $WL_HOME/common/bin/wlst.sh
- Connect to the Administration Server using
wlsadmin
as the user,<pwd>
as the password, andt3://adminhost.domain.local:7001
as the server URL:wls:/offline> connect("wlsadmin","<pwd>","t3://adminhost.domain.local:7001")
- 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()
0 Comments