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.

Microsoft SQL Server<br />

Microsoft SQL Server Driver Connection Failover Properties<br />

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

works with the Database Service SQL Server driver. See “Microsoft SQL Server Driver<br />

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

Table 18. Connection Failover Properties for the Microsoft SQL Server 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 />

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

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

default port number of 1433 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 Microsoft SQL Server Driver<br />

The following connection URL for the Microsoft SQL Server driver specifies connection<br />

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

jdbc:progress:sqlserver://server1:1433;DatabaseName=TEST;<br />

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

DatabaseName=TEST3)<br />

In this example:<br />

....server1:1433;DatabaseName=TEST...<br />

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

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

Saved successfully!

Ooh no, something went wrong!