Murder in replicated mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi!
	I'm trying to setup murder in replicated mode. My schema is:
	
	-Two servers + one shared storage
	-Redhat Cluster Suite (RHEL 5.1) with GFS2 working.
	-Cyrus 2.3.10 in both servers working.
	-spool and sieve directories on GFS
	-config dir on local filesystems.

	I have configured Cyrus in replicated mode but when I create an
	account in the master server, it isn't replicated unless Cyrus
	is restart in either node. It isnt't an authentication problem,
	when I create an account with cyradmin mupdate do nothing.

	My config files:

--------Master imapd.conf------------

configdirectory: /var/lib/cyrus
partition-default: /var/cyrus/spool
admins: cyrus
sievedir: /var/cyrus/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_mech_list: PLAIN
tls_cert_file: /var/cyrus/etc/cyrus-cert.pem
tls_key_file: /var/cyrus/etc/cyrus-key.pem
tlscache_db: skiplist
autocreatequota: 100
allowplaintext: 1
defaultdomain: xcoop.coop

mupdate_config: replicated

---------Master cyrus.conf-------------


START {
	# do not delete this entry!
	recover	cmd="ctl_cyrusdb -r"

	# this is only necessary if using idled for IMAP IDLE
	#idled		cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
	# add or remove based on preferences
	imap		cmd="imapd" listen="imap" prefork=0
	imaps		cmd="imapd -s" listen="imaps" prefork=0
	pop3		cmd="pop3d" listen="pop3" prefork=0
	pop3s		cmd="pop3d -s" listen="pop3s" prefork=0
	sieve		cmd="timsieved" listen="sieve" prefork=0
	mupdate		cmd="mupdate -m" listen=3905 prefork=1

	# these are only necessary if receiving/exporting usenet via NNTP
	#nntp		cmd="nntpd" listen="nntp" prefork=0
	#nntps		cmd="nntpd -s" listen="nntps" prefork=0

	# at least one LMTP is required for delivery
	#lmtp		cmd="lmtpd" listen="lmtp" prefork=0
  	lmtpunix	cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

	# this is required if using notifications
	#notify	cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
	# this is required
	checkpoint	cmd="ctl_cyrusdb -c" period=30

	# this is only necessary if using duplicate delivery suppression,
	# Sieve or NNTP
  	delprune	cmd="cyr_expire -E 3" at=0400

  	# this is only necessary if caching TLS sessions
  	tlsprune	cmd="tls_prune" at=0400
}

------------Slave imapd.conf-----------


configdirectory: /var/lib/cyrus
partition-default: /var/cyrus/spool
admins: cyrus
sievedir: /var/cyrus/sieve
sendmail: /usr/sbin/sendmail
hashimapspool: true
sasl_pwcheck_method: auxprop
sasl_mech_list: PLAIN
tls_cert_file: /var/cyrus/etc/cyrus-cert.pem
tls_key_file: /var/cyrus/etc/cyrus-key.pem
tlscache_db: skiplist
autocreatequota: 100
allowplaintext: 1
defaultdomain: xcoop.coop

mupdate_server: rh-cluster1
mupdate_username: cyrus
mupdate_authname: cyrus
mupdate_password: 123456
mupdate_config: replicated

------------Slave cyrus.conf-------------


START {
	# do not delete this entry!
	recover	cmd="ctl_cyrusdb -r"

	# this is only necessary if using idled for IMAP IDLE
	#idled		cmd="idled"
}

# UNIX sockets start with a slash and are put into /var/imap/socket
SERVICES {
	# add or remove based on preferences
	imap		cmd="imapd" listen="imap" prefork=0
	imaps		cmd="imapd -s" listen="imaps" prefork=0
	pop3		cmd="pop3d" listen="pop3" prefork=0
	pop3s		cmd="pop3d -s" listen="pop3s" prefork=0
	sieve		cmd="timsieved" listen="sieve" prefork=0
	mupdate		cmd="mupdate" listen=3905 prefork=1

	# these are only necessary if receiving/exporting usenet via NNTP
	#nntp		cmd="nntpd" listen="nntp" prefork=0
	#nntps		cmd="nntpd -s" listen="nntps" prefork=0

	# at least one LMTP is required for delivery
	#lmtp		cmd="lmtpd" listen="lmtp" prefork=0
  	lmtpunix	cmd="lmtpd" listen="/var/imap/socket/lmtp" prefork=0

	# this is required if using notifications
	#notify	cmd="notifyd" listen="/var/imap/socket/notify" proto="udp" prefork=1
}

EVENTS {
	# this is required
	checkpoint	cmd="ctl_cyrusdb -c" period=30

	# this is only necessary if using duplicate delivery suppression,
	# Sieve or NNTP
  	delprune	cmd="cyr_expire -E 3" at=0400

  	# this is only necessary if caching TLS sessions
  	tlsprune	cmd="tls_prune" at=0400
}


Regards!

-- 

--------------
Diego Woitasen
----
Cyrus Home Page: http://cyrusimap.web.cmu.edu/
Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux