Strategy for Airtime as Failover
  • First I want to say thanks again for the speedy help I got here to get Airtime up and running. It's connecting to both Icecast and SHOUTcast perfectly now.

    I'm standing up this Airtime server to act as a failover for a SAM server that's already in service. Basically we just want to be able to have Airtime take over a SHOUTcast stream if the SAM server goes down so there's no (or as little as possible) dead air.

    My first question is if it's possible to have Airtime automatically take over the SHOUTcast stream if it detects that it's down?

    Next question relates to shows in this failover scenario. If essentially this Airtime server will be idle unless it needs to take over the stream, since Airtime is oriented around scheduled shows, would the best thing to do be simply schedule repeating shows and have them running, but have the streams in Airtime disabled? Then if we were flipping over to Airtime in the event of an outage, we'd go in and just enable the streams.

    Is that a decent strategy or are there other options related to failover/redundancy?

    Thanks.
  • 7 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    yes it's possible, but you can do that without airtime
    you only to configure that into icecast2
  • Thanks -- in this case we're using SHOUTcast though, which doesn't have that capability (from what I understand), so I was mostly wondering if others have run into this situation and if so, how they've handled it.
    Post edited by Matt Woodward at 2013-01-29 09:18:51
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    icecast2 can restreaming soutcast stream :-)
    look icecast2 documentation
  • Thanks -- I get that Icecast can handle that but Icecast or not, what I'm really looking to accomplish is slightly different, I think anyway. But maybe not. :-) I'll try to explain in a bit more detail.

    Assume the following setup:
    * 1 shoutcast stream
    * 1 server running SAM (primary)
    * 1 server running Airtime (backup)

    For the purposes of this discussion let's assume the shoutcast stream will never go down, and that I'm not really looking to change from shoutcast to icecast at this time.

    What I'd like to have happen is if the primary SAM server that's pushing to the shoutcast stream goes down, resulting in the shoutcast stream being dead air, that the Airtime server would detect that and take over the stream.

    In other words it's not the shoutcast stream I'm worried about going down, it's the server that's streaming *to* shoutcast I'm worried about, and if that goes down I'd like Airtime to kick in and take over.

    Or are you maybe saying I could do that if I had icecast running locally (i.e. on the Airtime server) and Airtime was streaming to that, then can icecast detect if the shoutcast stream is "available" (i.e. nothing streaming to it) and automatically pick it up?

    I'll read the icecast docs as well. ;-) Thanks.
  • Le 30/01/2013 00:05, Matt Woodward a écrit :
    > Thanks -- I get that Icecast can handle that but Icecast or not, what
    > I'm really looking to accomplish is slightly different, I think
    > anyway. But maybe not. :-) I'll try to explain in a bit more detail.
    >
    > Assume the following setup:
    > * 1 shoutcast stream
    > * 1 server running SAM (primary)
    > * 1 server running Airtime (backup)
    >
    > For the purposes of this discussion let's assume the shoutcast stream
    > will never go down, and that I'm not really looking to change from
    > shoutcast to icecast at this time.
    >
    > What I'd like to have happen is if the primary SAM server that's
    > pushing to the shoutcast stream goes down, resulting in the shoutcast
    > stream being dead air, that the Airtime server would detect that and
    > take over the stream.
    >
    > In other words it's not the shoutcast stream I'm worried about going
    > down, it's the server that's streaming *to* shoutcast I'm worried
    > about, and if that goes down I'd like Airtime to kick in and take over.
    >
    > Or are you maybe saying I could do that if I had icecast running
    > locally (i.e. on the Airtime server) and Airtime was streaming to
    > that, then can icecast detect if the shoutcast stream is "available"
    > (i.e. nothing streaming to it) and automatically pick it up?
    >
    > I'll read the icecast docs as well. ;-) Thanks.
    >
    >
    Etheractis - Digital Online Media
    http://www.etheractis.fr/?-Radio-
  • Le 30/01/2013 00:05, Matt Woodward a écrit :
    > Thanks -- I get that Icecast can handle that but Icecast or not, what
    > I'm really looking to accomplish is slightly different, I think
    > anyway. But maybe not. :-) I'll try to explain in a bit more detail.
    >
    > Assume the following setup:
    > * 1 shoutcast stream
    > * 1 server running SAM (primary)
    > * 1 server running Airtime (backup)
    >
    > For the purposes of this discussion let's assume the shoutcast stream
    > will never go down, and that I'm not really looking to change from
    > shoutcast to icecast at this time.
    >
    > What I'd like to have happen is if the primary SAM server that's
    > pushing to the shoutcast stream goes down, resulting in the shoutcast
    > stream being dead air, that the Airtime server would detect that and
    > take over the stream.
    >
    > In other words it's not the shoutcast stream I'm worried about going
    > down, it's the server that's streaming *to* shoutcast I'm worried
    > about, and if that goes down I'd like Airtime to kick in and take over.
    >
    > Or are you maybe saying I could do that if I had icecast running
    > locally (i.e. on the Airtime server) and Airtime was streaming to
    > that, then can icecast detect if the shoutcast stream is "available"
    > (i.e. nothing streaming to it) and automatically pick it up?
    >
    > I'll read the icecast docs as well. ;-) Thanks.
    >
    >
    Etheractis - Digital Online Media
    http://www.etheractis.fr/?-Radio-
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    in this case airtime is perhaps not the solution
    restreaming your shoutcast with artime and create an harcoded playlist (on the same server where icecast is installed) and call it for backup case