OSDN Git Service

Fixed install progress
authorShinya TAKEBAYASHI <makoto@kanon-net.jp>
Mon, 25 May 2009 00:22:58 +0000 (09:22 +0900)
committerShinya TAKEBAYASHI <makoto@kanon-net.jp>
Mon, 25 May 2009 00:22:58 +0000 (09:22 +0900)
man/Makefile.am
man/Makefile.in
man/l7directord.8 [new file with mode: 0644]
man/l7directord.8.gz [deleted file]
man/l7vsadm.8 [new file with mode: 0644]
man/l7vsadm.8.gz [deleted file]
man/l7vsd.8 [new file with mode: 0644]
man/l7vsd.8.gz [deleted file]

index 8f3917c..6232295 100644 (file)
@@ -1,8 +1 @@
-MANDIR         = @mandir@/man8
-
-install:
-       $(INSTALL) -m 644 -D \
-               ./l7vsd.8.gz \
-               ./l7vsadm.8.gz  \
-               ./l7directord.8.gz \
-               $(MANDIR)
+dist_man_MANS = l7vsd.8 l7vsadm.8 l7directord.8
index 618a7cb..2700cac 100644 (file)
@@ -36,7 +36,8 @@ POST_UNINSTALL = :
 build_triplet = @build@
 host_triplet = @host@
 subdir = man
-DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+DIST_COMMON = $(dist_man_MANS) $(srcdir)/Makefile.am \
+       $(srcdir)/Makefile.in
 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
 am__aclocal_m4_deps = $(top_srcdir)/configure.in
 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
@@ -46,6 +47,10 @@ CONFIG_HEADER = $(top_builddir)/config.h
 CONFIG_CLEAN_FILES =
 SOURCES =
 DIST_SOURCES =
+man8dir = $(mandir)/man8
+am__installdirs = "$(DESTDIR)$(man8dir)"
+NROFF = nroff
+MANS = $(dist_man_MANS)
 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
 ACLOCAL = @ACLOCAL@
 AMDEP_FALSE = @AMDEP_FALSE@
@@ -92,7 +97,7 @@ LIBTOOL = @LIBTOOL@
 LN_S = @LN_S@
 LTLIBOBJS = @LTLIBOBJS@
 MAKEINFO = @MAKEINFO@
-MANDIR = @mandir@/man8
+MANDIR = @MANDIR@
 OBJEXT = @OBJEXT@
 PACKAGE = @PACKAGE@
 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
@@ -155,6 +160,7 @@ sharedstatedir = @sharedstatedir@
 snmpagent_libs = @snmpagent_libs@
 sysconfdir = @sysconfdir@
 target_alias = @target_alias@
+dist_man_MANS = l7vsd.8 l7vsadm.8 l7directord.8
 all: all-am
 
 .SUFFIXES:
@@ -167,9 +173,9 @@ $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
              exit 1;; \
          esac; \
        done; \
-       echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  man/Makefile'; \
+       echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu  man/Makefile'; \
        cd $(top_srcdir) && \
-         $(AUTOMAKE) --foreign  man/Makefile
+         $(AUTOMAKE) --gnu  man/Makefile
 .PRECIOUS: Makefile
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
        @case '$?' in \
@@ -197,6 +203,51 @@ clean-libtool:
 distclean-libtool:
        -rm -f libtool
 uninstall-info-am:
+install-man8: $(man8_MANS) $(man_MANS)
+       @$(NORMAL_INSTALL)
+       test -z "$(man8dir)" || $(mkdir_p) "$(DESTDIR)$(man8dir)"
+       @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+       l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+       for i in $$l2; do \
+         case "$$i" in \
+           *.8*) list="$$list $$i" ;; \
+         esac; \
+       done; \
+       for i in $$list; do \
+         if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
+         else file=$$i; fi; \
+         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+         case "$$ext" in \
+           8*) ;; \
+           *) ext='8' ;; \
+         esac; \
+         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed -e 's/^.*\///'`; \
+         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+         echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
+         $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst"; \
+       done
+uninstall-man8:
+       @$(NORMAL_UNINSTALL)
+       @list='$(man8_MANS) $(dist_man8_MANS) $(nodist_man8_MANS)'; \
+       l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
+       for i in $$l2; do \
+         case "$$i" in \
+           *.8*) list="$$list $$i" ;; \
+         esac; \
+       done; \
+       for i in $$list; do \
+         ext=`echo $$i | sed -e 's/^.*\\.//'`; \
+         case "$$ext" in \
+           8*) ;; \
+           *) ext='8' ;; \
+         esac; \
+         inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
+         inst=`echo $$inst | sed -e 's/^.*\///'`; \
+         inst=`echo $$inst | sed '$(transform)'`.$$ext; \
+         echo " rm -f '$(DESTDIR)$(man8dir)/$$inst'"; \
+         rm -f "$(DESTDIR)$(man8dir)/$$inst"; \
+       done
 tags: TAGS
 TAGS:
 
@@ -233,8 +284,12 @@ distdir: $(DISTFILES)
        done
 check-am: all-am
 check: check-am
-all-am: Makefile
+all-am: Makefile $(MANS)
 installdirs:
+       for dir in "$(DESTDIR)$(man8dir)"; do \
+         test -z "$$dir" || $(mkdir_p) "$$dir"; \
+       done
+install: install-am
 install-exec: install-exec-am
 install-data: install-data-am
 uninstall: uninstall-am
@@ -276,13 +331,13 @@ info: info-am
 
 info-am:
 
-install-data-am:
+install-data-am: install-man
 
 install-exec-am:
 
 install-info: install-info-am
 
-install-man:
+install-man: install-man8
 
 installcheck-am:
 
@@ -302,25 +357,21 @@ ps: ps-am
 
 ps-am:
 
-uninstall-am: uninstall-info-am
+uninstall-am: uninstall-info-am uninstall-man
+
+uninstall-man: uninstall-man8
 
 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
        distclean distclean-generic distclean-libtool distdir dvi \
        dvi-am html html-am info info-am install install-am \
        install-data install-data-am install-exec install-exec-am \
-       install-info install-info-am install-man install-strip \
-       installcheck installcheck-am installdirs maintainer-clean \
-       maintainer-clean-generic mostlyclean mostlyclean-generic \
-       mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
-       uninstall-info-am
-
-
-install:
-       $(INSTALL) -m 644 -D \
-               ./l7vsd.8.gz \
-               ./l7vsadm.8.gz  \
-               ./l7directord.8.gz \
-               $(MANDIR)
+       install-info install-info-am install-man install-man8 \
+       install-strip installcheck installcheck-am installdirs \
+       maintainer-clean maintainer-clean-generic mostlyclean \
+       mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
+       uninstall uninstall-am uninstall-info-am uninstall-man \
+       uninstall-man8
+
 # Tell versions [3.59,3.63) of GNU make to not export all variables.
 # Otherwise a system limit (for SysV at least) may be exceeded.
 .NOEXPORT:
diff --git a/man/l7directord.8 b/man/l7directord.8
new file mode 100644 (file)
index 0000000..2a36fa1
--- /dev/null
@@ -0,0 +1,507 @@
+.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.32
+.\"
+.\" Standard preamble:
+.\" ========================================================================
+.de Sh \" Subsection heading
+.br
+.if t .Sp
+.ne 5
+.PP
+\fB\\$1\fR
+.PP
+..
+.de Sp \" Vertical space (when we can't use .PP)
+.if t .sp .5v
+.if n .sp
+..
+.de Vb \" Begin verbatim text
+.ft CW
+.nf
+.ne \\$1
+..
+.de Ve \" End verbatim text
+.ft R
+.fi
+..
+.\" Set up some character translations and predefined strings.  \*(-- will
+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
+.\" double quote, and \*(R" will give a right double quote.  | will give a
+.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
+.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
+.\" expand to `' in nroff, nothing in troff, for use with C<>.
+.tr \(*W-|\(bv\*(Tr
+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
+.ie n \{\
+.    ds -- \(*W-
+.    ds PI pi
+.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
+.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
+.    ds L" ""
+.    ds R" ""
+.    ds C` ""
+.    ds C' ""
+'br\}
+.el\{\
+.    ds -- \|\(em\|
+.    ds PI \(*p
+.    ds L" ``
+.    ds R" ''
+'br\}
+.\"
+.\" If the F register is turned on, we'll generate index entries on stderr for
+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
+.\" entries marked with X<> in POD.  Of course, you'll have to process the
+.\" output yourself in some meaningful fashion.
+.if \nF \{\
+.    de IX
+.    tm Index:\\$1\t\\n%\t"\\$2"
+..
+.    nr % 0
+.    rr F
+.\}
+.\"
+.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
+.\" way too many mistakes in technical documents.
+.hy 0
+.if n .na
+.\"
+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
+.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
+.    \" fudge factors for nroff and troff
+.if n \{\
+.    ds #H 0
+.    ds #V .8m
+.    ds #F .3m
+.    ds #[ \f1
+.    ds #] \fP
+.\}
+.if t \{\
+.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
+.    ds #V .6m
+.    ds #F 0
+.    ds #[ \&
+.    ds #] \&
+.\}
+.    \" simple accents for nroff and troff
+.if n \{\
+.    ds ' \&
+.    ds ` \&
+.    ds ^ \&
+.    ds , \&
+.    ds ~ ~
+.    ds /
+.\}
+.if t \{\
+.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
+.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
+.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
+.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
+.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
+.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
+.\}
+.    \" troff and (daisy-wheel) nroff accents
+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
+.ds ae a\h'-(\w'a'u*4/10)'e
+.ds Ae A\h'-(\w'A'u*4/10)'E
+.    \" corrections for vroff
+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
+.    \" for low resolution devices (crt and lpr)
+.if \n(.H>23 .if \n(.V>19 \
+\{\
+.    ds : e
+.    ds 8 ss
+.    ds o a
+.    ds d- d\h'-1'\(ga
+.    ds D- D\h'-1'\(hy
+.    ds th \o'bp'
+.    ds Th \o'LP'
+.    ds ae ae
+.    ds Ae AE
+.\}
+.rm #[ #] #H #V #F C
+.\" ========================================================================
+.\"
+.IX Title "L7DIRECTORD 1"
+.TH L7DIRECTORD 1 "2009-02-15" "perl v5.8.8" "User Contributed Perl Documentation"
+.SH "NAME"
+l7directord \- UltraMonkey\-L7 Director Daemon
+.PP
+Daemon to monitor remote services and control UltraMonkey\-L7
+.SH "SYNOPSIS"
+.IX Header "SYNOPSIS"
+\&\fBl7directord\fR [\fB\-d\fR] [\fIconfiguration\fR] {\fBstart\fR|\fBstop\fR|\fBrestart\fR|\fBtry-restart\fR|\fBreload\fR|\fBstatus\fR|\fBconfigtest\fR}
+.PP
+\&\fBl7directord\fR \fB\-t\fR [\fIconfiguration\fR]
+.PP
+\&\fBl7directord\fR \fB\-h|\-\-help\fR
+.PP
+\&\fBl7directord\fR \fB\-v|\-\-version\fR
+.SH "DESCRIPTION"
+.IX Header "DESCRIPTION"
+\&\fBl7directord\fR is a daemon to monitor and administer real servers in a
+cluster of load balanced virtual servers. \fBl7directord\fR is similar to \fBldirectord\fR
+in terms of functionality except that it triggers \fBl7vsadm\fR.
+\&\fBl7directord\fR typically is started from command line but can be included
+to start from heartbeat. On startup \fBl7directord\fR reads the file
+\&\fB/etc/ha.d/conf/\fR\fIconfiguration\fR.
+After parsing the file, entries for virtual servers are created on the UltraMonkey\-L7.
+Now at regular intervals the specified real servers are monitored and if
+they are considered alive, added to a list for each virtual server. If a
+real server fails, it is removed from that list. Only one instance of
+\&\fBl7directord\fR can be started for each configuration, but more instances of
+\&\fBl7directord\fR may be started for different configurations. This helps to
+group clusters of services.  This can be done by putting an entry inside
+\&\fB/etc/ha.d/haresources\fR
+.PP
+\&\fInodename virtual-ip-address l7directord::configuration\fR
+.PP
+to start l7directord from heartbeat.
+.SH "OPTIONS"
+.IX Header "OPTIONS"
+.IP "\fIconfiguration\fR:" 4
+.IX Item "configuration:"
+This is the name for the configuration as specified in the file
+\&\fB/etc/ha.d/conf/\fR\fIconfiguration\fR
+.IP "\fB\-d\fR" 4
+.IX Item "-d"
+Don't start as daemon. Useful for debugging.
+.IP "\fB\-h\fR" 4
+.IX Item "-h"
+Help. Print user manual of l7directord.
+.IP "\fB\-v\fR" 4
+.IX Item "-v"
+Version. Print version of l7directord.
+.IP "\fB\-t\fR" 4
+.IX Item "-t"
+Run syntax tests for configuration files only. The program immediately exits after these syntax parsing tests
+with either a return code of 0 (Syntax \s-1OK\s0) or return code not equal to 0 (Syntax Error).
+.IP "\fBstart\fR" 4
+.IX Item "start"
+Start the daemon for the specified configuration.
+.IP "\fBstop\fR" 4
+.IX Item "stop"
+Stop the daemon for the specified configuration. This is the same as sending
+a \s-1TERM\s0 signal to the running daemon.
+.IP "\fBrestart\fR" 4
+.IX Item "restart"
+Restart the daemon for the specified configuration. The same as stopping and starting.
+.IP "\fBtry-restart\fR" 4
+.IX Item "try-restart"
+Try to restart the daemon for the specified configuration. If l7directord is already running for the
+specified configuration, then the same is stopped and started (Similar to restart).
+However, if l7directord is not already running for the specified configuration, then an error message
+is thrown and the program exits.
+.IP "\fBreload\fR" 4
+.IX Item "reload"
+Reload the configuration file. This is only useful for modifications
+inside a virtual server entry. It will have no effect on adding or
+removing a virtual server block. This is the same as sending a \s-1HUP\s0 signal to
+the running daemon.
+.IP "\fBstatus\fR" 4
+.IX Item "status"
+Show status of the running daemon for the specified configuration.
+.IP "\fBconfigtest\fR" 4
+.IX Item "configtest"
+This is the same as \fB\-t\fR.
+.SH "SYNTAX"
+.IX Header "SYNTAX"
+.Sh "Description how to write configuration files"
+.IX Subsection "Description how to write configuration files"
+.IP "\fBvirtual = \fR\fI(ip_address|hostname:portnumber|servicename)\fR" 4
+.IX Item "virtual = (ip_address|hostname:portnumber|servicename)"
+Defines a virtual service by IP-address (or hostname) and port (or
+servicename). All real services and flags for a virtual
+service must follow this line immediately and be indented.
+For ldirectord, Firewall-mark settings could be set. But for l7directord
+Firewall-mark settings cannot be set.
+.IP "\fBchecktimeout = \fR\fIn\fR" 4
+.IX Item "checktimeout = n"
+Timeout in seconds for connect checks. If the timeout is exceeded then the
+real server is declared dead.  Default is 5 seconds. If defined in virtual
+server section then the global value is overridden.
+.IP "\fBnegotiatetimeout = \fR\fIn\fR" 4
+.IX Item "negotiatetimeout = n"
+Timeout in seconds for negotiate checks. Default is 5 seconds.
+If defined in virtual server section then the global value is overridden.
+.IP "\fBcheckinterval = \fR\fIn\fR" 4
+.IX Item "checkinterval = n"
+Defines the number of second between server checks. Default is 10 seconds.
+If defined in virtual server section then the global value is overridden.
+.IP "\fBretryinterval = \fR\fIn\fR" 4
+.IX Item "retryinterval = n"
+Defines the number of second between server checks when server status is \s-1NG\s0.
+Default is 10 seconds. If defined in virtual server section then the global
+value is overridden.
+.IP "\fBcheckcount = \fR\fIn\fR" 4
+.IX Item "checkcount = n"
+The number of times a check will be attempted before it is considered
+to have failed. Note that the checktimeout is additive, so if checkcount
+is 3 and checktimeout is 2 seconds and retryinterval is 1 second,
+then a total of 8 seconds (2 + 1 + 2 + 1 + 2) worth of timeout will occur
+before the check fails. Default is 1. If defined in virtual server section
+then the global value is overridden.
+.IP "\fBconfiginterval = \fR\fIn\fR" 4
+.IX Item "configinterval = n"
+Defines the number of second between configuration checks.
+Default is 5 seconds.
+.IP "\fBautoreload = \fR[\fByes\fR|\fBno\fR]" 4
+.IX Item "autoreload = [yes|no]"
+Defines if <l7directord> should continuously check the configuration file
+for modification each \fBconfiginterval\fR seconds. If this is set to \fByes\fR
+and the configuration file changed on disk and its modification time (mtime)
+is newer than the previous version, the configuration is automatically reloaded.
+Default is \fBno\fR.
+.ie n .IP "\fBcallback = ""\fR\fI/path/to/callback\fR\fB""\fR" 4
+.el .IP "\fBcallback = ``\fR\fI/path/to/callback\fR\fB''\fR" 4
+.IX Item "callback = ""/path/to/callback"""
+If this directive is defined, \fBl7directord\fR automatically calls
+the executable \fI/path/to/callback\fR after the configuration
+file has changed on disk. This is useful to update the configuration
+file through \fBscp\fR on the other heartbeated host. The first argument
+to the callback is the name of the configuration.
+.Sp
+This directive might also be used to restart \fBl7directord\fR automatically
+after the configuration file changed on disk. However, if \fBautoreload\fR
+is set to \fByes\fR, the configuration is reloaded anyway.
+.IP "\fBfallback = \fR\fIip_address|hostname[:portnumber|servicename]\fR [\fBmasq\fR]" 4
+.IX Item "fallback = ip_address|hostname[:portnumber|servicename] [masq]"
+the server onto which a web service is redirected if all real
+servers are down. Typically this would be 127.0.0.1 with
+an emergency page.
+.Sp
+This directive may also appear within a virtual server, in which
+case it will override the global fallback server, if set.
+Only a value of \fBmasq\fR can be specified here. The default is \fImasq\fR.
+.ie n .IP "\fBlogfile = ""\fR\fI/path/to/logfile\fR\fB""\fR|syslog_facility" 4
+.el .IP "\fBlogfile = ``\fR\fI/path/to/logfile\fR\fB''\fR|syslog_facility" 4
+.IX Item "logfile = ""/path/to/logfile""|syslog_facility"
+An alternative logfile might be specified with this directive. If the logfile
+does not have a leading '/', it is assumed to be a \fIsyslog\fR\|(3) facility name.
+.Sp
+The default is to log directly to the file \fI/var/log/l7vs/l7directord.log\fR.
+.ie n .IP "\fBexecute = ""\fR\fIconfiguration\fR\fB""\fR" 4
+.el .IP "\fBexecute = ``\fR\fIconfiguration\fR\fB''\fR" 4
+.IX Item "execute = ""configuration"""
+Use this directive to start an instance of l7directord for
+the named \fIconfiguration\fR.
+.IP "\fBsupervised\fR" 4
+.IX Item "supervised"
+If this directive is specified, the daemon does not go into background mode.
+All log-messages are redirected to stdout instead of a logfile.
+This is useful to run \fBl7directord\fR supervised from daemontools.
+See http://untroubled.org/rpms/daemontools/ or http://cr.yp.to/daemontools.html
+for details.
+.IP "\fBquiescent = \fR[\fByes\fR|\fBno\fR]" 4
+.IX Item "quiescent = [yes|no]"
+If \fByes\fR, then when real or fallback servers are determined
+to be down, they are not actually removed from the UltraMonkey\-L7,
+but set weight to zero.
+If \fBno\fR, then the real or fallback servers will be removed
+from the UltraMonkey\-L7. The default is \fByes\fR.
+.Sp
+This directive may also appear within a virtual server, in which
+case it will override the global fallback server, if set.
+.Sh "Section virtual"
+.IX Subsection "Section virtual"
+The following commands must follow a \fBvirtual\fR entry and must be indented
+with a minimum of 4 spaces or one tab.
+.ie n .IP "\fBreal =\fR \fIip_address|hostname[\->ip_address|hostname][:portnumber|servicename\fR] [\fBmasq\fR] [\fIn\fR] [\fB""\fR\fIrequest\fR\fB"", ""\fR\fIreceive\fR\fB""\fR]" 4
+.el .IP "\fBreal =\fR \fIip_address|hostname[\->ip_address|hostname][:portnumber|servicename\fR] [\fBmasq\fR] [\fIn\fR] [\fB``\fR\fIrequest\fR\fB'', ``\fR\fIreceive\fR\fB''\fR]" 4
+.IX Item "real = ip_address|hostname[->ip_address|hostname][:portnumber|servicename] [masq] [n] [""request, receive""]"
+Defines a real service by IP-address (or hostname) and port (or
+servicename). If the port is omitted then a 0 will be used.
+Optionally a range of \s-1IP\s0 addresses (or two hostnames) may be
+given, in which case each \s-1IP\s0 address in the range will be treated as a real
+server using the given port. The second argument defines the forwarding
+method, it must be \fBmasq\fR only.  The third argument defines the weight of
+each real service. This argument is optional. Default is 1. The last two
+arguments are optional too. They define a request-receive pair to be used to
+check if a server is alive. They override the request-receive pair in the
+virtual server section. These two strings must be quoted. If the request
+string starts with \fIhttp://...\fR the IP-address and port of the real server
+is overridden, otherwise the IP-address and port of the real server is used.
+.IP "\fBmodule =\fR \fIproto-module module-args [opt\-module\-args]\fR" 4
+.IX Item "module = proto-module module-args [opt-module-args]"
+Indicates the module parameter of \fBl7directord\fR. Here \fBproto-module\fR
+denotes the protocol module name (For example, pfilter). \fBmodule-args\fR denotes the
+arguments for the protocol module (For example, \-\-pattern\-match '*.html*').
+\&\fBmodule-args\fR is optional only when set \fBsessionless\fR, \fBip\fR and \fBsslid\fR module to \fBproto-module\fR.
+The last argument is optional (For example, \-\-reschedule).
+.Sh "More than one of these entries may be inside a virtual section:"
+.IX Subsection "More than one of these entries may be inside a virtual section:"
+.IP "\fBmaxconn =\fR \fIn\fR" 4
+.IX Item "maxconn = n"
+Defines the maximum connection that the virtual service can handle. If the number of
+requests cross the maxconn limit, the requests would be redirected to the
+sorry server.
+.IP "\fBqosup =\fR \fIn\fR[\fBK\fR|\fBM\fR|\fBG\fR]" 4
+.IX Item "qosup = n[K|M|G]"
+Defines the bandwidth quota size in bps for up stream. If the number of the
+bandwidth is over the qosup limit, a packet to the virtual service will be delayed
+until the number of bandwidth become below the qosup limit.
+\&\fBK\fR(kilo), \fBM\fR(mega) and \fBG\fR(giga) unit are available.
+.IP "\fBqosdown =\fR \fIn\fR[\fBK\fR|\fBM\fR|\fBG\fR]" 4
+.IX Item "qosdown = n[K|M|G]"
+Defines the bandwidth quota size in bps for down stream. If the number of the
+bandwidth is over the qosdown limit, a packet to the client will be delayed
+until the number of bandwidth become below the qosdown limit.
+\&\fBK\fR(kilo), \fBM\fR(mega) and \fBG\fR(giga) unit are available.
+.IP "\fBsorryserver =\fR\fIip_address|hostname[:portnumber|servicename]\fR" 4
+.IX Item "sorryserver =ip_address|hostname[:portnumber|servicename]"
+Defines a sorry server by IP-address (or hostname) and port (or
+servicename). Firewall-mark settings cannot be set.
+If the number of requests to the virtual service cross the maxconn limit, the requests would be
+redirected to the sorry server.
+.IP "\fBchecktype = negotiate\fR|\fBconnect\fR|\fIN\fR|\fBping\fR|\fBcustom\fR|\fBoff\fR|\fBon\fR" 4
+.IX Item "checktype = negotiate|connect|N|ping|custom|off|on"
+Type of check to perform. Negotiate sends a request and matches a receive
+string. Connect only attempts to make a \s-1TCP/IP\s0 connection, thus the
+request and receive strings may be omitted.  If checktype is a number then
+negotiate and connect is combined so that after each N connect attempts one
+negotiate attempt is performed. This is useful to check often if a service
+answers and in much longer intervals a negotiating check is done. Ping
+means that \s-1ICMP\s0 ping will be used to test the availability of real servers.
+Ping is also used as the connect check for \s-1UDP\s0 services. Custom means that
+custom command will be used to test the availability of real servers.
+Off means no checking will take place and no real or fallback servers will
+be activated.  On means no checking will take place and real servers will
+always be activated. Default is \fInegotiate\fR.
+.IP "\fBservice = ftp\fR|\fBsmtp\fR|\fBhttp\fR|\fBpop\fR|\fBnntp\fR|\fBimap\fR|\fBldap\fR|\fBhttps\fR|\fBdns\fR|\fBmysql\fR|\fBpgsql\fR|\fBsip\fR|\fBnone\fR" 4
+.IX Item "service = ftp|smtp|http|pop|nntp|imap|ldap|https|dns|mysql|pgsql|sip|none"
+The type of service to monitor when using checktype=negotiate. None denotes
+a service that will not be monitored. If the port specified for the virtual
+server is 21, 25, 53, 80, 110, 119, 143, 389, 443, 3306, 5432 or 5060 then
+the default is \fBftp\fR, \fBsmtp\fR, \fBdns\fR, \fBhttp\fR, \fBpop\fR, \fBnntp\fR, \fBimap\fR,
+\&\fBldap\fR, \fBhttps\fR, \fBmysql\fR, \fBpgsql\fR or \fBsip\fR respectively.  Otherwise the
+default service is \fBnone\fR.
+.IP "\fBcheckport = \fR\fIn\fR" 4
+.IX Item "checkport = n"
+Number of port to monitor. Sometimes check port differs from service port.
+Default is port specified for the real server.
+.ie n .IP "\fBrequest = ""\fR\fIuri to requested object\fR\fB""\fR" 4
+.el .IP "\fBrequest = ``\fR\fIuri to requested object\fR\fB''\fR" 4
+.IX Item "request = ""uri to requested object"""
+This object will be requested each checkinterval seconds on each real
+server.  The string must be inside quotes. Note that this string may be
+overridden by an optional per real-server based request\-string.
+.Sp
+For a \s-1DNS\s0 check this should the name of an A record, or the address
+of a \s-1PTR\s0 record to look up.
+.Sp
+For a MySQL or PostgreSQL checks, this should be a \s-1SQL\s0 query.
+The data returned is not checked, only that the
+answer is one or more rows.  This is a required setting.
+.ie n .IP "\fBreceive = ""\fR\fIregexp to compare\fR\fB""\fR" 4
+.el .IP "\fBreceive = ``\fR\fIregexp to compare\fR\fB''\fR" 4
+.IX Item "receive = ""regexp to compare"""
+If the requested result contains this \fIregexp to compare\fR, the real server
+is declared alive. The regexp must be inside quotes. Keep in mind that
+regexps are not plain strings and that you need to escape the special
+characters if they should as literals. Note that this regexp may be
+overridden by an optional per real-server based receive regexp.
+.Sp
+For a \s-1DNS\s0 check this should be any one the A record's addresses or
+any one of the \s-1PTR\s0 record's names.
+.Sp
+For a MySQL check, the receive setting is not used.
+.IP "\fBhttpmethod = \s-1GET\s0\fR|\fB\s-1HEAD\s0\fR" 4
+.IX Item "httpmethod = GET|HEAD"
+Sets the \s-1HTTP\s0 method, which should be used to fetch the \s-1URI\s0 specified in
+the request\-string. \s-1GET\s0 is the method used by default if the parameter is
+not set. If \s-1HEAD\s0 is used, the receive-string should be unset.
+.ie n .IP "\fBvirtualhost = ""\fR\fIhostname\fR\fB""\fR" 4
+.el .IP "\fBvirtualhost = ``\fR\fIhostname\fR\fB''\fR" 4
+.IX Item "virtualhost = ""hostname"""
+Used when using a negotiate check with \s-1HTTP\s0 or \s-1HTTPS\s0. Sets the host header
+used in the \s-1HTTP\s0 request.  In the case of \s-1HTTPS\s0 this generally needs to
+match the common name of the \s-1SSL\s0 certificate. If not set then the host
+header will be derived from the request url for the real server if present.
+As a last resort the \s-1IP\s0 address of the real server will be used.
+.ie n .IP "\fBlogin = ""\fR\fIusername\fR\fB""\fR" 4
+.el .IP "\fBlogin = ``\fR\fIusername\fR\fB''\fR" 4
+.IX Item "login = ""username"""
+Username to use to login to \s-1FTP\s0, \s-1POP\s0, \s-1IMAP\s0, MySQL and PostgreSQL servers.
+For \s-1FTP\s0, the default is anonymous. For \s-1POP\s0 and \s-1IMAP\s0, the default is the
+empty string, in which case authentication will not be attempted.
+For a MySQL and PostgreSQL, the username must be provided.
+.Sp
+For \s-1SIP\s0 the username is used as both the to and from address
+for an \s-1OPTIONS\s0 query. If unset it defaults to l7directord\e@<hostname>,
+hostname is derived as per the passwd option below.
+.ie n .IP "\fBpasswd = ""\fR\fIpassword\fR\fB""\fR" 4
+.el .IP "\fBpasswd = ``\fR\fIpassword\fR\fB''\fR" 4
+.IX Item "passwd = ""password"""
+Password to use to login to \s-1FTP\s0, \s-1POP\s0, \s-1IMAP\s0, MySQL and PostgreSQL servers.
+Default is for \s-1FTP\s0 is l7directord\e@<hostname>, where hostname is the
+environment variable \s-1HOSTNAME\s0 evaluated at run time, or sourced from uname
+if unset. The default for all other services is an empty password, in the
+case of MySQL and PostgreSQL this means authentication will not be
+performed.
+.ie n .IP "\fBdatabase = ""\fR\fIdatabasename\fR\fB""\fR" 4
+.el .IP "\fBdatabase = ``\fR\fIdatabasename\fR\fB''\fR" 4
+.IX Item "database = ""databasename"""
+Database to use for MySQL and PostgreSQL servers, this is the database that
+the query (set by \fBreceive\fR above) will be performed against.  This is a
+required setting.
+.IP "\fBscheduler =\fR \fIscheduler_name\fR" 4
+.IX Item "scheduler = scheduler_name"
+Scheduler to be used by UltraMonkey\-L7 for load balancing.
+The available schedulers are only \fBlc\fR and \fBrr\fR. The default is \fIrr\fR.
+.IP "\fBprotocol = tcp\fR" 4
+.IX Item "protocol = tcp"
+Protocol to be used. \fBl7vsadm\fR supports only \fBtcp\fR.
+Since the virtual is specified as an \s-1IP\s0 address and port, it would be tcp
+and will default to tcp.
+.ie n .IP "\fBrealdowncallback = ""\fR\fI/path/to/realdowncallback\fR\fB""\fR" 4
+.el .IP "\fBrealdowncallback = ``\fR\fI/path/to/realdowncallback\fR\fB''\fR" 4
+.IX Item "realdowncallback = ""/path/to/realdowncallback"""
+If this directive is defined, \fBl7directord\fR automatically calls
+the executable \fI/path/to/realdowncallback\fR after a real server's status
+changes to down. The first argument to the realdowncallback is the real 
+server's IP-address and port (ip_address:portnumber).
+.ie n .IP "\fBrealrecovercallback = ""\fR\fI/path/to/realrecovercallback\fR\fB""\fR" 4
+.el .IP "\fBrealrecovercallback = ``\fR\fI/path/to/realrecovercallback\fR\fB''\fR" 4
+.IX Item "realrecovercallback = ""/path/to/realrecovercallback"""
+If this directive is defined, \fBl7directord\fR automatically calls
+the executable \fI/path/to/realrecovercallback\fR after a real server's status
+changes to up. The first argument to the realrecovercallback is the real 
+server's IP-address and port (ip_address:portnumber).
+.ie n .IP "\fBcustomcheck = ""\fR\fIcustom check command\fR\fB""\fR" 4
+.el .IP "\fBcustomcheck = ``\fR\fIcustom check command\fR\fB''\fR" 4
+.IX Item "customcheck = ""custom check command"""
+If this directive is defined and set \fBchecktype\fR to custom, \fBl7directord\fR
+exec custom command for real servers health checking. Only if custom command
+returns 0, real servers will change to up. Otherwise real servers will change
+to down. Custom check command has some macro string. See below.
+.RS 4
+.IP "\fB_IP_\fR" 4
+.IX Item "_IP_"
+Change to real server \s-1IP\s0 address.
+.IP "\fB_PORT_\fR" 4
+.IX Item "_PORT_"
+Change to real server port number.
+.RE
+.RS 4
+.RE
+.SH "FILES"
+.IX Header "FILES"
+\&\fB/etc/ha.d/conf/l7directord.cf\fR
+.PP
+\&\fB/var/log/l7vs/l7directord.log\fR
+.PP
+\&\fB/var/run/l7directord.\fR\fIconfiguration\fR\fB.pid\fR
+.PP
+\&\fB/etc/services\fR
+.SH "SEE ALSO"
+.IX Header "SEE ALSO"
+l7vsadm, heartbeat
+.SH "AUTHORS"
+.IX Header "AUTHORS"
+\&\s-1NTT\s0 \s-1COMWARE\s0
diff --git a/man/l7directord.8.gz b/man/l7directord.8.gz
deleted file mode 100644 (file)
index 5b1285f..0000000
Binary files a/man/l7directord.8.gz and /dev/null differ
diff --git a/man/l7vsadm.8 b/man/l7vsadm.8
new file mode 100644 (file)
index 0000000..4192973
--- /dev/null
@@ -0,0 +1,326 @@
+.TH L7VSADM 8 "8 Dec 2008" "UltraMonkey-L7"
+.SH \e$BL>A0\e(B
+.B l7vsadm
+\- UltraMonkey-L7 \e$B4IM}%3%^%s%I\e(B
+.SH \e$B=q<0\e(B
+.B l7vsadm
+[\-A | \-E] \-t \fIservice\-address\fR:\fIserivice\-port\fR \-m \fIproto\-module\fR [\fImodule\-args\fR] [\-s \fIscheduler\fR] [\-u \fIconnection\-count\fR] [\-b \fIsorry\-server\fR] [\-f \fIsorry\-flag\fR] [\-Q \fIQoSval\-service\fR] [\-q \fIQoSval\-clients\fR]
+
+.B l7vsadm
+\-D \-t \fIservice\-address\fR:\fIserivice\-port\fR  \-m \fIproto\-module\fR [\fImodule\-args\fR]
+
+.B l7vsadm
+\-C
+
+.B l7vsadm
+[\-a | \-e] -t \fIservice\-address\fR:\fIserivice\-port\fR  \-m \fIproto\-module\fR [\fImodule\-args\fR] \-r \fIserver\-address\fR:\fIserver\-port\fR  [\-w \fIweight\fR]
+
+.B l7vsadm
+\-d \-t \fIservice\-address\fR:\fIserivice\-port\fR  \-m \fIproto\-module\fR [\fImodule\-args\fR] \-r \fIserver\-address\fR:\fIserver\-port\fR 
+
+.B l7vsadm
+\-R [\-s \fIreplication\-switch\fR | \-f | \-d]
+
+.B l7vsadm
+\-L \-c \fIlog\-category\fR \-l \fIlog\-level\fR
+
+.B l7vsadm
+\-P \-r \fIreload\-parameter\fR
+
+.B l7vsadm
+\-l [\-n]
+
+.B l7vsadm
+\-V [\-n]
+
+.B l7vsadm
+\-K [\-n]
+
+.B l7vsadm
+\-h
+
+.SH \e$B@bL@\e(B
+\fBl7vsadm\fR \e$B$O!$\e(BUltraMonkey\-L7 \e$B$NIi2YJ,;6%U%l!<%`%o!<%/$G$"$k\e(B \fBl7vsd\fR \e$B$N@)8f$r9T$&%3%^%s%I$G$"$k!%\e(B
+.PP
+\e$B3F%*%W%7%g%s$r;XDj$9$k$3$H$G!$2>A[%5!<%S%9$N>uBV4F;k!&DI2C!&:o=|!&JQ99!$%l%W%j%1!<%7%g%s5!G=$N3+;O!&Dd;_!$%m%0%l%Y%k$NF0E*JQ99$r9T$&$3$H$,$G$-$k!%\e(B
+
+.SH \e$B%3%^%s%I\e(B
+
+.TP
+.B "\-A, \-\-add\-service"
+\e$B2>A[%5!<%S%9$NDI2C$r9T$&!%8e=R$N\e(B \-t, \-m \e$B%*%W%7%g%s$rF1;~$K;XDj$9$kI,MW$,$"$k!%\e(B
+
+.TP
+.B "\-E, \-\-edit\-service"
+\e$B8=:_EPO?$5$l$F$$$k2>A[%5!<%S%9$NJQ99$r9T$&!%8e=R$N\e(B \-t, \-m \e$B%*%W%7%g%s$rF1;~$K;XDj$9$kI,MW$,$"$k!%\e(B
+
+.TP
+.B "\-D, \-\-delete\-service"
+\e$B8=:_EPO?$5$l$F$$$k2>A[%5!<%S%9$r:o=|$9$k!%8e=R$N\e(B \-t, \-m \e$B%*%W%7%g%s$rF1;~$K;XDj$9$kI,MW$,$"$k!%\e(B
+
+.TP
+.B "\-C, \-\-flush"
+\e$B8=:_EPO?$5$l$F$$$k2>A[%5!<%S%9$r!$$9$Y$F:o=|$9$k!%\e(B
+
+.TP
+.B "\-a, \-\-add\-server"
+\e$B2>A[%5!<%S%9$KBP$7$F%j%"%k%5!<%P$rDI2C$9$k!%\e(B\-A \e$B$^$?$O\e(B \-E \e$B%3%^%s%I<B9T;~$K;XDj$7$?\e(B \fIservice-address\fR:\fIserivice\-port\fR, \fIproto-module\fR \e$B$rF1;~$K;XDj$7!$\e(B\-r \e$B%*%W%7%g%s$G%j%"%k%5!<%P$N>pJs$rM?$($k!%\e(B
+.br 
+\e$B!V\e(Bl7vsadm \-A \-t 192.168.0.1:80 \-m cinsert\e$B!W$H$7$FDI2C$7$?2>A[%5!<%S%9$K\e(B 192.168.0.100:80 \e$B$N%j%"%k%5!<%P$rDI2C$9$k>l9g$O!$!V\e(Bl7vsadm \-a \-t 192.168.0.1:80 \-m cinsert \-r 192.168.0.100:80\e$B!W$r<B9T$9$k!%\e(B
+
+.TP
+.B "\-e, \-\-edit\-server"
+\e$B8=:_EPO?$5$l$F$$$k%j%"%k%5!<%P$NJQ99$r9T$&!%\e(B\-A \e$B$^$?$O\e(B \-E \e$B%3%^%s%I<B9T;~$K;XDj$7$?\e(B \fIservice-address\fR:\fIserivice\-port\fR, \fIproto-module\fR \e$B$rF1;~$K;XDj$7!$\e(B\-r \e$B%*%W%7%g%s$G%j%"%k%5!<%P$N>pJs$rM?$($k!%\e(B
+.br 
+\e$B!V\e(Bl7vsadm \-A \-t 192.168.0.1:80 \-m cinsert\e$B!W$H$7$FDI2C$7$?2>A[%5!<%S%9$KDI2C$5$l$?\e(B 192.168.0.100:80 \e$B$N%j%"%k%5!<%P$N\e(B weight \e$B$r\e(B 10 \e$B$KJQ99$9$k>l9g$O!$!V\e(Bl7vsadm \-e \-t 192.168.0.1:80 \-m cinsert \-r 192.168.0.100:80 \-w 10\e$B!W$r<B9T$9$k!%\e(B
+
+.TP
+.B "\-d, \-\-delete\-server"
+\e$B8=:_EPO?$5$l$F$$$k%j%"%k%5!<%P$r:o=|$9$k!%\e(B\-A \e$B$^$?$O\e(B \-E \e$B%3%^%s%I<B9T;~$K;XDj$7$?\e(B \fIservice-address\fR:\fIserivice\-port\fR, \fIproto-module\fR \e$B$rF1;~$K;XDj$7!$\e(B\-r \e$B%*%W%7%g%s$G%j%"%k%5!<%P$N>pJs$rM?$($k!%\e(B
+.br 
+\e$B!V\e(Bl7vsadm \-A \-t 192.168.0.1:80 \-m cinsert\e$B!W$H$7$FDI2C$7$?2>A[%5!<%S%9$K\e(B 192.168.0.100:80 \e$B$N%j%"%k%5!<%P$r:o=|$9$k>l9g$O!$!V\e(Bl7vsadm \-d \-t 192.168.0.1:80 \-m cinsert \-r 192.168.0.100:80\e$B!W$r<B9T$9$k!%\e(B
+
+.TP
+.B "\-R, \-\-replication"
+\e$B%l%W%j%1!<%7%g%s4XO"$N@_DjJQ99$r9T$&!%2<5-$N%*%W%7%g%s$rF1;~$K;XDj$9$kI,MW$,$"$k!%\e(B
+
+.TP
+.B "\-L, \-\-log"
+\e$B%m%0%l%Y%k$NJQ99$r9T$&!%\e(B\fB\-c\fR \e$B%*%W%7%g%s$rF1;~$K;XDj$9$kI,MW$,$"$k!%\e(B
+
+.TP
+.B "\-P, \-\-parameter"
+\e$B@_Dj%U%!%$%k$N%j%m!<%I$r9T$&!%\e(B \-r \e$B%*%W%7%g%s$rF1;~$K;XDj$9$kI,MW$,$"$k!%\e(B
+
+.TP
+.B \-l, \-\-list
+\e$B8=:_EPO?$5$l$F$$$k2>A[%5!<%S%9$N0lMw$rI=<($9$k!%\e(B
+
+.TP
+.B \-K \-\-key
+\e$B8=:_EPO?$5$l$F$$$k2>A[%5!<%S%9$N0lMw$r!$%-!<>pJs$r4^$s$@7A<0$GI=<($9$k!%\e(B
+
+.TP
+.B \-V, \-\-verbose
+\e$B8=:_EPO?$5$l$F$$$k2>A[%5!<%S%9$H!$\e(Bl7vsd \e$B$*$h$S\e(B l7vsadm \e$B$N3F<o@_DjCM$rI=<($9$k!%\e(B
+
+.TP
+.B \-h \-\-help
+\e$B%X%k%W%a%C%;!<%8$rI=<($9$k!%\e(B
+
+
+.SH \e$B%*%W%7%g%s\e(B
+
+.TP
+.B "\-t , \-\-tcp\-service \fIservice\-address\fR"
+TCP \e$B%5!<%S%9$r:n@.$9$k!%\e(B\fIservice\-address\fR \e$B$K$O!$\e(B"address:port" \e$B7A<0$G%(%s%I%]%$%s%H$H$9$k\e(B IP \e$B%"%I%l%9$H%]!<%HHV9f$r;XDj$9$k!%\e(Baddress \e$B$K$O%[%9%HL>$^$?$O==?JI=5-$N\e(B IP \e$B%"%I%l%9$,;XDj2DG=$G$"$k!%\e(B
+
+.TP
+.B "\-m , \-\-proto\-module \fIproto\-module\fR \fI[module\-args]\fR"
+\e$B%W%m%H%3%k%b%8%e!<%k$r;XDj$9$k!%\e(B\fIproto\-module\fR \e$B$NCM$O!$\e(B\fBcinsert\fR, \fBurl\fR, \fBsslid\fR, \fBsessionless\fR \e$B$N$$$:$l$+$G$J$1$l$P$J$i$J$$!%\e(B\fImodule\-args\fR \e$B$K$h$C$F!$%W%m%H%3%k%b%8%e!<%k$N%Q%i%a!<%?$r@_Dj$9$k!%\e(B
+
+.TP
+.B "\-s, \-\-scheduler \fIscheduler\fR"
+\e$B;HMQ$9$k%9%1%8%e!<%i$r;XDj$9$k!%\e(B\fIscheduler\fR \e$B$NCM$O!$\e(B\fBrr\fR, \fBlc\fR, \fBwrr\fR \e$B$N$$$:$l$+$G$J$1$i$P$J$i$J$$!%\e(B\fB\-A\fR, \fB-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-u, \-\-upper \fIconnection\-count\fR"
+\e$B:GBg%3%M%/%7%g%s?t$r;XDj$9$k!%\e(B\fIconnection\-count\fR \e$B$O\e(B 0 \e$B$+$i\e(B 100000 \e$B$NHO0O$G;XDj$9$k!%\e(B\fB\-A\fR, \fB\-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-b, \-\-bypass \fIsorry\-server\fR"
+\e$B%"%/%F%#%V$J%3%M%/%7%g%s?t$,\e(B \fI\-u\fR \e$B%*%W%7%g%s$G;XDj$7$?%3%M%/%7%g%s?t$KC#$7$?>l9g$K!$%j%/%(%9%H$rE>Aw$9$k%5!<%P$r@_Dj$9$k!%\e(B\fIsorry\-server\fR \e$B$K$O!$\e(B"address:port" \e$B7A<0$G%(%s%I%]%$%s%H$H$9$k\e(B IP \e$B%"%I%l%9$H%]!<%HHV9f$r;XDj$9$k!%\e(Baddress \e$B$K$O%[%9%HL>$^$?$O==?JI=5-$N\e(B IP \e$B%"%I%l%9$,;XDj2DG=$G$"$k!%\e(B\fB\-A\fR, \fB\-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-f, \-\-flag \fIsorry\-flag\fR"
+sorry\-server \e$B$X%j%/%(%9%H$rE>Aw$9$k%U%i%0$r%;%C%H$^$?$O2r=|$9$k!%\e(B1 \e$B$^$?$O\e(B 0 \e$B$r;XDj$9$k!%\e(B\fB\-A\fR, \fB\-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-Q, \-\-qos\-up \fIQoSVal\-up\fR"
+\e$B>e$j!J%/%i%$%"%s%H$+$i%j%"%k%5!<%PJ}8~!K$N@)8BBS0hI}$r@_Dj$9$k!%\e(B\fB\-A\fR, \fB\-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-q, \-\-qos\-down \fIQoSVal\-down\fR"
+\e$B2<$j!J%j%"%k%5!<%P$+$i%/%i%$%"%s%HJ}8~!K$N@)8BBS0hI}$r@_Dj$9$k!%\e(B\fB\-A\fR, \fB\-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-r, \-\-real\-server \fIserver\-address\fR"
+\e$B%j%/%(%9%H$rE>Aw$9$k%j%"%k%5!<%P$r@_Dj$9$k!%\e(B\fIserver\-address\fR \e$B$K$O!$\e(B"address:port" \e$B7A<0$G%(%s%I%]%$%s%H$H$9$k\e(B IP \e$B%"%I%l%9$H%]!<%HHV9f$r;XDj$9$k!%\e(Baddress \e$B$K$O%[%9%HL>$^$?$O==?JI=5-$N\e(B IP \e$B%"%I%l%9$,;XDj2DG=$G$"$k!%\e(B\fB\-A\fR, \fB\-E\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-w, \-\-weight \fIweight\fR"
+\e$B%j%"%k%5!<%P$X?6$jJ,$1$k:]$N=E$_$r@_Dj$9$k!%\e(B\fB\-r\fR \e$B%*%W%7%g%s$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-s , \-\-status \fIreplication\-switch\fR"
+\e$B%l%W%j%1!<%7%g%s5!G=$NF0:n$r3+;O!&Dd;_$9$k!%\e(B\fIreplication\-switch\fR \e$B$NCM$O!$2<5-$N$$$:$l$+$G$J$1$l$P$J$i$J$$!%\e(B\fB\-R\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+.RS
+.TP
+.B "start"
+\e$B%l%W%j%1!<%7%g%s5!G=$NF0:n$r3+;O$9$k!%\e(B
+
+.TP
+.B "stop"
+\e$B%l%W%j%1!<%7%g%s5!G=$rDd;_$9$k!%\e(B
+.RE
+
+.TP
+.B "\-f, \-\-force"
+\e$B6/@)E*$K%l%W%j%1!<%7%g%s$r<B9T$9$k!%\e(B\fB\-R\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-d, \-\-dump"
+\e$B%l%W%j%1!<%7%g%s>pJs$rI8=`=PNO$K%@%s%W$9$k!%\e(B\fB\-R\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+.TP
+.B "\-c , \-\-category \fIlog\-category\fR"
+\e$B@_Dj$rJQ99$9$k%m%0$N%+%F%4%j$r;XDj$9$k!%\e(B\fIlog\-category\fR \e$B$NCM$O!$2<5-$N$$$:$l$+$G$J$1$l$P$J$i$J$$!%\e(B
+.RS
+.TP
+.B "l7vsd_network, nw"
+\e$B%M%C%H%o!<%/4XO"$9$Y$F\e(B
+
+.TP
+.B "l7vsd_network.bandwidth, nw.bw"
+\e$B%M%C%H%o!<%/4XO"!JBS0hI}4XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_network.num_connection, nw.conn"
+\e$B%M%C%H%o!<%/4XO"!J%3%M%/%7%g%s?t$N$_!K\e(B
+
+.TP
+.B "l7vsd_network.qos, nw.qos"
+\e$B%M%C%H%o!<%/4XO"!J\e(BQoS \e$B4XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_virtual_service, vs"
+\e$B2>A[%5!<%S%94XO"\e(B
+
+.TP
+.B "l7vsd_real_server, rs"
+\e$B%j%"%k%5!<%P4XO"$9$Y$F\e(B
+
+.TP
+.B "l7vsd_real_server.balancing, rs.bal"
+\e$B%j%"%k%5!<%P4XO"!J%m!<%I%P%i%s%94XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_sorry_server, sorry"
+Sorry \e$B%5!<%P4XO"\e(B
+
+.TP
+.B "l7vsd_replicatio, rep"
+Replication \e$B5!G=4XO"\e(B
+
+.TP
+.B "l7vsd_start_stop, stastp"
+\e$B5/F0!&=*N;4XO"\e(B
+
+.TP
+.B "l7vsd_system, sys"
+\e$B%U%l!<%`%o!<%/4XO"$9$Y$F\e(B
+
+.TP
+.B "l7vsd_system.memory, sys.mem"
+\e$B%U%l!<%`%o!<%/4XO"!J%a%b%j4IM}4XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_system.socket, sys.sock"
+\e$B%U%l!<%`%o!<%/4XO"!J%=%1%C%H4XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_system.signal, sys.sig"
+\e$B%U%l!<%`%o!<%/4XO"!J%7%0%J%k=hM}4XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_environment, env"
+\e$B4D6-4XO"$9$Y$F\e(B
+
+.TP
+.B "l7vsd_environment.parameter, env.para"
+\e$B4D6-4XO"!J@_Dj%U%!%$%k4XO"$N$_!K\e(B
+
+.TP
+.B "l7vsd_logger, logger"
+\e$B%m%0=PNO4XO"\e(B
+
+.TP
+.B "l7vsd_parameter, para"
+
+.TP
+.B "l7vsd_event, event"
+\e$B%$%Y%s%H4IM}5!9=4XO"\e(B
+
+.TP
+.B "l7vsd_schedule, sched"
+\e$B%9%1%8%e!<%i4XO"\e(B
+
+.TP
+.B "l7vsd_program, prog"
+\e$BK\BNFbIt=hM}4XO"\e(B
+
+.TP
+.B "l7vsd_protocol, prot"
+\e$B%W%m%H%3%k%b%8%e!<%k4XO"\e(B
+
+.TP
+.B "l7vsd_module, mod"
+\e$B%b%8%e!<%k4XO"\e(B
+
+.TP
+.B "all"
+\e$B$9$Y$F$N%m%0\e(B
+
+.RE
+
+.TP
+.B -l , \-\-level \fIlevel\fR
+\e$B%m%0%l%Y%k$r;XDj$9$k!%\e(B\fBfatal\fR, \fBerror\fR, \fBwarn\fR, \fBinfo\fR, \fBdebug\fR \e$B$N$$$:$l$+$G$J$1$l$P$J$i$J$$!%!%\e(B
+
+.TP
+.B "\-r, \-\-reload \fIreload\-parameter\fR"
+\e$B%j%m!<%I$9$k%;%/%7%g%s$r;XDj$9$k!%\e(B\fIreload\-parameter\fR \e$B$K;XDj$9$kCM$O!$2<5-$N$$$:$l$+$G$J$1$l$P$J$i$J$$!%\e(B
+.RS
+.TP
+.B "all"
+\e$B$9$Y$F$N%;%/%7%g%s\e(B
+
+.TP
+.B "replication"
+\e$B%l%W%j%1!<%7%g%s%;%/%7%g%s\e(B
+
+.TP
+.B "replication"
+logger \e$B%;%/%7%g%s\e(B
+
+.RE
+
+.TP
+.B "\-n, \-\-numeric"
+\e$B%[%9%HL>!&%5!<%S%9%]!<%HHV9f$r2r7h$;$:$K!$\e(BIP \e$B%"%I%l%9!&%]!<%HHV9f$GI=<($9$k!%\e(B\fB\-l\fR, \fB\-K\fR, \fB\-V\fR \e$B%3%^%s%I$G;HMQ$9$k!%\e(B
+
+
+.SH \e$B;HMQJ}K!\e(B
+
+.TP
+.B 192.168.0.10:80 \e$B$KBP$7$F!$\e(Bsessionless \e$B%b%8%e!<%k$rMQ$$$F!$%i%&%s%I%m%S%sJ}<0$GIi2YJ,;6$r9T$&2>A[%5!<%S%9$r:n@.$9$k>l9g\e(B
+
+.RS
+.B l7vsadm \-A \-t 192.168.0.10:80 \-m sessionless \-s rr
+.RE
+
+.TP
+.B \e$B>e5-2>A[%5!<%S%9$KBP$7$F\e(B 192.168.0.200:80 \e$B$N%j%"%k%5!<%P$r;H$$$9$k>l9g\e(B
+
+.RS
+.B l7vsadm \-a \-t 192.168.0.10:80 \-m sessionless \-r 192.168.0.200:80
+.RE
+
+.SH \e$B4XO"9`L\\e(B
+.BR l7vsd (8)
+.SH \e$BCm0U\e(B
+\e$BK\%W%m%0%i%`$K$OJF\e(B F5 \e$B<R$,=jM-$9$kJF9qFC5v\e(B 6,374,300 6,473,802 "Method and system for storing load balancing information with an HTTP cookie" \e$B$N<BAu$r4^$s$G$$$k$?$a!$;HMQ$OF|K\9qFb8BDj$H$9$k!%\e(B
+.PP
+Due to a possible conflict with an U.S. patent owned by F5 Networks, the use of the cookie-based persistence module included in this package is restricted to Japan.
+.PP
+\e$B$3$N%W%m%0%i%`$K4X$9$kLd$$9g$o$;$O!$\e(Bultramonkey-l7-users@lists.sourceforge.jp \e$B08$F$K%a!<%k$rAwIU$7$F$/$@$5$$!%\e(B
diff --git a/man/l7vsadm.8.gz b/man/l7vsadm.8.gz
deleted file mode 100644 (file)
index d0ab01a..0000000
Binary files a/man/l7vsadm.8.gz and /dev/null differ
diff --git a/man/l7vsd.8 b/man/l7vsd.8
new file mode 100644 (file)
index 0000000..39790a0
--- /dev/null
@@ -0,0 +1,41 @@
+.TH L7VSD 8 "8 Dec 2008" "UltraMonkey-L7"
+.SH \e$BL>A0\e(B
+.B l7vsd
+\- UltraMonkey-L7 \e$BIi2YJ,;6%U%l!<%`%o!<%/\e(B
+.SH \e$B=q<0\e(B
+.B l7vsd [\-d | \-b | \-h ]
+
+.SH \e$B@bL@\e(B
+\fBl7vsd\fR \e$B$O!$\e(BUltraMonkey\-L7 \e$B$N<gBN$H$J$kIi2YJ,;6%U%l!<%`%o!<%/$G$"$k!%\e(B
+.BR
+\e$B5/F0$9$k$H%G!<%b%s$H$7$FF0:n$9$k$?$a!$\e(B\fBl7vsadm(8)\fR \e$B%3%^%s%I$r;HMQ$7$FIi2YJ,;6%U%l!<%`%o!<%/$NA`:n$r9T$&!%\e(B
+
+.SH \e$B%*%W%7%g%s\e(B
+.TP
+.B "\-d"
+\e$B%G%P%C%0%b!<%I$G5/F0$9$k!%\e(B
+
+.TP
+.B "\-b"
+\e$B%V%m%C%-%s%0%b!<%I$G5/F0$9$k!%\e(B
+
+.TP
+.B "\-h"
+\e$B%X%k%W%a%C%;!<%8$rI=<($9$k!%\e(B
+
+.SH \e$B@_Dj%U%!%$%k\e(B
+.TP
+.B UltraMonkey-L7 \e$B@_Dj%U%!%$%k\e(B
+
+.RS
+.B /etc/l7vs/l7vs.cf
+.RE
+
+.SH \e$B4XO"9`L\\e(B
+.BR l7vsadm (8)
+.SH \e$BCm0U\e(B
+\e$BK\%W%m%0%i%`$K$OJF\e(B F5 \e$B<R$,=jM-$9$kJF9qFC5v\e(B 6,374,300 6,473,802 "Method and system for storing load balancing information with an HTTP cookie" \e$B$N<BAu$r4^$s$G$$$k$?$a!$;HMQ$OF|K\9qFb8BDj$H$9$k!%\e(B
+.PP
+Due to a possible conflict with an U.S. patent owned by F5 Networks, the use of the cookie-based persistence module included in this package is restricted to Japan.
+.PP
+\e$B$3$N%W%m%0%i%`$K4X$9$kLd$$9g$o$;$O!$\e(Bultramonkey-l7-users@lists.sourceforge.jp \e$B08$F$K%a!<%k$rAwIU$7$F$/$@$5$$!%\e(B
diff --git a/man/l7vsd.8.gz b/man/l7vsd.8.gz
deleted file mode 100644 (file)
index d8b027d..0000000
Binary files a/man/l7vsd.8.gz and /dev/null differ