X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Fmetaproxy.xml;h=d3a94d7b8526f51532e2eca419d8df10708bd1fd;hb=06694d0da03546fa834ce17fbfc29a8666597a08;hp=2d871bdcc2a48b95a5246979ec088be08591f249;hpb=2155eee0022f1e7a0bff561318d66d006dbb65e8;p=metaproxy-moved-to-github.git diff --git a/doc/metaproxy.xml b/doc/metaproxy.xml index 2d871bd..d3a94d7 100644 --- a/doc/metaproxy.xml +++ b/doc/metaproxy.xml @@ -1,35 +1,47 @@ - + + %local; %idcommon; ]> + + Metaproxy + &version; + Index Data + + metaproxy 1 + Commands - + metaproxy Metaproxy - server - + metaproxy + + + - + DESCRIPTION @@ -37,9 +49,9 @@ - + OPTIONS - + --help @@ -56,6 +68,13 @@ + -v loglevel + + Specify YAZ log level (all, debug, log) + + + + --config config Specify the configuration. @@ -77,6 +96,18 @@ + -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. @@ -84,6 +115,13 @@ + -t + + Tests configuration. Returns exit code 0 on success; non-zero on failure. + + + + -u ID Makes Metaproxy changes its identity to ID after startup. @@ -107,14 +145,108 @@ + 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.dk + + + + + + + log + + + + + + +]]> - - + + Start server with configuration in my.xml. + + metaproxy --config my.xml + + + + + SCHEMA + + + FILES @@ -183,7 +315,7 @@ The Metaproxy - manual. + manual. @@ -193,15 +325,7 @@