User Tools

Site Tools


openils.xml

This is an old revision of the document!


User Comments

The opensrf config XML file is one of the more complicated pieces of the configuration process. OpenSRF is meant to be flexible, and as such it provides a lot of configuration options for running servers. Installing OpenSRF (which will happen when you install OpenILS) will create an opensrf.xml.example file with comments on the various configuration sections. Installing OpenILS will copy a customized version of opensrf.xml.example file for you to use as the template for the global configuration file.

Below are the main sections that will need editing in opensrf.xml:

  1. edit the <dirs> section to point to directories created to hold the various pieces. Make sure that these directories all exist and can be written to by the user running the services before services are started.
  2. update username/password in the z3950/oclc section if you have an OCLC login and want to use the marc import functionality
  3. edit <open-ils.circ><app_settings><rules>… to point to the installed circ rules. Their default location is PREFIX/var/circ/<filename>
  4. if necessary, update the database info in the storage settings (<open-ils.storage>)
  5. if you want to disable/enable any specific applications, update the <activeapps> listing, near the bottom of the config file
  6. edit the <hosts> section so that the first XML element name within it matches the results of running perl -MNet::Domain=hostfqdn -e 'print hostfqdn(); ' on your server
openils.xml.1178709242.txt.gz · Last modified: 2022/02/10 13:33 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.