summaryrefslogtreecommitdiffstats
path: root/src/ceph/doc/mgr/localpool.rst
diff options
context:
space:
mode:
authorQiaowei Ren <qiaowei.ren@intel.com>2018-03-01 14:38:11 +0800
committerQiaowei Ren <qiaowei.ren@intel.com>2018-03-01 14:38:11 +0800
commit7da45d65be36d36b880cc55c5036e96c24b53f00 (patch)
treed4f944eb4f8f8de50a9a7584ffa408dc3a3185b2 /src/ceph/doc/mgr/localpool.rst
parent691462d09d0987b47e112d6ee8740375df3c51b2 (diff)
remove ceph code
This patch removes initial ceph code, due to license issue. Change-Id: I092d44f601cdf34aed92300fe13214925563081c Signed-off-by: Qiaowei Ren <qiaowei.ren@intel.com>
Diffstat (limited to 'src/ceph/doc/mgr/localpool.rst')
-rw-r--r--src/ceph/doc/mgr/localpool.rst35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/ceph/doc/mgr/localpool.rst b/src/ceph/doc/mgr/localpool.rst
deleted file mode 100644
index 5779b7c..0000000
--- a/src/ceph/doc/mgr/localpool.rst
+++ /dev/null
@@ -1,35 +0,0 @@
-Local pool plugin
-=================
-
-The *localpool* plugin can automatically create RADOS pools that are
-localized to a subset of the overall cluster. For example, by default, it will
-create a pool for each distinct rack in the cluster. This can be useful for some
-deployments that want to distribute some data locally as well as globally across the cluster .
-
-Enabling
---------
-
-The *localpool* module is enabled with::
-
- ceph mgr module enable localpool
-
-Configuring
------------
-
-The *localpool* module understands the following options:
-
-* **subtree** (default: `rack`): which CRUSH subtree type the module
- should create a pool for.
-* **failure_domain** (default: `host`): what failure domain we should
- separate data replicas across.
-* **pg_num** (default: `128`): number of PGs to create for each pool
-* **num_rep** (default: `3`): number of replicas for each pool.
- (Currently, pools are always replicated.)
-* **min_size** (default: none): value to set min_size to (unchanged from Ceph's default if this option is not set)
-* **prefix** (default: `by-$subtreetype-`): prefix for the pool name.
-
-These options are set via the config-key interface. For example, to
-change the replication level to 2x with only 64 PGs, ::
-
- ceph config-key set mgr/localpool/num_rep 2
- ceph config-key set mgr/localpool/pg_num 64