Skip to content

Instantly share code, notes, and snippets.

@kuenishi
Last active September 10, 2021 05:04
Show Gist options
  • Save kuenishi/c6c08e657e80e09066340ad2eb04792d to your computer and use it in GitHub Desktop.
Save kuenishi/c6c08e657e80e09066340ad2eb04792d to your computer and use it in GitHub Desktop.

Ozone Code Review 2

HDDS-4819: OM HA configuration

Before, for service id sid, om1 config will be like:

ozone.om.address.sid.om1=0.0.0.0
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=om3

om2:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=0.0.0.0
ozone.om.address.sid.om3=om3

om3:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=0.0.0.0

clients:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=om3

--

After, om1:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=om3
ozone.om.bind.host=0.0.0.0

om2:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=om3
ozone.om.bind.host=0.0.0.0

om3:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=om3
ozone.om.bind.host=0.0.0.0

clients:

ozone.om.address.sid.om1=om1
ozone.om.address.sid.om2=om2
ozone.om.address.sid.om3=om3

Pull Request

HDDS-5461

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment