[Pacemaker] OpenAIS + mgmtd [Not Working]

Yan Gao ygao at novell.com
Tue Nov 18 09:16:46 UTC 2008


On Tue, 2008-11-18 at 08:38 +0100, Andrew Beekhof wrote:
> >> Does anyone know what might be wrong here? I shouldn't have to run the
> >> heartbeat stack when I am running the OpenAIS stack.
> > You shouldn't.
> > It seems that something is wrong with openais. And several daemons (at
> > least lrmd) could not be started.
> >
> > I've just tested the latest build (on Nov 14th) of openais and met the
> > similar issue.
> 
> Any reason you didn't tell anyone?
I haven't got a clue either.
Once I start openais, the cpu usage of aisexec would exceed 95%.
And it would keep logging as the following:

openais[4527]: [SERV ] Service initialized 'openais event service B.01.01'

> 
> What does your openais.conf look like?
> Are you telling it to load the pacemaker service?
> 
Yes, and it's the same file which I used with the previous openais
build.
Attached the conf, and also the logs.

> >
> > BTW, once it's resovled, you should start mgmtd with openais as :
> > # HA_cluster_type="openais" /usr/lib64/heartbeat/mgmtd
> 
> With 1.0.1 you'll be able to add
>  use_mgmtd: yes
> 
> to the pacemaker service block and we'll start it automatically.
It's great:-) I used to consider implementing another openais plugin for
mgmtd

Regards,
-- 
Yan Gao
China R&D Software Engineer
ygao at novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux
-------------- next part --------------
# Please read the openais.conf.5 manual page

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
	name: pacemaker
	ver:  0
}

totem {
	version: 2

	# How long before declaring a token lost (ms)
	token:          10000

	# How many token retransmits before forming a new configuration
	token_retransmits_before_loss_const: 20

	# How long to wait for join messages in the membership protocol (ms)
	join:           60

	# How long to wait for consensus to be achieved before starting a new round of membership configuration (ms)
	consensus:      4800

	# Turn off the virtual synchrony filter
	vsftype:        none

	# Number of messages that may be sent by one processor on receipt of the token
	max_messages:   20

	# Limit generated nodeids to 31-bits (positive signed integers)
	clear_node_high_bit: yes

	# Disable encryption
	secauth: off

	# How many threads to use for encryption/decryption
	threads: 0

	# Optionally assign a fixed node id (integer)
	# nodeid:         1234

	interface {
		ringnumber: 0

		# The following values need to be set based on your environment
		bindnetaddr: 127.0.0.1
		mcastaddr: 226.94.1.1
		mcastport: 5405
	}
}

logging {
	debug: on
	fileline: off
	to_syslog: yes
	to_stderr: yes
	syslog_facility: daemon
	timestamp: on
	file: /var/log/ha-log
}

amf {
	mode: disabled
}
-------------- next part --------------
Nov 18 13:47:58 yingying openais[4527]: [MAIN ] AIS Executive Service RELEASE 'subrev 1152 version 0.80'
Nov 18 13:47:58 yingying openais[4527]: [MAIN ] Copyright (C) 2002-2006 MontaVista Software, Inc and contributors.
Nov 18 13:47:58 yingying openais[4527]: [MAIN ] Copyright (C) 2006 Red Hat, Inc.
Nov 18 13:47:58 yingying openais[4527]: [MAIN ] AIS Executive Service: started and ready to provide service.
Nov 18 13:47:58 yingying openais[4527]: [print.c:0344] log setup
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] Token Timeout (10000 ms) retransmit timeout (495 ms)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] token hold (386 ms) retransmits before loss (20 retrans)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] join (60 ms) send_join (0 ms) consensus (4800 ms) merge (200 ms)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] downcheck (1000 ms) fail to recv const (50 msgs)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] seqno unchanged const (30 rotations) Maximum network MTU 1500
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] window size per rotation (50 messages) maximum messages per rotation (20 messages)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] send threads (0 threads)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] RRP token expired timeout (495 ms)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] RRP token problem counter (2000 ms)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] RRP threshold (10 problem count)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] RRP mode set to none.
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] heartbeat_failures_allowed (0)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] max_network_delay (50 ms)
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] HeartBeat is Disabled. To enable set heartbeat_failures_allowed > 0
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] Receive multicast socket recv buffer size (262142 bytes).
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] Transmit multicast socket send buffer size (262142 bytes).
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] The network interface [127.0.0.1] is now up.
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] Created or loaded sequence id 260.127.0.0.1 for this ring.
Nov 18 13:47:58 yingying openais[4527]: [TOTEM] entering GATHER state from 15.
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais extended virtual synchrony service'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais cluster membership service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais availability management framework B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais checkpoint service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais event service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais distributed locking service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais message service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais configuration service'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais cluster closed process group service v1.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais cluster closed process group service v1.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais configuration service'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais message service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais distributed locking service B.01.01'
Nov 18 13:47:58 yingying openais[4527]: [SERV ] Service initialized 'openais event service B.01.01'
Nov 18 13:48:24 yingying syslog-ng[2119]: last message repeated 21119 times
Nov 18 13:48:24 yingying openais[4527]: [SERV ] Service initialized 'openais event service B.01.01'
Nov 18 13:48:25 yingying syslog-ng[2119]: last message repeated 628 times


More information about the Pacemaker mailing list