Re: [Pacemaker] Why location can't work as expected

2014-08-07 Thread david.miao
On 08/07/2014 03:14 AM, David Vossel wrote: - Original Message - Hello everyone: my tools version pacemaker: 1.1.10 corosync: 1.4.5 crmsh-2.0 I have 2 nodes node1 and node2, resource agent Test must running on node1, and Test should not run on node2 if node1 is offline. So I do the f

Re: [Pacemaker] Why location can't work as expected

2014-08-06 Thread David Vossel
- Original Message - > Hello everyone: > > my tools version > pacemaker: 1.1.10 > corosync: 1.4.5 > crmsh-2.0 > > I have 2 nodes node1 and node2, resource agent Test must running on node1, > and Test should not run on node2 if node1 is offline. So I do the following > config: > location

[Pacemaker] Why location can't work as expected

2014-08-06 Thread david.miao
Hello everyone: my tools version pacemaker: 1.1.10 corosync: 1.4.5 crmsh-2.0 I have 2 nodes node1 and node2, resource agent Test must running on node1, and Test should not run on node2 if node1 is offline. So I do the following config: location TestOnNode1 Test INFINITY: node1 If node1 and no