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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Table 8. DB2 Connection Properties (continued)<br />

Property Description<br />

AlternateServers<br />

OPTIONAL<br />

A list of alternate database servers that the driver will try to connect to if<br />

the primary database server is unavailable. The value of this property is a<br />

string that specifies each alternate server. This string has the format:<br />

(servername1[:port1][;property=value[;...]],<br />

servername2[:port2][;property=value[;...]],...)<br />

The server name is required for each alternate server entry. Port number<br />

<strong>and</strong> connection properties (property=value) are optional for each<br />

alternate server entry. If the port is unspecified, the port number of the<br />

primary server is used. If the port number of the primary server is<br />

unspecified, the default port number of 50000 is used. Optional connection<br />

properties for the driver are DatabaseName (for DB2 UDB) <strong>and</strong><br />

LocationName (for DB2 OS/390 <strong>and</strong> iSeries). For example:<br />

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

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

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

contains alternate server entries for server2 <strong>and</strong> server3. The alternate<br />

server entries contain the optional DatabaseName property.<br />

Other properties are:<br />

● ConnectionRetryCount — Controls the number of times the driver<br />

retries the list of servers (primary <strong>and</strong> alternate) while attempting to<br />

establish a connection.<br />

● ConnectionRetryDelay — Sets the wait interval, in seconds, between<br />

retry attempts.<br />

● LoadBalancing — Controls the order in which the driver sequences<br />

through the list of servers (primary <strong>and</strong> alternate) while attempting to<br />

establish a connection.<br />

See “Specifying Primary <strong>and</strong> Alternate Servers” on page 135 for more<br />

information about specifying connection information for primary <strong>and</strong><br />

alternate servers.<br />

149 <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!