Re: [Linux-HA] pingd resource problem

2011-01-04 Thread Dejan Muhamedagic
Hi,

On Thu, Dec 30, 2010 at 04:52:38PM +0100, Nico Faerber wrote:
> 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 \

I think that the connectivity RA du jour is ocf:pacemaker:ping.
So probably better to try with that one.

>  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
> 
> name="globally-unique" value="false"/>
>   name="host_list" value="192.168.250.55"/>
>   name="multiplier" value="100"/>
>
>
> 
> ok, that should be  correct now. But it took a long time until both  
> nodes had a value of 100.

The updates happen at the time monitor runs plus the dampen
interval.

> 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
> 
> name="globally-unique" value="false"/>
>   name="host_list" value="192.168.250.55 192.168.300.40"/>
>   name="multiplier" value="100"/>
>
>
> 
> but both nodes should have value="200" because i am able to ping both  
> ip addresses from both nodes manually. or am i wrong?

No. Both should get updated.

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

Don't know. Please try the other RA.

Thanks,

Dejan

> thanks Nico
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
___
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


[Linux-HA] pingd resource problem

2010-12-30 Thread Nico Faerber
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

   
 
 
   
   

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

   
 
 
   
   

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
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems