Actions
Bug #20241
closeddocument renaming on cluster from non standard name to ceph
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
documentation
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
capturing the rename of cluster steps in tracker, once verified can use used for docs update.
For an existing host, the removal process should be as simple as - stop the daemons on the host - rename /etc/ceph/foo.conf -> /etc/ceph/ceph.conf - rename /var/lib/ceph/*/foo-* -> /var/lib/ceph/*/ceph-* (this mainly matters for non-osds, since the osd dirs will get dynamically created by ceph-disk, but renaming will avoid leaving clutter behind) - comment out the CLUSTER= line in /etc/{sysconfig,default}/ceph (if you're on jewel) - reboot
Updated by Vasu Kulkarni almost 7 years ago
Additional places where the name is used and may need changed
$ grep \$cluster ../src/common/config_opts.h OPTION(admin_socket, OPT_STR, "$run_dir/$cluster-$name.asok") // default changed by common_preinit() OPTION(log_file, OPT_STR, "/var/log/ceph/$cluster-$name.log") // default changed by common_preinit() "default=/var/log/ceph/$cluster.$channel.log cluster=/var/log/ceph/$cluster.log") "/etc/ceph/$cluster.$name.keyring,/etc/ceph/$cluster.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin," "/usr/local/etc/ceph/$cluster.$name.keyring,/usr/local/etc/ceph/$cluster.keyring," OPTION(mon_data, OPT_STR, "/var/lib/ceph/mon/$cluster-$id") OPTION(mon_debug_dump_location, OPT_STR, "/var/log/ceph/$cluster-$name.tdump") OPTION(mds_data, OPT_STR, "/var/lib/ceph/mds/$cluster-$id") OPTION(osd_data, OPT_STR, "/var/lib/ceph/osd/$cluster-$id") OPTION(osd_journal, OPT_STR, "/var/lib/ceph/osd/$cluster-$id/journal") OPTION(rgw_data, OPT_STR, "/var/lib/ceph/radosgw/$cluster-$id") OPTION(mgr_data, OPT_STR, "/var/lib/ceph/mgr/$cluster-$id") // where to find keyring etc
Actions