[ejabberd] Turning off nodes in a cluster

Julien Genestoux julien.genestoux at gmail.com
Wed Oct 20 16:38:10 MSD 2010


Nope... everything was fine (and is still fine). Not sure why it keeps
saying these nodes. Maybe it has something to do with the fact that we
started the servers with the -mnesia extra_db_nodes option (and the list of
other servers, including those which are now down).

Thanks again for the help!
Ju


On Tue, Oct 19, 2010 at 7:46 PM, Christopher Zorn <
christopher.zorn at gmail.com> wrote:

>
>
> 2010/10/18 Julien Genestoux <julien.genestoux at gmail.com>
>
> Thanks Chris. That's actually what I did. It all seems fine.
>> One confirmation, though : is it ok that mnesia:info(). shows 'stopped db
>> nodes   = [ejabberd at xmpp3]'?
>>
>>
> That should not show when you remove it or restart the servers. Its fine to
> have the stopped nodes but if you try to change schema you will run into
> problems.
>
> Where there errors or anything when you removed the node?
>
> Cheers,
>>
>> Ju
>>
>>
>> On Mon, Oct 18, 2010 at 4:35 PM, Christopher Zorn <
>> christopher.zorn at gmail.com> wrote:
>>
>>> 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
>>>>
>>>>
>>>
>>> _______________________________________________
>>> 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/20101020/4fdaf697/attachment.html>


More information about the ejabberd mailing list