Project

General

Profile

Actions

Feature #14527

closed

Lookup monitors through DNS

Added by Wido den Hollander over 8 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% 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.


Related issues 1 (1 open0 closed)

Related to RADOS - Feature #41537: MON DNS Lookup for messenger V2New08/27/2019

Actions
Actions

Also available in: Atom PDF