Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---
- name: bosh
- releases:
- - name: bosh
- url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=246
- sha1: c410ed4fc53fb1432a5d64174e2222e883173a16
- - name: bosh-openstack-cpi
- url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=17
- sha1: b2afe5523191e3ea05c7d2f7ff4e0f019a8f8bd6
- resource_pools:
- - name: vms
- network: private
- stemcell:
- url: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3177
- sha1: 5fef1e29fc55d6a250d72fcfa4003b26b06f6d37
- cloud_properties:
- instance_type: m1.xlarge
- disk_pools:
- - name: disks
- disk_size: 20_000
- networks:
- - name: private
- type: manual
- subnets:
- - range: 10.0.0.0/24 # <--- Replace with a private subnet CIDR
- gateway: 10.0.0.1 # <--- Replace with a private subnet's gateway
- dns: [19X.5X.23X.1XX 19X.5X.2XX.1XX] # <--- Replace with your DNS
- cloud_properties: {net_id: 05809001-dbd4-4ef3-8f9b-a139281b9291} # <--- # Replace with private network UUID
- - name: public
- type: vip
- jobs:
- - name: bosh
- instances: 1
- templates:
- - {name: nats, release: bosh}
- - {name: redis, release: bosh}
- - {name: postgres, release: bosh}
- - {name: blobstore, release: bosh}
- - {name: director, release: bosh}
- - {name: health_monitor, release: bosh}
- - {name: registry, release: bosh}
- - {name: openstack_cpi, release: bosh-openstack-cpi}
- resource_pool: vms
- persistent_disk: 20000
- networks:
- - name: private
- static_ips: [10.0.0.14] # <--- Replace with a private IP
- default: [dns, gateway]
- - name: public
- static_ips: [10.71.68.44] # <--- Replace with a floating IP
- properties:
- nats:
- address: 127.0.0.1
- user: nats
- password: nats-password
- redis:
- listen_address: 127.0.0.1
- address: 127.0.0.1
- password: redis-password
- postgres: &db
- listen_address: 127.0.0.1
- host: 127.0.0.1
- user: postgres
- password: postgres-password
- database: bosh
- adapter: postgres
- registry:
- address: 10.0.0.14 # <--- Replace with a private IP
- host: 10.0.0.14 # <--- Replace with a private IP
- db: *db
- http: {user: admin, password: admin, port: 25777}
- username: admin
- password: admin
- port: 25777
- blobstore:
- address: 10.0.0.14 # <--- Replace with a private IP
- port: 25250
- provider: dav
- director: {user: director, password: director-password}
- agent: {user: agent, password: agent-password}
- director:
- address: 127.0.0.1
- name: my-bosh
- db: *db
- cpi_job: openstack_cpi
- max_threads: 3
- user_management:
- provider: local
- local:
- users:
- - {name: admin, password: admin}
- - {name: hm, password: hm-password}
- hm:
- director_account: {user: hm, password: hm-password}
- resurrector_enabled: true
- openstack: &openstack
- auth_url: http://10.71.XX.XX:5000/v2.0 # <--- Replace with OpenStack Identity API endpoint
- tenant: Tenant_cloudfoundry # <--- Replace with OpenStack tenant name
- username: User_cloudfoundry # <--- Replace with OpenStack username
- api_key: cl0udF0undry # <--- Replace with OpenStack password
- default_key_name: microbosh
- default_security_groups: [bosh]
- agent: {mbus: "nats://nats:nats-password@10.0.0.14:4222"} # <--- Replace with a private IP
- ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org]
- cloud_provider:
- template: {name: openstack_cpi, release: bosh-openstack-cpi}
- ssh_tunnel:
- host: 10.71.XX.XX # <--- Replace with a floating IP
- port: 22
- user: vcap
- private_key: ./microbosh.pem # Path relative to this manifest file
- mbus: "https://mbus:mbus-password@10.71.xx.xx:6868" # <--- Replace with a floating IP
- properties:
- openstack: *openstack
- agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"}
- blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache}
- ntp: *ntp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement