Datastax OpsCenter upgrade from 6.0.3 to 6.0.5: migration of lcm.db

♀尐吖头ヾ 提交于 2019-12-25 07:35:53

问题


I upgraded OpsCenter from 6.0.3 to 6.0.5. Is there a way to migrate the LCM data? Is it as simple as copying the file lcm.db? Thanks.


回答1:


OpsCenter developer here. 6.0.3 to 6.0.5 is a safe upgrade to do "in-place". So if it's a package you can just 'yum upgrade' or 'apt-get upgrade'.

If you do want to backup/restore your settings for whatever reason, the best docs to look at are our high-availability docs (HA failover is basically a backup/restore): https://docs.datastax.com/en/opscenter/6.0/opsc/configure/enableFailover.html. The upgrade docs may also be useful https://docs.datastax.com/en/upgrade/doc/upgrade/opscenter/upgdOpsc.html.

The TLDR for LCM (off the top of my head) is:

  • lcm.db
  • The 'ssl' directory if you have node-to-node or client-to-node enabled (this is where the LCM certificate authority is, and if you fail to restore this you'll have trouble adding nodes later when you can't issue compatible certs for them).
  • The db crypto key in the 'keys' directory (if you fail to restore this you'll have trouble accessing encryted database fields like the password or ssh-private-key of your ssh-credentials).


来源:https://stackoverflow.com/questions/40698825/datastax-opscenter-upgrade-from-6-0-3-to-6-0-5-migration-of-lcm-db

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!