Re: [Savonet-users] active/standby configuration

2011-02-08 Thread David Baelde
Hi Peter,

As you might suspect, it's hard to distinguish a short term failure
from a real unavailability, and it certainly can't be done at the
level of a fallback. Pretty much the only place to do this is when
setting buffering parameters.

I think you already know that and your goal is realistic:

 If net1 fails net2 gets active and master, if available.
 If net1 comes up again, net2 stays master and continues playing.
 If net2 fails net1 wll be come active and master, if available.

What you want here is simply a track sensitive fallback between net1
and net2. As long as one of them is up and running, it should keep
playing. If both fail, we go to fallback_net_outage. So you could
simply set track_sensitive=true (the default) if I understand your
needs correctly.

I suspect you also want the outage source to stop playing as soon as a
network comes back, in which case there is a track insensitive switch
around a sensitive one:

radio = fallback(
        track_sensitive=false,
        [
            fallback([net1,net2]),
            fallback_net_outage
        ])

Cheers,
-- 
David

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users


[Savonet-users] active/standby configuration

2011-02-06 Thread Peter Retep
Hi,

I have a question for better understanding of fallback configuration.
We send our stream through 2 different networks to an remote receiver to fall 
back if one network fails.
At the receiver side we use a active/standby configuration, where net1 is 
master:
if net1 fails, output falls back to net2. If net1 is available again, output 
will switch back to net1.

radio = fallback(
 track_sensitive=false,
 [
 net1,
 net2,
 fallback_net_outage
 ]
)

This configuration works well in case of router restart or DSL reconnects.
Unfortunately it does not help if net1 has short time problems with internet 
connection or upload bandwidth.
In this case the output continously jumps between net1 and net2.
Because of different net running time you cannot really enjoy listening to this.

How could I configure it to swap only in case of failure?:

If net1 fails net2 gets active and master, if available.
If net1 comes up again, net2 stays master and continues playing.
If net2 fails net1 wll be come active and master, if available.

Do you have any suggestions?

BR, Peter



--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Savonet-users mailing list
Savonet-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/savonet-users