Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Reply
Thread Tools Search this Thread Display Modes
Old 27th May 2012, 11:47   #1
thewoose
Junior Member
 
Join Date: Mar 2011
Posts: 16
Shoutcast Hot Standby Server setup

Hi,

I have been searching these forums for a long time trying to find out how to do this, but no luck so far.

I have a main SC server located in Denmark, and a "hot standby" server in the US. What I would like to do is have both of them show up in the YP as one server instead of two, and do an automatic failover should the main server become overloaded.

Is this possible to do with completely different machines?

Thanks,
Steve
thewoose is offline   Reply With Quote
Old 27th May 2012, 16:10   #2
louislouw
Junior Member
 
Join Date: May 2012
Posts: 8
If you have enough bandwidth, I'd say connect an encoder to both at the same time.
That way if one goes down, the other is still up. If you let listeners connect using a playlist file with both servers, then if one goes down the listeners should automatically "roll over" to the next entry in the playlist.
louislouw is offline   Reply With Quote
Old 27th May 2012, 19:42   #3
DrO
-
 
DrO's Avatar
 
Join Date: Sep 2003
Location: UK
Posts: 22,278
Quote:
Originally Posted by thewoose View Post
What I would like to do is have both of them show up in the YP as one server instead of two, and do an automatic failover should the main server become overloaded.
as long as the servers have been clustered together correctly, then at least with a v1 DNAS it should be sending clients to the 'backup' which the YP provides back to the DNAS.

with the v2 DNAS it's a bit funky with the current public build for doing that but has been resolved in the internal builds.

in either case, as long as the clustering is done correctly, then the YP will put the server with the most free slots first in the list and will change what is provided as time goes on. if someone connects directly then (barring any bugs) should redirect that if the DNAS has a known backup.


the only issue to that is it means both will be used at the same time - it sounds a bit like you only want the main being used unless there is an issue. if that is the case then what i've described probably isn't going to fit your needs and you might then need to do funky stuff like proxy handling to control who gets sent to what DNAS, etc.

-daz
DrO is offline   Reply With Quote
Reply
Go Back   Winamp Forums > SHOUTcast > SHOUTcast Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump