| View previous topic :: View next topic |
| Author |
Message |
WAB
Joined: 29 Aug 2007 Posts: 27
|
Posted: Sat Feb 18, 2012 8:16 pm Post subject: Realying Servers |
|
|
Hi. Assuming that I have two different remote Icecast2 servers can I use Relay settings to achieve:
A) A load balancing of listeners + auto-send extra users -when user-limit exceeds in one server- to the other server.
B) A safety net: when Server A's connection fails, Server A's listeners automatically move to Server B
Thanks |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 19, 2012 2:18 am Post subject: |
|
|
Not in the 2.3.2 code. I have some initial work in the kh tree to allow for some of these capabilities. A slave icecast could register with a master icecast such that listeners can, when trying to connect to the master, be redirected to the registered slave.
karl. |
|
| Back to top |
|
 |
WAB
Joined: 29 Aug 2007 Posts: 27
|
Posted: Sun Feb 19, 2012 10:09 am Post subject: |
|
|
A slave icecast could register with a master icecast such that listeners can, when trying to connect to the master, be redirected to the registered slave.
So, that means that master has to be online for the users to be redirected?
Also, if I have a master with a listener limit, when the limit is reached, listeners could be redirected to the slave, right?
A p2p icecast would be revolutionary. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun Feb 19, 2012 1:36 pm Post subject: |
|
|
yes, although a playlist could list more than 1 server. As I said it's only initial work
karl. |
|
| Back to top |
|
 |
WAB
Joined: 29 Aug 2007 Posts: 27
|
Posted: Sun Feb 19, 2012 10:12 pm Post subject: |
|
|
well, the playlist idea sounds practical even if it is a bit "lazy".
So if I have to servers: 1.2.3.4.:8000 and 2.3.4.5:8000, each of them has mounpoint A and B. Ishould make a pls with two tracks for each mountpoint (e.g. 1.2.3.4.:8000/A and 2.3.4.5:8000/A).
If I get it right: whenever one server gets offline the track will be skipped to the next server (unless some other track has been loaded in between in the player). If our server is online but a listeners-limit is reached an automatic relay to the other server will take place
Correct? How can I make this playlist with muse for example? |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Feb 20, 2012 1:44 am Post subject: |
|
|
you have the idea. Obviously it's hard for the server to redirect a player if the connection to the server is not possible, at least the multiple entry playlist will be a possibility. As for muse I don't know, I do not use it.
karl. |
|
| Back to top |
|
 |
|