1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
2 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd"
4 <!ENTITY % local SYSTEM "local.ent">
6 <!ENTITY % entities SYSTEM "entities.ent">
8 <!ENTITY % idcommon SYSTEM "common/common.ent">
11 <refentry id="pazpar2_play">
13 <productname>Pazpar2_Play</productname>
14 <productnumber>&version;</productnumber>
15 <info><orgname>Index Data</orgname></info>
19 <refentrytitle>Pazpar2_Play</refentrytitle>
20 <manvolnum>1</manvolnum>
21 <refmiscinfo class="manual">User Commands</refmiscinfo>
24 <refname>pazpar2_play</refname>
25 <refpurpose>Play recorded HTTP log against pazpar2</refpurpose>
29 <command>pazpar2_play</command>
30 <arg choice="opt"><option>-v <replaceable>level</replaceable></option></arg>
31 <arg choice="opt">file</arg>
32 <arg choice="opt">server-addr</arg>
36 <title>DESCRIPTION</title>
38 <command>pazpar2_play</command> is a utility that plays recorded
39 HTTP activity against pazpar2. Pazpar2 may record activity to a file
40 with option -R. This utilility allow you to play the activity again
41 against pazpar2. Pazpar2 must use predictable sessions in order for this
42 to work. This means that either Pazpar2 should be executed with option -R.
46 <title>OPTIONS</title>
49 <term><option>-v <replaceable>level</replaceable></option></term>
52 Sets log level (YAZ log level system).
59 <title>EXAMPLES</title>
61 Typical usage. First step is to enable recording in pazpar2.
64 pazpar2 -f config.xml -R /tmp/recording.log
66 For RPM version of Pazpar2, add/modify
67 <filename>/etc/sysconfig/pazpar2</filename> and modify OPTIONS.
68 For Debian version of Pazpar2 add/modify
69 <filename>/etc/defaults/pazpar2</filename> and modify OPTIONS.
72 At some point we want to run recording.. Perhaps against another
73 Pazpar2 instance for analysis. We start Pazpar2 with -R- to ensure
74 that sessions are numbered in the same way initial recording.
76 pazpar2 -f config.xml -R -
78 We can now run the player against it:
80 pazpar2_play /tmp/recording.log localhost:9004
85 <title>SEE ALSO</title>
87 Pazpar2 configuration:
89 <refentrytitle>pazpar2</refentrytitle>
90 <manvolnum>8</manvolnum>
97 <!-- Keep this comment at the end of the file