lhbadm(8)

NAME
lhbadm - Lustre failover utility

SYNOPSIS
lhbadm {failover|failback} reason ...
pdsh -g lustre lhbadm status | dshbak -c

DESCRIPTION
lhbadm simlifies heartbeat administration on Lustre clusters. It offers the following operations:

status
    Print a single line status message consisting of the heartbeat resource status a hyphen, and lustre status. Under normal circumstatus, server status should be local-local.

failover reason ...
    Initiate failover of local services (and foreign if active) to the failover partner. The command blocks until the transition is complete, which includes starting lustre on the partner node. Initiation and completion of failover is logged to the syslog user.err facility.

failback reason ...
    Initiate failback of the local services from the failover partner. The command blocks until the transition is complete, which includes starting lustre. Initiation and completion of failback is logged to the syslog user.err facility.

HEARTBEAT STATUS VALUES
The heartbeat resource status values returned by lhbadm status may be one of the following:

local
    Hearbeat expects only the local services to be running.

none
    Hearbeat expects no services to be running.

all Hearbeat expects local and foreign services to be running.

foreign
    Hearbeat expects only the foreign services to be running.

transition
    Resources are in transition.

LUSTRE STATUS VALUES
The lustre status values returned by lhbadm status may be one of the following:

loaded
    Lustre modules are loaded but that's about it.

recovery
    One or more Lustre services is in recovery.

unhealthy
    Lustre is not healthy.

none
    Lustre is not running any services

local
    Lustre is running only the local services.

foreign
    Lustre is running only the foreign services.

all Lustre is running both the local and foreign services.

partial
    Lustre is partially started and may be running one or more services, but not exactly the local, foreign, or all sets.

SEE ALSO
cl_status(1) hb_takeover(1) hb_standby(1)