Advertisement
punal

Untitled

Mar 2nd, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.32 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=257.3
  7. sha1: e4442afcc64123e11f2b33cc2be799a0b59207d0
  8. - name: bosh-vsphere-cpi
  9. url: https://bosh.io/d/github.com/cloudfoundry-incubator/bosh-vsphere-cpi-release?v=26
  10. sha1: d67b9814d417fdb82092782963142418bf2ebd80
  11.  
  12. resource_pools:
  13. - name: vms
  14. network: private
  15. stemcell:
  16. url: https://bosh.io/d/stemcells/bosh-vsphere-esxi-ubuntu-trusty-go_agent?v=3262.8
  17. sha1: 4f8a695988d2a0504d8b61e476c676ea70184da7
  18. cloud_properties:
  19. cpu: 2
  20. ram: 4_096
  21. disk: 20_000
  22. env:
  23. bosh:
  24. # c1oudc0w is a default password for vcap user
  25. password: "$6$4gDD3aV0rdqlrKC$2axHCxGKIObs6tAmMTqYCspcdvQXh3JJcvWOY2WGb4SrdXtnCyNaWlrf3WEqvYR2MYizEGp3kMmbpwBC6jsHt0"
  26.  
  27. disk_pools:
  28. - name: disks
  29. disk_size: 20_000
  30.  
  31. networks:
  32. - name: private
  33. type: manual
  34. subnets:
  35. - range: NETWORK-RANGE # CHANGE-ME
  36. gateway: GATEWAY1 # CHANGE-ME
  37. dns: [DNS1] # CHANGE-ME
  38. reserved: [RESERVED-NETWORK] # CHANGE-ME
  39. cloud_properties: {name: NETWORK-NAME} # CHANGE-ME
  40.  
  41. jobs:
  42. - name: bosh
  43. instances: 1
  44.  
  45. templates:
  46. - {name: nats, release: bosh}
  47. - {name: postgres, release: bosh}
  48. - {name: blobstore, release: bosh}
  49. - {name: director, release: bosh}
  50. - {name: health_monitor, release: bosh}
  51. - {name: vsphere_cpi, release: bosh-vsphere-cpi}
  52.  
  53. resource_pool: vms
  54. persistent_disk_pool: disks
  55.  
  56. networks:
  57. - {name: private, static_ips: [STATIC-IP1]} # CHANGE-ME
  58.  
  59. properties:
  60. nats:
  61. address: 127.0.0.1
  62. user: nats
  63. password: nats-password
  64.  
  65. postgres: &db
  66. listen_address: 127.0.0.1
  67. host: 127.0.0.1
  68. user: postgres
  69. password: postgres-password
  70. database: bosh
  71. adapter: postgres
  72.  
  73. blobstore:
  74. address: STATIC-IP1 # CHANGE-ME
  75. port: 25250
  76. provider: dav
  77. director: {user: director, password: director-password}
  78. agent: {user: agent, password: agent-password}
  79.  
  80. director:
  81. address: 127.0.0.1
  82. name: my-bosh
  83. db: *db
  84. cpi_job: vsphere_cpi
  85. user_management:
  86. provider: local
  87. local:
  88. users:
  89. - {name: admin, password: admin}
  90. - {name: hm, password: hm-password}
  91.  
  92. hm:
  93. director_account: {user: hm, password: hm-password}
  94. resurrector_enabled: true
  95.  
  96. vcenter: &vcenter
  97. address: VCENTER-IP # CHANGE-ME
  98. user: VCENTER-USER # CHANGE-ME
  99. password: VCENTER-PASSWORD # CHANGE-ME
  100. datacenters:
  101. - name: DATACENTER-NAME # CHANGE-ME
  102. vm_folder: VMS-FOLDER-NAME # CHANGE-ME
  103. template_folder: TEMPLATES-FOLDER-NAME # CHANGE-ME
  104. datastore_pattern: DATASTORE-NAME # CHANGE-ME
  105. persistent_datastore_pattern: DATASTORE-NAME # CHANGE-ME
  106. disk_path: DISK-FOLDER-NAME # CHANGE-ME
  107. clusters: [CLUSTER-NAME] # CHANGE-ME
  108.  
  109. agent: {mbus: "nats://nats:nats-password@STATIC-IP1:4222"} # CHANGE-ME
  110.  
  111. ntp: &ntp [NTP1] # CHANGE-ME
  112.  
  113. cloud_provider:
  114. template: {name: vsphere_cpi, release: bosh-vsphere-cpi}
  115.  
  116. mbus: "https://mbus:mbus-password@STATIC-IP1:6868" # CHANGE-ME
  117.  
  118. properties:
  119. vcenter: *vcenter
  120. agent: {mbus: "https://mbus:mbus-password@0.0.0.0:6868"}
  121. blobstore: {provider: local, path: /var/vcap/micro_bosh/data/cache}
  122. ntp: *ntp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement