Skip to main content
Question

Restapi for monitoring

  • June 1, 2026
  • 3 replies
  • 25 views

Forum|alt.badge.img+15

Hi All,

 

we would like to build our own montoring for Commvault over the rest api. My Question now is regarding the commserve failover. We are running 2 Comsmerve in 2 Datacenters with the build in commserve failover. Now when we use rest api we need to connect to the comsmerve but when the failover planed or unplaned occures the rest api commands run into nirvana. 

 

Do you have an idear or an solution what we can to to run the api commands againts both ? 

3 replies

Forum|alt.badge.img+17
  • Vaulter
  • June 2, 2026

Hi ​@SSchmidt ,

PFB details on configuring webserver for rest API with CS live sync enabled.
 

To configure a dedicated web server for REST API access and ensure proper operation during CommServe failover, follow these guidelines:

1. Web Server Setup for REST API
Install a dedicated Web Server in your CommCell environment. This server will host the REST API endpoints and provide access to web applications like Command Center and Web Console.
Ensure the Web Server meets system requirements.
For high availability, install at least two Web Servers and configure load balancing with session affinity .

2. CS Failover and Web Server Connectivity
When CommServe LiveSync is enabled, connectivity between the Web Server and CommServe is managed automatically. If a new web server is added, it is included in the CS LiveSync AutoTPPM clients group, and connectivity is configured automatically. See Configuring Connectivity to Remote Web Server and Workflow Engine Server.
After a failover, ensure the Web Server is updated to the same feature/maintenance release as the CommServe. Verify ODBC connections and database "Instance" keys are pointing to the correct CommServe alias.

3. Failover Considerations

During a failover (planned, maintenance, or unplanned), the Web Server must be able to communicate with the new active CommServe host. This includes proper network routing, open ports, and updated DNS or proxy settings if using a floating CommServe name.

For high availability, ensure all web servers are configured to handle failover scenarios and are included in the automatic connectivity group.

Document for ref https://documentation.commvault.com/11.40/commcell-console/configuring_connectivity_to_remote_web_server_and_workflow_engine_server.html


Scott Moseman
Vaulter
Forum|alt.badge.img+23

I read the question as how the monitoring system might understand to query CS1 vs CS2 depending on which CS is active at the time.  One suggestion would be a floating hostname in DNS which points to the active CS.  It would need to be updated after a failover.  If we’re talking about automated failovers, I’m not sure if we can add any pre/post processes to automated a DNS update.

Thanks,
Scott
 


Forum|alt.badge.img+15
  • Author
  • Certified Expert
  • June 2, 2026

Hi Scott,

 

thats sounds better than 2 Webservers :) Tnaks four you imput