diff options
author | grakiss <grakiss.wanglei@huawei.com> | 2016-01-13 14:59:11 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2016-01-30 03:34:26 +0000 |
commit | 951cec74b7b8cef5db2f2bda7375653fedaedbf8 (patch) | |
tree | 219fdc31014836b059597bd6439dadbe6c6cb59b /deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2 | |
parent | ffcccb6b50fe7e5954188b44f6666f7ac3dee3da (diff) |
deploy CEPH nodes parallelly
JIRA:COMPASS-264
- do not use ceph-deploy
- do not need centeral node to deploy ceph
Change-Id: I0f9c459060a2fccbad73a323697ec23ea2115410
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
(cherry picked from commit 2616357bbf1d5cfc1f7e3923e12b8adfc5627fc6)
Diffstat (limited to 'deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2')
-rwxr-xr-x | deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2 | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2 b/deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2 new file mode 100755 index 00000000..bd0e3f5d --- /dev/null +++ b/deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2 @@ -0,0 +1,25 @@ +[global] +fsid = {{ ceph_fsid.stdout }} +mon initial members = {{ groups["ceph_mon"] | join(", ")}} +mon host = +{%- for host in groups["ceph_mon"] -%} +{{ ', ' if not loop.first else ''}}{{ ip_settings[host].mgmt.ip }} +{%- endfor %} + +public network = {{ mgmt_cidr }} +cluster network = {{ storage_cidr }} + +auth cluster required = cephx +auth service required = cephx +auth client required = cephx + +osd journal size = 1024 +filestore xattr use omap = true +osd pool default size = 1 +osd pool default min size = 1 +osd pool default pg num = 333 +osd pool default pgp num = 333 +osd crush chooseleaf type = 1 + +debug mon = 1 +debug ms = 0 |