Advertisement
Guest User

Untitled

a guest
Jan 17th, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. ---
  2. name: bosh
  3.  
  4. releases:
  5. - name: bosh
  6. url: https://bosh.io/d/github.com/cloudfoundry/bosh?v=246
  7. sha1: c410ed4fc53fb1432a5d64174e2222e883173a16
  8. - name: bosh-openstack-cpi
  9. url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-openstack-cpi-release?v=17
  10. sha1: b2afe5523191e3ea05c7d2f7ff4e0f019a8f8bd6
  11.  
  12. resource_pools:
  13. - name: vms
  14. network: private
  15. stemcell:
  16. url: https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3177
  17. sha1: 5fef1e29fc55d6a250d72fcfa4003b26b06f6d37
  18. cloud_properties:
  19. instance_type: m1.xlarge
  20.  
  21. disk_pools:
  22. - name: disks
  23. disk_size: 20_000
  24.  
  25. networks:
  26. - name: private
  27. type: manual
  28. subnets:
  29. - range: 10.0.0.0/24 # <--- Replace with a private subnet CIDR
  30. gateway: 10.0.0.1 # <--- Replace with a private subnet's gateway
  31. dns: [19X.5X.23X.1XX 19X.5X.2XX.1XX] # <--- Replace with your DNS
  32. cloud_properties: {net_id: 05809001-dbd4-4ef3-8f9b-a139281b9291} # <--- # Replace with private network UUID
  33. - name: public
  34. type: vip
  35.  
  36. jobs:
  37. - name: bosh
  38. instances: 1
  39.  
  40. templates:
  41. - {name: nats, release: bosh}
  42. - {name: redis, release: bosh}
  43. - {name: postgres, release: bosh}
  44. - {name: blobstore, release: bosh}
  45. - {name: director, release: bosh}
  46. - {name: health_monitor, release: bosh}
  47. - {name: registry, release: bosh}
  48. - {name: openstack_cpi, release: bosh-openstack-cpi}
  49.  
  50. resource_pool: vms
  51. persistent_disk: 20000
  52.  
  53. networks:
  54. - name: private
  55. static_ips: [10.0.0.14] # <--- Replace with a private IP
  56. default: [dns, gateway]
  57. - name: public
  58. static_ips: [10.71.68.44] # <--- Replace with a floating IP
  59.  
  60. properties:
  61. nats:
  62. address: 127.0.0.1
  63. user: nats
  64. password: nats-password
  65.  
  66. redis:
  67. listen_address: 127.0.0.1
  68. address: 127.0.0.1
  69. password: redis-password
  70.  
  71. postgres: &db
  72. listen_address: 127.0.0.1
  73. host: 127.0.0.1
  74. user: postgres
  75. password: postgres-password
  76. database: bosh
  77. adapter: postgres
  78.  
  79. registry:
  80. address: 10.0.0.14 # <--- Replace with a private IP
  81. host: 10.0.0.14 # <--- Replace with a private IP
  82. db: *db
  83. http: {user: admin, password: admin, port: 25777}
  84. username: admin
  85. password: admin
  86. port: 25777
  87.  
  88. blobstore:
  89. address: 10.0.0.14 # <--- Replace with a private IP
  90. port: 25250
  91. provider: dav
  92. director: {user: director, password: director-password}
  93. agent: {user: agent, password: agent-password}
  94.  
  95. director:
  96. address: 127.0.0.1
  97. name: my-bosh
  98. db: *db
  99. cpi_job: openstack_cpi
  100. max_threads: 3
  101. user_management:
  102. provider: local
  103. local:
  104. users:
  105. - {name: admin, password: admin}
  106. - {name: hm, password: hm-password}
  107.  
  108. hm:
  109. director_account: {user: hm, password: hm-password}
  110. resurrector_enabled: true
  111.  
  112. openstack: &openstack
  113. auth_url: http://10.71.XX.XX:5000/v2.0 # <--- Replace with OpenStack Identity API endpoint
  114. tenant: Tenant_cloudfoundry # <--- Replace with OpenStack tenant name
  115. username: User_cloudfoundry # <--- Replace with OpenStack username
  116. api_key: cl0udF0undry # <--- Replace with OpenStack password
  117. default_key_name: microbosh
  118. default_security_groups: [bosh]
  119.  
  120. agent: {mbus: "nats://nats:nats-password@10.0.0.14:4222"} # <--- Replace with a private IP
  121.  
  122. ntp: &ntp [0.pool.ntp.org, 1.pool.ntp.org]
  123.  
  124. cloud_provider:
  125. template: {name: openstack_cpi, release: bosh-openstack-cpi}
  126.  
  127. ssh_tunnel:
  128. host: 10.71.XX.XX # <--- Replace with a floating IP
  129. port: 22
  130. user: vcap
  131. private_key: ./microbosh.pem # Path relative to this manifest file
  132.  
  133. mbus: "https://mbus:mbus-password@10.71.xx.xx:6868" # <--- Replace with a floating IP
  134.  
  135. properties:
  136. openstack: *openstack
  137. agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"}
  138. blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache}
  139. ntp: *ntp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement