X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=6f05ddeebb095a43c57d0b7e5bc23ed849fadf52;hb=259a989d5f7d9c966caa44f2bffc08ee3798e3a5;hp=622fc72bdbbbb94bf4fa0c8e3d4b209e7217fe10;hpb=dac0c39ac77d0ed84af695020fa49dde6dd2940b;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 622fc72..6f05dde 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,27 +1,47 @@ - + + %local; + + %idcommon; ]> - - + + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands - + metaproxy - Metaproxy - daemon + Metaproxy - server - + metaproxy + + + + + + + + + + - + DESCRIPTION @@ -29,9 +49,9 @@ - + OPTIONS - + --help @@ -41,23 +61,192 @@ + --version + + Displays Metaproxy version. + + + + + -v loglevel + + Specify YAZ log level (all, debug, log) + + + + --config config - Specify the configuation. + Specify the configuration. + + + + + -D + + Puts Metaproxy in the background after startup. + + + + + -l logfile + + Specifies YAZ log file. + + + + + -m timeformat + + Sets the format of time-stamps for all logging performed via yaz_log. + Refer to + + strftime(3) + man page for the format. + + + + + -p pidfile + + Specifies file which holds PID after startup. + + + + + -t + + Tests configuration. Returns exit code 0 on success; non-zero on failure. + + + + + -u ID + + Makes Metaproxy changes its identity to ID after startup. + + + + + -w dir + + Changes working directory to dir. + + + + + -X + + Makes Metaproxy operate in debug mode. + CONFIGURATION + Metaproxy's configuration is XML based. All elements + should be in namespace http://indexdata.com/metaproxy. + + + The root element must be named metaproxy and + must specify a version. Currently the version must be + 1.0. The children elements of metaproxy + are: + + + dlpath + + + Specifies the path for Loadable filter modules + + + + + start + + + Specifies the start route. Takes a route + attribute with the name of the route. + + + + + filters + + + Specifies all filters. Includes one ore more + filter elements with filter-specific + configuration material. + + + + + routes + + + Specifies all routes. Includes one or more + route elements. Each route + in turn includes one or more filter specifications. + + + + + + + The configuration is described in more detail in the + Metaproxy manual. + + EXAMPLES - - Start server with configuration in my.xml. - - metaproxy --config my.xml + + The configuration below specifies a simple Z39.50 proxy and + illustrates most configuration elements of Metaproxy. + + + + /usr/local/metaproxy/filters + + + + 10 + @:9000 + + + 30 + z3950.indexdata.com + + + + + + + log + + + + + + +]]> - - + + Start server with configuration in my.xml. + + metaproxy --config my.xml + + + + + SCHEMA + + + FILES @@ -76,6 +265,10 @@ 3mp , + bounce + 3mp + , + frontend_net 3mp , @@ -96,10 +289,18 @@ 3mp , + record_transform + 3mp + , + session_shared 3mp , + sru_z3950 + 3mp + , + template 3mp , @@ -114,7 +315,7 @@ The Metaproxy - manual. + manual. @@ -124,15 +325,7 @@