10.02.2013 Views

Progress Sonic 8.0 ESB Configuration and Management Guide

Progress Sonic 8.0 ESB Configuration and Management Guide

Progress Sonic 8.0 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.

In this example:<br />

...server1:50000;DatabaseName=TEST...<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:50000;DatabaseName=TEST2, server3:50000;DatabaseName=TEST3)<br />

You can specify the optional connection properties DatabaseName or LocationName for each<br />

alternate server entry. For example:<br />

dbc:sonic:db2://server1:50000;DatabaseName=TEST;<br />

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

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

or<br />

jdbc:sonic:db2://server1:50000;LocationName=TEST;<br />

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

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

<strong>Progress</strong> <strong>Sonic</strong> <strong>ESB</strong> <strong>Configuration</strong> <strong>and</strong> <strong>Management</strong> <strong>Guide</strong> <strong>8.0</strong> 153<br />

DB2<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=TEST for the primary server, but do not<br />

specify a database name in the alternate server entry as shown in the following URL, the<br />

driver uses the database name specified for the primary server <strong>and</strong> tries to connect to the<br />

TEST database on the alternate server:<br />

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

AlternateServers=(server2:50000,server3:50000)

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

Saved successfully!

Ooh no, something went wrong!