
Chapter 2: mx Commands 49
Copyright © 1999-2005 PolyServe, Inc. All rights reserved.
To specify a command affecting a class, use this syntax:
<class> <command> <arguments>
For example, the following command displays the status of servers that
are currently up:
mx server status --up
You can specify --help to see a short command synopsis for each class.
mx device – device monitor commands
Use the following commands to configure device monitors or to display
their status.
Add a device monitor:
mx device add --servers <server1>,<server2>,...
[optional-arguments] <devicename> ...
--servers specifies the server or servers that use the monitored device. The
<devicename> can include up to 32 characters.
The arguments are:
[--timeout <seconds>]
The maximum amount of time to wait for a probe of the device to
complete. For
DISK, GATEWAY, and SHARED_FILESYSTEM device
monitors, the default is five seconds. For
CUSTOM device monitors, the
default is 60 seconds.
[--frequency <seconds>]
The interval at which the monitor probes the device. For DISK and
SHARED_FILESYSTEM device monitors, the default is 30 seconds. For
GATEWAY device monitors, the default is five seconds. For CUSTOM
device monitors, the default is 60 seconds.
snapshot Snapshot
vhost Virtual host
vnfs Virtual NFS Service
Class Cluster Object
Kommentare zu diesen Handbüchern