Dual Hub/Leaf Network Link Problems (Colliding)
Posted: Tue Mar 08, 2005 9:21 pm
Well i run a network with 8 servers. 2 of the servers act as a hub and a leaf, as we have no technical hub. The idea was if one of the hubs went down for any reason, all servers would then be able to link back up immediately with the second hub to restore the network.
I have it setup so that the 2 hubs have autoconnect for all the servers, and the other 6 servers have autoconnect only for the 2 hubs.
When a hub goes down, everything works as expected. The servers attempt to connect to both hubs, and the one that remains up then links, and all is good.
When the down hub then comes back up is the issue. It starts, and immediatly tries to connect to all 8 of the servers. And the 8 servers immediatly try to connect to it. This usually works, and the server links to one of the servers, usually the first to attempt to connect. However then a barrage of netsplits occurs, as more than 1 server was connected trying to link, and (i believe) then quits the connection cause of a colliding server, or a server already linked error.
I am sure i have heard that the solution was in the connfreq, however I am not sure how to set this up on all the servers. As it stands now each server has the same unrealircd.conf file and that directive is in that conf. Different servers get different link files tho to determine hubs vs. leafs.
Is there any 'good' way to solve this issue without actually using a dedicated hub?
Thanks,
Darvocet
I have it setup so that the 2 hubs have autoconnect for all the servers, and the other 6 servers have autoconnect only for the 2 hubs.
When a hub goes down, everything works as expected. The servers attempt to connect to both hubs, and the one that remains up then links, and all is good.
When the down hub then comes back up is the issue. It starts, and immediatly tries to connect to all 8 of the servers. And the 8 servers immediatly try to connect to it. This usually works, and the server links to one of the servers, usually the first to attempt to connect. However then a barrage of netsplits occurs, as more than 1 server was connected trying to link, and (i believe) then quits the connection cause of a colliding server, or a server already linked error.
I am sure i have heard that the solution was in the connfreq, however I am not sure how to set this up on all the servers. As it stands now each server has the same unrealircd.conf file and that directive is in that conf. Different servers get different link files tho to determine hubs vs. leafs.
Is there any 'good' way to solve this issue without actually using a dedicated hub?
Thanks,
Darvocet