I have two servers which are working in cluster mode, server1 and server2
I stop server1 and then stop server2 --> If I start server1 it does not start(1) but If I start server2 then server1 and server2 start.
I stop server2 and then stop server1 --> If I start server2 it does not start(2) but If I start server1 then server1 and server2 start.
(1)Node 'ejabberd@server1' is starting. Status: started
ejabberd is not running
(2)Node 'ejabberd@server2' is starting. Status: started
ejabberd is not running
I think that a cluster works only if you first start the node that the last stop.
It is ok?
Thanks
Same thing happens in the
Same thing happens in the setup I have. The reason this happens is because the MNESIA tables have to stayed Synchronized. So it makes sense that the last one to shut down has to to be the first up since its tables have most likely changed. Then the other one can synchronize w/ it.
Problematic situation
In this situation:
I stop server1 and then stop server2 --> Server2 crash --> If I start server1 it does not start and I can not start the server 2 because it is broken.
Is there any way to force the start of server1?
Thanks