Dual Hub/Leaf Network Link Problems (Colliding)

These are old archives. They are kept for historic purposes only.
Post Reply
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Dual Hub/Leaf Network Link Problems (Colliding)

Post by Darvocet »

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
- Darvocet
Sr. Network Admin: EpicIRC.Net
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

Perhaps a feature request is in order. An option in the link block to NOT try to connect if connected to server x... Something to think about anyhow.

(i know this doesnt directly help, but its a thought :P)
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
aquanight
Official supporter
Posts: 862
Joined: Tue Mar 09, 2004 10:47 pm
Location: Boise, ID

Post by aquanight »

w00t wrote:An option in the link block to NOT try to connect if connected to server x...
Doesn't deny link{} do this already?
w00t
Posts: 1136
Joined: Thu Mar 25, 2004 3:31 am
Location: Nowra, Australia

Post by w00t »

No idea, i've never had to use it.
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
Darvocet
Posts: 105
Joined: Sun Jun 27, 2004 6:40 am
Location: Houston, TX
Contact:

Post by Darvocet »

w00t wrote:No idea, i've never had to use it.
me either. The setup works well as it is for if a hub went down, but when one comes back it seems ALL the servers split once before they are satisfied with the link. It's not terriable, but say 5 mins after a hub comes back up all hell brakes loose until its relinked.
- Darvocet
Sr. Network Admin: EpicIRC.Net
Post Reply