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.cat</service>
23 <service>open-ils.supercat</service>
24 <service>open-ils.search</service>
25 <service>open-ils.circ</service>
26 <service>open-ils.actor</service>
27 <service>open-ils.auth</service>
28 <service>open-ils.fielder</service>
29 <service>open-ils.collections</service>
30 <service>open-ils.reporter</service>
36 This is the private router. All applications must register with
37 this router, so no explicit <services> section is required
40 <domain>private.localhost</domain>
44 <!-- Our domain should match that of the private router -->
45 <domain>private.localhost</domain>
46 <username>osrf</username>
51 Name of the router used on our private domain.
52 This should match one of the <name> of the private router above.
54 <router_name>router</router_name>
56 <logfile>LOCALSTATEDIR/log/osrfsys.log</logfile>
58 <logfile>syslog</logfile>
59 <syslog>local0</syslog>
60 <actlog>local1</actlog>
62 <loglevel>3</loglevel>
63 <settings_config>SYSCONFDIR/opensrf.xml</settings_config>
66 The section between <gateway>...</gateway> is a standard OpenSRF C
67 stack configuration file
71 <router_name>router</router_name>
73 <!-- The gateway connects to the public domain for security -->
74 <domain>public.localhost</domain>
76 <!-- This section will be soon deprecated for multi-domain mode... -->
78 <service>opensrf.math</service>
79 <service>opensrf.dbmath</service>
80 <service>open-ils.cat</service>
81 <service>open-ils.search</service>
82 <service>open-ils.circ</service>
83 <service>open-ils.actor</service>
84 <service>open-ils.auth</service>
85 <service>open-ils.collections</service>
86 <service>open-ils.reporter</service>
89 <!-- jabber login info -->
90 <username>osrf</username>
93 <loglevel>3</loglevel>
94 <logfile>LOCALSTATEDIR/log/gateway.log</logfile>
96 <logfile>syslog</logfile>
97 <syslog>local6</syslog>
98 <actlog>local1</actlog>
101 <!-- ======================================================================================== -->
104 <!-- public router -->
107 Allow private services to register with this router
108 and public client to send requests to this router.
110 <server>private.localhost</server>
113 Also allow private clients to send to the router so it
114 can receive error messages
116 <client>private.localhost</client>
117 <client>public.localhost</client>
121 <server>public.localhost</server>
123 <unixpath>LOCALSTATEDIR/sock/unix_sock</unixpath>
124 <username>router</username>
125 <password>osrf</password>
126 <resource>router</resource>
127 <connect_timeout>10</connect_timeout>
128 <max_reconnect_attempts>5</max_reconnect_attempts>
130 <logfile>LOCALSTATEDIR/log/router-public.log</logfile>
132 <logfile>syslog</logfile>
133 <syslog>local2</syslog>
135 <loglevel>3</loglevel>
138 <!-- private router -->
140 <server>private.localhost</server>
142 Only clients on the private domain can send requests to this router
144 <client>private.localhost</client>
147 <server>private.localhost</server>
149 <username>router</username>
150 <password>osrf</password>
151 <resource>router</resource>
152 <connect_timeout>10</connect_timeout>
153 <max_reconnect_attempts>5</max_reconnect_attempts>
155 <logfile>LOCALSTATEDIR/log/router-private.log</logfile>
157 <logfile>syslog</logfile>
158 <syslog>local2</syslog>
160 <loglevel>3</loglevel>
163 <!-- ======================================================================================== -->