
Chapter 2: mx Commands 62
Copyright © 1999-2005 PolyServe, Inc. All rights reserved.
Enable one or more previously disabled servers:
mx server enable <server> ...
Display server status:
mx server status [--enabled|--disabled] [--up|--down]
[<server> ...]
Dump the server configuration to stdout:
mx server dump
mx service – service monitor commands
Use the following commands to configure service monitors or to display
their status.
Add a service monitor:
mx service add [arguments] <vhost:port> ...
The arguments are:
[--timeout <seconds>]
The maximum amount of time to wait for a probe of the service to
complete. For
CUSTOM service monitors, the default is 60 seconds. For all
other service monitors, the default is five seconds.
[--frequency <seconds>]
The interval of time at which the monitor probes the service. For
CUSTOM service monitors, the default is 60 seconds. For all other service
monitors, the default is 30 seconds.
[--type <type>]
The type of service monitor (FTP, HTTP, IMAP4, NFS, NIS, NNTP, POP3,
SMTP, TCP, CUSTOM
).
[--probeSeverity nofailover|autorecover|noautorecover]
The failover behavior for the service monitor. nofailover prevents
failover of the virtual host when the monitored service fails. autorecover
fails over the virtual host and, when the service is restored, fails the
virtual host back to the original network interface. noautorecover fails
over the virtual host but does not fail it back after the service is restored.
autorecover is the default.
Kommentare zu diesen Handbüchern