[Pacemaker] [PATCH] ping RA: The host list must be provided

Bernd Schubert bs_lists at aakef.fastmail.fm
Wed Sep 1 10:26:40 UTC 2010


ping RA: The host list must be provided

While pingd allows to connect to heartbeat to get all
peer nodes, the ping script RA cannot do that. 
Accordingly the hostlist is a required argument.

Signed-off-by: Bernd Schubert <bschubert at ddn.com>


diff --git a/extra/resources/ping b/extra/resources/ping
--- a/extra/resources/ping
+++ b/extra/resources/ping
@@ -78,9 +78,9 @@ The number by which to multiply the numb
 <content type="integer" default=""/>
 </parameter>
 
-<parameter name="host_list" unique="0">
+<parameter name="host_list" unique="0" required="1">
 <longdesc lang="en">
-The list of ping nodes to count.  Defaults to all configured ping nodes.  Rarely needs to be specified.
+The list of ping nodes to count.
 </longdesc>
 <shortdesc lang="en">Host list</shortdesc>
 <content type="string" default=""/>


-- 
Bernd Schubert
DataDirect Networks




More information about the Pacemaker mailing list