You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by we...@apache.org on 2026/04/13 17:12:44 UTC

(ozone-site) branch master updated: HDDS-14428. [Website v2] [Docs] [Administrator Guide] Cluster expansion. (#390)

This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 5205b3b82 HDDS-14428. [Website v2] [Docs] [Administrator Guide] Cluster expansion. (#390)
5205b3b82 is described below

commit 5205b3b82f5398e25fef7f8c1752675024e8ae10
Author: Wei-Chiu Chuang <we...@apache.org>
AuthorDate: Mon Apr 13 10:12:38 2026 -0700

    HDDS-14428. [Website v2] [Docs] [Administrator Guide] Cluster expansion. (#390)
---
 .../03-operations/14-cluster-expansion.md          | 53 ++++++++++++++++++++++
 1 file changed, 53 insertions(+)

diff --git a/docs/05-administrator-guide/03-operations/14-cluster-expansion.md b/docs/05-administrator-guide/03-operations/14-cluster-expansion.md
new file mode 100644
index 000000000..d57fafb3b
--- /dev/null
+++ b/docs/05-administrator-guide/03-operations/14-cluster-expansion.md
@@ -0,0 +1,53 @@
+---
+sidebar_label: Cluster expansion
+---
+
+# Cluster expansion
+
+This guide covers common ways to grow capacity: **new Datanodes**, **extra disks** on existing Datanodes, and **more memory** (heap) for a Datanode. These operations are supported; Ozone picks up new nodes and storage through normal Datanode registration and heartbeat metadata—no separate “sync” step is required beyond correct configuration and restart where noted.
+
+Adding capacity does **not** immediately redistribute existing data. New writes use the expanded cluster; to spread load or disk usage, use the balancers linked below.
+
+## Add a new Datanode
+
+1. Prepare the host (OS, Java, network, users/permissions) and install Ozone binaries—same as any new node. See the [bare-metal installation guide](../../quick-start/installation/bare-metal) and [Installing Ozone binaries](../installation/installing-binaries).
+2. Copy or generate **`ozone-site.xml`** (and related config) so this node matches the cluster’s OM/SCM addresses, security settings, and storage layout conventions.
+3. Start the Datanode on the new host:
+
+   ```bash
+   ozone --daemon start datanode
+   ```
+
+   For a full startup order and optional scripts, see [Starting and Stopping the Ozone Cluster](./start-and-stop).
+
+After the Datanode registers with SCM, its capacity is available for new containers and replicas.
+
+### Balance load across Datanodes
+
+To move existing **closed** containers toward an even utilization of the cluster, run the [Container Balancer](./data-balancing/container-balancer) after expansion.
+
+## Add a disk to an existing Datanode
+
+1. Install the disk, **format** it, and **mount** it on the host.
+2. Ensure the Ozone process user can read/write the mount (ownership and permissions).
+3. Append the new mount path to **`hdds.datanode.dir`** in `ozone-site.xml` (comma-separated list). See the [configuration appendix](../configuration/appendix) for property details.
+4. **Restart** the Datanode so it picks up the new volume.
+
+SCM learns the added capacity through the Datanode’s storage reports.
+
+### Balance traffic across disks
+
+To shift work between disks on the same Datanode, use the [Disk Balancer](./data-balancing/disk-balancer).
+
+## Increase Datanode memory (heap)
+
+You do **not** need Ozone configuration keys to use additional **RAM** on the host; the process can use what the OS provides.
+
+To raise the Datanode **Java heap** explicitly, set the environment (for example in the service environment file or before launch), then restart the Datanode:
+
+- **`OZONE_HEAPSIZE_MAX`** — sets the maximum heap (`-Xmx`).
+- **`OZONE_DATANODE_OPTS`** — additional JVM options for Datanodes.
+
+See [Environment variables](../configuration/basic/environment-variables) for descriptions and examples.
+
+**CPU:** Extra vCPUs or sockets do not require Ozone-specific settings; the running Datanode benefits after restart if you also change JVM or service limits at the OS level.


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org