--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="adminmisc">
+ <info>
+
+ <title>Server Operations and Maintenance</title>
+ <abstract>
+ <para>This chapter deals with basic server operations such as starting and stopping Evergreen as well wall security, backing up and troubleshooting Evergreen.</para>
+ </abstract>
+ </info>
+ <section xml:id="startingopensrf">
+ <title>Starting, Stopping and Restarting</title>
+ <para>Occasionally, you may need to restart Evergreen. It is imperative that you understand the basic
+ commands to stop and start the Evergreen server. You can start and stop Evergreen from the command line of
+ the server using the <filename >osrf_ctl.sh</filename> script located in the
+ <filename class="directory">openils/bin</filename> directory.</para>
+ <note><para>The osrf_ctl.sh script must be run as the <emphasis>opensrf</emphasis> user.</para></note>
+ <para>To view help on <filename>osrf_ctl.sh</filename> and get all of its options,
+ run:</para>
+ <screen>osrf_ctl.sh -h</screen>
+ <para>To start Evergreen, run:</para>
+ <screen>osrf_ctl.sh -l -a start_all</screen>
+ <para>The -l flag is used to indicate that Evergreen is configured to use <emphasis>localhost</emphasis> as
+ the host. If you have configured opensrf.xml to use your real hostname, do not use the -l flag. The -a
+ option is required and indicates the <emphasis>action</emphasis> of the command. In this case
+ <emphasis>start_all</emphasis>.
+ </para>
+ <note>
+ <para>If you receive the error message bash: osrf_ctl.sh:
+ command not found, then your environment variable PATH does not include the
+ <filename class="directory">/openils/bin</filename> directory.
+ You can set it using the following command:</para>
+ <screen>export PATH=$PATH:/openils/bin</screen>
+ <para>If you receive the error message Can't locate OpenSRF/System.pm in @INC … BEGIN
+ failed–compilation aborted, then your environment variable <emphasis>PERL5LIB</emphasis> does not
+ include the <filename class="directory">/openils/lib/perl5</filename> directory. You can set it
+ using the following command:</para>
+ <screen>export PERL5LIB=$PERL5LIB:/openils/lib/perl5</screen>
+ </note>
+ <para>It is also possible to start a specific service. For example:</para>
+ <screen>osrf_ctl.sh -l -a start_router</screen>
+ <para>will only start the router service.</para>
+ <caution>
+ <para>If you decide to start each service individually, you need to start them in a specific order
+ for Evergreen to start correctly. Run the commands in this exact order:</para>
+ <screen>osrf_ctl.sh -l -a start_router</screen>
+ <screen>osrf_ctl.sh -l -a start_perl</screen>
+ <screen>osrf_ctl.sh -l -a start_c</screen>
+ </caution>
+ <para>After starting or restarting Evergreen, it is also necessary to restart the Apache web server for the
+ OPAC to work correctly.</para>
+ <para>To stop Evergreen, run:</para>
+ <screen>osrf_ctl.sh -l -a stop_all</screen>
+ <para>As with starting, you can choose to stop one service</para>
+ <para>To restart Evergreen, run:</para>
+ <screen>osrf_ctl.sh -l -a restart_all</screen>
+ </section>
+ <section xml:id="backingup">
+ <title>Backing Up</title>
+ <para>Backing up your system files and data is a critical task for server and database adminstrators.
+ Having a strategy for backing up and recovery could be the difference between a minor annoyance for users and
+ a a complete catastrophy.</para>
+ <simplesect>
+ <title>Backing up the Evergreen Database</title>
+ <para>Most of the critical data for an Evergreen system – patrons, bibliographic records, holdings,
+ transactions, bills – is stored in the PostgreSQL database. You can therefore use normal PostgreSQL
+ backup procedures to backup this data. For example, the simplest method of backing up the Evergreen
+ database is to use the pg_dump command to create a live backup of the database without having to
+ interrupt any Evergreen services as follows:</para>
+ <screen># pg_dump -U [username] -h [hostname] -f [output-file] [database-name]</screen>
+ <screen>pg_dump -U evergreen -h localhost -f evergreen_db.backup evergreen</screen>
+ <para>To restore the backed up database into a new database, create a new database using the
+ template0 database template and the UTF8 encoding, and run the psql command, specifying the new
+ database as your target:</para>
+ <screen>createdb -T template0 -E UTF8 -U evergreen -h localhost new_evergreen</screen>
+ <screen>psql -U evergreen -h localhost -f evergreen_db.backup new_evergreen</screen>
+ <note>
+ <para>This method of backup is only suitable for small Evergreen instances. Larger sites
+ should consider implementing continuous archiving (also known as “log shipping”) to provide
+ more granular backups with lower system overhead. More information on backing up PostgreSQL
+ databases can be found in the official PostgreSQL documentation.</para>
+ </note>
+ </simplesect>
+ <simplesect>
+ <title>Backing up Evergreen Files</title>
+ <para>When you deploy Evergreen, you will probably customize many aspects of your system includung
+ the system configuration files, Apache configuration files, OPAC and Staff Client. In order to
+ protect your investment of time, you should carefully consider the best approach to backing up
+ files.</para>
+ <para>There are a number of ways of tackling this problem. You could create a script that regularly
+ creates a time-stamped tarball of all of these files and copies it to a remote server - but that
+ would build up over time to hundreds of files. You could use rsync to ensure that the files of
+ interest are regularly updated on a remote server - but then you would lose track of the changes to
+ the files, should you make a change that introduces a problem down the road.</para>
+ <para>Perhaps one of the best options is to use a version control system like Bazaar, git,
+ Subversion, or CVS to regularly push updates of the files you care about to a repository on a
+ remote server. This gives you the advantage of quickly being able to run through the history of the
+ changes you made, with a commenting system that reminds you why each change was made, combined with
+ remote storage of the pertinent files in case of disaster on site. In addition, your team can create
+ local copies of the repository and test their own changes in isolation from the production
+ system. Using a version control system also helps to recover system customizations after an
+ upgrade.</para>
+ </simplesect>
+ <simplesect>
+ <title>Full System Backup</title>
+ <para>A full system backup archives every file on the file system. Some basic methods require you
+ to shut down most system processes; other methods can use mirrored RAID setups or SAN storage to
+ take “snapshot” backups of your full system while the system continues to run. The subject of how
+ to implement full system backups is beyond the scope of this documentation.</para>
+ </simplesect>
+ </section>
+ <section xml:id="security">
+ <title>Security</title>
+ <para>As with an ILS and resource accessible from the world wilde web careful consideration needs to be
+ given to the security of your Evergreen servers and database. While it is impossible to cover all aspects
+ of security, it is important to take several percautions when setting up production Evergreen site.</para>
+ <orderedlist>
+ <listitem>
+ <para>Change the Evergreen <emphasis>Admin</emphasis> password and keep it secure. The
+ default Admin password is known by anyone who has installed Evergreen. It is not a secret
+ and needs to be changed by the Administrator. It should also only be shared by those who
+ need the highest level access to Evergreen.</para>
+ </listitem>
+ <listitem>
+ <para>Create strong passwords using a combination of numerican and alphatbetical characters
+ for all of the Administrative passwords used by Evergreen including the Evergreen
+ postgresql user, opensrf linux account, and Admin evergreen users, and of course, any
+ superusers on your server.</para>
+ </listitem>
+ <listitem>
+ <para>Open ports in the firewall with Caution - It is necessary to open some ports to the
+ server such as port 80 for http and 443 for ssl, and it can be helpful to open ports for
+ remote access to the database or staff client. It is also critical for an administrator to
+ understand the concepts of network security and take precautions to not allow the server to
+ be vulnerable to the outside world.
+ </para>
+ </listitem>
+ <listitem>
+ <para>Use permissions and permission groups wisely - it is important to understand the
+ purpose of the permissions and to only give users the level of access that they require.
+ </para>
+ </listitem>
+ </orderedlist>
+ </section>
+ <section xml:id="logfiles">
+ <title>Managing Log Files</title>
+ <para>Evergreen comes with a sophisticated logging system, but it is important to manage the OpenSRF and Evergreen logs. This section will provide a couple of log management techniques
+ and tools.</para>
+ <simplesect>
+ <title>Using the Log Rotate Utility to Manage Log Size</title>
+ <para>Fortunately, this is not a new problem for Unix administrators, and there are a number of ways of keeping your logs under control. On Debian and Ubuntu, for example,
+ the logrotate utility controls when old log files are compressed and a new log file is started. logrotate runs once a day and checks all log files that it knows about to see if a
+ threshold of time or size has been reached and rotates the log files if a threshold condition has been met.</para>
+ <para>To teach logrotate to rotate Evergreen logs on a weekly basis, or if they are > 50MB in size, create a new file <filename>/etc/logrotate.d/evergreen</filename> with the
+ following contents: </para>
+ <screen>compress</screen>
+ <screen>/openils/var/log/*.log {</screen>
+ <screen> # keep the last 4 archived log files along with the current log file</screen>
+ <screen> # log log.1.gz log.2.gz log.3.gz log.4.gz</screen>
+ <screen> # and delete the oldest log file (what would have been log.5.gz)</screen>
+ <screen>rotate 5</screen>
+ <screen># if the log file is > 50MB in size, rotate it immediately</screen>
+ <screen> size 50M</screen>
+ <screen> # for those logs that don't grow fast, rotate them weekly anyway</screen>
+ <screen> weekly</screen>
+ <screen>}</screen>
+ </simplesect>
+ <simplesect>
+ <title>Chaning Logging Level for Evergreen</title>
+ <para>Change the Log Levels in your config files. Changing the level of logging will help
+ narrow down errors.</para>
+ <tip>
+ <para>A high logging level is not wise to do in a production environment since it
+ will produce vastly larger log files and thus reduce server performance.</para>
+ </tip>
+ <para>Change logging levels by editing the configuration file
+ <filename>/openils/conf/opensrf_core.xml</filename></para>
+ <para>you will want to search for lines containing <loglevel>.</para>
+ <para> the default setting for loglevel is 3 which will log <emphasis>errors</emphasis>,
+ <emphasis>warnings</emphasis> and <emphasis>information</emphasis>.</para>
+ <para>The next level is 4 which is for debugging and provides additional information
+ helpful for the debugging process.</para>
+ <para>Thus, lines with:</para>
+ <screen><loglevel>3</loglevel></screen>
+ <para>Should be changed to:</para>
+ <screen><loglevel>4</loglevel></screen>
+ <para>to allow debugging level logging</para>
+ <para>Other logging levels inclide <emphasis>0</emphasis> for no logging,
+ <emphasis>1</emphasis> for logging errors and <emphasis>2</emphasis> for logging warnings
+ and errors.</para>
+ </simplesect>
+ </section>
+</chapter>
--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
+ xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="upgradingevergreen">
+ <info>
+ <title>Upgrading Evergreen from 1.4 to 1.6</title>
+ <abstract>
+ <para>This Chapter will explain the step-by-step process of upgrading <application>Evergreen
+ </application> from version 1.4 to 1.6, including steps to upgrade <application>OpenSRF</application>. Before
+ upgrading, it is important to carefully plan an upgrade strategy to minimise system downtime and
+ service interruptions. All of the steps in this chapter are to be completed from the command line.</para>
+ </abstract>
+ </info>
+ <procedure>
+ <step>
+ <para>Stop Evergreen and back up data.</para>
+ <procedure>
+ <step>
+ <para>As <emphasis>root</emphasis>, stop the <application>Apache</application>
+ web server.</para>
+ </step>
+ <step>
+ <para>As the <emphasis>opensrf</emphasis> user, stop all
+ <application>Evergreen</application>
+ and <application>OpenSRF</application> services:</para>
+ <screen>osrf_ctl.sh -l -a stop_all</screen>
+ </step>
+ <step>
+ <para>Back up of the <filename class='directory'>/openils</filename>
+ directory.</para>
+ </step>
+ <step>
+ <para><link linkend="backupevergreendatabase">Back up the <application>evergreen
+ </application> database</link>.</para>
+ </step>
+ </procedure>
+ </step>
+ <step>
+ <para>Upgrade OpenSRF to 1.2</para>
+ <procedure>
+ <step>
+ <para>As the opensrf user, download and extract the source files for OpenSRF
+ 1.2:</para>
+ <screen>wget \
+ http://open-ils.org/downloads/OpenSRF-1.2.2.tar.gz</screen>
+ <screen>tar xzf OpenSRF-1.2.2.tar.gz</screen>
+ <para>A new directory OpenSRF-1.2.2 will be created</para>
+ <note><para>For the latest edition of OpenSRF, check the Evergreen download page at
+ <ulink url="http://www.open-ils.org/downloads.php" />.
+ </para></note>
+ </step>
+ <step>
+ <para>As the root user, install the software prerequisites using the automatic
+ prerequisite installer.</para>
+ <screen>aptitude install make</screen>
+ <screen>cd /home/opensrf/OpenSRF-1.2.2</screen>
+ <para>Replace <emphasis>[distribution]</emphasis> below with the following value
+ for your distribution:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>debian-etch</emphasis> for Debian Etch (4.0)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>debian-lenny</emphasis> for Debian Lenny (5.0)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-hardy</emphasis> for Ubuntu Hardy Heron (8.04)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-intrepid</emphasis> for Ubuntu Intrepid Ibex
+ (8.10)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-jaunty</emphasis> for Ubuntu Jaunty Jackalope
+ (9.04)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-karmic</emphasis> for Ubuntu Karmic Koala
+ (9.10)</para>
+ </listitem>
+ </itemizedlist>
+ <screen>make -f src/extras/Makefile.install <emphasis>[distribution]</emphasis>
+ </screen>
+ <para>This will install a number of packages required by OpenSRF on your system,
+ including some Perl modules from CPAN. You can say “no” to the initial CPAN
+ configuration prompt to allow it to automatically configure itself to download
+ and install Perl modules from CPAN. The CPAN installer will ask you a number of
+ times whether it should install prerequisite modules - say “yes”.</para>
+ </step>
+ <step>
+ <para>As the opensrf user, configure and compile OpenSRF:</para>
+ <note>You can include the –enable-python and –enable-java configure options if
+ you want to include support for Python and Java, respectively.</note>
+ <screen>cd /home/opensrf/OpenSRF-1.2.2</screen>
+ <screen>./configure --prefix=/openils --sysconfdir=/openils/conf</screen>
+ <screen>make</screen>
+ </step>
+ <step>
+ <para>As the root user, return to your OpenSRF build directory and install
+ OpenSRF:</para>
+ <screen>cd /home/opensrf/OpenSRF-1.2.2</screen>
+ <screen>make install</screen>
+ </step>
+ <step>
+ <para>As the root user, change the ownership of the installed files to the opensrf
+ user:</para>
+ <screen>chown -R opensrf:opensrf /openils</screen>
+ </step>
+ <step>
+ <para>Restart and Test OpenSRF</para>
+ <screen>osrf_ctl.sh -l -a start_all</screen>
+ <screen>/openils/bin/srfsh</screen>
+ <screen>srfsh# request opensrf.math add 2 2</screen>
+ <para>You should see output like:</para>
+ <screen>Received Data: 4</screen>
+ <screen></screen>
+ <screen>------------------------------------</screen>
+ <screen>Request Completed Successfully</screen>
+ <screen>Request Time in seconds: 0.007519</screen>
+ <screen>------------------------------------</screen>
+ <screen></screen>
+ <screen>srfsh#</screen>
+ <para>If test <emphasis>Completed Successfully</emphasis> move onto next section.
+ If not, refer to <link linkend="troubleshooting">troubleshooting</link> section
+ of this documentation.</para>
+ </step>
+ </procedure>
+ </step>
+ <step>
+ <para>Upgrade <application>Evergreen</application> to 1.6</para>
+ <procedure>
+ <step>
+ <para>As the <emphasis>opensrf</emphasis> user, download and extract Evergreen 1.6
+ </para>
+ <screen>wget \</screen>
+ <screen>http://evergreen-ils.org/downloads/Evergreen-ILS-1.6.0.3.tar.gz</screen>
+ <screen>tar xzf Evergreen-ILS-1.6.0.3.tar.gz</screen>
+ <note><para>For the latest edition of Evergreen check the Evergreen download page at
+ <ulink url="http://www.open-ils.org/downloads.php" /></para></note>
+ </step>
+ <step>
+ <para>As the <emphasis>root</emphasis> user, install the prerequisites:</para>
+ <screen>cd /home/opensrf/Evergreen-ILS-1.6.0.3</screen>
+ <para>On the next command, replace <emphasis>[distribution]</emphasis> with one of
+ these values for your distribution of Debian or Ubuntu:</para>
+ <itemizedlist>
+ <listitem>
+ <para><emphasis>debian-etch</emphasis> for Debian Etch (4.0)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>debian-lenny</emphasis> for Debian Lenny (5.0)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-hardy</emphasis> for Ubuntu Hardy Heron
+ (8.04)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-intrepid</emphasis> for Ubuntu Intrepid Ibex
+ (8.10)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-jaunty</emphasis> for Ubuntu Jaunty Jackalope
+ (9.04)</para>
+ </listitem>
+ <listitem>
+ <para><emphasis>ubuntu-karmic</emphasis> for Ubuntu Karmic Koala
+ (9.10)</para>
+ </listitem>
+ </itemizedlist>
+ <screen>make -f Open-ILS/src/extras/Makefile.install <emphasis>[distribution]</emphasis></screen>
+ </step>
+ <step>
+ <para>As the <emphasis>opensrf</emphasis> user, configure and compile
+ <application>Evergreen</application>:</para>
+ <screen>cd /home/opensrf/Evergreen-ILS-1.6.0.3</screen>
+ <screen>./configure --prefix=/openils --sysconfdir=/openils/conf</screen>
+ <screen>make</screen>
+ </step>
+ <step>
+ <para>As the <emphasis>root</emphasis> user, install
+ <application>Evergreen</application>:</para>
+ <screen>make STAFF_CLIENT_BUILD_ID=rel_1_6_0_3 install</screen>
+ </step>
+ <step>
+ <para>Change to the <application>Evergreen</application> installation
+ directory:</para>
+ <screen>cd /home/opensrf/Evergreen-ILS-1.6.0.3</screen>
+ </step>
+ <step>
+ <para>As the <emphasis>root</emphasis> user, build live-db-setup.pl for the cgi-bin
+ bootstrapping scripts and offline-config.pl for the offline staff client data
+ uploader:</para>
+ <screen>perl Open-ILS/src/support-scripts/eg_db_config.pl \</screen>
+ <screen>--create-bootstrap --create-offline --user evergreen \</screen>
+ <screen>--password evergreen --hostname localhost --port 5432 \</screen>
+ <screen>--database evergreen</screen>
+ </step>
+ <step>
+ <para>As the <emphasis>root</emphasis> user, change all files to be owned by the
+ <emphasis>opensrf</emphasis> user and group:</para>
+ <screen>chown -R opensrf:opensrf /openils</screen>
+ </step>
+ <step>
+ <para>Update the Evergreen database</para>
+ <screen>psql -U evergreen -h localhost \</screen>
+ <screen>-f Open-ILS/src/sql/Pg/1.4.0.5-1.6.0.0-upgrade-db.sql evergreen</screen>
+ <screen>psql -U evergreen -h localhost \</screen>
+ <screen>-f Open-ILS/src/sql/Pg/1.6.0.0-1.6.0.1-upgrade-db.sql evergreen</screen>
+ <screen>psql -U evergreen -h localhost \</screen>
+ <screen>-f Open-ILS/src/sql/Pg/1.6.0.1-1.6.0.2-upgrade-db.sql evergreen</screen>
+ <screen>psql -U evergreen -h localhost \</screen>
+ <screen>-f Open-ILS/src/sql/Pg/1.6.0.2-1.6.0.3-upgrade-db.sql evergreen</screen>
+ <screen>psql -U evergreen -h localhost \</screen>
+ <screen>psql -U evergreen -h localhost -f 1.6.0-mmbxs-cleanup.sql \
+ evergreen</screen>
+ </step>
+ <step>
+ <para>As the <emphasis>opensrf</emphasis> user,
+ copy /openils/conf/oils_web.xml.example to /openils/conf/oils_web.xml
+ (needed for acquisitions templates).</para>
+ <screen>cp /openils/conf/oils_web.xml.example \
+ /openils/conf/oils_web.xml</screen>
+ </step>
+ <step>
+ <para>Update opensrf_core.xml and opensrf.xml by copying the new example files (/
+ openils/conf/opensrf_core.xml.example and /openils/conf/opensrf.xml).</para>
+ <screen>cp /openils/conf/opensrf_core.xml.example \</screen>
+ <screen>/openils/conf/opensrf_core.xml</screen>
+ <screen>cp /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml</screen>
+ </step>
+ <step>
+ <para>Update opensrf.xml with the database connection info:</para>
+ <screen>perl Open-ILS/src/support-scripts/eg_db_config.pl \</screen>
+ <screen>--update-config --service all --user evergreen \</screen>
+ <screen>--password evergreen --hostname localhost --port 5432 \</screen>
+ <screen>--database evergreen</screen>
+ </step>
+ <step>
+ <para>Update /etc/apache2/startup.pl by copying the example from
+ Open-ILS/examples/apache/startup.pl.</para>
+ </step>
+ <step>
+ <para>Update /etc/apache2/eg_vhost.conf by copying the example from
+ Open-ILS/examples/apache/eg_vhost.conf.</para>
+ </step>
+ <step>
+ <para>Update /etc/apache2/sites-available/eg.conf by copying the example from Open-ILS/
+ examples/apache/eg.conf.</para>
+ </step>
+ <step>
+ <para>Recover customizations you have made to the <application>Apache</application>
+ configuration files. For example, if you purchased an SSL certificate, you
+ will need to edit eg.conf to point to the appropriate SSL certificate files.</para>
+ </step>
+ </procedure>
+ </step>
+ <step>
+ <para>Restart Evergreen and Test</para>
+ <procedure>
+ <step>
+ <para>As the <emphasis>opensrf</emphasis> user, start all
+ <application>Evergreen</application> and <application>OpenSRF</application>
+ services:</para>
+ <screen>osrf_ctl.sh -l -a start_all</screen>
+ </step>
+ <step>
+ <para>As the <emphasis>opensrf</emphasis> user, run autogen to refresh the static
+ organizational data files:</para>
+ <screen>cd /openils/bin</screen>
+ <screen>./autogen.sh -c /openils/conf/opensrf_core.xml -u</screen>
+ </step>
+ <step>
+ <para>Start srfsh and try logging in using your <application>Evergreen</application>
+ username and password:</para>
+ <screen>/openils/bin/srfsh</screen>
+ <screen>srfsh% login <emphasis>username password</emphasis></screen>
+ </step>
+ <step>
+ <para>Start the <application>Apache</application> web server.</para>
+ </step>
+ </procedure>
+ </step>
+ </procedure>
+ <note>
+ <title>Troubleshooting:</title>
+ <para>If you encounter errors, refer to the <link linkend="troubleshooting">troubleshooting
+ section</link> of this documentation for tips
+ on finding solutions and seeking further assistance from the Evergreen community.</para>
+ </note>
+</chapter>
--- /dev/null
+<?xml version='1.0' encoding='UTF-8'?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
+xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="serveradministration">
+ <info>
+ <title>Server Administration</title>
+ <abstract>
+ <para>Administration of Evergreen involves configuration done from both the Staff Client as well a
+ the command line. The goal of this chapter is to provide you with the procedures to help
+ you optimize your Evergreen system.</para>
+ </abstract>
+ </info>
+ <section xml:id="orgtyes">
+ <title>Organizational Unit Types and Organizational Units</title>
+ <section>
+ <title>Organizational Unit Types</title>
+ <para>Organizational Unit Types are the terms used to refer to levels in the hierarchy of your
+ library system(s). Examples could include>All-Encompassing Consortium, Consortium Within a
+ Consortium, Library System, Branch, Bookmobile, Sub-Branch, Twig, etc.</para>
+ <para>You can add or remove organizational unit types, and rename them as needed to match the
+ organizational hierarchy that exists in reality for the libraries using your installation of
+ Evergreen. Evergreen can support organizations as simple as a single library with one or more
+ branches or as complex as a consortium composed of many independently governed library
+ systems. Organizational unit types should never have proper names since they are only generic types .</para>
+ <para>The fields in the organizational unit type record include:</para>
+ <itemizedlist>
+ <listitem>Type Name - The name of the organization unit type.</listitem>
+ <listitem>Opac Label - This is the label displayed in the OPAC to describe the search
+ range and the copy count columns for results. They are <emphasis>range
+ relative</emphasis> labels.</listitem>
+
+ <listitem>Parent Type - The parent organizational unit type of this type.</listitem>
+ <listitem>Can Have Volumes - Flag that allows an organizational unit of this type to contain
+ Volumes/Call Numbers and thus Copies.</listitem>
+ <listitem>Can Have Users - Flag that allows an Organizational unit of this type to be home to
+ Users.</listitem>
+ </itemizedlist>
+ <para>An organizational unit type can be added, edited, or removed using the staff client.</para>
+ <para>To navigate to the <emphasis>Organization Unit Types</emphasis> from the staff client select
+ <menuchoice>
+ <guimenu>Admin</guimenu>
+ <guisubmenu>Server Administration</guisubmenu>
+ <guisubmenu>Organization Types</guisubmenu>
+ </menuchoice>
+ </para>
+ <procedure>
+ <title>Adding Organization Types</title>
+ <step><para>Select an organization type from the organization type tree on the left and
+ click <guibutton>New Child</guibutton>.</para></step>
+ <step><para>Make sure your new type is selected and edit the <guilabel>Type Name</guilabel>,
+ <guilabel>OPAC Label</guilabel> and <guilabel>Parent Type</guilabel>.</para></step>
+ <step><para>Change the <guilabel>Parent Type</guilabel> if necessary.</para></step>
+ <step><para>Check the <guilabel>Can Have Volumes and Copies</guilabel> checkbox if the
+ organization units of this type will have volumes and copies assigned to it.</para></step>
+ <step><para>Check the <guilabel>Can Have Users</guilabel> checkbox if you will allow users
+ to be have the organization units of this type as their home unit.</para></step>
+ <step><para>Click <guibutton>Save</guibutton> to save your new organization type.
+ </para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Organization Types</title>
+ <step><para>Select the <emphasis>organization type</emphasis> from the <emphasis>Organization Type</emphasis>
+ tree.</para></step>
+ <step><para>Click <guibutton>Delete</guibutton>.</para></step>
+ <step><para>Click <guibutton>OK</guibutton> on the warning alert box.</para></step>
+ <note>
+ <para>You will not be able to delete organization types if organization units are
+ assigned to that type. Before you can delete the organization
+ Type, you must change the organization type of the units associated with the type
+ or delete the units.</para>
+ </note>
+ </procedure>
+ <procedure>
+ <title>Editing Organization Types</title>
+ <step><para>Select the <emphasis>organization type</emphasis> you wish to edit from the
+ organization type tree.</para></step>
+ <step><para>Make the changes in the right pane.</para></step>
+ <step><para>Click <guibutton>Save</guibutton> to save your changes.</para></step>
+ </procedure>
+ </section>
+ </section>
+ <section xml:id="orgunits">
+ <title>Organizational Units</title>
+ <abstract>
+ <para>Organizational Units are the specific instances of the organization unit types that
+ make up your library's hierarchy. These can include consortia, systems, branches,
+ etc. The organizational units should have distictive proper names such as
+ <emphasis>Main Street Branch</emphasis> or <emphasis>Townsville Campus</emphasis>.</para>
+ </abstract>
+ <para>To navigate to the organizational units adminstration page in the staff client select
+ <menuchoice>
+ <guimenu>Admin</guimenu>
+ <guisubmenu>Server Administration</guisubmenu>
+ <guisubmenu>Organizational Units</guisubmenu>
+ </menuchoice>
+ </para>
+ <procedure>
+ <title>Adding Organizational Units</title>
+ <step><para>Select an <emphasis>Organizational Unit</emphasis> from the organizational unit tree on the left and click
+ <guibutton>New Child</guibutton>.</para></step>
+ <step><para>Make sure your new unit is selected and edit the <guilabel>Organizational Unit
+ Name</guilabel>, <guilabel>Organizational Unit Policy Code</guilabel>,
+ <guilabel>Main Email Address</guilabel> and <guilabel>Main Phone Number</guilabel>.</para>
+ <note>
+ <para>The <emphasis>Organizational Unit Name</emphasis> is the name that will appear in the
+ OPAC. The <emphasis>Policy Code</emphasis> is used by the system to associate policies and
+ copies with the unit.</para>
+ </note>
+ </step>
+ <step><para>Select the <guilabel>Organization Unit Type</guilabel> and
+ <guilabel>Parent Organization Unit</guilabel>.</para></step>
+ <step><para>Check the <guilabel>Can Have Volumes and Copies</guilabel> checkbox if the
+ organization units of this type will have volumes and copies assigned to it.</para></step>
+ <step><para>Check the <guilabel>OPAC Visible</guilabel> checkbox if you want this location to be
+ visible in the OPAC for searching.</para></step>
+ <step><para>Click <guibutton>Save</guibutton> to save your new organizational unit.</para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Organizational Units</title>
+ <step><para>Select the <emphasis>organizational unit</emphasis> you wish to delete from the organzational unit tree in the left pane.</para></step>
+ <step><para>Click<guibutton>Delete</guibutton>.</para></step>
+ <step><para>Click <guibutton>OK</guibutton> on the warning alert box.</para></step>
+ <note>
+ <para>You will not be able to delete organizational units if you have
+ users, workstations or copies assigned to the unit. Before you can delete the
+ organizational unit, you must move its users, workstations, copies and other associated resources to other
+ organizational units units.</para>
+ </note>
+ </procedure>
+ <procedure>
+ <title>Editing Organizational Units</title>
+ <step><para>Select the organizational unit you wish to edit from the
+ organizational unit tree in the left pane.</para></step>
+ <step><para>Edit the fields in the right pane.</para></step>
+ <step><para>Click <guibutton>Save</guibutton> to save your changes.</para></step>
+ </procedure>
+ </section>
+ <section xml:id="relevancyrankings">
+ <title>Adjusting Search Relevancy Rankings</title>
+ <info>
+ <abstract>
+ <para>This section describes indexed field weighting and matchpoint weighting, which
+ control relevance ranking in Evergreen catalog search results. Adjusting relavancy can only be completed through access to the Evergreen database as of version 1.6.</para>
+ <tip>
+ <para>In tuning search relevance, it is good practice to make incremental
+ adjustments, capture search logs, and assess results before making further
+ adjustments. </para>
+ </tip>
+ </abstract>
+ </info>
+ <section>
+ <title>Indexed-field Weighting</title>
+ <para>Indexed-field weighting is configured in the Evergreen database in the weight column
+ of the config.metabib_field table, which follows the other four columns in this table:
+ field_class, name, xpath, and format.</para>
+ <para>The following is one representative line from the config.metabib_field table:</para>
+ <para> author | conference | //mods32:mods/mods32:name[@type='conference']/mods32:namePart[../mods32:role/mods32:roleTerm[text()='creator']] | mods32 | 1 ) </para>
+ <para>The default value for index-field weights in config.metabib_field is 1. Adjust the
+ weighting of indexed fields to boost or lower the relevance score for matches on that
+ indexed field. The weight value may be increased or decreased by whole integers. </para>
+ <para>For example, by increasing the weight of the title-proper field from 1 to 2, a search
+ for <emphasis role="bold">jaguar</emphasis> would double the relevance for the book titled
+ <emphasis role="italic">Aimee and Jaguar</emphasis> than for a record with the term
+ <emphasis role="bold">jaguar</emphasis> in another indexed field. </para>
+ </section>
+ <section>
+ <title>Matchpoint Weighting</title>
+ <para> Matchpoint weighting provides another way to fine-tune Evergreen relevance ranking,
+ and is configured through floating-point multipliers in the multiplier column of the
+ search.relevance_adjustment table.</para>
+ <para> Weighting can be adjusted for one, more, or all multiplier fields in
+ search.relevance_adjustment.</para>
+ <para>You can adjust the following three matchpoints:</para>
+ <itemizedlist>
+ <listitem>
+ <para><indexterm><primary>first_word</primary></indexterm> boosts relevance if the query is
+ one term long and matches the first term in the indexed field (search for <emphasis
+ role="bold">twain</emphasis>, get a bonus for <emphasis role="bold">twain, mark</emphasis>
+ but not <emphasis role="bold">mark twain</emphasis>)</para>
+ </listitem>
+ <listitem>
+ <para><indexterm><primary>word_order</primary></indexterm> increases relevance for words
+ matching the order of search terms, so that the results for the search <emphasis
+ role="bold">legend suicide</emphasis> would match higher for the book <emphasis
+ role="italic">Legend of a Suicide</emphasis> than for the book,
+ <emphasis role="italic">Suicide Legend</emphasis></para>
+ </listitem>
+ <listitem>
+ <para><indexterm><primary>full_match</primary></indexterm> boosts relevance when the full
+ query exactly matches the entire indexed field (after space, case, and diacritics are
+ normalized). So a title search for <emphasis role="italic">The Future of Ice</emphasis>
+ would get a relevance boost above <emphasis role="italic">Ice>Ages of the
+ Future</emphasis>.</para>
+ </listitem>
+ </itemizedlist>
+ <para> Here are the default settings of the search.relevance_adjustment table: </para>
+ <table xml:id="search.relevance">
+ <title>search.relevance_adjustment table</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>field_class</entry>
+ <entry>name</entry>
+ <entry>bump_type</entry>
+ <entry>multiplier</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>author</entry>
+ <entry>conference</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>author</entry>
+ <entry>corporate</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>author </entry>
+ <entry>other </entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>author</entry>
+ <entry>personal</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>keyword</entry>
+ <entry>keyword</entry>
+ <entry>word_order</entry>
+ <entry>10</entry>
+ </row>
+ <row>
+ <entry>series</entry>
+ <entry>seriestitle</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>series</entry>
+ <entry>seriestitle</entry>
+ <entry>full_match</entry>
+ <entry>20</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>abbreviated</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>abbreviated</entry>
+ <entry>full_match</entry>
+ <entry>20</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>abbreviated</entry>
+ <entry>word_order</entry>
+ <entry>10</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>alternative</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>alternative</entry>
+ <entry>full_match</entry>
+ <entry>20</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>alternative</entry>
+ <entry>word_order</entry>
+ <entry>10</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>proper</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>proper</entry>
+ <entry>full_match</entry>
+ <entry>20</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>proper</entry>
+ <entry>word_order</entry>
+ <entry>10</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>translated</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>translated</entry>
+ <entry>full_match</entry>
+ <entry>20</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>translated</entry>
+ <entry>word_order</entry>
+ <entry>10</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>uniform</entry>
+ <entry>first_word</entry>
+ <entry>1.5</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>uniform</entry>
+ <entry>full_match</entry>
+ <entry>20</entry>
+ </row>
+ <row>
+ <entry>title</entry>
+ <entry>uniform</entry>
+ <entry>word_order</entry>
+ <entry>10</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ <section>
+ <title>Combining Index Weighting and Matchpoint Weighting</title>
+ <para>Index weighting and matchpoint weighting may be combined. The relevance boost of the combined
+ weighting is equal to the product of the two multiplied values. </para>
+ <para>If the relevance setting in the config.metabib_field were increased to 2, and the multiplier
+ set to 1.2 in the search.relevance_adjustment table, the resulting matchpoint increase would be
+ 240%. </para>
+ <note>
+ <para>In practice, these weights are applied serially -- first the index weight, then all
+ the matchpoint weights that apply -- because they are evaluated at different stages of the
+ search process.</para>
+ </note>
+ </section>
+ <section>
+ <title>Adjusting Relevancy for Keyword Searches</title>
+ <para> Searching the out of the box <emphasis>keyword</emphasis> does not boost the ranking for terms appearing in, the title or subject fields since there is just one
+ keyword index which does not distinguish terms that appear in the title field from those in the notes field for example. In comparison, the title index is actually composed of
+ a number of separate indexes: title|proper, title|uniform, title|alternative, title|translated, etc, that collectively form the title index. You can see this in the
+ config.metabib_field table. The following procedure will add a keyword|title index so that terms found in the title field of an item are given more weight than terms in
+ other fields. </para>
+ <procedure>
+ <step>
+ <para>From the command line, access the PorstgreSQL command line interface</para>
+ <screen>psql -U evergreen</screen>
+ </step>
+ <step>
+ <para>Clone the title|proper index to create a keyword|title index</para>
+ <para>6 = the title|proper index</para>
+ <screen>INSERT INTO config.metabib_field
+ (field_class, name, xpath, weight,</screen>
+ <screen>format, search_field, facet_field)</screen>
+ <screen>SELECT 'keyword', 'title', xpath, weight, format,</screen>
+ <screen>search_field, facet_field</screen>
+ <screen>FROM config.metabib_field</screen>
+ <screen>WHERE id = 6;</screen>
+ </step>
+ <step>
+ <para>Populate the keyword|title index with a set of index entries cloned from the metabib.title_field_entry table;</para>
+ <para>6 = the title|proper index</para>
+ <screen>INSERT INTO metabib.keyword_field_entry (source, field, value)</screen>
+ <screen>SELECT source, 17, value (the field value, 17, field be different
+ in your database so you may need to check the
+ <emphasis>config.metabib_field</emphasis> for the id of your new index).</screen>
+ <screen>FROM metabib.title_field_entry</screen>
+ <screen>WHERE field = 6;</screen>
+ </step>
+ <step>
+ <para>Bump the relevance when the first search term appears first in the title in a keyword search.</para>
+ <para>17 = our new keyword|title index (This may be different in your database so you may need to check the <emphasis>config.metabib_field</emphasis> for the id
+ of your new index).</para>
+ <screen>INSERT INTO search.relevance_adjustment
+ (active, field, bump_type, multiplier)</screen>
+ <screen>VALUES (true, 17, 'first_word', 5); </screen>
+ </step>
+ <step>
+ <para>Boost the relevance for search terms appearing in the title in general</para>
+ <para>17 = our new keyword|title index (This may be different in your database so you may need to check the <emphasis>config.metabib_field</emphasis> for the id
+ of your new index).</para>
+ <screen>UPDATE config.metabib_field</screen>
+ <screen>SET weight = 10</screen>
+ <screen>WHERE id = 17;</screen>
+ </step>
+ </procedure>
+ </section>
+ </section>
+ <section xml:id="grouppermissions">
+ <title>User and Group Permissions</title>
+ <abstract>
+ <para>It is essential to understand how user and group permissions can be used to allow staff
+ to fulfil their roles while ensuring that they only have access to the appropriate level.</para>
+ <para>Permissions in <application>Evergreen</application> are applied to a specific location and system depth based on the home
+ library of the user. The user will only have that permission within the scope provided by the
+ <emphasis>Depth</emphasis> field in relation to his/her working locations.</para>
+ <para>Evergreen provides group application permissions in order to restrict which staff members
+ have the ability to assign elevated permissions to a user, and which staff members have the ability
+ to edit users in particular groups.</para>
+ </abstract>
+ <section>
+ <title>User Permissions</title>
+ <tip><para>Ihe User permissions editor allows an administrator to set up permission fopr an individual user. However, In most cases, permissions can be controlled more
+ efficiently at the group level with individuals being assigned to specific groups based on their roles in the library.</para></tip>
+ <para>To open the user permission editor, select <menuchoice><guimenu>Admin</guimenu>
+ <guisubmenu>User Permission Editor</guisubmenu></menuchoice>. Type the user's barcode when prompted.</para>
+ <section>
+ <title>Working Locations</title>
+ <para>The first section of the User Permission Editor is the the Working Locations
+ section. You may select more than one working location for a user. This will effect
+ the availability of certain permissions which are dependent on the user having the working location.</para>
+ </section>
+ <section>
+ <title>User Permission Settings</title>
+ <para>Below the working locations is the long list of all the permissions available on your
+ system. For each permission you can apply it by checking the
+ <emphasis>Applied</emphasis> check box. You can also select a depth to which the
+ permission is applied and also make the permission <emphasis>grantable</emphasis>, allowing
+ the user the ability to grant the permission to others.</para>
+ </section>
+ </section>
+ <section>
+ <title>Group Permissions</title>
+ <para>Most permissions should be assigned at the group level. Here you can create new
+ groups based on the roles and responsibilities of the users in your system. Staff will be able to
+ assign users to these groups when they register patrons.</para>
+ <tip><para>It is a good idea to create your groups soon after creating your organizational units.
+ It is also imprtaant to give careful consideration to the hierarchy of your groups to make
+ permission assignment as efficient as possible.</para></tip>
+ <para>To enter the <emphasis>Group Permission</emphasis> module from the staff client menu, select
+ <menuchoice><guimenu>Admin</guimenu> <guisubmenu>Server Administration</guisubmenu>
+ <guisubmenu>Permission Groups</guisubmenu></menuchoice></para>
+ <procedure>
+ <title>Adding Groups</title>
+ <step><para>Select the <guibutton>Group Configuration</guibutton> tab if not
+ already selected in the right pane</para></step>
+ <step><para>Click <guibutton>New Child</guibutton></para></step>
+ <step><para>Enter a unique <guilabel>Group Name</guilabel></para></step>
+ <step><para>Enter a <guilabel>Description</guilabel></para></step>
+ <step><para>Select a <guilabel>Permission Interval</guilabel>. This will determine the
+ default expiry date of user account when you register patrons and select
+ their groups</para></step>
+ <step><para>Selecting an <guilabel>Editing Permission</guilabel> will determine the group level the user will have for editing other users.</para></step>
+ <step><para>Select the <guilabel>Parent Group</guilabel> for the group.</para>
+ <note><para>The group will inherit its parent group's permissions so it is unecessary to assign permissions already inherited from its parent.</para></note></step>
+ <step><para>Click the <guibutton>Save</guibutton> button.</para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Groups</title>
+ <step><para>Select the group you wish to delete from the group tree on
+ left pane.</para></step>
+ <step><para>Click the <guibutton>Delete</guibutton> button.</para></step>
+ <step><para>Click on <guibutton>OK</guibutton>to verify.</para></step>
+ </procedure>
+ <procedure>
+ <title>Editing Groups</title>
+ <step><para>Select the group you wish to edit from the group tree on left pane.</para></step>
+ <step><para>Edit the fields you wish to change in the right pane.</para></step>
+ <step><para>Click on <guibutton>Save</guibutton> to save changes.</para></step>
+ </procedure>
+ <procedure>
+ <title>Adding Group Permissions</title>
+ <step><para>Select the <guibutton>Group Permissions</guibutton> tab on the right
+ pane</para></step>
+ <step><para>Click on <guibutton>New Mapping</guibutton>.</para></step>
+ <step><para>Select the permission you would like to add from the
+ <guibutton>Permission</guibutton> Select box.</para></step>
+ <step><para>Select the <guibutton>Depth</guibutton> you wish to set the
+ permission. This will determine if the group has the permission at a local level or across a
+ system, or consortium, or other organizational unit type.</para></step>
+ <step><para>check the <guibutton>Grantable</guibutton> check box to allow the user to
+ grant the permission to others.</para></step>
+ <step><para>Click <guibutton>Add Mapping</guibutton> to add the permission to the
+ group</para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Group Permissions</title>
+ <step><para>Select the group permission you wish to delete.</para></step>
+ <step><para>Click the <guibutton>Delete Selected</guibutton> button.</para></step>
+ <step><para>Click on <guibutton>OK</guibutton> to verify</para></step>
+ </procedure>
+ <procedure>
+ <title>Editing Group Permissions</title>
+ <step><para>Click on the <guilabel>Depth</guilabel> or <guilabel>Grantable</guilabel>
+ field for the permission setting you wish to change.</para></step>
+ <step><para>Make changes to other permissions in the same way.</para></step>
+ <step><para>Click <guibutton>Save Changes</guibutton> when you are finished all
+ the changes.</para></step>
+ </procedure>
+ </section>
+ <section>
+ <title>Permissions</title>
+ <table xml:id="permissiondescriptions">
+ <title>Permissions Table</title>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>Permission Name</entry>
+ <entry>Permission Description</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>ABORT_REMOTE_TRANIST</entry>
+ <entry>Allows user to abort a copy transit if the user is not at
+ the transit source or destination</entry>
+ </row>
+ <row>
+ <entry>ABORT_TRANSIT</entry>
+ <entry>Allows user to abort a copy transit if the user is at the
+ transit destination or source</entry>
+ </row>
+ <row>
+ <entry>ASSIGN_WORK_ORG_UNIT </entry>
+ <entry>Allows user to define where another staff member's
+ permissions apply via the Permissions Editor interface.</entry>
+ </row>
+ <row>
+ <entry>BAR_PATRON</entry>
+ <entry>Allows user to bar a patron</entry>
+ </row>
+ <row>
+ <entry>CANCEL_HOLDS</entry>
+ <entry>Allows user to cancel holds</entry>
+ </row>
+ <row>
+ <entry>CIRC_CLAIMS_RETURNED.override</entry>
+ <entry>Allows user to check in/out an item that is claims
+ returned</entry>
+ </row>
+ <row>
+ <entry>CIRC_EXCEEDS_COPY_RANGE.override</entry>
+ <entry>Allows user to override the copy exceeds range event</entry>
+ </row>
+ <row>
+ <entry>CIRC_OVERRIDE_DUE_DATE</entry>
+ <entry>Allows user to change due date</entry>
+ </row>
+ <row>
+ <entry>CIRC_PERMIT_OVERRIDE</entry>
+ <entry>Allows user to bypass the circ permit call for i
+ checkout</entry>
+ </row>
+ <row>
+ <entry>COPY_ALERT_MESSAGE.override</entry>
+ <entry>Allows user to check in/out an item that has an alert
+ message</entry>
+ </row>
+ <row>
+ <entry>COPY_BAD_STATUS.override</entry>
+ <entry>Allows user to check out an item in a non-circulatable
+ status</entry>
+ </row>
+ <row>
+ <entry>COPY_CHECKIN</entry>
+ <entry>Allows user to check in a copy</entry>
+ </row>
+ <row>
+ <entry>COPY_CHECKOUT</entry>
+ <entry>Allows user to check out a copy</entry>
+ </row>
+ <row>
+ <entry>COPY_CIRC_NOT_ALLOWED.override</entry>
+ <entry>Allows user to checkout an item that is marked as
+ non-circ</entry>
+ </row>
+ <row>
+ <entry>COPY_HOLDS</entry>
+ <entry>Allows user to place a hold on a specific copy</entry>
+ </row>
+ <row>
+ <entry>COPY_IS_REFERENCE.override</entry>
+ <entry>Allows user to override the copy_is_reference event</entry>
+ </row>
+
+ <row>
+ <entry>COPY_NOT_AVAILABLE.override</entry>
+ <entry>Allows user to force checkout of Missing/Lost type
+ items</entry>
+ </row>
+ <row>
+ <entry>COPY_STATUS_LOST.override</entry>
+ <entry>Allows user to remove the lost status from a copy</entry>
+ </row>
+ <row>
+ <entry>COPY_STATUS_MISSING.override</entry>
+ <entry>Allows user to change the missing status on a copy</entry>
+ </row>
+ <row>
+ <entry>COPY_TRANSIT_RECEIVE</entry>
+ <entry>Allows user to close out a transit on a copy</entry>
+ </row>
+ <row>
+ <entry>CREATE_BILL</entry>
+ <entry>Allows user to create a new bill on a transaction</entry>
+ </row>
+ <row>
+ <entry>CREATE_CONTAINER</entry>
+ <entry>Allows user to create containers owned by other users
+ (containers are Item Buckets, Volume Buckets, and Book Bags)</entry>
+ </row>
+ <row>
+ <entry>CREATE_CONTAINER_ITEM</entry>
+ <entry>Allows user to place an item in a container (even if the
+ container is owned by other users).</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY</entry>
+ <entry>Allows user to create a new copy object</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY_LOCATION</entry>
+ <entry>Allows user to create a new copy location</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY_NOTE</entry>
+ <entry>Allows user to create a new copy note</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY_STAT_CAT</entry>
+ <entry>Allows user to create a statisitcal category for
+ copies</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY_STAT_CAT_ENTRY</entry>
+ <entry>Allows user to create a new entry for a copy statistical
+ category</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY_STAT_CAT_ENTRY_MAP</entry>
+ <entry>Allows user to link a copy to a statistical category
+ (i.e., allows user to specify the appropriate entry for a copy and
+ given statistical category)</entry>
+ </row>
+ <row>
+ <entry>CREATE_COPY_TRANSIT</entry>
+ <entry>Allows user to create a transit</entry>
+ </row>
+ <row>
+ <entry>CREATE_DUPLICATE_HOLDS</entry>
+ <entry>Allows user to create duplicate holds (e.g. two holds on the
+ same title)</entry>
+ </row>
+ <row>
+ <entry>CREATE_HOLD_NOTIFICATION</entry>
+ <entry>Allows user to create new hold notifications</entry>
+ </row>
+ <row>
+ <entry>CREATE_IN_HOUSE_USE</entry>
+ <entry>Allows user to create a new in-house-use</entry>
+ </row>
+ <row>
+ <entry>CREATE_MARC</entry>
+ <entry>Allows user to create new MARC records</entry>
+ </row>
+ <row>
+ <entry>CREATE_MY_CONTAINER</entry>
+ <entry>Allows user to create containers for self (containers are
+ Item Buckets, Volume Buckets, and Book Bags).</entry>
+ </row>
+ <row>
+ <entry>CREATE_NON_CAT_TYPE</entry>
+ <entry>Allows user to create a new non-cataloged item type</entry>
+ </row>
+ <row>
+ <entry>CREATE_PATRON_STAT_CAT</entry>
+ <entry>Allows user to create a new patron statistical
+ category</entry>
+ </row>
+ <row>
+ <entry>CREATE_PATRON_STAT_CAT_ENTRY</entry>
+ <entry>Allows user to create a new possible entry for patron
+ statistical categories</entry>
+ </row>
+ <row>
+ <entry>CREATE_PATRON_STAT_CAT_ENTRY_MAP</entry>
+ <entry>Allows user to link another user to a stat cat entry (i.e.,
+ specify the patron's entry for a given statistical category)</entry>
+ </row>
+ <row>
+ <entry>CREATE_PAYMENT</entry>
+ <entry>Allows user to record payments in the Billing
+ Interface</entry>
+ </row>
+ <row>
+ <entry>CREATE_TITLE_NOTE</entry>
+ <entry>Allows user to create a new title note</entry>
+ </row>
+ <row>
+ <entry>CREATE_TRANSACTION</entry>
+ <entry>Allows user to create new billable transactions (these
+ include checkouts and transactions created via the Bill Patron
+ operation)</entry>
+ </row>
+ <row>
+ <entry>CREATE_TRANSIT</entry>
+ <entry>Allows user to place item in transit</entry>
+ </row>
+ <row>
+ <entry>CREATE_USER</entry>
+ <entry>Allows user to create another user</entry>
+ </row>
+ <row>
+ <entry>CREATE_USER_GROUP_LINK</entry>
+ <entry>Allows user to add other users to permission groups</entry>
+ </row>
+ <row>
+ <entry>CREATE_VOLUME</entry>
+ <entry>Allows user to create a volume</entry>
+ </row>
+ <row>
+ <entry>CREATE_VOLUME_NOTE</entry>
+ <entry>Allows user to create a new volume note</entry>
+ </row>
+ <row>
+ <entry>DELETE_CONTAINER</entry>
+ <entry>Allows user to delete containers (containers are Item Buckets,
+ Volume Buckets, and Book Bags).</entry>
+ </row>
+ <row>
+ <entry>DELETE_CONTAINER_ITEM</entry>
+ <entry>Allows user to remove items from buckets and bookbags</entry>
+ </row>
+ <row>
+ <entry>DELETE_COPY</entry>
+ <entry>Allows user to delete a copy</entry>
+ </row>
+ <row>
+ <entry>DELETE_COPY_LOCATION</entry>
+ <entry>Allows user to delete a copy location</entry>
+ </row>
+ <row>
+ <entry>DELETE_COPY_NOTE</entry>
+ <entry>Allows user to delete copy notes</entry>
+ </row>
+ <row>
+ <entry>DELETE_COPY_STAT_CAT</entry>
+ <entry>Allows user to delete a copy statistical category</entry>
+ </row>
+ <row>
+ <entry>DELETE_COPY_STAT_CAT_ENTRY</entry>
+ <entry>Allows user to delete an entry for a copy statistical
+ category</entry>
+ </row>
+ <row>
+ <entry>DELETE_COPY_STAT_CAT_ENTRY_MAP</entry>
+ <entry>Allows user to delete a copy stat cat entry map</entry>
+ </row>
+ <row>
+ <entry>DELETE_NON_CAT_TYPE</entry>
+ <entry>Allows user to delete a non cataloged type (the user still
+ cannot deleted a non-cat type if any items of that type have
+ circulated).</entry>
+ </row>
+ <row>
+ <entry>DELETE_PATRON_STAT_CAT</entry>
+ <entry>Allows user to delete a patron statistical category</entry>
+ </row>
+ <row>
+ <entry>DELETE_PATRON_STAT_CAT_ENTRY</entry>
+ <entry>Allows user to delete an entry for patron statistical
+ categories</entry>
+ </row>
+ <row>
+ <entry>DELETE_PATRON_STAT_CAT_ENTRY_MAP</entry>
+ <entry>Allows user to remove a patron's entry for a given
+ statistical category</entry>
+ </row>
+ <row>
+ <entry>DELETE_RECORD</entry>
+ <entry>Allows user to delete a bib record</entry>
+ </row>
+ <row>
+ <entry>DELETE_TITLE_NOTE</entry>
+ <entry>Allows user to delete title notes</entry>
+ </row>
+ <row>
+ <entry>DELETE_USER</entry>
+ <entry>Allows user to mark a user as deleted</entry>
+ </row>
+ <row>
+ <entry>DELETE_VOLUME</entry>
+ <entry>Allows user to delete a volume</entry>
+ </row>
+ <row>
+ <entry>DELETE_VOLUME_NOTE</entry>
+ <entry>Allows user to delete volume notes</entry>
+ </row>
+ <row>
+ <entry>DELETE_WORKSTATION</entry>
+ <entry>Allows user to remove an existing workstation so a new one
+ can replace it</entry>
+ </row>
+ <row>
+ <entry>EVERYTHING</entry>
+ <entry> Every permssion is granted (for sysadmins and developers
+ only!)</entry>
+ </row>
+ <row>
+ <entry>HOLD_EXISTS.override</entry>
+ <entry>Allows users to place multiple holds on a single
+ copy/volume/title/metarecord (depending on hold type)</entry>
+ </row>
+ <row>
+ <entry>IMPORT_MARC</entry>
+ <entry>Allows user to import a MARC record via the z39.50
+ interface</entry>
+ </row>
+ <row>
+ <entry>ITEM_AGE_PROTECTED.override</entry>
+ <entry>Allows user to place a hold on an age-protected item</entry>
+ </row> <row>
+ <entry>ITEM_ON_HOLDS_SHELF.override</entry>
+ <entry>Allows user to check out an item that is on holds shelf for a
+ different patron</entry>
+ </row>
+ <row>
+ <entry>MAX_RENEWALS_REACHED.override</entry>
+ <entry>Allows user to renew an item past the maximun renewal
+ count</entry>
+ </row>
+ <row>
+ <entry>MERGE_BIB_RECORDS</entry>
+ <entry>Allows user to merge bib records and their associated data
+ regardless of their bib/volume/copy level perms (in theory - as of
+ 1.2.2, users still must have VOLUME_UPDATE and UPDATE_VOLUME in
+ order to merge records.</entry>
+ </row>
+ <row>
+ <entry>MR_HOLDS</entry>
+ <entry>Allows user to create a metarecord holds</entry>
+ </row>
+ <row>
+ <entry>OFFLINE_EXECUTE</entry>
+ <entry>Allows user to process an offline/standalone script
+ batch</entry>
+ </row>
+ <row>
+ <entry>OFFLINE_UPLOAD </entry>
+ <entry>Allows user to upload an offline/standalone script</entry>
+ </row>
+ <row>
+ <entry>OFFLINE_VIEW</entry>
+ <entry>Allows user to view uploaded offline script information</entry>
+ </row>
+ <row>
+ <entry>OPAC_LOGIN</entry>
+ <entry>Allows user to login to the OPAC</entry>
+ </row>
+ <row>
+ <entry>patron_exceeds_checkout_count.override</entry>
+ <entry>Allow user to override checkout count failure</entry>
+ </row>
+ <row>
+ <entry>patron_exceeds_fines .override</entry>
+ <entry>Allow user to override fine amount checkout failure</entry>
+ </row>
+ <row>
+ <entry>patron_exceeds_overdue_count .override</entry>
+ <entry>Allow user to override overdue count failure</entry>
+ </row>
+ <row>
+ <entry>REGISTER_WORKSTATION</entry>
+ <entry>Allows user to register a new workstation</entry>
+ </row>
+ <row>
+ <entry>REMOTE_Z3950_QUERY</entry>
+ <entry>Allows user to perform z3950 queries against remote
+ servers</entry>
+ </row>
+ <row>
+ <entry>REMOVE_USER_GROUP_LINK</entry>
+ <entry>Allows user to remove other users from permission
+ groups</entry>
+ </row>
+ <row>
+ <entry>RENEW_CIRC</entry>
+ <entry>Allows user to renew items</entry>
+ </row>
+ <row>
+ <entry>RENEW_HOLD_OVERRIDE</entry>
+ <entry>Allows user to continue to renew an item even if it is
+ required for a hold.</entry>
+ </row>
+ <row>
+ <entry>REQUEST_HOLDS</entry>
+ <entry>Allows user to create holds for another user (if true, we
+ still check to make sure they have permission to make the type of
+ hold they are requesting, e.g. COPY_HOLDS)</entry>
+ </row>
+ <row>
+ <entry>RUN_REPORTS</entry>
+ <entry>Allows user to view the Reports Interface, create templates,
+ and run reports</entry>
+ </row>
+ <row>
+ <entry>SET_CIRC_CLAIMS_RETURNED</entry>
+ <entry>Allows user to mark an item as claimed returned</entry>
+ </row>
+ <row>
+ <entry>SET_CIRC_LOST</entry>
+ <entry>Allows user to mark an item as lost</entry>
+ </row>
+ <row>
+ <entry>SET_CIRC_MISSING</entry>
+ <entry>Allows user to mark an item as missing</entry>
+ </row>
+ <row>
+ <entry>SHARE_REPORT_FOLDER</entry>
+ <entry>Allows user to share Template/Report/Output folders via the
+ Reporting Interface</entry>
+ </row>
+ <row>
+ <entry>STAFF_LOGIN</entry>
+ <entry>Allows user to login to the staff client</entry>
+ </row>
+ <row>
+ <entry>TITLE_HOLDS</entry>
+ <entry> Allows user to place a hold at the title level</entry>
+ </row>
+ <row>
+ <entry>UNBAR_PATRON</entry>
+ <entry> Allows user to un-bar a patron</entry>
+ </row>
+ <row>
+ <entry>UPDATE_BATCH_COPY</entry>
+ <entry>Allows user to edit copies in batch</entry>
+ </row>
+ <row>
+ <entry>UPDATE_CONTAINER</entry>
+ <entry>Allows user to update another users Buckets or Book
+ Bags</entry>
+ </row>
+ <row>
+ <entry>UPDATE_COPY</entry>
+ <entry>Allows user to edit a copy</entry>
+ </row>
+ <row>
+ <entry>UPDATE_COPY_LOCATION</entry>
+ <entry>Allows user to edit a copy location</entry>
+ </row>
+ <row>
+ <entry>UPDATE_COPY_STAT_CAT</entry>
+ <entry>Allows user to change a copy statistical category</entry>
+ </row>
+ <row>
+ <entry>UPDATE_COPY_STAT_CAT_ENTRY</entry>
+ <entry>Allows user to change a copy statistical category entry</entry>
+ </row>
+ <row>
+ <entry>UPDATE_HOLD</entry>
+ <entry>Allows user to edit holds (such as change notification phone
+ number or pickup library, as well as retarget the hold and capture
+ an item for hold or pickup)</entry>
+ </row>
+ <row>
+ <entry>UPDATE_MARC</entry>
+ <entry>Allows user to edit a marc record</entry>
+ </row>
+ <row>
+ <entry>UPDATE_NON_CAT_TYPE</entry>
+ <entry>Allows user to update a non cataloged type</entry>
+ </row>
+ <row>
+ <entry>UPDATE_ORG_SETTING</entry>
+ <entry>Allows user to update an org unit setting</entry>
+ </row>
+ <row>
+ <entry>UPDATE_ORG_UNIT</entry>
+ <entry>Allows user to change org unit settings</entry>
+ </row>
+ <row>
+ <entry>UPDATE_PATRON_STAT_CAT</entry>
+ <entry>Allows user to change a patron statistical category (such as
+ renaming the category)</entry>
+ </row>
+ <row>
+ <entry>UPDATE_PATRON_STAT_CAT_ENTRY</entry>
+ <entry>Allows user to change a patron stat cat entry(such as
+ renaming the entry)</entry>
+ </row>
+ <row>
+ <entry>UPDATE_RECORD</entry>
+ <entry>Allows user to undelete a MARC record</entry>
+ </row>
+ <row>
+ <entry>UPDATE_USER</entry>
+ <entry>Allows user to edit a user's record</entry>
+ </row>
+ <row>
+ <entry>UPDATE_VOLUME</entry>
+ <entry>Allows user to edit volumes - needed for merging records.
+ This is a duplicate of VOLUME_UPDATE; user must have both
+ permissions at appropriate level to merge records.</entry>
+ </row>
+ <row>
+ <entry>VIEW_CIRCULATIONS</entry>
+ <entry>Allows user to see what another user has checked out</entry>
+ </row>
+ <row>
+ <entry>VIEW_CONTAINER</entry>
+ <entry>Allows user to view buckets and bookbags</entry>
+ </row>
+ <row>
+ <entry>VIEW_COPY_CHECKOUT_HISTORY</entry>
+ <entry>Allows user to view which users have checked out a given
+ copy</entry>
+ </row>
+ <row>
+ <entry>VIEW_COPY_NOTES</entry>
+ <entry>Allows user to view notes attached to a copy</entry>
+ </row>
+ <row>
+ <entry>VIEW_HOLD</entry>
+ <entry>Allows user to view another user's holds</entry>
+ </row>
+ <row>
+ <entry>VIEW_HOLD_NOTIFICATION</entry>
+ <entry>Allows user to view notifications attached to a hold</entry>
+ </row>
+ <row>
+ <entry>VIEW_HOLD_PERMIT</entry>
+ <entry>Allows user to see if another user has permission to place a
+ hold on a given copy</entry>
+ </row>
+ <row>
+ <entry>VIEW_PERM_GROUPS</entry>
+ <entry>Allows user to view permission groups.</entry>
+ </row>
+ <row>
+ <entry>VIEW_PERMISSION</entry>
+ <entry>Allows user to view user permissions within the user
+ permissions editor</entry>
+ </row>
+ <row>
+ <entry>VIEW_PERMIT_CHECKOUT</entry>
+ <entry>Allows user to see if another user can check out an item
+ (should be true for all staff)</entry>
+ </row>
+ <row>
+ <entry>VIEW_REPORT_OUTPUT</entry>
+ <entry>Allows user to view report output</entry>
+ </row>
+ <row>
+ <entry>VIEW_TITLE_NOTES</entry>
+ <entry>Allows user to view all notes attached to a title</entry>
+ </row>
+ <row>
+ <entry>VIEW_TRANSACTION</entry>
+ <entry>Allows user to see another users grocery/circ transactions
+ in the Bills Interface</entry>
+ </row>
+ <row>
+ <entry>VIEW_USER</entry>
+ <entry>Allows user to view another user's Patron Record</entry>
+ </row>
+ <row>
+ <entry>VIEW_USER_FINES_SUMMARY</entry>
+ <entry>Allows user to view bill details</entry>
+ </row>
+ <row>
+ <entry>VIEW_USER_TRANSACTIONS</entry>
+ <entry>*same as VIEW_TRANSACTION (duplicate perm)</entry>
+ </row>
+ <row>
+ <entry>VIEW_VOLUME_NOTES</entry>
+ <entry>Allows user to view all notes attached to a volume</entry>
+ </row>
+ <row>
+ <entry>VIEW_ZIP_DATA</entry>
+ <entry>Allows user to query the zip code data method</entry>
+ </row>
+ <row>
+ <entry>VOID_BILLING</entry>
+ <entry>Allows user to void a bill</entry>
+ </row>
+ <row>
+ <entry>VOLUME_HOLDS</entry>
+ <entry> Allows user to place a volume level hold</entry>
+ </row>
+
+ <row>
+ <entry>actor.org_unit.closed_date.create</entry>
+ <entry>Allows user to create a new closed date for a location</entry>
+ </row>
+ <row>
+ <entry>actor.org_unit.closed_date.delete</entry>
+ <entry>Allows user to remove a closed date interval for a given
+ location</entry>
+ </row>
+ <row>
+ <entry>actor.org_unit.closed_date.update</entry>
+ <entry>Allows user to update a closed date interval for a given
+ location</entry>
+ </row>
+ <row>
+ <entry>group_application.user</entry>
+ <entry>Allows user to add/remove users to/from the User group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.patron</entry>
+ <entry>Allows user to add/remove users to/from the Patron
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.sip_client</entry>
+ <entry>Allows user to add/remove users to/from the SIP-Client
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff</entry>
+ <entry>Allows user to add/remove users to/from the Staff
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.admin.global_admin</entry>
+ <entry>Allows user to add/remove users to/from the GlobalAdmin
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.admin.lib_manager</entry>
+ <entry>Allows user to add/remove users to/from the LibraryManager
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.admin.local_admin</entry>
+ <entry>Allows user to add/remove users to/from the LocalAdmin
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.cat</entry>
+ <entry>Allows user to add/remove users to/from the Cataloger group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.cat.cat1</entry>
+ <entry>Allows user to add/remove users to/from the Cat1 group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.circ</entry>
+ <entry>Allows user to add/remove users to/from the Circulator
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.staff.supercat</entry>
+ <entry>Allows user to add/remove users to/from the Supercat
+ group</entry>
+ </row>
+ <row>
+ <entry>group_application.user.vendor</entry>
+ <entry>Allows user to add/remove users to/from the Vendor
+ group</entry>
+ </row>
+ <row>
+ <entry>money.collections_tracker.create</entry>
+ <entry>Allows user to put someone into collections</entry>
+ </row>
+ <row>
+ <entry>money.collections_tracker.delete</entry>
+ <entry>Allows user to take someone out of collections</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ </section>
+ </section>
+ <section xml:id="copystatus">
+ <title>Copy Status</title>
+ <para>To navigate to the copy status editor from the staff client menu, select
+ <menuchoice><guimenu>Admin</guimenu> <guisubmenu>Server Administration</guisubmenu>
+ <guisubmenu>Copy Statuses </guisubmenu></menuchoice></para>
+ <para>The Copy Status Editor is used to Add, edit and delete statuses of copies in your system.</para>
+ <para>Evergreen comes pre-loaded with a number of copy statuses.</para>
+ <table xml:id="copystatusestable">
+ <title>Copy Status Table</title>
+ <tgroup cols="4">
+ <thead>
+ <row>
+ <entry>ID</entry>
+ <entry>Name</entry>
+ <entry>Holdable - default setting</entry>
+ <entry>OPAC Visible - default setting</entry>
+ </row>
+ </thead>
+ <tbody>
+ <row>
+ <entry>0</entry>
+ <entry>Available</entry>
+ <entry>true</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>1</entry>
+ <entry>Checked out</entry>
+ <entry>true</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>2</entry>
+ <entry>Bindery</entry>
+ <entry>false</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>3</entry>
+ <entry>Lost</entry>
+ <entry>false</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>4</entry>
+ <entry>Missing</entry>
+ <entry>false</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>5</entry>
+ <entry>In process</entry>
+ <entry>false</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>6</entry>
+ <entry>In transit</entry>
+ <entry>true</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>7</entry>
+ <entry>Reshelving</entry>
+ <entry>true</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>8</entry>
+ <entry>On holds shelf</entry>
+ <entry>true</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>9</entry>
+ <entry>On order</entry>
+ <entry>true</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>10</entry>
+ <entry>ILL</entry>
+ <entry>true</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>11</entry>
+ <entry>Cataloging</entry>
+ <entry>true</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>12</entry>
+ <entry>Reserves</entry>
+ <entry>false</entry>
+ <entry>true</entry>
+ </row>
+ <row>
+ <entry>13</entry>
+ <entry>Discard/Weed</entry>
+ <entry>false</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>14</entry>
+ <entry>Damaged</entry>
+ <entry>false</entry>
+ <entry>false</entry>
+ </row>
+ <row>
+ <entry>15</entry>
+ <entry>On reservation shelf</entry>
+ <entry>true</entry>
+ <entry>false</entry>
+ </row>
+ </tbody>
+ </tgroup>
+ </table>
+ <para>It is possible to add, delete and edit copy statuses.</para>
+ <procedure>
+ <title>Adding Copy Statuses</title>
+ <step><para>In the <guilabel>New Status</guilabel> field, enter the name of the
+ new status you wish to add.</para></step>
+ <step><para>Click <guibutton>Add</guibutton>.</para></step>
+ <step><para>Locate you new status and check the <emphasis>Holdable</emphasis> check box
+ if you wish to all users to place holds on items in this status. Check
+ <emphasis>OPAC Visble</emphasis> if you wish for this status to appear in the public
+ OPAC.</para></step>
+ <step><para>Click <guibutton>Save Changes</guibutton> at the bottum of the screen to
+ save changes to the new status.</para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Copy Statuses</title>
+ <step><para>Highlight the statuses you wish to delete. Hold the
+ <keycap>Shift</keycap> to select more than one status.</para></step>
+ <step><para>Click <guibutton>Delete Selected</guibutton>.</para></step>
+ <step><para>Click OK to verify.</para>
+ <note><para>You will not be able to delete statuses if copies currently
+ exist with that status.</para></note>
+ </step>
+ </procedure>
+ <procedure>
+ <title>Editing Copy Statuses</title>
+ <step><para>Double click on a status name to change its name and enter the new
+ name.</para> <para>To change whether a status is visible in the OPAC, check or uncheck
+ the <emphasis>OPAC Visible</emphasis> check box.</para><para>To allow patrons the ability to
+ hold items in that status, check the <emphasis>Holdable</emphasis> check box. To prevent
+ users from holding items in that status, uncheck the <emphasis>Holdable</emphasis>
+ check box. </para></step>
+ <step><para>Once you have finished editing the statuses, remember to click
+ <guibutton>Save Changes</guibutton>.</para></step>
+ </procedure>
+ </section>
+ <section xml:id="billingtypes">
+ <title>Billing Types</title>
+ <para>The billing types editor is used for creating, editing and deleting billing types.</para>
+ <para>To navigate to the billing types editor from the staff client menu, select
+ <menuchoice><guimenu>Admin</guimenu> <guisubmenu>Server Administration</guisubmenu>
+ <guisubmenu>Billing Types</guisubmenu></menuchoice></para>
+ <procedure>
+ <title>Adding Billing Types</title>
+ <step><para>Click <guibutton>New Billing Type</guibutton>.</para></step>
+ <step><para>Enter the name of the billing type.</para></step>
+ <step><para>Select the <emphasis>Org Unit</emphasis> to use this billing type.</para></step>
+ <step><para>Enter the <emphasis>Default Price</emphasis>. This is only the default since
+ the actual price of a specific billing can be adjusted when staff create
+ a billing</para></step>
+ <step><para>Click <guibutton>Save</guibutton> to save the new billing type.</para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Billing Types</title>
+ <step><para>Check the checkbox of the billing type(s) you wish to delete.</para></step>
+ <step><para>Click <guibutton>Delete Selected</guibutton>.
+ <warning><para>The selected billing types will be deleted without a
+ verification alert.</para></warning>
+ </para></step>
+ </procedure>
+ <procedure>
+ <title>Editing Billing Types</title>
+ <step><para>Double click on a billing types to open the editing window.</para></step>
+ <step><para>Make desired changes to the <emphasis>name</emphasis>,
+ <emphasis>Org Unit</emphasis> and <emphasis>Default Price</emphasis>.</para></step>
+ <step><para>Once you have finished editing, click
+ <guibutton>Save</guibutton>.</para></step>
+ </procedure>
+
+ </section>
+ <section xml:id="circmodifiers">
+ <title>Circulation Modifiers</title>
+ <para>The circulation modifier editor is used to create, edit and delete modifier categories to control
+ circulation policies on specific groups of items.</para>
+ <para>To navigate to the circulation modifiers editor from the staff client menu, select
+ <menuchoice>
+ <guimenu>Admin</guimenu> <guisubmenu>Server Administration</guisubmenu>
+ <guisubmenu>Circulation Modifiers</guisubmenu></menuchoice>.
+ </para>
+ <procedure>
+ <title>Adding Circulation Modifiers</title>
+ <step><para>Click <guibutton>New Circ Modifier</guibutton>.</para></step>
+ <step><para>Enter a <emphasis>Code</emphasis>, <emphasis>Name</emphasis> and
+ <emphasis>Description</emphasis>.</para></step>
+ <step><para>Select the <emphasis>SIP 2 Media Type</emphasis>.</para></step>
+ <step><para>Check the <guibutton>Magnetic Media</guibutton> check box if the item is magnetic media such as a casette
+ tape.</para></step>
+ <step><para>Click <guibutton>Save</guibutton> to save the new circulation
+ modifier.</para></step>
+ </procedure>
+ <procedure>
+ <title>Deleting Circulation Modifiers</title>
+ <step><para>Check the check box(es) next to the circulation modifiers(s) you wish to
+ delete.</para></step>
+ <step><para>Click <guibutton>Delete Selected</guibutton> near the top of the page.
+ <warning><para>The selected circulation modifiers will be deleted without a
+ verification alert.</para></warning>
+ </para></step>
+ </procedure>
+ <procedure>
+ <title>Editing Circulation Modifiers</title>
+ <step><para>Double click on the row of the cirlation modifier you wish to
+ edit.</para></step>
+ <step><para>Make desired changes.</para></step>
+ <step><para>Once you have finished editing, click
+ <guibutton>Save</guibutton>.</para></step>
+ </procedure>
+ </section>
+ <section xml:id="catalogingtemplates">
+ <title>Cataloging Templates</title>
+ <para>Cataloging templates are essential for making the cataloguing process more efficient. Templates are used that that the basic structure of specific types of cataloguing records can loaded when the cataloguer adds a new record</para>
+ <procedure>
+ <title>Adding Cataloging Templates</title>
+ <step>
+ <para>
+ Create a marc template in the directory <filename class="directory">/openils/var/templates/marc/</filename>. It should be in xml format.
+ Here is an example file <filename>k_video.xml</filename>:
+ </para>
+ <para>
+ <mediaobject xml:id="cattemplate">
+ <alt>Catalog Template Example</alt>
+ <imageobject>
+ <imagedata scalefit="0" fileref="../media/k_book_record.png"/>
+ </imageobject>
+ </mediaobject>
+ </para>
+
+ </step>
+ <step>
+ <para>Add the template to the to the <emphasis>marctemplates</emphasis> list in the open-ils.cat section of the evergreen configuration file <filename>opensrf.xml</filename> </para>
+ </step>
+ <step>
+ <para>Restart perl services for changes to take effect.</para>
+ <screen>/openils/bin/osrf_ctl.sh -l -a restart_perl</screen>
+ </step>
+ </procedure>
+ </section>
+</chapter>
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+<chapter xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude"
+xmlns:xl="http://www.w3.org/1999/xlink" version="5.0" xml:id="troubleshooting">
+ <title>Troubleshooting System Errors</title>
+ <para>If you have Evergreen installed and are encountering systematic errors, here is the steps to find the
+ cause and solution to most problems. These instructions assume standard locations and file names for Evergreen
+ installations, and may also include commands for specific Linux distributions.</para>
+ <procedure>
+ <title>Systematic Evergreen Restart to isolate Errors</title>
+ <step>
+ <para>Stop Apache:</para>
+ <screen>/etc/init.d/apache2 stop</screen>
+ <para>or</para>
+ <screen>apache2ctl stop</screen>
+ </step>
+ <step>
+ <para>Stop OpenSRF:</para>
+ <screen>osrf_ctl.sh -l -a stop_all</screen>
+ <para>You should get either output resembling this:</para>
+ <screen>Stopping OpenSRF C process 12515...</screen>
+ <screen>Stopping OpenSRF C process 12520...</screen>
+ <screen>Stopping OpenSRF C process 12526...</screen>
+ <screen>Stopping OpenSRF Perl process 12471...</screen>
+ <screen>Stopping OpenSRF Router process 12466...</screen>
+ <para>Or, if services have already been stopped, output maay look like this:</para>
+ <screen>OpenSRF C not running</screen>
+ <screen>OpenSRF Perl not running</screen>
+ <screen>OpenSRF Router not running</screen>
+ <para>Occasionally osrf_ctl.sh fails to kill OpenSRF processes, so we should check to make
+ sure that none are still running with the command:</para>
+ <screen>ps -aef | grep OpenSRF</screen>
+ <para>You should manually kill any OpenSRF processes.</para>
+ <para>If you were unable to stop OpenSRF with the above methods, you could also try this
+ command:</para>
+ <screen>rm –R /openils/var/run/*.pid</screen>
+ <para>This will remove the temporary OpenSRF process files from the run directory which may
+ have been left over from a previous system boot cycle.</para>
+ </step>
+ <step>
+ <para>Restart Ejabberd and Memcached with the following commands:</para>
+ <screen>sudo /etc/init.d/ejabberd restart</screen>
+ <screen>sudo /etc/init.d/memcached restart</screen>
+ </step>
+ <step>
+ <para>Start the OpenSRF router and check for errors</para>
+ <screen>/openils/bin/osrf_ctl.sh -l -a start_router</screen>
+ <para>If the router started correctly, output will be:</para>
+ <screen>Starting OpenSRF Router</screen>
+ <para>If router does not start correcltly, you should check the router error log files
+ for error information.</para>
+ <para>Evergreen 1.6 uses two routers, a public one and a private one, with two different
+ logfiles:</para>
+ <para><filename >/openils/var/log/private.router.log</filename></para>
+ <para><filename >/openils/var/log/public.router.log</filename></para>
+ <para>A quick way to find error information in the logs is with the grep command.</para>
+ <screen>grep ERR /openils/var/log/*router.log</screen>
+ <para>As a final sanity check, look for router processes using the process status
+ command:</para>
+ <screen>ps -aef | grep Router</screen>
+ </step>
+ <step>
+ <para>Start the OpenSRF perl services and check for errors</para>
+ <screen>/openils/bin/osrf_ctl.sh -l -a start_perl</screen>
+ <para>You should see the following output:</para>
+ <screen>Starting OpenSRF Perl</screen>
+ <screen>* starting all services for norcrossfx.norcross.esi</screen>
+ <screen>* starting servivce pid=7484 opensrf.settings</screen>
+ <screen>* starting servivce pid=7493 open-ils.cat</screen>
+ <screen>* starting servivce pid=7495 open-ils.supercat</screen>
+ <screen>* starting servivce pid=7497 open-ils.search</screen>
+ <screen>* starting servivce pid=7499 open-ils.circ</screen>
+ <screen>* starting servivce pid=7501 open-ils.actor</screen>
+ <screen>* starting servivce pid=7502 open-ils.storage</screen>
+ <screen>* starting servivce pid=7509 open-ils.penalty</screen>
+ <screen>* starting servivce pid=7512 open-ils.collections</screen>
+ <screen>* starting servivce pid=7514 open-ils.ingest</screen>
+ <screen>* starting servivce pid=7517 open-ils.permacrud</screen>
+ <screen>* starting servivce pid=7522 open-ils.fielder</screen>
+ <screen>* starting servivce pid=7527 open-ils.vandelay</screen>
+ <screen>* starting servivce pid=7516 open-ils.reporter</screen>
+ <para>If the perl services do not start correclty or you receive errors, search for errors
+ in the following log files:</para>
+ <screen>/openils/var/log/router.log</screen>
+ <screen>/openils/var/log/osrfsys.log</screen>
+ <para>At this point you can use the <command>grep</command> command to find errors in
+ any of the Evrgreen log files:</para>
+ <screen>grep ERR /openils/var/log/*.log</screen>
+ <para>As a final sanity check, look for OpenSRF processes:</para>
+ <screen>ps -aef | grep -i opensrf</screen>
+ </step>
+ <step>
+ <para>Start the OpenSRF C services and check for errors:</para>
+ <screen>/openils/bin/osrf_ctl.sh -l -a start_c</screen>
+ <para>And output should be:</para>
+ <para>Starting OpenSRF C (host=localhost)</para>
+ <para>If the <emphasis>c</emphasis> service does not start, check for errors by grepping
+ the log files for errors:</para>
+ <screen>grep ERR /openils/var/log/*.log</screen>
+ <para>Check for OpenSRF processes:</para>
+ <screen>ps -aef | grep -i opensrf</screen>
+ </step>
+ <step>
+ <para>Smoke test with autogen.sh</para>
+ <para>The Autogen tool will take some dynamic information from the database and generate
+ static Javascript files for use by the OPAC and staff client. It is also able to refresh
+ the proximity map between libraries for the purpose of efficiently routing hold
+ requests.</para>
+ <para>As user opensrf, you invoke Autogen with the command:</para>
+ <screen>/openils/bin/autogen.sh -c /openils/conf/opensrf_core.xml -u</screen>
+ <para>If Autogen completes successfully, the output will be:</para>
+ <screen>Updating fieldmapper</screen>
+ <screen>Updating web_fieldmapper</screen>
+ <screen>Updating OrgTree</screen>
+ <screen>removing OrgTree from the cache...</screen>
+ <screen>Updating OrgTree HTML</screen>
+ <screen>Updating locales selection HTML</screen>
+ <screen>Updating Search Groups</screen>
+ <screen>Refreshing proximity of org units</screen>
+ <screen>Successfully updated the organization proximity</screen>
+ <screen>Done</screen>
+ <para>If Autogen does not complete its task and you recieve errors, use
+ <command>grep</command> to find errors in the log files:</para>
+ <screen>grep ERR /openils/var/log/*.log</screen>
+ </step>
+ <step>
+ <para>Connect to Evergreen using the srfsh command-line OpenSRF client</para>
+ <screen>/openils/bin/srfsh</screen>
+ <note>
+ <para>In order for you to connect using <command>srfsh</command>, you will need to
+ have set up the .srfsh.xml configuration file in your home directory as as
+ described in the installation chapter.</para>
+ </note>
+ <para>You will then see the <emphasis>srfsh</emphasis> prompt:</para>
+ <screen>srfsh#</screen>
+ <para>At the srfsh prompt, enter this command:</para>
+ <screen>login admin open-ils</screen>
+ <para>You should the request verification:</para>
+ <screen>Received Data: "6f63ff5542da1fead4431c6c280efc75"</screen>
+ <screen>------------------------------------</screen>
+ <screen>Request Completed Successfully</screen>
+ <screen>Request Time in seconds: 0.018414</screen>
+ <screen>------------------------------------</screen>
+ <screen></screen>
+ <screen>Received Data: {</screen>
+ <screen>"ilsevent":0,</screen>
+ <screen>"textcode":"SUCCESS",</screen>
+ <screen>"desc":" ",</screen>
+ <screen>"pid":7793,</screen>
+ <screen>"stacktrace":"oils_auth.c:312",</screen>
+ <screen>"payload":{</screen>
+ <screen>"authtoken":"28804ebf99508496e2a4d2593aaa930e",</screen>
+ <screen> "authtime":420.000000</screen>
+ <screen>}</screen>
+ <screen>}</screen>
+ <screen></screen>
+ <screen>------------------------------------</screen>
+ <screen>Request Completed Successfully</screen>
+ <screen> Request Time in seconds: 0.552430</screen>
+ <screen>------------------------------------</screen>
+ <screen> Login Session: 28804. Session timeout: 420.000</screen>
+ <screen>srfsh#</screen>
+ <para>If you encounter errors or if you are unable to connect, you should consult the
+ <filename>srfsh.log</filename> file. The location of this file is configured in your
+ <filename>.srfsh.xml</filename> configuration file and is
+ <filename>/openils/var/log/srfsh.log</filename> by default.</para>
+ <para>Pressing
+ <keycombo>
+ <keycap>Ctrl</keycap>
+ <keycap>D</keycap>
+ </keycombo>
+ or entering <quote>exit</quote> will terminate srfsh.</para>
+ </step>
+ <step>
+ <para>Start <application>Apache</application> and check for errors:</para>
+ <screen>/etc/init.d/apache2 start</screen>
+ <para>or</para>
+ <screen>apache2ctl start</screen>
+ <para>You should see output:</para>
+ <screen>* Starting web server apache2</screen>
+ <screen>...done.</screen>
+ <para>the Apache OpenSRF modules write to the
+ <filename>/openils/var/log/gateway.log</filename></para>
+ <para>However, you should check all of the log files for errors:</para>
+ <screen>grep ERR /openils/var/log/*.log</screen>
+ <para>Another place to check for erros is the <application>Apache</application> error logs
+ generally located in in the <filename class="directory">/var/log/Apapche2</filename>
+ directory</para>
+ <para>If you encounter errors with Apache, a common source of potential problems are the
+ Evergreen site configuration files <filename>/etc/apache2/eg_vhost.conf</filename> and
+ <filename>/etc/apache2/sites-available/eg.conf</filename></para>
+ </step>
+ <step>
+ <para>Try to authenticate with the staff client</para>
+ </step>
+ <step>
+ <para>Try to authenticate with the OPAC</para>
+ </step>
+ </procedure>
+</chapter>