Viz Mosart Media Router Guide
Version 5.1 | Published November 01, 2022 ©
Redundancy Setup
It is possible to use two Media Router service instances in a redundancy setup. In this case one of the Media Router service instances are configured to be the master in a master / slave relationship. The following rules are applied:
-
There shall be only one Media Router service configured as master. This is done using the PreferredMaster property.
-
The slave Media Router service will automatically take control if the master is down or not responding. This behaviour may be overridden by setting the AutoFailover property to false. If so, activating the slave Media Router service has to be done manually by issuing the SetActive command.
-
The master Media Router service will always be the active Media Router service instance if it is running. I.e. if the master is started then the master will take over the control of any active slave.
-
Inactive or idle Media Router services will ignore any crosspoint changes sent from any clients.
-
The master Media Router service will ensure that the Media Router state is synchronized with the slave. Hence both master and slave shall always have the same configuration and crosspoints.
-
Clients controlling the Media Router services need to apply one of the following strategies:
-
Send crosspoints to both master and slave Media Router services.
-
Send crosspoints only to the active Media Router service. In this case the clients need to monitor whether the Media Router services are active or not.
-
Related service properties
-
Id: To set an unique identity of the Media Router service
-
PreferredMaster: Set to true for the master Media Router service
-
Slave: Connection string to the other Media Router service in a redundancy setup.
-
AutoFailover: Set to false to ignore automatic failover by the slave when loosing connection to the master.