Salute

I have some troubles setting up a pingd clone resource.
I'm using pacemaker 1.0.8 with corosync 1.2.0 running on a ubuntu 10.04.

after setting up the resource crm/configure/show gives this:

primitive pingd ocf:pacemaker:pingd \
         params host_list="192.168.250.55" multiplier="100" \
         op monitor interval="15s" timeout="20s" \
         op start interval="0s" timeout="90s" \
         op stop interval="0s" timeout="100s"
clone pingdclone pingd \
         meta globally-unique="false"

with crm_mon i see the clone resource is running:

  Clone Set: pingdclone
      Started: [ zs-lb2 zs-lb1 ]

now i do:

#cibadmin -Q | grep pingd | grep value

           <nvpair id="pingdclone-meta_attributes-globally-unique"  
name="globally-unique" value="false"/>
             <nvpair id="pingd-instance_attributes-host_list"  
name="host_list" value="192.168.250.55"/>
             <nvpair id="pingd-instance_attributes-multiplier"  
name="multiplier" value="100"/>
           <nvpair id="status-zs-lb2-pingd" name="pingd" value="100"/>
           <nvpair id="status-zs-lb1-pingd" name="pingd" value="100"/>

ok, that should be  correct now. But it took a long time until both  
nodes had a value of 100.
before that, one node had value="0", the other had value="100".

when i now edit the cib via crm subshell and add a second ip address  
to host_list, verify and commit i get this:

#cibadmin -Q | grep pingd | grep value

           <nvpair id="pingdclone-meta_attributes-globally-unique"  
name="globally-unique" value="false"/>
             <nvpair id="pingd-instance_attributes-host_list"  
name="host_list" value="192.168.250.55 192.168.300.40"/>
             <nvpair id="pingd-instance_attributes-multiplier"  
name="multiplier" value="100"/>
           <nvpair id="status-zs-lb2-pingd" name="pingd" value="100"/>
           <nvpair id="status-zs-lb1-pingd" name="pingd" value="200"/>

but both nodes should have value="200" because i am able to ping both  
ip addresses from both nodes manually. or am i wrong?

  why is the cib not up to date? Any hints?

thanks Nico










_______________________________________________
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