>Am Donnerstag, 22. November 2007 16:56 schrieb Urban Peter:
>> Hi,
>>
>> Despite many efforts (and reading through all the documentation) I
>> could not figure out a way to pass over a resource from one node to
>> another node for the following situation: I have two nodes on two separate
networks.
>> Both nodes have one (or more) ping nodes, but those are different for
>> each node. e.g.: Node A has ping node 1, node B has ping node 2.
>> Is it possible to do it by the usual pingd clone ? Can I let pingd
>> check one ping_group from ha.cf on one node and an oder one on the other
node?
>>
>> Thanks!
>>
>> Peter Urban
>
>Hi,
>
>realization of such a config with a clone ressource is not possible. Clones
are clones, which means identical.
>
>But it is not problem to create two difference pingd resources and use two
locations constraints to pin >>>>resource_pingd_A (which pings node 1) to
node A and resource_pingd_B (pinging node 2) to node B.
>
>Hope that answer helps.
>
>--
>Dr. Michael Schwartzkopff
Hi,
Thank you for the Answer. I actually was thinking the same and I already
tried to make separate resource instances as follows:
<primitive id="pingd-cn2pca" provider="heartbeat" class="ocf" type="pingd">
<operations>
<op id="pingd-cn2pca-child-start" name="start"
prereq="nothing"/>
</operations>
<instance_attributes id="pingd-cn2pca_inst_attr">
<attributes>
<nvpair id="pingd-cn2pca-host_list"
name="host_list" value="cn1wrc">
</attributes>
</instance_attributes>
</primitive>
</clone>
I will try it tomorrow. The only concern of mine is, if I should put the name
of
the ping group (as specified in ha.cf) into the variable host_list ?
Peter Urban
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems