<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello everyone:<br>
<br>
my tools version<br>
pacemaker: 1.1.10<br>
corosync: 1.4.5<br>
crmsh-2.0<br>
<br>
I have 2 nodes node1 and node2, resource agent Test must running on
node1, <br>
and Test should not run on node2 if node1 is offline. So I do the
following config:<br>
location TestOnNode1 Test INFINITY: node1<br>
<br>
If node1 and node2 are both online, Test running on node1.<br>
But if node1 is offline, the resource agent Test will be switched to
node2. <br>
I think that doesn't obey my config. My question: <br>
Is that pacemaker's feature? or I have missing some config?<br>
<br>
I find the following config can work as expected:<br>
location TestOnNode1 Test -INFINITY: node2<br>
But I think that is not direct<b>.</b><br>
<br>
thanks
<pre class="moz-signature" cols="72">--
宝存科技 david</pre>
</body>
</html>