[
https://issues.apache.org/jira/browse/HDDS-4819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17284201#comment-17284201
]
Bharat Viswanadham commented on HDDS-4819:
------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]