[ejabberd] Turning off nodes in a cluster

Christopher Zorn christopher.zorn at gmail.com
Mon Oct 18 18:35:53 MSD 2010


2010/10/17 Julien Genestoux <julien.genestoux at gmail.com>

> Thanks Christopher!
> Master node? I don't think we have any actually. They all have the same
> tables in ram/disk. I guess I would have to delete this on all of them?
>

You would need to delete it on all of them. By 'master' I meant the node
where you keep your tables and schema on disk because mnesia doesn't do a
master-slave model. Poor wording. :)


>
> Julien
> --
> Julien Genestoux,
> http://twitter.com/julien51
>
> +1 (415) 830 6574
> +33 (0)9 70 44 76 29
>
>
>
> On Sun, Oct 17, 2010 at 6:55 PM, Christopher Zorn <
> christopher.zorn at gmail.com> wrote:
>
>> 2010/10/17 Julien Genestoux <julien.genestoux at gmail.com>
>>
>>> Hi!
>>>
>>> We (http://superfeedr.com) currently operate a cluster of 7 nodes! some
>>> of them are actually on a datacenter that we do not use anymore and I want
>>> to turn them off. What is the best/cleanest way to achieve this?
>>>
>>> I removed them from the DNS a few days ago, and one of them doesn't have
>>> any client connected to it, so I assume it's safe to that regard.
>>> Is there anything else I should do to avoid any trouble?
>>>
>>>
>> If there isnt any one using them you can just shut them down and then
>> connect to your master node and run the following.
>>
>> mnesia:del_table_copy(schema, 'dead_node').
>>
>>
>>
>>
>>> Thanks,
>>>
>>> Julien
>>>
>>> _______________________________________________
>>> ejabberd mailing list
>>> ejabberd at jabber.ru
>>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>>
>>>
>>
>> _______________________________________________
>> ejabberd mailing list
>> ejabberd at jabber.ru
>> http://lists.jabber.ru/mailman/listinfo/ejabberd
>>
>>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jabber.ru/pipermail/ejabberd/attachments/20101018/984860e5/attachment.html>


More information about the ejabberd mailing list