You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Bharat Viswanadham (Jira)" <ji...@apache.org> on 2021/02/13 12:43:00 UTC

[jira] [Comment Edited] (HDDS-4819) Configuration property for OM to define bind address

    [ https://issues.apache.org/jira/browse/HDDS-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284201#comment-17284201 ] 

Bharat Viswanadham edited comment on HDDS-4819 at 2/13/21, 12:42 PM:
---------------------------------------------------------------------

Hi [~kuenishi]
Thanks for opening this Jira, I see bind host is missing for OM. (For SCM, we have bind host config)
I feel it is better to add a bind host config to OM, which will help in the scenario mentioned.

And bind host config will be used in OM only. And also We need to add the new config in a compatible way.

I completely agree on generating different config for different roles which will be a hustle, and I am also in favor of single config which can be distributed across roles.


was (Author: bharatviswa):
Hi [~kuenishi]
Thanks for opening this Jira, I see bind host is missing for OM. (For SCM, we have bind host config)
I feel it is better to add a bind host config to OM, which will help in the scenario mentioned.

And bind host config will be used in OM only. And also We need to add the new config in a compatible way.

> Configuration property for OM to define bind address
> ----------------------------------------------------
>
>                 Key: HDDS-4819
>                 URL: https://issues.apache.org/jira/browse/HDDS-4819
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: OM
>    Affects Versions: 1.0.0
>            Reporter: UENISHI Kota
>            Priority: Major
>
> Currently, "OZONE_OM_ADDRESS_KEY" (="ozone.om.address") is used both for client side and for server side. This is nice for unifying configuration files in both clients and servers, but in case where OM has multiple IP addresses and want to bind "0.0.0.0", the config file cannot be naively copied for clients' usage.
> I would suggest adding another config key such as "ozone.om.bind-host" as well as "ozone.om.https-bind-host" .
> I'm not sure there were any discussion on this topic, but I'd welcome a pointer to any past discussion.
> Situation will be more complicated when OM HA is enabled. Say OM HA consists of om1, om2, om3 and service id is "sid". om1 config will be like:
> {quote}ozone.om.address.sid.om1=0.0.0.0
> ozone.om.address.sid.om2=om2
> ozone.om.address.sid.om3=om3{quote}
> om2:
> {quote}ozone.om.address.sid.om1=om1
> ozone.om.address.sid.om2=0.0.0.0
> ozone.om.address.sid.om3=om3{quote}
> om3:
> {quote}ozone.om.address.sid.om1=om1
> ozone.om.address.sid.om2=om2
> ozone.om.address.sid.om3=0.0.0.0{quote}
> clients:
> {quote}ozone.om.address.sid.om1=om1
> ozone.om.address.sid.om2=om2
> ozone.om.address.sid.om3=om3{quote}
> It'll be a hustle to generate different configurations for all 4 roles.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org