Forum

Results 1 to 12 of 12
  1. #1
    Join Date
    February 2013
    Posts
    6

    Online status check and redirection

    Dear Guys,

    We have a main windows teamspeak3 server what is sometimes non reachable because of ISP reasons. For this case we also run a backup linux ts3 server at a different location. It is solved thanks to you if the main is non reachable the clients connects automatically to the backup server. Is there a way to check the main server online status from the backup linux server and in case the main online again redirect the clients to it?

    Any help would be greatly appreciated.

    Thankfully, Swartzy

  2. #2
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,312
    You can write a bot that checks it and temporarily shuts down the backup server for a second.

  3. #3
    Join Date
    February 2013
    Posts
    6
    Any idea how to write it or where to start? Thank you.

  4. #4
    Join Date
    December 2004
    Location
    RF
    Posts
    2,993
    Read query console documentation.
    Or ask somebody with experience to write one.

  5. #5
    Join Date
    December 2018
    Posts
    29
    If when your Windows server is unavailable, if it's unreachable for EVERYONE could you perhaps look at having multiple SRV Records with appropriate priorities and weights.

    So you could have the Windows server as the one clients will try to join first and if that's unreachable they will then connect to the Linux server?

    Apologies as I don't code, so the above is the only workaround I can think of.

  6. #6
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,312
    That was not the point. The point was returning to the original server.

  7. #7
    Join Date
    December 2018
    Posts
    29

    Question

    To go back from server B to server A would involve:

    (1) Monitoring the other server (ICMP check?)
    (2) Kicking users off the current server (combination of scripted clientlist and clientkick?)
    (3) Directing the clients to the other server.

    The op would need to provide more detail about how they currently connect and under what circumstances the Windows server becomes unavailable (i.e. whether the ISP issues are on the server-side and impact everyone or just a subset of users). For example, if they're connecting via 2 separate bookmarks then for (3) the kick message could just say join the other server.

    If that were possible, would the op actually want to kick people who may be in the middle of their conversations? Perhaps the op is trying to over-engineer a solution where the underlying fix is to just use a server that everyone can reach without issues? It sounds like they have already have a reliable Linux server, so perhaps best to connect to that as their first preference via DNS and appropriate SRV records.

  8. #8
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,312
    That wasn't the point either. OP wanted to redirect clients to the original server and not simply kick them. A solution was already provided. It just failed because OP does not seem to know how to implement it (or doesn't want to pay someone to do it).

    But you do have a valid point when you ask OP why he prefers using an unstable Windows server over a stable Linux one.

  9. #9
    Join Date
    February 2017
    Location
    Kepler-186f
    Posts
    53
    You can use server nicknames, the clients only have to connect to them, if the main server is not reachable, you can change the IP behind the server nickname.

    https://www.myteamspeak.com/userarea/server_nicknames

  10. #10
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,312
    Could you guys read the OP?
    if the main is non reachable the clients connects automatically to the backup server.

  11. #11
    Join Date
    February 2017
    Location
    Kepler-186f
    Posts
    53
    TeamSpeak just has to make an API for server nicknames and then the IP can be changed automatically with a script. Anyway, using the server nickname is the easiest and best method in my opinion.

  12. #12
    Join Date
    June 2011
    Location
    Germany
    Posts
    4,312
    SRV has everything he needs, why use anything else?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Need Script to check if server is online
    By skinhead in forum Tools / Web Based
    Replies: 7
    Last Post: May 11th, 2014, 10:50 PM
  2. TS3 Online status + online number only, for website
    By veronek in forum Tools / Web Based
    Replies: 4
    Last Post: March 17th, 2012, 04:09 PM
  3. Check Server Status?
    By CourtesyFlush in forum General Questions
    Replies: 6
    Last Post: December 8th, 2011, 01:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •