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.

Informix Driver Connection Failover Properties<br />

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

works with the Database Service DB2 driver. See “Informix Driver Connection<br />

Properties” on page 164 for details about configuring each property.<br />

Table 12. Connection Failover Properties for the Informix Driver<br />

Property Description<br />

Informix<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 InformixServer) are optional. If the port number is unspecified, the port<br />

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

primary server, the port specified for the primary server 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 />

InformixServer The name of the Informix database server 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 disabled).<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 Informix Driver<br />

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

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

jdbc:progress:informix://server1:2003;InformixServer=TestServer;<br />

DatabaseName=TestServer;<br />

AlternateServers=(server2:2003;InformixServer=TestServer2,server3:2003)<br />

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

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

Saved successfully!

Ooh no, something went wrong!