Advertisement
Guest User

Untitled

a guest
Sep 30th, 2017
25
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. ---
  2. cidr_networks:
  3. container: 172.23.236/22
  4. tunnel: 172.29.240.0/22
  5. storage: 172.29.244.0/22
  6.  
  7. used_ips:
  8. - "172.29.236.1,172.29.236.50"
  9. - "172.29.240.1,172.29.240.50"
  10. - "172.29.244.1,172.29.244.50"
  11. - "172.29.248.1,172.29.248.50"
  12. global_overrides:
  13. internal_lb_vip_address: 172.29.236.11
  14. #
  15. # The below domain name must resolve to an IP address
  16. # in the CIDR specified in haproxy_keepalived_external_vip_cidr.
  17. # If using different protocols (https/http) for the public/internal
  18. # endpoints the two addresses must be different.
  19. #
  20. external_lb_vip_address: 172.29.236.56
  21. tunnel_bridge: "br-vxlan"
  22. management_bridge: "br-mgmt"
  23. provider_networks:
  24. - network:
  25. container_bridge: "br-mgmt"
  26. container_type: "veth"
  27. container_interface: "eth1"
  28. ip_from_q: "container"
  29. type: "raw"
  30. group_binds:
  31. - all_containers
  32. - hosts
  33. is_container_address: true
  34. is_ssh_address: true
  35. - network:
  36. container_bridge: "br-vxlan"
  37. container_type: "veth"
  38. container_interface: "eth10"
  39. ip_from_q: "tunnel"
  40. type: "vxlan"
  41. range: "1:1000"
  42. net_name: "vxlan"
  43. group_binds:
  44. - neutron_linuxbridge_agent
  45. - network:
  46. container_bridge: "br-vlan"
  47. container_type: "veth"
  48. container_interface: "eth12"
  49. host_bind_override: "eth12"
  50. type: "flat"
  51. net_name: "flat"
  52. group_binds:
  53. - neutron_linuxbridge_agent
  54. - network:
  55. container_bridge: "br-vlan"
  56. container_type: "veth"
  57. container_interface: "eth11"
  58. type: "vlan"
  59. range: "1:1"
  60. net_name: "vlan"
  61. group_binds:
  62. - neutron_linuxbridge_agent
  63. - network:
  64. container_bridge: "br-storage"
  65. container_type: "veth"
  66. container_interface: "eth2"
  67. ip_from_q: "storage"
  68. type: "raw"
  69. group_binds:
  70. - glance_api
  71. - cinder_api
  72. - cinder_volume
  73. - nova_compute
  74.  
  75. ###
  76. ### Infrastructure
  77. ###
  78.  
  79. # galera, memcache, rabbitmq, utility
  80. shared-infra_hosts:
  81. infra1:
  82. ip: 172.29.236.11
  83.  
  84. # repository (apt cache, python packages, etc)
  85. repo-infra_hosts:
  86. infra1:
  87. ip: 172.29.236.11
  88.  
  89. # load balancer
  90. # Ideally the load balancer should not use the Infrastructure hosts.
  91. # Dedicated hardware is best for improved performance and security.
  92. haproxy_hosts:
  93. infra1:
  94. ip: 172.29.236.11
  95.  
  96. # rsyslog server
  97. log_hosts:
  98. infra1:
  99. ip: 172.29.236.11
  100.  
  101. ###
  102. ### OpenStack
  103. ###
  104.  
  105. # keystone
  106. identity_hosts:
  107. infra1:
  108. ip: 172.29.236.11
  109.  
  110. # cinder api services
  111. storage-infra_hosts:
  112. infra1:
  113. ip: 172.29.236.11
  114.  
  115. # glance
  116. # The settings here are repeated for each infra host.
  117. # They could instead be applied as global settings in
  118. # user_variables, but are left here to illustrate that
  119. # each container could have different storage targets.
  120. image_hosts:
  121. infra1:
  122. ip: 172.29.236.11
  123. container_vars:
  124. limit_container_types: glance
  125. glance_nfs_client:
  126. - server: "172.29.244.15"
  127. remote_path: "/images"
  128. local_path: "/var/lib/glance/images"
  129. type: "nfs"
  130. options: "_netdev,auto"
  131.  
  132. # nova api, conductor, etc services
  133. compute-infra_hosts:
  134. infra1:
  135. ip: 172.29.236.11
  136.  
  137. # heat
  138. #orchestration_hosts:
  139. # infra1:
  140. # ip: 172.29.236.11
  141. # infra2:
  142. # ip: 172.29.236.12
  143. # infra3:
  144. # ip: 172.29.236.13
  145.  
  146. # horizon
  147. dashboard_hosts:
  148. infra1:
  149. ip: 172.29.236.11
  150.  
  151. # neutron server, agents (L3, etc)
  152. network_hosts:
  153. infra1:
  154. ip: 172.29.236.11
  155.  
  156. # ceilometer (telemetry data collection)
  157. metering-infra_hosts:
  158. infra1:
  159. ip: 172.29.236.11
  160.  
  161. # aodh (telemetry alarm service)
  162. metering-alarm_hosts:
  163. infra1:
  164. ip: 172.29.236.11
  165.  
  166. # gnocchi (telemetry metrics storage)
  167. metrics_hosts:
  168. infra1:
  169. ip: 172.29.236.11
  170.  
  171. # nova hypervisors
  172. #compute_hosts:
  173. # compute1:
  174. # ip: 172.29.236.16
  175. # compute2:
  176. # ip: 172.29.236.17
  177.  
  178. # ceilometer compute agent (telemetry data collection)
  179. #metering-compute_hosts:
  180. # compute1:
  181. # ip: 172.29.236.16
  182. # compute2:
  183. # ip: 172.29.236.17
  184.  
  185. # cinder volume hosts (NFS-backed)
  186. # The settings here are repeated for each infra host.
  187. # They could instead be applied as global settings in
  188. # user_variables, but are left here to illustrate that
  189. # each container could have different storage targets.
  190. storage_hosts:
  191. infra1:
  192. ip: 172.29.236.11
  193. container_vars:
  194. cinder_backends:
  195. limit_container_types: cinder_volume
  196. nfs_volume:
  197. volume_backend_name: NFS_VOLUME1
  198. volume_driver: cinder.volume.drivers.nfs.NfsDriver
  199. nfs_mount_options: "rsize=65535,wsize=65535,timeo=1200,actimeo=120"
  200. nfs_shares_config: /etc/cinder/nfs_shares
  201. shares:
  202. - ip: "172.29.244.15"
  203. share: "/vol/cinder"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement