Merge pull request #681 from ceph/change-pool-default-size

Change pool default size
pull/682/head
Leseb 2016-04-05 16:26:17 +02:00
commit bca73c1ef1
4 changed files with 4 additions and 2 deletions

1
Vagrantfile vendored
View File

@ -67,6 +67,7 @@ ansible_provision = proc do |ansible|
ansible.extra_vars = { ansible.extra_vars = {
"ceph_#{settings['ceph_install_source']}"=> 'true', "ceph_#{settings['ceph_install_source']}"=> 'true',
journal_collocation: 'true', journal_collocation: 'true',
pool_default_size: '2',
journal_size: 100, journal_size: 100,
monitor_interface: ETH, monitor_interface: ETH,
cluster_network: "#{SUBNET}.0/24", cluster_network: "#{SUBNET}.0/24",

View File

@ -32,6 +32,7 @@ cp group_vars/osds.sample group_vars/osds
sed -i "s/#osd_auto_discovery: false/osd_auto_discovery: true/" group_vars/osds sed -i "s/#osd_auto_discovery: false/osd_auto_discovery: true/" group_vars/osds
sed -i "s/#journal_collocation: false/journal_collocation: true/" group_vars/osds sed -i "s/#journal_collocation: false/journal_collocation: true/" group_vars/osds
sed -i "s/#ceph_dev: false/ceph_dev: true/" group_vars/all sed -i "s/#ceph_dev: false/ceph_dev: true/" group_vars/all
sed -i "s/#pool_default_size: 3/pool_default_size: 2/" group_vars/all
sed -i "s/#monitor_address: 0.0.0.0/monitor_address: ${MON_IP}/" group_vars/all sed -i "s/#monitor_address: 0.0.0.0/monitor_address: ${MON_IP}/" group_vars/all
sed -i "s/#journal_size: 0/journal_size: 100/" group_vars/all sed -i "s/#journal_size: 0/journal_size: 100/" group_vars/all
sed -i "s|#public_network: 0.0.0.0\/0|public_network: ${SUBNET}|" group_vars/all sed -i "s|#public_network: 0.0.0.0\/0|public_network: ${SUBNET}|" group_vars/all

View File

@ -215,7 +215,7 @@ dummy:
#journal_size: 0 #journal_size: 0
#pool_default_pg_num: 128 #pool_default_pg_num: 128
#pool_default_pgp_num: 128 #pool_default_pgp_num: 128
#pool_default_size: 2 #pool_default_size: 3
#pool_default_min_size: 1 #pool_default_min_size: 1
#public_network: 0.0.0.0/0 #public_network: 0.0.0.0/0
#cluster_network: "{{ public_network }}" #cluster_network: "{{ public_network }}"

View File

@ -207,7 +207,7 @@ mon_pg_warn_max_object_skew: 10 # set to 20 or higher to disable complaints abou
journal_size: 0 journal_size: 0
pool_default_pg_num: 128 pool_default_pg_num: 128
pool_default_pgp_num: 128 pool_default_pgp_num: 128
pool_default_size: 2 pool_default_size: 3
pool_default_min_size: 1 pool_default_min_size: 1
public_network: 0.0.0.0/0 public_network: 0.0.0.0/0
cluster_network: "{{ public_network }}" cluster_network: "{{ public_network }}"