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
|
2016-05-06 02:20:03 +08:00
|
|
|
nfs_vms: 0
|
2016-07-12 18:15:22 +08:00
|
|
|
rbd_mirror_vms: 0
|
2015-02-24 07:07:15 +08:00
|
|
|
client_vms: 0
|
2016-08-26 21:22:47 +08:00
|
|
|
iscsi_gw_vms: 0
|
2015-02-24 07:07:15 +08:00
|
|
|
|
2016-04-29 22:07:10 +08:00
|
|
|
# Deploy RESTAPI on each of the Monitors
|
|
|
|
restapi: true
|
|
|
|
|
2016-03-07 21:05:01 +08:00
|
|
|
# INSTALL SOURCE OF CEPH
|
|
|
|
# valid values are 'stable' and 'dev'
|
|
|
|
ceph_install_source: stable
|
|
|
|
|
2016-10-07 14:04:53 +08:00
|
|
|
# SUBNETS TO USE FOR THE VMS
|
|
|
|
public_subnet: 192.168.42
|
|
|
|
cluster_subnet: 192.168.43
|
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
|
2016-10-10 11:55:53 +08:00
|
|
|
memory: 512
|
2015-04-28 01:01:02 +08:00
|
|
|
|
2015-11-06 04:39:03 +08:00
|
|
|
# Ethernet interface name
|
2016-10-11 03:10:30 +08:00
|
|
|
# use eth1 for libvirt and ubuntu precise, enp0s8 for CentOS and ubuntu xenial
|
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' ]"
|
2016-10-10 11:55:53 +08:00
|
|
|
# For CentOS7 use disks: "[ '/dev/sda', '/dev/sdb' ]"
|
2015-12-03 06:59:52 +08:00
|
|
|
disks: "[ '/dev/sdb', '/dev/sdc' ]"
|
|
|
|
|
2015-03-30 17:45:22 +08:00
|
|
|
# VAGRANT BOX
|
2016-10-11 03:10:30 +08:00
|
|
|
# Ubuntu: bento/ubuntu-16.04 or ubuntu/trusty64 or ubuntu/wily64
|
2016-03-08 23:06:05 +08:00
|
|
|
# CentOS: bento/centos-7.1 or puppetlabs/centos-7.0-64-puppet
|
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/
|
2016-10-11 03:10:30 +08:00
|
|
|
vagrant_box: bento/ubuntu-16.04
|
2016-08-10 03:32:52 +08:00
|
|
|
# The sync directory changes based on vagrant box
|
|
|
|
# Set to /home/vagrant/sync for Centos/7, /home/{ user }/vagrant for openstack and defaults to /vagrant
|
|
|
|
vagrant_sync_dir: /home/vagrant/sync
|
2016-06-21 03:07:37 +08:00
|
|
|
# VAGRANT URL
|
|
|
|
# This is a URL to download an image from an alternate location. vagrant_box
|
|
|
|
# above should be set to the filename of the image.
|
|
|
|
# Fedora virtualbox: https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-22-20150521.x86_64.vagrant-virtualbox.box
|
|
|
|
# Fedora libvirt: https://download.fedoraproject.org/pub/fedora/linux/releases/22/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-22-20150521.x86_64.vagrant-libvirt.box
|
2016-10-12 10:35:01 +08:00
|
|
|
# vagrant_box_url: 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-11-06 04:39:03 +08:00
|
|
|
|
2016-01-23 00:58:33 +08:00
|
|
|
os_tuning_params:
|
|
|
|
- { name: kernel.pid_max, value: 4194303 }
|
|
|
|
- { name: fs.file-max, value: 26234859 }
|