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

is the part of the connection URL that specifies connection information for the primary<br />

server. Alternate servers are specified using the AlternateServers property, in this<br />

example:<br />

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

DatabaseName=TEST3)<br />

You can specify an optional instance property for each alternate server entry. For<br />

example:<br />

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

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

DatabaseName=TEST3)<br />

or, if connecting to named instances:<br />

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

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

server3\\instance3:1433;DatabaseName=TEST3)<br />

If you do not specify an optional connection property in an alternate server entry, the<br />

connection to that alternate server uses the property specified in the URL for the primary<br />

server. For example, if you specify DatabaseName=TestServer for the primary server, but<br />

do not specify the InformixServer <strong>and</strong> DatabaseName properties in the alternate server<br />

entry as shown in the following URL, the driver uses the InformixServer <strong>and</strong><br />

DatabaseName specified for the primary server <strong>and</strong> tries to connect to the TEST database on<br />

the alternate server:<br />

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

AlternateServers=(server2:1433,server3:1433)<br />

The SQL Server driver also allows you to specify connections to named instances,<br />

multiple instances of a Microsoft SQL Server database running concurrently on the same<br />

server. If specifying named instances for the primary <strong>and</strong> alternate servers, the connection<br />

URL would look like this:<br />

jdbc:progress:sqlserver://server1\\instance1;<br />

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

server3\\instance3:1433;DatabaseName=TEST3)<br />

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