How to set Risk Factor on Multiple Master or Slave?

If you have multiple Masters and multiple Slaves, and if you want a unique Slave to follow a specific Master, you can do this with the Risk Factor: 

Learn more about the Types of Risk Factors.