How to know when a failover happened and to which node using REST API?

  • 28 March 2024
  • 1 reply

Badge +2

Hey! I am developing automation scrips using Commvault APIs for my team. I know the names of primary commserve which I use, BUT whenever a failover happens my API calls of course don’t work as there is no web service active on the primary commserve. 


Is there a way to know which node the failover happened to using just the APIs? And also get the list of all failover nodes?




Best answer by Albert Williams 5 April 2024, 01:54

View original

1 reply

Userlevel 6
Badge +14

Hello @Prashant Mall 

Thanks for the great question. 

The following will return the hostname of the CS:

The following will give you Monitoring nodes and fail over nodes:

I’m not sure if you can find your answer here but these two would be where i start.

Kind regards
Albert Williams