mirror of https://github.com/ceph/ceph-ansible.git
debug commit
dnm Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>guits-3.2.53-cephdisk-osds
parent
bb515496ca
commit
67163113ea
|
@ -60,6 +60,10 @@
|
|||
when:
|
||||
- not delegate_facts_host | bool or inventory_hostname in groups.get(client_group_name, [])
|
||||
|
||||
- name: debug
|
||||
debug:
|
||||
msg: "{{ groups['all'] | difference(groups.get('clients', [])) }}"
|
||||
|
||||
- name: gather and delegate facts
|
||||
setup:
|
||||
gather_subset:
|
||||
|
|
|
@ -7,7 +7,7 @@ radosgw_interface: eth1
|
|||
ceph_conf_overrides:
|
||||
global:
|
||||
osd_pool_default_size: 1
|
||||
openstack_config: True
|
||||
openstack_config: false
|
||||
openstack_glance_pool:
|
||||
name: "images"
|
||||
pg_num: "{{ osd_pool_default_pg_num }}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
create_crush_tree: True
|
||||
crush_rule_config: True
|
||||
create_crush_tree: false
|
||||
crush_rule_config: false
|
||||
crush_rule_hdd:
|
||||
name: HDD
|
||||
root: default
|
||||
|
|
|
@ -1,12 +1,3 @@
|
|||
---
|
||||
os_tuning_params:
|
||||
- { name: fs.file-max, value: 26234859 }
|
||||
osd_scenario: lvm
|
||||
osd_objectstore: "bluestore"
|
||||
lvm_volumes:
|
||||
- data: data-lv1
|
||||
data_vg: test_group
|
||||
- data: data-lv2
|
||||
data_vg: test_group
|
||||
db: journal1
|
||||
db_vg: journals
|
|
@ -7,33 +7,12 @@ mon2 monitor_address=192.168.1.12
|
|||
mgr0
|
||||
|
||||
[osds]
|
||||
osd0 osd_crush_location="{ 'root': 'HDD', 'rack': 'mon-rackkkk', 'pod': 'monpod', 'host': 'osd0' }"
|
||||
osd1 osd_crush_location="{ 'root': 'default', 'host': 'osd1' }"
|
||||
osd2 osd_crush_location="{ 'root': 'default', 'host': 'osd2' }"
|
||||
|
||||
[mdss]
|
||||
mds0
|
||||
mds1
|
||||
mds2
|
||||
|
||||
[rgws]
|
||||
rgw0
|
||||
|
||||
[clients]
|
||||
client0
|
||||
client1
|
||||
|
||||
[nfss]
|
||||
nfs0
|
||||
|
||||
[rbdmirrors]
|
||||
rbd-mirror0
|
||||
|
||||
[iscsigws]
|
||||
iscsi-gw0
|
||||
|
||||
[all:vars]
|
||||
nfs_ganesha_stable=True
|
||||
nfs_ganesha_dev=False
|
||||
nfs_ganesha_stable_branch="V2.7-stable"
|
||||
nfs_ganesha_flavor="ceph_master"
|
||||
osd0 osd_scenario="non-collocated" devices="['/dev/sda', '/dev/sdb']" dedicated_devices="['/dev/sdc', '/dev/sdc']" osd_objectstore="bluestore"
|
||||
osd1 osd_scenario="non-collocated" devices="['/dev/sda', '/dev/sdb']" dedicated_devices="['/dev/sdc', '/dev/sdc']" osd_objectstore="bluestore"
|
||||
osd2 osd_scenario="non-collocated" devices="['/dev/sda', '/dev/sdb']" dedicated_devices="['/dev/sdc', '/dev/sdc']" osd_objectstore="bluestore"
|
||||
osd3 osd_scenario="non-collocated" devices="['/dev/sda', '/dev/sdb']" dedicated_devices="['/dev/sdc', '/dev/sdc']" osd_objectstore="bluestore"
|
||||
osd4 osd_scenario="non-collocated" devices="['/dev/sda', '/dev/sdb']" dedicated_devices="['/dev/sdc', '/dev/sdc']" osd_objectstore="bluestore"
|
||||
osd5 osd_scenario="non-collocated" devices="['/dev/sda']" dedicated_devices="['/dev/sdc']" osd_objectstore="filestore"
|
||||
osd6 osd_scenario="non-collocated" devices="['/dev/sda']" dedicated_devices="['/dev/sdc']" osd_objectstore="filestore"
|
||||
osd7 osd_scenario="non-collocated" devices="['/dev/sda']" dedicated_devices="['/dev/sdc']" osd_objectstore="filestore"
|
||||
osd8 osd_scenario="non-collocated" devices="['/dev/sda']" dedicated_devices="['/dev/sdc']" osd_objectstore="filestore"
|
||||
|
|
|
@ -5,14 +5,14 @@ docker: false
|
|||
|
||||
# DEFINE THE NUMBER OF VMS TO RUN
|
||||
mon_vms: 3
|
||||
osd_vms: 2
|
||||
mds_vms: 3
|
||||
rgw_vms: 1
|
||||
nfs_vms: 1
|
||||
rbd_mirror_vms: 1
|
||||
client_vms: 2
|
||||
iscsi_gw_vms: 1
|
||||
mgr_vms: 1
|
||||
osd_vms: 6
|
||||
mds_vms: 0
|
||||
rgw_vms: 0
|
||||
nfs_vms: 0
|
||||
rbd_mirror_vms: 0
|
||||
client_vms: 0
|
||||
iscsi_gw_vms: 0
|
||||
mgr_vms: 0
|
||||
|
||||
# INSTALL SOURCE OF CEPH
|
||||
# valid values are 'stable' and 'dev'
|
||||
|
|
Loading…
Reference in New Issue