X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fpazpar2_play.xml;fp=doc%2Fpazpar2_play.xml;h=6b061fac0a75e0fd4256b53051f8517e49cec028;hb=64f8db0dccef6f48e692e09f564a00ef7a56cb5f;hp=0000000000000000000000000000000000000000;hpb=d8da766c297d7fb27927c14f3a4d78df93cb4a6d;p=pazpar2-moved-to-github.git diff --git a/doc/pazpar2_play.xml b/doc/pazpar2_play.xml new file mode 100644 index 0000000..6b061fa --- /dev/null +++ b/doc/pazpar2_play.xml @@ -0,0 +1,102 @@ + + %local; + + %entities; + + %idcommon; +]> + + + Pazpar2_Play + &version; + Index Data + + + + Pazpar2_Play + 1 + User Commands + + + pazpar2_play + Play recorded HTTP log against pazpar2 + + + + pazpar2_play + + file + server-addr + + + + DESCRIPTION + + pazpar2_play is a utility that plays recorded + HTTP activity against pazpar2. Pazpar2 may record activity to a file + with option -R. This utilility allow you to play the activity again + against pazpar2. Pazpar2 must use predictable sessions in order for this + to work. This means that either Pazpar2 should be executed with option -R. + + + + OPTIONS + + + + + + Sets log level (YAZ log level system). + + + + + + + EXAMPLES + + Typical usage. First step is to enable recording in pazpar2. + Something like: + + pazpar2 -f config.xml -R /tmp/recording.log + + For RPM version of Pazpar2, add/modify + /etc/sysconfig/pazpar2 and modify OPTIONS. + For Debian version of Pazpar2 add/modify + /etc/defaults/pazpar2 and modify OPTIONS. + + + At some point we want to run recording.. Perhaps against another + Pazpar2 instance for analysis. We start Pazpar2 with -R- to ensure + that sessions are numbered in the same way initial recording. + + pazpar2 -f config.xml -R - + + We can now run the player against it: + + pazpar2_play /tmp/recording.log localhost:9004 + + + + + SEE ALSO + + Pazpar2 configuration: + + pazpar2 + 8 + + + + + + +