jojochuang commented on code in PR #179: URL: https://github.com/apache/ozone-site/pull/179#discussion_r2655718433
########## docs/05-administrator-guide/03-operations/03-node-decommissioning-and-maintenance/01-ozone-manager.md: ########## @@ -4,4 +4,19 @@ sidebar_label: Ozone Manager # Decommissioning an Ozone Manager -**TODO:** File a subtask under [HDDS-9859](https://issues.apache.org/jira/browse/HDDS-9859) and complete this page or section. +Ozone Manager (OM) decommissioning is the process in which you gracefully remove one of the OM from the OM HA Ring. + +To decommission an OM and remove the node from the OM HA ring, the following steps need to be executed. + Review Comment: Similar to the SCM Decommission page, recommend transfer the leadership to another OM. (Link to the "Ozone Manager Leader Transfer" page) ########## docs/05-administrator-guide/03-operations/03-node-decommissioning-and-maintenance/01-ozone-manager.md: ########## @@ -4,4 +4,19 @@ sidebar_label: Ozone Manager # Decommissioning an Ozone Manager -**TODO:** File a subtask under [HDDS-9859](https://issues.apache.org/jira/browse/HDDS-9859) and complete this page or section. +Ozone Manager (OM) decommissioning is the process in which you gracefully remove one of the OM from the OM HA Ring. + +To decommission an OM and remove the node from the OM HA ring, the following steps need to be executed. + +1. Add the *OM NodeId* of the OM Node to be decommissioned to the `ozone.om.decommissioned.nodes.<omServiceId>` property in `ozone-site.xml` of all + other OMs. +2. Run the following command to decommission an OM node. + +```shell +ozone admin om decommission -id=<om-service-id> -nodeid=<decommissioning-om-node-id> -hostname=<decommissioning-om-node-address> [optional --force] +``` + +The *force* option will skip checking whether OM configurations in `ozone-site.xml` have been updated with the decommissioned node added to +`ozone.om.decommissioned.nodes` property. + +**Note** - It is recommended to bootstrap another OM node before decommissioning one to maintain HA. Review Comment: Link "bootstrap" to the page "Ozone Manager Leader Transfer" -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
