[Pacemaker] [Problem]A compilation error of Pacemaker1.1.

renayama19661014 at ybb.ne.jp renayama19661014 at ybb.ne.jp
Thu Aug 5 01:38:03 UTC 2010


Hi Andrew,

Let me ask you a question.

I deleted service from corosync.conf.
I started service of pacemaker after having started corosync.

However, two clusters do not consist of a node.

* srv01 
[root at srv01 ~]# ps -ef | grep heartbeat
root     22224 22220  0 10:25 ?        00:00:00 /usr/lib/heartbeat/stonithd
101      22225 22220  0 10:25 ?        00:00:00 /usr/lib/heartbeat/cib
root     22226 22220  0 10:25 ?        00:00:00 /usr/lib/heartbeat/lrmd
101      22227 22220  0 10:25 ?        00:00:00 /usr/lib/heartbeat/attrd
101      22229 22220  0 10:25 ?        00:00:00 /usr/lib/heartbeat/pengine
101      22230 22220  0 10:25 ?        00:00:00 /usr/lib/heartbeat/crmd
root     22451  3761  0 10:34 pts/0    00:00:00 grep heartbeat
(snip)
Aug  5 10:25:58 srv01 pacemakerd: [22220]: info: main: Starting mainloop
Aug  5 10:26:03 srv01 pacemakerd: [22220]: info: update_node_processes: 0x9bc1ff0 Node 2013964480 now
known as srv02 (was: (null))
Aug  5 10:26:03 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000000002 (was 00000000000000000000000000000000)
Aug  5 10:26:03 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000100002 (was 00000000000000000000000000000002)
Aug  5 10:26:04 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000100102 (was 00000000000000000000000000100002)
Aug  5 10:26:04 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000100112 (was 00000000000000000000000000100102)
Aug  5 10:26:04 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000101112 (was 00000000000000000000000000100112)
Aug  5 10:26:04 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000111112 (was 00000000000000000000000000101112)
Aug  5 10:26:04 srv01 pacemakerd: [22220]: info: update_node_processes: Node srv02 now has process
list: 00000000000000000000000000111312 (was 00000000000000000000000000111112)

* srv02
[root at srv02 ~]# ps -ef |grep heartbeat 
root     20426 20422  0 10:26 ?        00:00:00 /usr/lib/heartbeat/stonithd
101      20427 20422  0 10:26 ?        00:00:00 /usr/lib/heartbeat/cib
root     20431 20422  0 10:26 ?        00:00:00 /usr/lib/heartbeat/lrmd
101      20432 20422  0 10:26 ?        00:00:00 /usr/lib/heartbeat/attrd
101      20434 20422  0 10:26 ?        00:00:00 /usr/lib/heartbeat/pengine
101      20435 20422  0 10:26 ?        00:00:00 /usr/lib/heartbeat/crmd
root     20672  3797  0 10:34 pts/0    00:00:00 grep heartbeat
(snip)
Aug  5 10:26:03 srv02 pacemakerd: [20422]: info: main: Starting mainloop
Aug  5 10:26:03 srv02 pacemakerd: [20422]: info: update_node_processes: 0x9b8bd68 Node 1846192320 now
known as srv01 (was: (null))
Aug  5 10:26:03 srv02 pacemakerd: [20422]: info: update_node_processes: Node srv01 now has process
list: 00000000000000000000000000111312 (was 00000000000000000000000000000000)
Aug  5 10:26:04 srv02 corosync[20134]:   [TOTEM ] totemrrp.c:1095 Incrementing problem counter for
seqid 8032 iface 192.168.10.120 to [1 of 10]
Aug  5 10:26:44 srv02 corosync[20134]:   [TOTEM ] totemrrp.c:1063 ring 0 active with no faults

[root at srv02 ~]# crm_mon -1 
============
Last updated: Thu Aug  5 10:33:53 2010
Current DC: NONE
0 Nodes configured, unknown expected votes
0 Resources configured.
============


When I combinate pacemaker1.1 and corosync together, is not any setting else necessary?

In addition, the error of the touch command is given when I start pacemaker service.

[root at srv01 ~]# service pacemaker start
Starting Pacemaker Cluster Manager (pacemakerd): touch: missing file operand
[  OK  ]


Best Regards,
Hideo Yamauchi.


--- renayama19661014 at ybb.ne.jp wrote:

> Hi Andrew,
> 
> > Fixed:
> >    http://hg.clusterlabs.org/pacemaker/1.1/rev/6bad7c6bbe7d
> 
> Thanks!
> 
> Best Regards,
> Hideo Yamauchi.
> 
> --- Andrew Beekhof <andrew at beekhof.net> wrote:
> 
> > On Wed, Aug 4, 2010 at 10:08 AM, Andrew Beekhof <andrew at beekhof.net> wrote:
> > > On Wed, Aug 4, 2010 at 6:34 AM, �<renayama19661014 at ybb.ne.jp> wrote:
> > 
> > >> [root at srv01 Pacemaker-1-1-5ce5b34cf3ab]# ./autogen.sh && ./configure --prefix=$PREFIX
> > >> --localstatedir=/var --with-lcrso-dir=$LCRSODIR
> > >>
> > >> [root at srv01 Pacemaker-1-1-5ce5b34cf3ab]# make install
> > >>
> > >> s -Werror -fPIC -MT utils.lo -MD -MP -MF .deps/utils.Tpo -c utils.c �-fPIC -DPIC -o
> > .libs/utils.o
> > >> cc1: warnings being treated as errors
> > >> utils.c:65: warning: 'common' defined but not used
> > >> gmake[2]: *** [utils.lo] Error 1
> > >> gmake[2]: Leaving directory `/opt/Pacemaker-1-1-5ce5b34cf3ab/lib/common'
> > >> gmake[1]: *** [install-recursive] Error 1
> > >> gmake[1]: Leaving directory `/opt/Pacemaker-1-1-5ce5b34cf3ab/lib'
> > >> make: *** [install-recursive] Error 1
> > 
> > Fixed:
> >    http://hg.clusterlabs.org/pacemaker/1.1/rev/6bad7c6bbe7d
> > 
> > _______________________________________________
> > 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> > 
> 
> 
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
> 





More information about the Pacemaker mailing list