Hi, I have a director farm running in front of dovecot pop/imap servers. For a reason, one of my backend servers have been down, so poolmon disables it in director servers and users corresponding to it has been sent to other servers. Until this, no problem. Now my failed backend server is up again, and I want to redirect all of its users to it, without waiting for it director sessions to end. So I have used doveadm director move <user> <backend ip> to move them to its "hashed" server. Although a doveadm director status <user> now shows me that this user is directed to the new server, doveadm who in the temporal server shows me that the user is actually connected to it, although messages are delivered to it through is correct server. So I have had to manually kick that users in the temporal servers. Is this the expected behaviour of the move command for director? Is there any way to also force the kick of the imap/pop user's connection in the temporal server? -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA) http://www.um.es/atica Tfo: 868887590 Fax: 868888337
On 12.7.2012, at 14.14, Angel L. Mateo wrote:> So I have used doveadm director move <user> <backend ip> to move them to its "hashed" server. Although a doveadm director status <user> now shows me that this user is directed to the new server, doveadm who in the temporal server shows me that the user is actually connected to it, although messages are delivered to it through is correct server. So I have had to manually kick that users in the temporal servers. > > Is this the expected behaviour of the move command for director? > > Is there any way to also force the kick of the imap/pop user's connection in the temporal server?Do you see any errors in logs? Especially: director: Error: connect(ipc) failed: Permission denied
Timo Sirainen wrote:> On 1.8.2012, at 21.09, Daniel Parthey wrote: > > http://wiki2.dovecot.org/Director#Other_settings > > doveadm director move needs to be able to connect to the ipc socket. Make sure the director process can do it. > > service ipc { > unix_listener ipc { > user = dovecot > } > } > > director instance needs access to director instance.With the above configuration, ipc works correctly between our directors and kicks the moved users which had been connected via proxy. Thanks a lot! Regards Daniel -- https://plus.google.com/103021802792276734820