On 10/23/07, Terry L. Inzauro <[EMAIL PROTECTED]> wrote:
> list,
>
> i think i have pingd working properly.
>
> /etc/ha.d/ha.cf
>         apiauth ping gid=root uid=root
>         respawn root /usr/lib/heartbeat/pingd -m 1000 -d 5s -a 
> default_ping_set

here use tell pingd to define "default_ping_set"

>
> cib.xml locational constraint:
> <constraints>
>        <rsc_location id="afp_cl_vpn_loc" rsc="afp_cl_vpn">
>          <rule id="afp_cl_vpn_pref_1" score="100">
>            <expression id="afp_cl_vpn_loc_attr_1" attribute="#uname" 
> operation="eq" value="clvpn01"/>
>          </rule>
>          <rule id="afp_cl_vpn_loc_pingd_rule" score_attribute="afp_cl_vpn">
>            <expression id="afp_cl_vpn_loc_pingd_rule_defined" 
> attribute="pingd" operation="defined"/>

but here you tell the PE to look for "pingd"

s/pingd/default_ping_set/

>          </rule>
>        </rsc_location>
> </constraints>
>
>
> my question is in regards to resource fail back.  how does one get the 
> resource to move back to the
> primary node in the event that the resource moves from its primary cluster 
> node to the secondary
> node as a result of its pingd score?

it depends on how default-resource-stickiness is set
if its > 0, then you need to move it manually with crm_resource -M

> is this a manual administrtive process or 'should' hb take care
> of that for you?
>
>
> regards,
>
>
> _Terry
>
> _______________________________________________
> 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