diff options
author | pjd <pjd@FreeBSD.org> | 2010-08-30 00:31:30 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2010-08-30 00:31:30 +0000 |
commit | e14a354a91cc5fe75376f5ae2b3d886391e1d1fa (patch) | |
tree | e1e50241a8f2cfcd2c755a5fd5a16d010fdcfe81 /sbin/hastd/hast.conf.5 | |
parent | 235764220432099ce51504a72f54b0824730c31f (diff) | |
download | FreeBSD-src-e14a354a91cc5fe75376f5ae2b3d886391e1d1fa.zip FreeBSD-src-e14a354a91cc5fe75376f5ae2b3d886391e1d1fa.tar.gz |
Execute hook when connection between the nodes is established or lost.
MFC after: 2 weeks
Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com
Diffstat (limited to 'sbin/hastd/hast.conf.5')
-rw-r--r-- | sbin/hastd/hast.conf.5 | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/sbin/hastd/hast.conf.5 b/sbin/hastd/hast.conf.5 index f12768e..87a7e35 100644 --- a/sbin/hastd/hast.conf.5 +++ b/sbin/hastd/hast.conf.5 @@ -28,7 +28,7 @@ .\" .\" $FreeBSD$ .\" -.Dd August 29, 2010 +.Dd August 30, 2010 .Dt HAST.CONF 5 .Os .Sh NAME @@ -212,6 +212,20 @@ Execute the given program on various HAST events. Below is the list of currently implemented events and arguments the given program is executed with: .Bl -tag -width ".Ic xxxx" +.It Ic "<path> role <resource> <oldrole> <newrole>" +.Pp +Executed on both primary and secondary nodes when resource role is changed. +.Pp +.It Ic "<path> connect <resource>" +.Pp +Executed on both primary and secondary nodes when connection for the given +resource between the nodes is established. +.Pp +.It Ic "<path> disconnect <resource>" +.Pp +Executed on both primary and secondary nodes when connection for the given +resource between the nodes is lost. +.Pp .It Ic "<path> syncstart <resource>" .Pp Executed on primary node when synchronization process of secondary node is @@ -228,10 +242,6 @@ Executed on primary node when synchronization process of secondary node is interrupted, most likely due to secondary node outage or connection failure between the nodes. .Pp -.It Ic "<path> role <resource> <oldrole> <newrole>" -.Pp -Executed on both primary and secondary nodes when resource role is changed. -.Pp .It Ic "<path> split-brain <resource>" .Pp Executed on both primary and secondary nodes when split-brain condition is |