Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stonith_admin(8) [debian man page]

PACEMAKER(8)						  System Administration Utilities					      PACEMAKER(8)

NAME
Pacemaker - Part of the Pacemaker cluster resource manager SYNOPSIS
stonith_admin mode [options] DESCRIPTION
stonith_admin - Provides access to the stonith-ng API. Allows the administrator to add/remove/list devices, check device and host status and fence hosts OPTIONS
-?, --help This text -$, --version Version information -V, --verbose Increase debug output -q, --quiet Print only essential output Commands: -l, --list=value List devices that can terminate the specified host -L, --list-registered List all registered devices -I, --list-installed List all installed devices -M, --metadata Check the device's metadata -Q, --query=value Check the device's status -F, --fence=value Fence the named host -U, --unfence=value Unfence the named host -B, --reboot=value Reboot the named host -C, --confirm=value Confirm the named host is now safely down -H, --history=value Retrieve last fencing operation -R, --register=value Register the named stonith device. Requires: --agent, optional: --option -D, --deregister=value De-register the named stonith device -r, --register-level=value Register a stonith level for the named host. Requires: --index, one or more --device entries -d, --deregister-level=value De-register a stonith level for the named host. Requires: --index Options and modifiers: -a, --agent=value The agent (eg. fence_xvm) to instantiate when calling with --register -e, --env-option=value -o, --option=value -v, --device=value A device to associate with a given host and stonith level -i, --index=value The stonith level (1-9) -t, --timeout=value Operation timeout in seconds -L, --list-all legacy alias for --list-registered AUTHOR
Written by Andrew Beekhof REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org Pacemaker 1.1.7 April 2012 PACEMAKER(8)

Check Out this Related Man Page

PACEMAKER(8)						  System Administration Utilities					      PACEMAKER(8)

NAME
Pacemaker - Part of the Pacemaker cluster resource manager SYNOPSIS
crm_mon mode [options] DESCRIPTION
crm_mon - Provides a summary of cluster's current state. Outputs varying levels of detail in a number of different formats. OPTIONS
-?, --help This text -$, --version Version information -V, --verbose Increase debug output -Q, --quiet Display only essential output Modes: -h, --as-html=value Write cluster status to the named html file -X, --as-xml Write cluster status as xml to stdout. -w, --web-cgi Web mode with output suitable for cgi -s, --simple-status Display the cluster status once as a simple one line output (suitable for nagios) -S, --snmp-traps=value Send SNMP traps to this station -C, --snmp-community=value Specify community for SNMP traps(default is NULL) -T, --mail-to=value Send Mail alerts to this user. See also --mail-from, --mail-host, --mail-prefix Display Options: -n, --group-by-node Group resources by node -r, --inactive Display inactive resources -f, --failcounts Display resource fail counts -o, --operations Display resource operation history -t, --timing-details Display resource operation history with timing details -A, --show-node-attributes Display node attributes -c, --tickets Display cluster tickets Additional Options: -i, --interval=value Update frequency in seconds -1, --one-shot Display the cluster status once on the console and exit -N, --disable-ncurses Disable the use of ncurses -d, --daemonize Run in the background as a daemon -p, --pid-file=value (Advanced) Daemon pid file location -F, --mail-from=value Mail alerts should come from the named user -H, --mail-host=value Mail alerts should be sent via the named host -P, --mail-prefix=value Subjects for mail alerts should start with this string -E, --external-agent=value A program to run when resource operations take place. -e, --external-recipient=value A recipient for your program (assuming you want the program to send something to someone). EXAMPLES
Display the cluster status on the console with updates as they occur: # crm_mon Display the cluster status on the console just once then exit: # crm_mon -1 Display your cluster status, group resources by node, and include inactive resources in the list: # crm_mon --group-by-node --inactive Start crm_mon as a background daemon and have it write the cluster status to an HTML file: # crm_mon --daemonize --as-html /path/to/docroot/filename.html Start crm_mon and export the current cluster status as xml to stdout, then exit.: # crm_mon --one-shot --as-xml Start crm_mon as a background daemon and have it send email alerts: # crm_mon --daemonize --mail-to user@example.com --mail-host mail.example.com Start crm_mon as a background daemon and have it send SNMP alerts: # crm_mon --daemonize --snmp-traps snmptrapd.example.com AUTHOR
Written by Andrew Beekhof REPORTING BUGS
Report bugs to pacemaker@oss.clusterlabs.org Pacemaker 1.1.7 April 2012 PACEMAKER(8)
Man Page