Questions Repo servers in two IS servers environment

We have two Integration Servers(say, IS1 and IS2) running on two physical servers, and both the IS servers have individual repo servers running on them. Let us say, Repo1 is running on IS1,and Repo2 is running on IS2.
How to find out which repo server is the primary?

For example, if Repo1 on IS1 is the primary, for some reasons if Repo1 dies/hangs will Repo2 automatically become primary and take over pending jobs?

Pandu Narayanasamy