Update using jdbc.properties file
Configure the connection pool failover properties using jdbc.properties file.
Procedure
- Navigate to <install_dir>/properties and open the jdbc.properties_afc_ext.in file.
- Search for the parameter connectionPool.failover.
-
Enable the connectionPool.failover.enable property by setting it to true.
Also update any of the other failover properties for probeIntervalSeconds, numberOfRetries, retryIntervalSeconds or errorCodes for fine tuning based on failover testing performed for the configured database instance.
- Save the changes in the file.
-
Run the
setupfiles
command:- Linux:
./setupfiles.sh
- Windows:
setupfiles.cmd
- Linux:
-
Run deployer
- Linux:
./deployer.sh
- Windows:
deployer.cmd
- Linux:
- Restart the services.