PLANNED MAINTENANCE

Hello, DataStax Community!

We want to make you aware of a few operational updates which will be carried out on the site. We are working hard to streamline the login process to integrate with other DataStax resources. As such, you will soon be prompted to update your password. Please note that your username will remain the same.

As we work to improve your user experience, please be aware that login to the DataStax Community will be unavailable for a few hours on:

  • Wednesday, July 15 16:00 PDT | 19:00 EDT | 20:00 BRT
  • Thursday, July 16 00:00 BST | 01:00 CEST | 04:30 IST | 07:00 CST | 09:00 AEST

For more info, check out the FAQ page. Thank you for being a valued member of our community.


question

aravinth_chakravarthyr_173918 avatar image
aravinth_chakravarthyr_173918 asked ·

LCM duplicate cluster profiles

opscenter creates duplicate cluster profiles when opscenter is restarted


example if the cluster name is POC_1 after restart it becomes POC_11

due to this change opscenter cannot pull out the POC_1 cluster details resulting in error like cluster is not configured .

Please provide a solution for this problem

dseopscenter
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

mike.lococo_63504 avatar image
mike.lococo_63504 answered ·

This sounds like OPSC-15888, which can result in duplicate OpsCenter clusters being created when install jobs are run. This is fixed in our internal builds and should be publicly released in a 6.7.x patch within a few days.

You can workaround this by running configure jobs instead of install jobs, which is viable if you're modifying configs on an existing DSE cluster without adding nodes.

If you DO need to add new nodes, you'll have to run install jobs and delete the duplicate clusters afterward. The recommended procedure for deletion is:

  1. Ensure that OpsCenter is not in the middle of any long-running operations you don’t want to interrupt, like an almost finished repair or backup.

  2. Stop Opscenter: sudo service opscenterd stop

  3. Delete the extra cluster config files from /etc/opscenter/clusters or the relevant location. For example, if you files named “my_cluster.conf” “my_cluster1.conf” “my_cluster2.conf”, you'll want to delete the copies that have numbers in their filename.

  4. Start opscenter: sudo service opscenterd start
  5. When you refresh the UI opscenter and lcm should only show the single cluster again.

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.