Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDDS-12030. Update SCM-HA.zh.md #7669

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jojochuang
Copy link
Contributor

What changes were proposed in this pull request?

HDDS-12030. Update SCM-HA.zh.md

Please describe your PR in detail:

  • Incorporates the doc update in HDDS-9897
  • Updated SCM HA docs regarding SCM HA enablement.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-12030

How was this patch tested?

Doc only

Change-Id: I0d7cf24c00aab38148e9ffd3e6e38d98e9beb318
HA mode of Storage Container Manager can be enabled with the following settings in `ozone-site.xml`:
As of Apache Ozone 2.0, SCM HA is always enabled. Test deployments can continue to use single node Ratis for SCM if needed.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The user might get confused with SCM HA and Ratis if they don't have understanding on how HA is implemented.
We can remove this line completely as the end user doesn't have to know about Ratis to run single or multiple (HA) SCM.

@@ -234,7 +228,7 @@ bin/ozone debug ldb --db=/tmp/metadata/scm.db scan --column-family=containers

## Migrating from existing SCM
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Migrating from existing SCM
## Migrating from Non-HA to HA SCM

Comment on lines +231 to 233
SCM HA is turned on for any Ozone cluster after upgrade to 2.0.0 or later. First configure only one node for the Ratis ring (`ozone.scm.nodes.serviceId` should have one element).

Start the cluster and test if it works well.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
SCM HA is turned on for any Ozone cluster after upgrade to 2.0.0 or later. First configure only one node for the Ratis ring (`ozone.scm.nodes.serviceId` should have one element).
Start the cluster and test if it works well.
Add additional SCM nodes and extend the cluster configuration to reflect the newly added nodes.
Bootstrap the newly added SCM nodes with `scm --bootstrap` command and start the SCM service.
Note: Make sure that the `ozone.scm.primordial.node.id` property is pointed to the existing SCM before you run the `bootstrap` command on the newly added SCM nodes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants