[OPEN-ILS-DEV] re-reading config files

Bill Erickson erickson at esilibrary.com
Fri Jun 20 10:52:41 EDT 2008


> Is there a good description somewhere of what needs to be restarted
> following config file changes, specifically opensrf.xml?  For instance
> when adding a MARC template or a Z39.50 source.
>
> I generally just do a full stop_all/start_all then bounce apache, but
> with more client connections and getting closer to a production
> environment, that's getting harder to do without causing users grief...

Hi Bill,

When you change anything in opensrf.xml, at minimum, you need to restart
Perl services for the changes to take effect.  Then, depending on what you
change, you may or may not need to restart C services or Apache. 
Naturally, if you change any of the services whose <language> == 'c', C
services will need to be restarted.  Similarly, if you change added
content settings, Apache will need restarting.  If you change memcache
settings, everything will need to be restarted.

Changing a MARC template or a Z39.50 source only requires a Perl restart.

In short, you have to know what your changes affect.

As an aside, if you have the luxury of a multi-brick environment, leaning
on ldirector to pull bricks out of rotation during a restart to avoid down
time is naturally the way to go.

-b

-- 
Bill Erickson
| VP, Software Development & Integration
| Equinox Software, Inc. / The Evergreen Experts
| phone: 877-OPEN-ILS (673-6457)
| email: erickson at esilibrary.com
| web: http://esilibrary.com



More information about the Open-ils-dev mailing list