Actions
Feature #14527
closedLookup monitors through DNS
% Done:
0%
Source:
other
Tags:
dns,osd,monitors,monmap,mds
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
MonClient
Pull request ID:
Description
Right now monitors have to be hardcoded into a configuration file which sometimes can be a problem.
Imagine a situation where you change the monitors by adding new ones and removing the old ones, but you forget to update the ceph.conf
A DNS lookup could be much easier. A OSD/MDS boots and it performs a DNS lookup for 'ceph-monitor'.
This could result in a answer like:
ceph-monitor.localdomain. A 10.0.0.1 ceph-monitor.localdomain. A 10.0.0.2 ceph-monitor.localdomain. A 10.0.0.3
Or in the IPv6 case:
ceph-monitor.localdomain. AAAA 2001:db8::1 ceph-monitor.localdomain. AAAA 2001:db8::2 ceph-monitor.localdomain. AAAA 2001:db8::3
Without a static configuration the daemons can now find their monitors and connect to them.
Actions