[ejabberd] removing nodes from cluster

Stephan Maihöfer sma at turtle-entertainment.de
Fri Sep 26 19:29:05 MSD 2008

is this really the only way? shutting down ALL nodes would be very bad since we
were thinking about turning off and on nodes as we need them (using some kind
of cloud-computing). since then every node would be named differently we would
end up with a list of a few hundred nodes after some time.
there has to be a way to remove a node from the cluster in some "clean" way, isnt there?


	Von: ejabberd-bounces at jabber.ru [mailto:ejabberd-bounces at jabber.ru] Im Auftrag von Zbyszek Zólkiewski
	Gesendet: Freitag, 26. September 2008 17:25
	An: ejabberd at jabber.ru
	Betreff: Re: [ejabberd] removing nodes from cluster
	i got the same problem way time ago (and i think others as well), here is my blogpost about that:
	it is in polish, so just copy, edit and compile the program, you must shutdown all nodes, then on every node
	run program :
	mclean:clean(['node at name.pl']). 
	it will clean given node, remember to edit patch to schema.DAT file on every node!
	On Fri, Sep 26, 2008 at 17:06, Stephan Maihöfer <sma at turtle-entertainment.de> wrote:

		i have a few "inactive nodes" that i would like to remove so i can
		start over with new ones. i tried the remove-node command
		of ejabebrctl with mod_ctlextra and even tried to delete the
		schema of the nodes manually. first yields no result at all, second
		gives me this:
		(ejabberd at ejabberd1)4 <mailto:ejabberd at ejabberd1%294> > mnesia:del_table_copy(schema, 'ejabberd at ejabber2' <mailto:%27ejabberd at ejabber2%27> ).
		{aborted,{not_active,"All replicas on diskfull nodes are not active yet",
		                     ['ejabberd at ejabberd2']}}
		in the web-admin all the nodes still are being shown as
		"inactive" and i can't create another node by that name from
		any hints on this?

		ejabberd mailing list
		ejabberd at jabber.ru

	Zbyszek Żółkiewski

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20080926/abd33980/attachment-0001.htm>

More information about the ejabberd mailing list