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 />

Sybase Driver Connection Failover Properties<br />

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

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

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

Table 21. Connection Failover Properties for the Sybase 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> the DatabaseName connection property are<br />

optional. If the port number is unspecified, the port number specified for the primary<br />

server is used. If a port number is unspecified for the primary server, the port number<br />

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 />

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 Sybase Driver<br />

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

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

jdbc:progress:sybase://server1:4100;DatabaseName=TEST;<br />

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

DatabaseName=TEST3)<br />

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