new backup server

new backup server

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

new backup server

Post by Tobi »

Masure offered a new backup server:

masure.hd.free.fr:8200

So if you are lobby developer and use a list of backup servers, feel free to add this one to your list.

If you are a user and your favorite lobby does not have a list of backup servers, feel free to remember/copy this URL for in case the main server has one of it's occasional hickups again :-)

Thanks Masure!
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: new backup server

Post by Peet »

Which server is it running?
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: new backup server

Post by Tobi »

TASServer
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: new backup server

Post by bibim »

Why don't we use a dynamic host (dyndns, no-ip ...) ? That way we could change the backup server without impacting lobby clients...
Satirik
Lobby Developer
Posts: 1688
Joined: 16 Mar 2007, 18:27

Re: new backup server

Post by Satirik »

bibim wrote:Why don't we use a dynamic host (dyndns, no-ip ...) ? That way we could change the backup server without impacting lobby clients...
like buildbot.no-ip.org ... the backup server ? (which is never up btw)
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: new backup server

Post by bibim »

Satirik wrote:like buildbot.no-ip.org ... the backup server ? (which is never up btw)
exactly, except that we shouldn't use the same dynamic host as the buildbot of course :wink:
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

bibim wrote:Why don't we use a dynamic host (dyndns, no-ip ...) ? That way we could change the backup server without impacting lobby clients...
I don't intend to change my ip or reverse dns every week. There is no need to have something dynamic. If, for some reason, I would not able to provide this backup server anymore, I'll post something in the forum to say it before.

And I don't like free dynamic dns providers, they sometimes are down even if your ip hasn't changed.
User avatar
bibim
Lobby Developer
Posts: 959
Joined: 06 Dec 2007, 11:12

Re: new backup server

Post by bibim »

Masure wrote:There is no need to have something dynamic. If, for some reason, I would not able to provide this backup server anymore, I'll post something in the forum to say it before.
How would you post it in the forum if the forum is down (as it is most of the time when the lobby server is down) ?
Anyway that's not the problem. It is much more flexible to have a dynamic host in the lobby default configuration than having to tell everyone to add a host in his lobby... Actually if it had been done this way from the start, everyone could already use your backup server without changing anything in his configuration. It would be transparent to the users and the lobby devs.
Masure wrote:And I don't like free dynamic dns providers, they sometimes are down even if your ip hasn't changed.
Well, actually there's no need to use a dynamic dns provider, you can also use your own domain with a small TTL value.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: new backup server

Post by Tobi »

The dynhost/no-ip/short TTL domain idea is really good, stupid I hadn't thought of that before :-)

I created taspringmaster.servegame.com, this currently points to masure's IP. I suggest this to be added to hardcoded backup server lists in lobby clients so we can easily redirect it in case this is necessary. (DNS is from no-ip.com btw; 5 min TTL IIRC)

For extra redundancy I think it would be good if there were a few other of such domains created, but admin'ed by other people. So if backup this points to is down and I'm AFK it doesn't stop some other backup from working.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

Tobi, would it be possible to shut down the master server one before the 0.76b2 release ?

I'd like to verify my server's reliability in case of master shutdown.
User avatar
AF
AI Developer
Posts: 20687
Joined: 14 Sep 2004, 11:32

Re: new backup server

Post by AF »

Should that not have been done prior to offering it up as a backup? Aegis has been able to stress test his own server implementation and TASServer without needing it to be set as the primary lobby server all on his own. =z
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

It seems the backup server was running well with 170 players connected.

I don't know how to set up country resolution and would appreciate an help on that.

Is it also possible to have an admin account in Lan mode ?
Posts
Posts: 63
Joined: 02 Oct 2007, 04:00

Re: new backup server

Post by Posts »

TASSERVER
-LANADMIN [username] [password]
Will override default lan admin account. Use this account to set up your lan server at runtime.

only use this in lan mode:
give others admin, permissions are removed as soon as they disconnect
changeaccountaccess <username> 3
same as previous with max in game time and maybe a working bot flag(playing a single game will put the ingame time back to 0 + some)
changeaccountaccess <username> 2147483647

things you should have a copy of:
AdminCommands.txt
TASServer.java

mute commands and ip command works in lan mode

username is case sensitive

run tasserver with a garbage perameter to see a full list of parameters
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

Thanks.

I'll restart the server with this argument and give the lan admin account information to the current admins for the next main server downtime.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: new backup server

Post by Licho »

BrainDamage suggested creating central site (simple webpage) listing currently working mirrors (tested every couple of minutes) along with settable priorities.

What do other lobby developers think about it?
User avatar
aegis
Posts: 2456
Joined: 11 Jul 2007, 17:47

Re: new backup server

Post by aegis »

it would need to be very reliable and possible to be updated by more than one person
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

BTW, there is an overrided admin account now. Current admins, feel free to ask for if needed.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

Moreover, pm me once the new server is done and can replace tasserver.
User avatar
Licho
Zero-K Developer
Posts: 3803
Joined: 19 May 2006, 19:13

Re: new backup server

Post by Licho »

aegis wrote:it would need to be very reliable and possible to be updated by more than one person
Both are easy to do .. there can even be multiple "masterlist" sites just in case it fails too.
Hosting near static php or even text file is certainly easier and more reliable than hosting the server.
Masure
Posts: 581
Joined: 30 Jan 2007, 15:23

Re: new backup server

Post by Masure »

ATM the backup server is being redirected to the main. This is ok when people are lost on the backup while the main is up.

However, if nobody disables redirection, we'll get in trouble for the next main server downtime.

I only provide the server hosting so don't rely on me to change its settings in real time.

This was just an information message.
Post Reply

Return to “Engine”