[Pacemaker] Trouble migrating heartbeat to openais stack
coolpix880 at web.de
coolpix880 at web.de
Thu Oct 8 06:03:11 EDT 2009
Hallo
I tried to migrate from heartbeat to openais. The service openais starts, but nothing works and syslog-messages are full of errors and warning.
My version situation:
cluster-glue-1.0-12.1.x86_64.rpm libnet-1.1.2.1-1.1.x86_64.rpm pacemaker-1.0.5-4.1.x86_64.rpm pacemaker-mgmt-client-1.99.2-6.1.x86_64.rpm
cluster-glue-libs-1.0-12.1.x86_64.rpm libopenais2-0.80.5-15.1.x86_64.rpm pacemaker-libs-1.0.5-4.1.x86_64.rpm resource-agents-1.0-31.4.x86_64.rpm
heartbeat-3.0.0-33.2.x86_64.rpm openais-0.80.5-15.1.x86_64.rpm pacemaker-mgmt-1.99.2-6.1.x86_64.rpm
- First I made a backup of my old configuration: cibadmin -Q > backup.xml
- I Know it is not neccessarry to remove the whole configuration, but I would minimize the number of potential error sources.
- cibadmin --erase --force
- service hearbeat stop
- ais-keygen
- edit /etc/ais/openais.conf
aisexec {
# Run as root - this is necessary to be able to manage resources with Pacemaker
user: root
group: root
}
service {
# Load the Pacemaker Cluster Resource Manager
ver: 0
name: pacemaker
use_mgmtd: yes
use_logd: yes
}
totem {
version: 2
token: 5000
token_retransmits_before_loss_const: 10
join: 1000
consensus: 2500
vsftype: none
threads: 0
interface {
ringnumber: 0
# The following values need to be set based on your environment
bindnetaddr: 10.10.0.0
mcastaddr: 226.94.1.1
mcastport: 5405
}
}
logging {
debug: on
fileline: off
to_syslog: yes
to_stderr: off
syslog_facility: daemon
timestamp: on
}
amf {
mode: disabled
}
- service openais start
- the service starts, but look at the syslog - messages: (I greped only errors)
Oct 8 11:39:06 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process stonithd exited (pid=18833, rc=127)
Oct 8 11:39:06 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process attrd exited (pid=18836, rc=127)
Oct 8 11:39:06 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process stonithd exited (pid=18840, rc=127)
Oct 8 11:39:06 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process cib exited (pid=18834, rc=127)
........
Oct 8 11:39:08 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process cib exited (pid=19137, rc=127)
Oct 8 11:39:08 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process cib exited (pid=19138, rc=127)
Oct 8 11:39:08 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process cib exited (pid=19139, rc=127)
Oct 8 11:39:08 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child respawn count exceeded by cib
Oct 8 11:39:11 gfadb04 mgmtd: [18839]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:11 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=18839, rc=1)
Oct 8 11:39:16 gfadb04 mgmtd: [19141]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:16 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=19141, rc=1)
Oct 8 11:39:21 gfadb04 mgmtd: [19143]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:21 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=19143, rc=1)
Oct 8 11:39:26 gfadb04 mgmtd: [19144]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:26 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=19144, rc=1)
Oct 8 11:39:31 gfadb04 mgmtd: [19146]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:31 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=19146, rc=1)
Oct 8 11:39:36 gfadb04 mgmtd: [19147]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:36 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=19147, rc=1)
Oct 8 11:39:41 gfadb04 mgmtd: [19148]: ERROR: Can't initialize management library.Shutting down.(-1)
Oct 8 11:39:41 gfadb04 openais[18827]: [crm ] ERROR: pcmk_wait_dispatch: Child process mgmtd exited (pid=19148, rc=1)
Oct 8 11:39:46 gfadb04 mgmtd: [19150]: ERROR: Can't initialize management library.Shutting down.(-1)
Thanks
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
More information about the Pacemaker
mailing list