On 8/7/07, Adrian Chapela <[EMAIL PROTECTED]> wrote: > Hello, I am here again.. :D > Andrew Beekhof escribió: > > On 7/19/07, Adrian Chapela <[EMAIL PROTECTED]> wrote: > > > >> OK, but if by any cause I startup the secondary node first the primary > >> node, the resource group will go to the primary node?? > >> How Can I have a rule/attribute/something wich assign initial placement > >> to the same node ??? > >> > > > > define "same"? > > > I have two nodes: first node is named node1 and second node is named node2. > > I want to run resource group in node1 and only if this node fails, the > resource group must be moved to node2. > > One thing, if node2 startup before than node1, I want when node1 goes up > it must run the resource group. Is thi s possible ??
write a rsc_location constraint that prefers node1 with a score of X set default_resource_stickiness to Y n*X > Y, where n := number of resources in the group > >>> unless its the pingd rule that is preventing some of the nodes from > >>> taking over the resource > >>> > >> I don't understand, If the pingd has the same value in the two nodes > >> (two nodes have not network failures...) the pingd rule hasn't a effect > >> at all no ?? The rule has only effect in a node with network problems, I > >> think .. > >> > > > > it depends on how you write the rule(s) > > > We can forget pingd for all, but Can you write me a rule to do what I > want ?? > > I want a resource group running a node1 until this node fails. When this > node fails resource group must be moved to node2 and then it never can > be moved to the node1 again. > > Also, I need a clone to run a resource in two nodes at the same time. If > this clone fails, resource group must be moved to node2... etc... > > This is I want but is it possible ?? I think not. What do you think ?? colocate(from=groupname to=clonename) _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
