[Linux-ha-dev] Re: *** (0.001) *** [Linux-HA] Resource on two node configuration question.

2007-02-22 Thread Alan Robertson
Peter Wong wrote:
 Greetings: 
 
 I have two node called pwhaone and pwhatesttwo, configured 
 as follows in the cib.xml:
 ---
 nodes
   node id=648c7f1b-8f3e-472e-ade4-7c302c433cb6 uname=pwhaone
 type=normal/
   node id=6fb2d08b-a6bb-4d23-aa39-4a44f3c46ba1 uname=pwhatesttwo
 type=normal/
 /nodes
 ---
 
 I also have just one resource group, say called it R.
 
 Now, if I start heartbeat just on node pwhatesttwo it'll 
 start running resource R there. Then if I start heartbeat on 
 node pwhaone, resource R will be stopped on the node 
 pwhatesttwo and migrated to the node pwhaone.
 
 On the other hand, if I start node pwhaone first, resource 
 R will continue running there even if I start the node 
 pwhatesttwo (i.e. the resource R won't be migrated). 
 
 The question is: what attributes are needed in the cib.xml file 
 in order to have the situation in which the resource R will 
 stay where it is running and won't automatically switched 
 to a newly started node. (i.e. In the first scenario, I 
 want R to stay on node pwhatesttwo even I start the node 
 pwhaone.

I've created bugzilla 1495 to document this issue.
http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1495

-- 
Alan Robertson [EMAIL PROTECTED]

Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions. - William
Wilberforce
___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Re: [Linux-ha-dev] Re: *** (0.001) *** [Linux-HA] Resource on two node configuration question.

2007-02-22 Thread Lars Marowsky-Bree
On 2007-02-22T06:30:42, Alan Robertson [EMAIL PROTECTED] wrote:

 I've created bugzilla 1495 to document this issue.
 http://old.linux-foundation.org/developer_bugzilla/show_bug.cgi?id=1495

This one is invalid. Resource stickiness not being set basically means
the cluster might move resources around whenever it feels like it, or
when the UUIDs are different.


___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/


Re: [Linux-ha-dev] Re: *** (0.001) *** [Linux-HA] Resource on two node configuration question.

2007-02-22 Thread Lars Marowsky-Bree
On 2007-02-22T20:27:36, Alan Robertson [EMAIL PROTECTED] wrote:

 I've reopened the bug.  I suppose I should just fix it.  I suspect that
 this is a pretty simple fix.

If you make it not change behaviour on updates ...

It's about as simple as the fix to increase performance noticably, you
know? ;-)


-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Experience is the name everyone gives to their mistakes. -- Oscar Wilde

___
Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/