diff options
author | Justin chi <chigang@huawei.com> | 2016-01-16 02:27:23 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-01-16 02:27:24 +0000 |
commit | 7a1ca84a19fd1e5b8178ac3c471a30f71e845596 (patch) | |
tree | b352bae1525321ee393fd1ab4cff532cd2539237 /deploy/adapters/ansible/roles/ceph-config/templates/ceph.j2 | |
parent | 6d0c31acb8e9702824f0697eb9916886b0324797 (diff) | |
parent | 2616357bbf1d5cfc1f7e3923e12b8adfc5627fc6 (diff) |
Merge "deploy CEPH nodes parallelly"
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 |