-
Notifications
You must be signed in to change notification settings - Fork 511
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
base: master
Are you sure you want to change the base?
Conversation
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. |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## Migrating from existing SCM | |
## Migrating from Non-HA to HA SCM |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
What changes were proposed in this pull request?
HDDS-12030. Update SCM-HA.zh.md
Please describe your PR in detail:
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-12030
How was this patch tested?
Doc only