Download O2 ODBC User Manual

Transcript
The O2 ODBC Commands : o2open_dispatcher
o2open_dispatcher
Summary
St ar t s an O 2 Open Access dispatch er .
Syntax
o2open_dispatcher
[-verbose]
Mandatory arguments
Non e.
Optional arguments
• -verbose
D isplays addit ion al in for m at ion abou t th e o2open_dispatcher
act ivity, i.e. set s t h e ver bose m ode on .
Description
Th is com m an d st ar t s a n ew O 2 Open Access dispat ch er on a m ach in e.
An O 2 Open Dispat ch er r egist er s all O 2 ODBC ser ver s r u n n in g on a LAN
an d is qu er ied t o get t h e addr ess of a ser ver able t o an swer t o an
O 2 ODBC clien t r equ ests.
A ser ver is ch osen by t h e dispat ch er accor din g t o a h eu r ist ics an d based
on con n ect ion opt ion s set by th e clien t. A scor e is com pu t ed for each
ser ver r u n n in g an d t h e ser ver wit h th e best scor e is r etu r n ed t o t h e
clien t .
Th e followin g elem en t s en t er in t h e com pu t at ion of t h e scor e:
• a ser ver is r u n n in g on t h e sam e h ost as t h e clien t
• a ser ver is alr eady con n ect ed t o t h e dat abase t o wh ich t h e clien t
wan t s to con n ect
• th e cu r r en t load of each ser ver (t h e n u m ber of con n ect ed clien t s)
• th e valu e of th e SQL_AUTOCOMMIT con n ect ion opt ion (specified by
t h e clien t wit h th e SQLSetConnectOption or t h e defau lt valu e
SQL_AUTOCOMMIT_ON)
O2 OD BC User Man u al
111