User guide
3.3.1 Starting a Pool Server
A pool server must be invoked on each node on which you wish to provide server
redirection. The pool server does not need to be on the same node as its pooled servers.
A pool server may be invoked by using the appropriate start statement within the controller,
as an Oracle SQL/Services JDBC dispatcher or directly from the operating system
command line.
3.3.1.1 Starting a Pool Server from the Controller
A pool server may be started from the controller by referencing a thin pool server definition
in an XML-formatted configuration file. See Starting Servers
within Oracle JDBC for Rdb
Controller for more details.
Example
Given the following server section in the XML-formatted configuration file mycfg.xml :
<server
name="mypoolserver"
type="RdbThinSrvPool"
url="//localhost:1702/" >
<pooledServer name="srv1forRdb"/>
<pooledServer name="srv2forRdb"/>
<pooledServer name="srvMPforRdb"/>
</server>
the following command may be used to start this server from within the controller
rdbthincontrol> start server mypoolserver
Alternatively the controller may be used in command mode to start a server
$ java –jar rdbthincontrol.jar –cfg mycfg.xml –
–name mypoolserver –startserver
3.3.1.2 Starting a Pool Server from Oracle SQL/Services
A pool server may be started from the Oracle SQL/Services manager:
Using the Oracle SQL/Services manager, you must first establish a connection to the
SQL/Service server. Once connected you may then start a JDBC dispatcher.
Before you can start a JDBC dispatcher, you must first create its definition in the Oracle
SQL/Services environment.
29