Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

Bhaskar Pandey avatar image
Bhaskar Pandey asked ·

Is manual intervention required for OpsCenter or agents after automatic OpsCenter failover?

I checked document but not getting below point completely.

WARNING: Ensure that address.yaml is not being managed by third-party Configuration Management. During failover, OpsCenter automatically changes stomp_interface in address.yaml to point to the backup OpsCenter instance. If a separate Configuration Management system is managing address.yaml, that change might be undone when the Configuration Management system pushes its next update.

https://docs.datastax.com/en/opscenter/6.7/opsc/configure/configFailover.html

opscenterfailover
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@Bhaskar Pandey That paragraph is a warning to not use orchestration or configuration management tools (such as Chef, Puppet or Ansible) to manage the address.yaml on the agent nodes of all the clusters managed by the OpsCenter instances. The OpsCenter Failover process reconfigures the agents automatically in the event of a failover.

If an admin or automation tools make updates to the address.yaml on the agents, the changes made by the secondary OpsCenter instance might be overwritten and the agents will stop working.

When an OpsCenter failover occurs automatically, you will need reconfigure the failed OpsCenter instance (not the active OpsCenter instance) and make the failed instance the new secondary by recreating the primary_opscenter_location file. For details, see Enabling automatic failover.

Depending on the root cause of the outage, it may be necessary to shutdown the primary OpsCenter instance and perform further actions as detailed in the "Failover Recovery" section of the Automatic Failover Overview document. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.