Project

General

Profile

Feature #41537

MON DNS Lookup for messenger V2

Added by Ricardo Dias over 4 years ago. Updated over 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
dns,monitors,monmap
Backport:
Reviewed:
Affected Versions:
Component(RADOS):
MonClient
Pull request ID:

Description

Currently is possible for a client to use DNS SRV records to find the MONs addresses to connect to. But these addresses refer to the messenger V1 protocol.

We should also support the new messenger V2 protocol with DNS SRV records.

To allow the specification of the DNS SRV records for MONs that accept msgr2 connections we probably need to use a different service name.

Currently the service name used for v1 connections is controlled by the "mon_dns_srv_name" config option, which by default is set to "ceph-mon".
We could define another config option, called "mon_V2_dns_srv_name", with the default value of "ceph-mon-v2", and make the client to search for both services.


Related issues

Related to RADOS - Feature #14527: Lookup monitors through DNS Resolved 01/27/2016

History

#1 Updated by Ricardo Dias over 4 years ago

  • Tracker changed from Bug to Feature

#2 Updated by Ricardo Dias over 4 years ago

#3 Updated by Jason Dillaman over 4 years ago

#4 Updated by Ricardo Dias over 4 years ago

Jason Dillaman wrote:

I think v2 over DNS SRV is already handled here [1] and [2].

Great, in that case it's just a matter of updating the documentation.

Also available in: Atom PDF