First thanks for your answer.
Sorry my english is not very fluent (I'm french).
1)
I can see in traces (/var/log/ha-debug) lines like that :
pengine[6084]: 2008/01/15_13:42:00 notice: StartRsc: anaisrh4-1
Start resource_ip_alias_eth0
others start resources ...
pengine[6084]: 2008/01/15_13:42:31 notice: StopRsc: anaisrh4-1
Stop resource_ip_alias_eth0
others stop resources ...
My constatation is that start and stop orders are not respected in the
traces.
Is it normal ?
What does this lines mean ?
Is start / stop orders ar logged ?
I cannot help you on this, since I don't know, and maybe I haven't quite
correctly understood your question. Sorry.
For example if I have 2 resources :
- "resource_1"
- "resource_2"
with an order constraint "order_resources" (From : resource_1, Action :
start, Type : before, To : resource_2).
The resources start order should be :
- start of "resource_1"
- start of "resource_2"
and the resources stop order should be :
- stop of "resource_2"
- stop of "resource_1"
I whant to know if the start / stop of the resources are logged in
"/var/log/ha-debug" in the order.
My constatation is that start and stop orders are not respected in the
traces.
Because creating my own log file I have seen that heartbeat start and
stop resources in the great order.
3)
Is there any way to link 2 resources in order to initiate a failover
only if the two resources have failed.
I think this might be accomplished having those resources on the same
group. Probably you have to set a parameter or an attribute on the group
meaning that upon failure of all resources, a failover is to occur, but not
upon partial failure. Sorry I cannot give you more details on this, but I
think this would be the approach.
I think this might be accomplished using resources attributes too.
I'm searching a solution with the resources attributes..
But I have not a solution yet.
4)
On a resource failure on all nodes (the resource try to start on all the
cluster nodes before) is it possible to :
- stop native resources or a resources group
- start other resources or an other resource group
?
The aim is to create fallback resources.
Again, I think I do not quite understand your question here :( Sorry.
For example using 2 resources :
- "resource_original"
- "resource_fallback"
in a 2 nodes cluster :
- "node_1"
- "node_2"
Scenario :
-> start of "resource_original" on "node_1"
"resource_original" fail
-> relocation of "resource_original" on "node_2"
"resource_original" fail
-> stop of "resource_original"
-> start of "resource_fallback" on "node_1" or "node_2"
The aim is to create a fallback resource (for applications cold restart
purpose).
Thanks.
Best Regards,
Sylvain.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems