2015-02-24 07:07:15 +08:00
|
|
|
---
|
|
|
|
|
2016-02-08 05:30:32 +08:00
|
|
|
# DEPLOY CONTAINERIZED DAEMONS
|
|
|
|
docker: false
|
|
|
|
|
2015-02-24 07:07:15 +08:00
|
|
|
# DEFINE THE NUMBER OF VMS TO RUN
|
|
|
|
mon_vms: 3
|
|
|
|
osd_vms: 3
|
|
|
|
mds_vms: 0
|
|
|
|
rgw_vms: 0
|
|
|
|
client_vms: 0
|
|
|
|
|
|
|
|
# SUBNET TO USE FOR THE VMS
|
|
|
|
subnet: 192.168.42
|
2015-03-30 17:45:22 +08:00
|
|
|
|
2015-04-28 01:01:02 +08:00
|
|
|
# MEMORY
|
2015-11-06 04:39:03 +08:00
|
|
|
# set 1024 for CentOS
|
2015-04-28 01:01:02 +08:00
|
|
|
memory: 256
|
|
|
|
|
2015-11-06 04:39:03 +08:00
|
|
|
# Ethernet interface name
|
2015-12-03 06:59:52 +08:00
|
|
|
# use eth1 for libvirt and ubuntu, enp0s8 for CentOS
|
2015-11-06 04:39:03 +08:00
|
|
|
eth: 'eth1'
|
|
|
|
|
2015-12-03 06:59:52 +08:00
|
|
|
# Disks
|
|
|
|
# For libvirt use disks: "[ '/dev/vdb', '/dev/vdc' ]"
|
|
|
|
disks: "[ '/dev/sdb', '/dev/sdc' ]"
|
|
|
|
|
2015-03-30 17:45:22 +08:00
|
|
|
# VAGRANT BOX
|
2015-06-16 20:25:42 +08:00
|
|
|
# Fedora: https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-22-20150521.x86_64.vagrant-virtualbox.box
|
2015-06-16 20:45:59 +08:00
|
|
|
# Ubuntu: ubuntu/trusty64
|
2015-11-06 04:39:03 +08:00
|
|
|
# CentOS: bento/centos-7.1
|
2015-12-03 06:59:52 +08:00
|
|
|
# libvirt CentOS: centos/7
|
2016-02-18 19:58:33 +08:00
|
|
|
# parallels Ubuntu: parallels/ubuntu-14.04
|
2015-10-20 17:14:05 +08:00
|
|
|
# Debian: deb/jessie-amd64 - be careful the storage controller is named 'SATA Controller'
|
2015-03-30 17:45:22 +08:00
|
|
|
# For more boxes have a look at:
|
|
|
|
# - https://atlas.hashicorp.com/boxes/search?utf8=✓&sort=&provider=virtualbox&q=
|
|
|
|
# - https://download.gluster.org/pub/gluster/purpleidea/vagrant/
|
|
|
|
vagrant_box: ubuntu/trusty64
|
2015-11-06 04:39:03 +08:00
|
|
|
|
|
|
|
# use vagrant_storagectl: 'SATA Controller' for CentOS
|
2015-08-27 17:24:53 +08:00
|
|
|
vagrant_storagectl: 'SATAController'
|
2016-01-23 00:58:33 +08:00
|
|
|
|
|
|
|
os_tuning_params:
|
|
|
|
- { name: kernel.pid_max, value: 4194303 }
|
|
|
|
- { name: fs.file-max, value: 26234859 }
|