Advertisement
Guest User

Untitled

a guest
Mar 30th, 2016
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. ---
  2. name: "postgres"
  3. director_uuid: "XXXXXXXXXXXXX"
  4.  
  5. releases:
  6. - name: postgres
  7. version: latest
  8.  
  9. compilation:
  10. workers: 2
  11. network: default
  12. reuse_compilation_vms: true
  13. cloud_properties:
  14. instance_type: m1.small
  15.  
  16. update:
  17. canaries: 1
  18. max_in_flight: 1
  19. canary_watch_time: 30000-60000
  20. update_watch_time: 5000-60000
  21. serial: false
  22.  
  23. resource_pools:
  24. - name: infrastructure
  25. network: default
  26. stemcell:
  27. name: bosh-openstack-kvm-ubuntu-trusty-go_agent
  28. version: latest
  29. cloud_properties:
  30. instance_type: m1.small
  31.  
  32. networks:
  33. - name: floating
  34. type: vip
  35. cloud_properties:
  36. security_groups:
  37. - open
  38. - name: default
  39. type: dynamic
  40. cloud_properties:
  41. security_groups:
  42. - open
  43. jobs:
  44. - name: postgres
  45. templates:
  46. - { release: postgres, name: postgres }
  47. - { release: postgres, name: pgpool }
  48. instances: 3
  49. persistent_disk: 1024
  50. resource_pool: infrastructure
  51. networks:
  52. - name: default
  53. default: [dns, gateway]
  54. - name: floating
  55. static_ips:
  56. - 172.21.42.167
  57. - 172.21.42.170
  58. - 172.21.42.171
  59. properties:
  60. postgres:
  61. config:
  62. port: 6432
  63. replication:
  64. enabled: true
  65. master:
  66. - 172.21.42.167
  67. pool:
  68. - 172.21.42.167
  69. - 172.21.42.170
  70. - 172.21.42.171
  71. pgpool:
  72. pool:
  73. - 172.21.42.167
  74. - 172.21.42.170
  75. - 172.21.42.171
  76. hba:
  77. - host all all 0.0.0.0/0 md5
  78. - host all all ::/0 md5
  79. pgpool:
  80. debug: true
  81. users:
  82. - username: porcupine
  83. password: quill
  84. - username: hedgehog
  85. password: frank
  86. - username: smoke-tests
  87. password: if-ya-got-em
  88. backend:
  89. hosts:
  90. - 172.21.42.167
  91. - 172.21.42.170
  92. - 172.21.42.171
  93. port: 6432
  94. config:
  95. port: 5432
  96. enable_pool_hba: on
  97. hba:
  98. - host all all 0.0.0.0/0 md5
  99. - host all all ::/0 md5
  100. pcp:
  101. system_password: secret
  102.  
  103. - name: smoke-tests
  104. lifecycle: errand
  105. templates:
  106. - { release: postgres, name: smoke-tests }
  107. instances: 1
  108. persistent_disk: 0
  109. resource_pool: infrastructure
  110. networks:
  111. - name: default
  112. default: [dns, gateway]
  113. properties:
  114. postgres:
  115. smoke-tests:
  116. target:
  117. address: 172.21.42.167
  118. port: 5432
  119. username: smoke-tests
  120. password: if-ya-got-em
  121. backend:
  122. port: 6432
  123. cluster:
  124. master:
  125. - 172.21.42.167
  126. slaves:
  127. - 172.21.42.167
  128. - 172.21.42.170
  129. - 172.21.42.171
  130.  
  131.  
  132. properties: {}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement