Whamcloud - gitweb
LU-8458 pacemaker: Script to monitor Server status 97/22297/7
authorGabriele Paciucci <gabriele.paciucci@intel.com>
Mon, 8 Aug 2016 16:29:24 +0000 (17:29 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 6 Apr 2017 00:59:57 +0000 (00:59 +0000)
commitd35970fc24d730dab28f28990875fc6244fe116c
tree5baf303c8630f3a98f0b883ec78355e39f959634
parent949bc00ad1ec0786940bd00ba53479d88c23ea14
LU-8458 pacemaker: Script to monitor Server status

A new script to be used in Pacemaker to monitor
the Lustre Servers status compatible with ZFS and
LDISKFS based Lustre server installations.

This RA is able to monitor a Lustre Server
using the Pacemaker's clone technology.

pcs resource create [Resource Name] ocf:lustre:healthLUSTRE
dampen=[seconds 5s]
--clone

where:
* dampen The time to wait (dampening) further changes occur

This script should be located in /usr/lib/ocf/resource.d/lustre/
of both the Lustre servers with permission 755.

Test-Parameters: trivial
Signed-off-by: Gabriele Paciucci <gabriele.paciucci@intel.com>
Change-Id: Ibfbad748e8c1b0c7faecc91984def87002070033
Reviewed-on: https://review.whamcloud.com/22297
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
contrib/scripts/pacemaker/healthLUSTRE [new file with mode: 0755]