Skip to content

Instantly share code, notes, and snippets.

@igm
Created June 29, 2012 13:28
Show Gist options
  • Save igm/3017913 to your computer and use it in GitHub Desktop.
Save igm/3017913 to your computer and use it in GitHub Desktop.
BOSH manifest
---
name: bosh
director_uuid: a5d6347d-3b66-465f-ae06-2444db70dce3 # update as seen from "bosh status"
release:
name: bosh
version: 5
networks:
- name: default
subnets:
- reserved:
- 192.168.2.1 - 192.168.2.106
- 192.168.2.108 - 192.168.2.120 # wee need to exclude GW IP here to prevent error -> https://gist.github.com/3017896
static:
- 192.168.2.141 - 192.168.2.240
range: 192.168.2.0/24
gateway: 192.168.2.107
dns:
- 192.168.2.107
cloud_properties:
name: "VMNet"
resource_pools:
- name: small
stemcell:
name: bosh-stemcell
version: 0.6.1
network: default
size: 5
cloud_properties:
ram: 512
disk: 2048
cpu: 1
- name: director
stemcell:
name: bosh-stemcell
version: 0.6.1
network: default
size: 1
cloud_properties:
ram: 2048
disk: 8192
cpu: 2
compilation:
workers: 2
network: default
cloud_properties:
ram: 2048
disk: 4048
cpu: 4
update:
canaries: 0
canary_watch_time: 60000
update_watch_time: 60000
max_in_flight: 1
max_errors: 2
jobs:
- name: nats
template: nats
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 192.168.2.222 # Assign a static IP
- name: postgres
template: postgres
instances: 1
resource_pool: small
persistent_disk: 2048
networks:
- name: default
static_ips:
- 192.168.2.223 # Assign a static IP from the static range specified above
- name: redis
template: redis
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 192.168.2.224 # Assign a static IP from the static range specified above
- name: director
template: director
instances: 1
resource_pool: director
persistent_disk: 2048
networks:
- name: default
static_ips:
- 192.168.2.225 # Assign a static IP from the static range specified above
- name: blobstore
template: blobstore
instances: 1
resource_pool: small
persistent_disk: 20480
networks:
- name: default
static_ips:
- 192.168.2.226 # Assign a static IP from the static range specified above
- name: health_monitor
template: health_monitor
instances: 1
resource_pool: small
networks:
- name: default
static_ips:
- 192.168.2.227 # Assign a static IP from the static range specified above
properties:
env:
blobstore:
address: 192.168.2.226 # This should be the same IP specified for the job above
port: 25251
backend_port: 25552
agent:
user: agent
password: 38fh20
director:
user: director
password: oe9U37dbd
networks:
apps: default
management: default
nats:
user: nats
password: 38dhj389ddck378gcE
address: 192.168.2.222 # This should be the same IP specified for the job above
port: 4222
postgres:
user: bosh
password: 29fhcuebJDldhv265kB
address: 192.168.2.223 # This should be the same IP specified for the job above
port: 5432
database: bosh
redis:
address: 192.168.2.224 # This should be the same IP specified for the job above
port: 25255
password: wicjew93hf2
director:
name: bosh
address: 192.168.2.225 # This should be the same IP specified for the job above
port: 25555
hm:
http:
port: 25923
user: admin
password: 8wufn
director_account:
user: admin
password: admin # user/pass used to access bosh director http (http://<bd>/deployments)
intervals:
poll_director: 60
poll_grace_period: 30
log_stats: 300
analyze_agents: 60
agent_timeout: 180
rogue_agent_alert: 180
loglevel: info
email_notifications: false
email_recipients:
- igor.mihalik@gmail.com
smtp:
from: bhm@igmlab.net
host: smtp.igmlab.net
port: 25
auth: plain
user: appcloud
password: 38fhsoeY
domain: igmlab.net
tsdb_enabled: false # If this option is set to false, comment out its params.
#tsdb:
# address: 10.1.4.228
# port: 4242
vcenter:
address: 192.168.2.104 # The IP of your vCenter server
user: root # Your vCenter server user
password: vmware # You vCenter user password
datacenters:
- name: Datacenter # The datacenter name in vCenter
vm_folder: CF_VMs # This folder should be created automatically by BOSH (was not for me!!!)
template_folder: CF_Templates # This folder should be created automatically by BOSH (was not for me!!!)
disk_path: CF_Disks # Create this path manually in your datastore
datastore_pattern: SharedFS # See the offcial BOSH documentation (documentation.md) for additional pattern params
persistent_datastore_pattern: SharedFS
allow_mixed_datastores: true # Are you mixing persistent and non-persistent disks?
clusters:
- BOSH_Cluster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment