Page 1 of 1
switch to another server
Posted: Fri Aug 19, 2005 6:33 pm
by firsti
hello all,
can someone tell me how I make this:
I have 2 of server, which are linked with one another. irc.example.com and a irc2.example.com. when irc.example.com is going down, how can I make that all users, which are on irc.example.com automatically switch on the server irc2.example.com?
sry, for my english, I hope you can understand wath I mean.
greez firsti
Posted: Fri Aug 19, 2005 9:36 pm
by Syzop
I'm assuming you are talking about a scheduled reboot (or maintenance), so you know in-advance the server will go down at xx:yy.
The usual aproach
Just update your DNS record: point irc.example.com to the ip of irc2.example.com.
(and if using dns round robin, just remove the server from the list)
Then, when the ircd goes down (it's best to KILL the ircd right before reboot/whatever), the users will automatically connect to the new ip.
Note that DNS changes will take some time to take effecet, how long depends on your TTL (Time To Live), which can be anything (a few hours is common).
**
Alternative
I have made module called
JumpServer, by which you can move "all" your users to another server by a simple command. Note however that support for this "go to server xyz" is limited, basically only mIRC supports it.
**
Naturally you can combine both :).
--
If you were talking about an unscheduled shutdown, dns round robin with multiple servers can be useful.
Posted: Fri Aug 19, 2005 9:46 pm
by Stealth
I like my way:
Tell them the server is going down in 5 minutes, and if they complain, tell them they had fair warning.

Posted: Sat Aug 20, 2005 1:59 am
by Darvocet
Stealth that is a pretty good way, I am going to use that in the future... and Syzop, I'll have to dl a copy of that module to play around with!
Posted: Sat Aug 20, 2005 12:50 pm
by firsti
thx Syzop for the infos.
have you from the JumpServer-Module a .dll format?
greez
Posted: Sat Aug 20, 2005 1:05 pm
by Dukat
Posted: Sat Aug 20, 2005 2:51 pm
by firsti
oh, thanks Dukat