|
|
#1 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
About relay server
Hi!
I have a question about relay server. I successfully use server B as the relay server of server A. However, the original hyperlink of server A is serverA.no-ip.com/listen.pls but the hyperlink of server B is serverB.no-ip.com/listen.pls. It's quite inconvenience because we need to send out all the hyperlinks of relay servers to users. Is there any ways to stick with the address serverA.no-ip.com/listen.pls so that when it reaches the maximum number of users, it can automatically route the request to serverB which is transparent to users? Thanks in advance!
|
|
|
|
|
|
#2 |
|
Moderator
Join Date: Apr 2000
Posts: 4,485
|
If they are both listed in the SHOUTcast yp then it should do this automatically. Look for "New backup server xxx.xxx.xxx" in the log.
Tom |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
Thanks Tom!
However, I tried but it seems it's not the case. During the test, I set serverA to allow 1 users and serverB to allow 10 users. When serverB connected to serverA, the no. of users of serverA reaches maximum. Then I use mmjukebox to connect to serverA but it rejects instead of route to serverB. Did I set something wrong?
|
|
|
|
|
|
#4 |
|
Major Dude
|
that means server A cannot have a relay because it needs 1 listener spot to relay appropriately.
I Make. Perform. Mix. Play. Music. |
|
|
|
|
|
#5 |
|
Moderator
Join Date: Apr 2000
Posts: 4,485
|
Were they both listed in the yp as a cluster when you tried?
Tom |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
What I did was only modify the ini file of serverB with the following lines:
RelayPort=xxxx RelayServer=xxx.xxx.xxx.xxx If I go the the webpage of "SHOUTcast D.N.A.S. Status", both serverA:xxxx and serverB:xxxx are up and running. Where can I specify the 2 servers as cluster? BTW, after I upgrade DNAS server to 1.9.2, when using remote admin login, it prompt for username, what's that? It doesn't exists in 1.8.9. |
|
|
|
|
|
#7 |
|
Major Dude
|
useranme is admin.
did you reset serverb after you made the changes? I Make. Perform. Mix. Play. Music. |
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
Thanks DJKiller!
I did reset both servers after the changes. If the modification of the ini file is the only settings, I will try again tonight and note if the word "clustered" exists on yellow page. Thanks all!
|
|
|
|
|
|
#9 |
|
Major Dude
|
no prob
I Make. Perform. Mix. Play. Music. |
|
|
|
|
|
#10 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
I just tried but it fails again! >_<
[Log file of Server A:] [dest: serverB] starting stream (UID: 21)[L: 2]{A: Shoutcast Server 1.9.2}(P: 0) [Log file of Server B:] [main] relay thread starting [main] opening client socket [source] creating relay socket [main] Client Stream thread [0] starting [source] resolving relay host [main] client main thread starting [source] relay host gave success (ICY 200 OK) [source] relay from localhost established. [source] icy-name:name of serverA; icy-genre:Mixed [source] icy-pub:1 ; icy-br:128 ; icy-url:http://serverA:xxxx [source] icy-irc:N/A ; icy-icq:N/A ; icy-aim:N/A [yp_add] yp.shoutcast.com added me successfully In the yellowpage, both are up but the word "cluster" doesn't shows up. What's wrong with my config? |
|
|
|
|
|
#11 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,109
|
Cluster means your relay is combined (clustered) with the main DNAS.
Right click on the tune-in link from shoutcast.com and save the playlist on your desktop. Open it in a text editor and you'll see both DNAS entries. |
|
|
|
|
|
#12 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
Thanks! However, if I save the listen.pls, it only shows:
[playlist]NumberOfEntries=1 File1=http://ServerA:8000/ It sounds ServerB is not clustered with ServerA. Anything I have missed out? |
|
|
|
|
|
#13 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,109
|
Does server A relay server B or does server B relay server A?
|
|
|
|
|
|
#14 |
|
Junior Member
Join Date: Sep 2003
Posts: 9
|
ServerA is the master. ServerB is slave. The log file is attached in previous post for analysis.
Thanks! |
|
|
|
|
|
#15 |
|
Alumni
Join Date: Sep 2001
Location: Maui, Hawaii
Posts: 14,109
|
Are you looking at the playlist from the DNAS or from http://www.shoutcast.com?
If from the DNAS, then only that particular DNAS entry will appear in the pls. If from http://www.shoutcast.com then all relays should be in the pls if and only if [cluster] is prefixed to the station name. Fire up your DNASs, wait for them to cluster, then examine the pls from http://www.shoutcast.com |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|