On Jan 17, 2008, at 2:39 PM, Sylvain MALAVIEILLE wrote:

I'am testing heartbeat 2.1.2 (using crm) and I have some questions about resources.

My questions :

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 ?

correct - ordering information is not listed in the log messages


What does this lines mean ?

that the resource will be both started and stopped


Is start / stop orders ar logged ?

yes



2)
"target_role" seams to be the future state to reach ;

yes

a dynamic variable.

no


In this case, why "target_role" appears into the CIB ?

because you can use it to tell what future state the resource should be in.
ie. you can use it to tell the cluster _not_ to start the resource



3)
Is there any way to link 2 resources in order to initiate a failover only if the two resources have failed.

not really



4)
On a resource failure on all nodes (the resource try to start on all the cluster nodes before) is it possible to :

start failures are fatal - they prevent the resource from being tried there again until the admin fixes the underlying problem and uses crm_resource -C


- stop native resources or a resources group
- start other resources or an other resource group
?
The aim is to create fallback resources.


Thanks,

Sylvain
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to