間違いだらけの備忘録

このページの内容は無保証でありこのページの内容によって直接、または間接に損害を受けられたとしても私は責任を取りません。

Heartbeat動作確認

# crm_mon -1

============
Last updated: 
Current DC: servername1
2 Nodes configured.
1 Resources configured.
============

Node: servername2 (xxxxxxxx): online
Node: servername1 (xxxxxxxx): online

Resource Group: group_xx
    resource_ip (heartbeat::ocf:IPaddr):        Started servername1

crm_monにはmanページが無いようだ。

# crm_mon --help
Argument code 077 (?) is not (?yet?) supported
usage: crm_mon [-V?i:nrh:cdp:s1wX:]
        --help (-?)     : This text
        --verbose (-V)  : Increase the debug output
        --interval (-i) <seconds>       : Update frequency
        --group-by-node (-n)    :Group resources by node
        --inactive (-r)         :Display inactive resources
        --as-console (-c)       : Display cluster status on the console
        --simple-status (-s)    : Display the cluster status once as a simple one line output (suitable for na
gios)
        --one-shot (-1)         : Display the cluster status once on the console and exit (doesnt use ncurses)

        --as-html (-h) <filename>       : Write cluster status to the named file
        --web-cgi (-w)  : Web mode with output suitable for cgi
        --daemonize (-d)        : Run in the background as a daemon
        --pid-file (-p) <filename>      : Daemon pid file location

環境 heartbeat-2.1.3
めも

このページにはhatena以外のサービスからのコンテンツが埋め込まれています。 hatenaによりGoogle AdSense 広告が埋め込まれています。