SSO - Multiple IDP's

How to configure multiple IDP's? One application is tied to 2 IDP's at a time, Primary should be active and secondary should be in standby mode/passive, is this even possible?

Please provide some insights on this topic.