View Full Version : Relay and Cluster Shutdowns
primal51
26th September 2004, 05:12
Greetings everyone. I'm pleased to say that I have setup a working Relay and Cluster setup for Preventer Radio.
But I do have a question that I haven't been able to see when doing a search. What happens if the main DNAS goes down? As in my server is like this, my WinAMP streams from my home computer, to a remote computer. On my home computer I have a relay server to the remote computer. Now lets say the remote computer goes down, does my stream still broadcast out through my home computer's server as if the relay wasn't there or do I loose my stream until the remote computer comes back online?
I realise if the computer that is broadcasting the stream goes down that the stream fails and the servers all shutdown, but that's ok for me.
Also if there is a broadcast from my home computer and I want to host one from another remote computer. I go into the configuration of the website, kick my home stream, can I connect with the remote stream and have that relay out without any interuptions?
Thanks everyone.
***Moved from WinAMP Technical Support, was in wrong spot***
MegaRock
26th September 2004, 08:10
"Now lets say the remote computer goes down, does my stream still broadcast out through my home computer's server as if the relay wasn't there or do I loose my stream until the remote computer comes back online? "
Yes, the stream will continue if the relay drops offline.
"Also if there is a broadcast from my home computer and I want to host one from another remote computer. I go into the configuration of the website, kick my home stream, can I connect with the remote stream and have that relay out without any interuptions?
"
If you do it quickly enough you can usually avoid an interruption but realistically if it takes more than 5 - 30 seconds to do it (depending on how high the bitrate is) it could cause a pause, buffering or a drop of listeners if you don't do it quick enough.
bingo
26th September 2004, 21:32
Just think to set a backup file too and it will be played to connected listeners the time it takes to reconnect.
primal51
29th September 2004, 17:37
??? Mirrored Posts? Am I the only one who sees 2?
primal51
29th September 2004, 17:37
Ok guys thanks for all the input. After setting up and testing my new configuration I ran across this issue.
When I take the remote relay down, and I'm connected to that relay listening as in this:
http://websavers.ca:8000
Which runs on FreeBSD. When I kill that server, I don't get any connection to the other server I'm running:
http://preventerradio.dyndns.org:8500
The relay is http://websavers.ca:8000 which connects into http://preventerradio.dyndns.org:8500. My music streams into http://preventerradio.dyndns.org:8500 from my home computer, which both 8500 and stream run on.
The other issue is when I reach the maximum listener count on one server they are not simply connected to my other server. Did I miss something in setup, or is this seperate from setting up the relay and clusters?
I can post logs i you tell me which ones you need.
bingo
29th September 2004, 19:20
Point 1 :
I don't get any connection to the other server I'm running
Do you mean people must be automatically forwarded to your home server ? If this is what you mean this is not correct.
Point 2 :
The other issue is when I reach the maximum listener count on one server they are not simply connected to my other server.
Do you mean this does be done automatically too ? This done automatically only if your listen.pls file includes the two streams like this
[playlist]
numberofentries=2
File1=http://websavers.ca:8000
File2=http://preventerradio.dyndns.org:8500
So when the first server is full, the second is choosed
primal51
1st October 2004, 12:35
Ok so I have to have multiple playlists running at the same time is that what your saying? One with websavers.ca:8000 and preventerrradio.dyndns.org:8500 the other with the actual music?
bingo
1st October 2004, 16:06
No, what I mean is : from your web site you have to create a playlist file including both URLs.
So, when your listeners click on the file, Winamp (or another player) will use this playlist file and will use the first server online or with free slots.
primal51
4th October 2004, 22:23
Could you possible explain how this is done? Or direct me to a tutorial? Sorry for the inconvience. I would really like to learn all these tricks to perfect my system.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.