3 Example OpenSRF bootstrap configuration file for Evergreen
6 <!-- Options for <loglevel>: 0 None, 1 Error, 2 Warning, 3 Info, 4 debug -->
10 <!-- define the list of routers our services will register with -->
13 This is the public router. On this router, we only register
14 applications which should be accessible to everyone on the OpenSRF
18 <domain>public.localhost</domain>
21 <service>opensrf.math</service>
22 <service>open-ils.actor</service>
23 <service>open-ils.auth</service>
24 <service>open-ils.cat</service>
25 <service>open-ils.circ</service>
26 <service>open-ils.collections</service>
27 <service>open-ils.fielder</service>
28 <service>open-ils.permacrud</service>
29 <service>open-ils.reporter</service>
30 <service>open-ils.search</service>
31 <service>open-ils.supercat</service>
32 <service>open-ils.vandelay</service>
38 This is the private router. All applications must register with
39 this router, so no explicit <services> section is required
42 <domain>private.localhost</domain>
46 <!-- Our domain should match that of the private router -->
47 <domain>private.localhost</domain>
48 <username>osrf</username>
53 Name of the router used on our private domain.
54 This should match one of the <name> of the private router above.
56 <router_name>router</router_name>
58 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
60 <logfile>syslog</logfile>
61 <syslog>local0</syslog>
62 <actlog>local1</actlog>
64 <loglevel>3</loglevel>
65 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
68 The section between <gateway>...</gateway> is a standard OpenSRF C
69 stack configuration file
73 <router_name>router</router_name>
75 <!-- The gateway connects to the public domain for security -->
76 <domain>public.localhost</domain>
78 <!-- This section will be soon deprecated for multi-domain mode... -->
80 <service>opensrf.math</service>
81 <service>opensrf.dbmath</service>
82 <service>open-ils.cat</service>
83 <service>open-ils.search</service>
84 <service>open-ils.circ</service>
85 <service>open-ils.actor</service>
86 <service>open-ils.auth</service>
87 <service>open-ils.collections</service>
88 <service>open-ils.reporter</service>
91 <!-- jabber login info -->
92 <username>osrf</username>
95 <loglevel>3</loglevel>
96 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
98 <logfile>syslog</logfile>
99 <syslog>local6</syslog>
100 <actlog>local1</actlog>
103 <!-- ======================================================================================== -->
106 <!-- public router -->
109 Allow private services to register with this router
110 and public client to send requests to this router.
112 <server>private.localhost</server>
115 Also allow private clients to send to the router so it
116 can receive error messages
118 <client>private.localhost</client>
119 <client>public.localhost</client>
123 <server>public.localhost</server>
125 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
126 <username>router</username>
127 <password>osrf</password>
128 <resource>router</resource>
129 <connect_timeout>10</connect_timeout>
130 <max_reconnect_attempts>5</max_reconnect_attempts>
132 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
134 <logfile>syslog</logfile>
135 <syslog>local2</syslog>
137 <loglevel>3</loglevel>
140 <!-- private router -->
142 <server>private.localhost</server>
144 Only clients on the private domain can send requests to this router
146 <client>private.localhost</client>
149 <server>private.localhost</server>
151 <username>router</username>
152 <password>osrf</password>
153 <resource>router</resource>
154 <connect_timeout>10</connect_timeout>
155 <max_reconnect_attempts>5</max_reconnect_attempts>
157 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
159 <logfile>syslog</logfile>
160 <syslog>local2</syslog>
162 <loglevel>3</loglevel>
165 <!-- ======================================================================================== -->