summaryrefslogtreecommitdiffstats
path: root/sbin/hastd/hast.conf.5
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-08-29 21:42:45 +0000
committerpjd <pjd@FreeBSD.org>2010-08-29 21:42:45 +0000
commit1d4a51dd2dff0160ffbc290b08ab4e9f38368294 (patch)
tree616552ec91255abe15391f6950c56ad051985011 /sbin/hastd/hast.conf.5
parent70a52f0307093bb9b0b23ae15d717c7481911ddf (diff)
downloadFreeBSD-src-1d4a51dd2dff0160ffbc290b08ab4e9f38368294.zip
FreeBSD-src-1d4a51dd2dff0160ffbc290b08ab4e9f38368294.tar.gz
- Call hook on role change.
- Document new event. 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.522
1 files changed, 21 insertions, 1 deletions
diff --git a/sbin/hastd/hast.conf.5 b/sbin/hastd/hast.conf.5
index f312648f..0707115 100644
--- a/sbin/hastd/hast.conf.5
+++ b/sbin/hastd/hast.conf.5
@@ -28,7 +28,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 27, 2010
+.Dd August 29, 2010
.Dt HAST.CONF 5
.Os
.Sh NAME
@@ -228,6 +228,10 @@ 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
.El
The
.Aq path
@@ -241,6 +245,22 @@ The
.Aq resource
argument is resource name from the configuration file.
.Pp
+The
+.Aq oldrole
+argument is previous resource role (before the change).
+It can be one of:
+.Ar init ,
+.Ar secondary ,
+.Ar primary .
+.Pp
+The
+.Aq newrole
+argument is current resource role (after the change).
+It can be one of:
+.Ar init ,
+.Ar secondary ,
+.Ar primary .
+.Pp
.It Ic name Aq name
.Pp
GEOM provider name that will appear as
OpenPOWER on IntegriCloud