Command Reference Guide
Chapter 2: mx Commands 82
Copyright © 1999-2006 PolyServe, Inc. All rights reserved.
[--stopScript <script>]
A script that runs on all other servers configured for the service monitor to
ensure that the service is not active on those servers.
[--stopTimeout <seconds>]
The amount of time to wait for the Stop script to complete.
[--eventSeverity consider|ignore]
Whether Matrix Server takes service monitor events (such as a failure or
timeout of a Start or Stop script) into consideration when it makes failover
decisions. The default is consider.
[--priority <priority>] <vhost:port>
The priority of the service monitor in relation to other service monitors.
priority is a natural number; 0 is the highest priority. Matrix Server uses the
priority when failing over the virtual host associated with the monitor. If
multiple failures have occurred, all of the services associated with the
virtual host may not be available on one server. In this case, Matrix Server
will fail over to a network interface on a server running the highest priority
service. The default priority is 0.
Modify (update) an existing service monitor:
mx service update [arguments] <vhost:port> ...
The arguments are the same as service add, with the exception that the type
argument is not allowed.
Enable a service monitor:
mx service enable <vhost:port> <server> ...
Disable a service monitor:
mx service disable <vhost:port> <server> ...
Delete a service monitor:
mx service delete <vhost:port>
Clear a monitor event:
mx service clear <vhost:port> <server> ...
Display the status of a service monitor:
mx service status [arguments] [<vhost:port>]