10.02.2013 Views

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

Progress Sonic ESB Configuration and Management Guide

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6: Driver Connection Properties <strong>and</strong> Data Types by Database Br<strong>and</strong><br />

DB2 Driver Connection Failover Properties<br />

Table 9 summarizes the connection properties that control how connection failover works<br />

with the Database Service DB2 driver. See “DB2 Driver Connection Properties” on<br />

page 148 for details about configuring each property.<br />

Table 9. Connection Failover Properties for the DB2 Driver<br />

Property Description<br />

AlternateServers List of alternate database servers. An IP address or server name identifying each<br />

server is required. Port number <strong>and</strong> supported connection properties (DatabaseName<br />

or LocationName) are optional. If the port number is unspecified, the port specified<br />

for the primary server is used. If a port number is not specified for the primary<br />

server, a default port number of 50000 is used.<br />

ConnectionRetryCount Number of times the driver retries the list of database servers (primary <strong>and</strong> alternate)<br />

until a successful connection is established. The default is 0 (connection retry is not<br />

used).<br />

ConnectionRetryDelay Wait interval, in seconds, used between attempts to connect to a list of database<br />

servers (primary <strong>and</strong> alternate) when the ConnectionRetryCount property is set to a<br />

positive integer. The default is 3.<br />

DatabaseName The name of the database to which you want to connect.<br />

LoadBalancing Sets whether the driver will use client load balancing in its attempts to connect to the<br />

list of database servers (primary <strong>and</strong> alternate). If client load balancing is enabled,<br />

the driver uses a r<strong>and</strong>om pattern instead of a sequential pattern in its attempts to<br />

connect. The default is false (client load balancing is not used).<br />

See “Client Load Balancing” on page 131 <strong>and</strong> “Connection Failover” on page 132 for<br />

overviews of these features.<br />

Specifying Alternate Servers for the DB2 Driver<br />

The following connection URL for the DB2 driver specifies connection information for<br />

the primary <strong>and</strong> alternate servers:<br />

jdbc:progress:db2://server1:50000;DatabaseName=TEST;<br />

AlternateServers=(server2:50000;DatabaseName=TEST2,<br />

server3:50000;DatabaseName=TEST3)<br />

161 <strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> 8.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!