[Pacemaker] Pacemaker-corosync update attribute issue

Andrew Beekhof andrew at beekhof.net
Sun Nov 10 19:12:25 EST 2013


On 22 Oct 2013, at 3:43 am, A66A <a6apmot at gmail.com> wrote:

> Hello,
> I have a problem with my 2-node cluster. In some reasons one of my nodes can't update attributes due to error - warning: attrd_cib_callback:     Update PostgreSQL-status=HS:async failed: Transport endpoint is not connected. Where can be a point of this issue?

Two main possibilities:
- there was a DC election at the time this call was made (the work-in-progress replacement for the original attrd would have automatically retried)
- the cib was _really_ busy and couldn't process the request in time

Logs may suggest which happened here

> 
> Versions:
> Pacemaker  - 1.1.8-7
> Corosync    -  1.4.1
> 
> Iptables  - disabled
> selinux  - disabled 
> 
> corosync conf: 
> 
> quorum {
>     provider: corosync_votequorum
>     expected_votes: 2
> }
> totem {
>         version: 2
>         secauth: off
>         threads: 0
> 
>         interface {
>                 member {
>                         memberaddr: 192.168.0.1
>                 }
>                 member {
>                         memberaddr: 192.168.0.2
>                 }
>                 ringnnumber: 0
>                 bindnetaddr: 192.168.0.0
>                 mcastport: 5405
>         }
>     transport: udpu
> }
> 
> 
> logging {
>     fileline: off
>         to_stderr: yes
>         to_logfile: yes
>         to_syslog: yes
>         logfile: /var/log/cluster/corosync.log
>         debug: off
>         timestamp: onOnline: [ atllab02-1 atllab02-2 ]
> 
> crm_mon -Afr
> Full list of resources:
> 
>  Resource Group: master-group
>      IP-PGSQL   (ocf::heartbeat:IPaddr2):    Started atllab02-2
>      vip-rep    (ocf::heartbeat:IPaddr2):    Started atllab02-2
>  Master/Slave Set: pgsql-master [PostgreSQL]
>      Masters: [ atllab02-2 ]
>      Slaves: [ atllab02-1 ]
>  Clone Set: Apache-Clone [Apache]
>      Started: [ atllab02-1 atllab02-2 ]
>  Clone Set: PingD-Clone [PingD]
>      Stopped: [ PingD:0 PingD:1 ]
> 
> Node Attributes:
> * Node atllab02-1:
>     + PostgreSQL-data-status            : STREAMING|ASYNC
> * Node atllab02-2:
>     + PostgreSQL-data-status            : LATEST    
>     + PostgreSQL-master-baseline        : 0000001370000000
>     + PostgreSQL-status                 : PRI
>     + master-PostgreSQL                 : 1000
> 
> Migration summary:
> * Node atllab02-2: 
> * Node atllab02-1:
>         logger_subsys {
>                 subsys: AMF
>                 debug: off
>         }
> }
> 
> 
> Thanks
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list