Wowza Community

Failover configuraion

Looking for some best practice for a failover mechanism: straming from 2 OBS encoders to primary and backup and then to Akamai.
Currently, even without the primary stream failure, sometimes (randomly) the streams would switch from primary to backup and back and forth, during session.
When trying to use the origin/edge repeater configuration (setting up Akamai targets on the Wowza edge), looks like the edge would not stream to Akamai at all.
Any suggestions would be appreciated.