Thank you , Alan
i am also somewhat confused about openais/corosync - which service would
qpid use?
initially i started corosync on two servers and they seemed to communicate
well (but when starting the broker on one of these servers it issued Failed
to initialize CPG).
then i tried to start openais service and it began complaining with:
aisexec: [MAIN ] parse error in config: No interfaces defined
aisexec: [MAIN ] AIS Executive exiting (reason: could not read the main
configuration file).
and since i have openais.conf (and it has proper interfaces similar to those
in corosync.conf) i assumed it was looking for cluster.conf and hence the
cman cluster thoughts.
i put user qpidd in ais group and also created /etc/corosync/uidgid.d/qpidd:
uidgid {
uid: qpidd
gid: ais
}
but the blocker seems to be that qpidd cannot find the correct cpg, so the
answer might really lie somewhere in these addresses:
here is the corosync.conf:
compatibility: whitetank
totem {
version: 2
secauth: off
threads: 0
interface {
ringnumber: 0
#my network
bindnetaddr: 192.168.100.0
mcastaddr: 226.94.1.1
mcastport: 5405
}
}
logging {
fileline: off
to_stderr: no
to_logfile: yes
to_syslog: yes
logfile: /var/log/cluster/corosync.log
debug: off
timestamp: on
logger_subsys {
subsys: AMF
debug: off
}
}
amf {
mode: disabled
}
/sbin/ifconfig:
eth0 Link encap:Ethernet HWaddr 00:E0:81:C1:00:8F
inet addr:192.168.100.115 Bcast:192.168.100.255
Mask:255.255.255.0
inet6 addr: fe80::2e0:81ff:fec1:8f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17421920 errors:0 dropped:154 overruns:0 frame:0
TX packets:16831241 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:13205968256 (12.2 GiB) TX bytes:10379287406 (9.6 GiB)
Memory:fbce0000-fbd00000
btw just tried testcpg and it also fails with "Could not initialize Cluster
Process Group API instance error 100"
--
View this message in context:
http://apache-qpid-users.2158936.n2.nabble.com/qpid-clustering-Failed-to-initialize-CPG-tp6348587p6352045.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:[email protected]