<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I defined this clone resource for connectivity check:<br>
<br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8">
<p style="font-weight: normal" align="JUSTIFY"><font size="3">pcs
resource create ping ocf:pacemaker:ping host_list="10.0.2.2"
multiplier="1000" dampen=10s op monitor interval=60s</font></p>
<p style="font-weight: normal" align="JUSTIFY"><font size="3">pcs
resource clone ping ping_clone globally-unique=false<br>
</font></p>
<p style="font-weight: normal" align="JUSTIFY"><font size="3"><font
size="3">th<font size="3">ese works, but now I need to add a
location rules to make the service swi<font size="3">tch <font
size="3">on</font> the node that reach the gw, with crm
I <font size="3">used something like this<br>
</font></font></font></font></font></p>
<p style="font-weight: normal" align="JUSTIFY"><font size="3"><font
size="3"><font size="3"><font size="3"><font size="3">
<meta http-equiv="CONTENT-TYPE" content="text/html;
charset=UTF-8">
</font></font></font></font></font></p>
<p style="font-weight: normal" align="JUSTIFY"><font size="3"><font
size="3"><font size="3"><font size="3"><font size="3">
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.5 (Linux)">
<style type="text/css">
<!--
@page { margin: 2cm }
PRE { font-family: "Courier New", monospace }
-->
</style>
</font></font></font></font></font></p>
<p><font size="3"><font size="3"><font size="3"><font size="3"><font
size="3">
<pre style="text-align: justify"><font face="sans-serif"><em><font size="3"><span style="font-style: normal"><span style="font-weight: normal">location database_on_connected_node database_resource \ </span></span></font></em>
<em> <font size="3"><span style="font-style: normal"><span style="font-weight: normal">rule $id="database_on_connected_node-rule" pingd: defined pingd</span></span></font></em></font></pre>
</font></font></font></font></font></p>
<p style="font-weight: normal" align="JUSTIFY"><font size="3"><font
size="3"><font size="3"><font size="3"><font size="3">
<br>
<font size="3">how to do the same using pcs?<br>
</font></font></font></font></font></font></p>
<p style="font-weight: normal" align="JUSTIFY"><font size="3"><font
size="3"><font size="3"><font size="3"><font size="3"><font
size="3"><font size="3">thanks<br>
<font size="3">Nicola</font><br>
</font></font></font></font></font></font></font></p>
<title></title>
<meta name="GENERATOR" content="LibreOffice 3.5 (Linux)">
<style type="text/css">
<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
A:visited { so-language: it-IT }
-->
</style><br>
</body>
</html>