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 <orgname>Index Data</orgname>
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 allows 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
43 or with debug mode (-X).
47 <title>OPTIONS</title>
50 <term><option>-v <replaceable>level</replaceable></option></term>
53 Sets log level (YAZ log level system).
60 <title>EXAMPLES</title>
62 Typical usage. First step is to enable recording in pazpar2.
65 pazpar2 -f config.xml -R /tmp/recording.log
67 For RPM version of Pazpar2, add/modify
68 <filename>/etc/sysconfig/pazpar2</filename> and modify OPTIONS.
69 For Debian version of Pazpar2 add/modify
70 <filename>/etc/defaults/pazpar2</filename> and modify OPTIONS.
73 At some point we want to run recording.. Perhaps against another
74 Pazpar2 instance for analysis. We start Pazpar2 with -R- to ensure
75 that sessions are numbered in the same way initial recording.
77 pazpar2 -f config.xml -R -
79 We can now run the player against it:
81 pazpar2_play /tmp/recording.log localhost:9004
86 <title>SEE ALSO</title>
90 <refentrytitle>pazpar2</refentrytitle>
91 <manvolnum>8</manvolnum>
98 <!-- Keep this comment at the end of the file