Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
205 lines (198 sloc) 4.77 KB
---
name: bosh1
director_uuid: 7d72eb71-9a98-4081-9857-ad7c7ff4ee33
release:
name: bosh-dev1 # name of your release, you can look up this by doing: $ bosh releases
version: 6.1-dev # version of the release.
networks: #define networks
- name: default
subnets:
- reserved: #ips should not be managed by BOSH
- 10.60.98.121 - 10.60.98.254
static: #ips you will use
- 10.60.98.115 - 10.60.98.120
range: 10.60.98.0/24
gateway: 10.60.98.1
dns:
- 10.40.62.11
- 10.135.12.101
cloud_properties: #the same network as all other vms.
name: VM Network
resource_pools: #define several kinds of resource pools
- name: small
stemcell: #stemcell you will use. You can look up all the stemcells by: $ bosh stemcells
name: bosh-stemcell
version: 0.6.4
network: default
size: 3 #number of this kind of resource pool
cloud_properties:
ram: 512
disk: 2048
cpu: 1
- name: medium
stemcell:
name: bosh-stemcell
version: 0.6.4
network: default
size: 2
cloud_properties:
ram: 1024
disk: 8192
cpu: 1
- name: director
stemcell:
name: bosh-stemcell
version: 0.6.4
network: default
size: 1
cloud_properties:
ram: 2048
disk: 8192
cpu: 2
compilation:
workers: 4 #number of parallel compile workers.
network: default
cloud_properties:
ram: 2048
disk: 4096
cpu: 4
update:
canaries: 1
canary_watch_time: 60000
update_watch_time: 60000
max_in_flight: 1 #number of parallel update jobs
max_errors: 2
jobs: #define all the necessary jobs to BOSH deploy
- name: nats #define NATS, a messaging job for vms
template: nats
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.60.98.120
- name: postgres #define postgres database job
template: postgres
instances: 1
resource_pool: medium
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.60.98.119
- name: redis #define redis database job
template: redis
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.60.98.118
- name: director #define director. After deployed, this will be the “controller” to BOSH
template: director
instances: 1
resource_pool: director
persistent_disk: 2048
networks:
- name: default
static_ips:
- 10.60.98.117
- name: blobstore # where all the packages of BOSH are stored
template: blobstore
instances: 1
resource_pool: medium
persistent_disk: 20480 #define the storage. MB
networks:
- name: default
static_ips:
- 10.60.98.116
- name: health_monitor
template: health_monitor
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 10.60.98.115
properties: # define property for the jobs above
env:
#http_proxy: "http://<proxy>"
#https_proxy: "http://<proxy>"
#no_proxy: ""
blobstore:
address: 10.60.98.116
port: 25251
backend_port: 25552
agent:
user: root
password: password
director: #define user and password for director
user: root
password: password
networks:
apps: default
management: default
nats:
user: root
password: password
address: 10.60.98.120
port: 4222
postgres:
user: root
password: password
address: 10.60.98.119
port: 5432
database: bosh
redis:
address: 10.60.98.118
port: 25255
password: password
director:
name: bosh_director
address: 10.60.98.117
port: 25555
hm:
http:
port: 25923
user: root
password: password
director_account:
user: root
password: password
intervals:
poll_director: 60
poll_grace_period: 30
log_stats: 300
analyze_agents: 60
agent_timeout: 180
rogue_agent_alert: 180
loglevel: info #define log level.
email_notifications: false
email_recipients:
- admin@vmware.com
smtp:
from: admin@vmware.com
host: smtp.vmware.com
port: 25
auth: plain
user: root
password: password
domain: localdomain
tsdb_enabled: false # If this option is set to false, comment out its params.
#tsdb:
# address: 10.1.4.228
# port: 4242
vcenter: #vCenter configuration according to your vCenter settings
address: 10.60.98.126
user: Administrator
password: <password of vCenter>
datacenters:
- name: vDataCenter #name of your datacent in vCenter
vm_folder: vm_folder_bosh #folder to save vm, created in vCenter.
template_folder: template_folder_bosh
disk_path: boshdeployer_bosh #disk path, created in the datastore in vCenter
datastore_pattern: NFSdatastore
persistent_datastore_pattern: NFSdatastore
allow_mixed_datastores: true
clusters:
- vCluster