Master Server
Master Server
Whenever I go on, sometimes a message pops up that says the master server does not answer. Master server could not be reached and server list could not be updated. I talked to several people about this and they all have the same problem. Can anyone fix this?
Last edited by Crazyass on Wed Aug 10, 2005 8:13 pm, edited 1 time in total.
Metal up your ass!
Hey yeah, we were going to do that not too long ago. 
Where do we stand on redundant master servers, anyway?
It occurs to me that we should try to build into 0.2.8 support for querying multiple master servers if it's not there already, and include two or three DNS names for master servers that are known to operate. So I'll operate one, I think Tank was talking about running one, and then yours, and between the three of us there should always be one that's available.
Then, on the rare occasion when older clients complain about the one server being down, we can tell them to upgrade.
0.2.8 is going to be a big enough upgrade, I think, that it'll be worth it to try to get older clients upgraded.

Where do we stand on redundant master servers, anyway?
It occurs to me that we should try to build into 0.2.8 support for querying multiple master servers if it's not there already, and include two or three DNS names for master servers that are known to operate. So I'll operate one, I think Tank was talking about running one, and then yours, and between the three of us there should always be one that's available.
Then, on the rare occasion when older clients complain about the one server being down, we can tell them to upgrade.

Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
I'm sure happy with it so far, but alot of people like 2.6 and stuff...they are firmly against updating cuz the rubber changes..mabye if we informed them that you can now change it from fps dependency to the new way (which is?? someone fill me in) it'd change their minds.
Damn, it sure has been a while!
Why don't you just remind them that the client version doesn't matter, it's the server version that matters?TiTnAsS wrote:I'm sure happy with it so far, but alot of people like 2.6 and stuff...they are firmly against updating cuz the rubber changes..mabye if we informed them that you can now change it from fps dependency to the new way (which is?? someone fill me in) it'd change their minds.

Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
-
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org
Why different DNS names? This is a perfect example of where we should query a single DNS name (master.armagetronad.net?) and attempt all listed IPs...Lucifer wrote:It occurs to me that we should try to build into 0.2.8 support for querying multiple master servers if it's not there already, and include two or three DNS names for master servers that are known to operate. So I'll operate one, I think Tank was talking about running one, and then yours, and between the three of us there should always be one that's available.
Or, if we can get the DNS name old clients poll as a CNAME to master.armagetronad.net, the users have two options: 1) upgrade; 2) try againLucifer wrote:Then, on the rare occasion when older clients complain about the one server being down, we can tell them to upgrade.

Not sure if we'll have trouble setting up the round-robin stuff directly on armagetronad.net-- Tank just had to use no-ip, which seems to be really crappy for anything other than a simple dynamic bla.no-ip.com...

Hopefully the DNS specs allow some way to get around this, if that's the case...
Status: the code both for the master servers and the clients is there. The thing left to do maybe would be to make the timeout of the master server (when it automatically quits) and other settings configurable.
Luke: the advantage of having one dns entry per master server and not one round-robin entry is that then, each client can remember which master servers did not work today and try only the others. Of course, we can detect that centrally and update the round-robin entry accordingly, but that's then another service that may fail.
Plus, at least the master servers themselves need to know the IPs of each other, so we'll have to give each one a DNS name anyway. And if the names are master1.aarmagetronad.net, master2. ...,
Rereading what you wrote and having to admit that a single DNS name could accomplish the same, I'll have to change my argumentation: one DNS name per server works currently, whereas a single, multi-IP DNS entry would require more coding work.
Luke: the advantage of having one dns entry per master server and not one round-robin entry is that then, each client can remember which master servers did not work today and try only the others. Of course, we can detect that centrally and update the round-robin entry accordingly, but that's then another service that may fail.
Plus, at least the master servers themselves need to know the IPs of each other, so we'll have to give each one a DNS name anyway. And if the names are master1.aarmagetronad.net, master2. ...,
Rereading what you wrote and having to admit that a single DNS name could accomplish the same, I'll have to change my argumentation: one DNS name per server works currently, whereas a single, multi-IP DNS entry would require more coding work.
-
- Dr Z Level
- Posts: 2246
- Joined: Sun Mar 20, 2005 4:03 pm
- Location: IM: luke@dashjr.org
They can do that with round-robin, too. We'd just list an IP instead of domain.z-man wrote:Luke: the advantage of having one dns entry per master server and not one round-robin entry is that then, each client can remember which master servers did not work today and try only the others.
Good idea, for pre-0.2.8 clients to work nicerz-man wrote:Of course, we can detect that centrally and update the round-robin entry accordingly, but that's then another service that may fail.
Why can't they work the same? Read the list from the A DNS records...z-man wrote:Plus, at least the master servers themselves need to know the IPs of each other, so we'll have to give each one a DNS name anyway.
Then it's no different than a round-robin setup.z-man wrote:And if the names are master1.aarmagetronad.net, master2. ...,
Fine, but in the long run I think we should move to the round-robin design... How about this... For now, they're 1.master.armagetronad.net, 2.master.armagetronad.net, etc; master.armagetronad.net CNAMEs to 1.master... When we get round-robin code, we have master.armagetronad.net be that and keep #s as the invididual servers.z-man wrote:Rereading what you wrote and having to admit that a single DNS name could accomplish the same, I'll have to change my argumentation: one DNS name per server works currently, whereas a single, multi-IP DNS entry would require more coding work.
armagetron.kicks-ass.net obviously would CNAME to master.armagetronad.net

Hmm, seems to me the master server is a compromise. Without getting involved in a philosophical discussion, I'm interested in a quick fix to make it redundant that can be easily updated in the future, and allowing for a client to check multiple master servers is exactly that, a quick fix that can be updated in the future to reflect whatever is done. A long discussion isn't needed or wanted right now, all that's needed is to start testing.
So what do we need to do for me to fire up a master server on my machine and start testing master server redundancy? I imagine it'll be something where I fire mine up, you have yours running z-man (updated, I hope), and we verify they're communicating, then we try turning yours off and seeing what happens. You know, in a nutshell.
To be honest, I think there's a good possibility if we get a special arma protocol for web browsers we might be able to do away with the master server completely in favor of a web-service-based interface. Not saying we should, nor am I trying to start another "discussion".
So what do we need to do for me to fire up a master server on my machine and start testing master server redundancy? I imagine it'll be something where I fire mine up, you have yours running z-man (updated, I hope), and we verify they're communicating, then we try turning yours off and seeing what happens. You know, in a nutshell.
To be honest, I think there's a good possibility if we get a special arma protocol for web browsers we might be able to do away with the master server completely in favor of a web-service-based interface. Not saying we should, nor am I trying to start another "discussion".

Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN
Be the devil's own, Lucifer's my name.
- Iron Maiden
Be the devil's own, Lucifer's my name.
- Iron Maiden
Yes, this would be the logical next step. I'm updating the master server to the 0.2.8 branch currently. The networking base it relies on should be stable enough for that. You'll then just have to pass over the IP your server runs at and I'll start sending it updates, and we can add it to the list of servers the clients should query.Lucifer wrote:So what do we need to do for me to fire up a master server on my machine and start testing master server redundancy?
Apparently, the automake transition broke the master server. Connects to it are failing in the middle (I think the master stopped sending ack packets???). I'm investigating.
Edit for clarification: the master server build is broken. The real master server is running an old version and should be fine.
Iceman: The possibility is there in the code, but it's not yet configurable. I just don't know what to do with those servers that are not polled.
Edit for clarification: the master server build is broken. The real master server is running an old version and should be fine.
Iceman: The possibility is there in the code, but it's not yet configurable. I just don't know what to do with those servers that are not polled.