Advertisement
Guest User

Untitled

a guest
Aug 4th, 2023
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. root@dev-usc1-ost-b-dp1:/etc/openstack_deploy# cat openstack_user_config.yml
  2.  
  3. ---
  4. cidr_networks:
  5. management: "172.25.240.0/22"
  6. tunnel: "172.25.224.0/22"
  7. storage: "172.25.224.0/22"
  8.  
  9. used_ips:
  10. - "172.25.224.11"
  11. - "172.25.224.102"
  12. - "172.25.224.103"
  13.  
  14. global_overrides:
  15. internal_lb_vip_address: "172.25.224.103"
  16. #
  17. # The below domain name must resolve to an IP address
  18. # in the CIDR specified in haproxy_keepalived_external_vip_cidr.
  19. # If using different protocols (https/http) for the public/internal
  20. # endpoints the two addresses must be different.
  21. #
  22. external_lb_vip_address: "172.25.224.102"
  23. management_bridge: "br-mgmt"
  24. provider_networks:
  25. - network:
  26. container_bridge: "br-mgmt"
  27. container_type: "veth"
  28. container_interface: "ens4"
  29. ip_from_q: "management"
  30. type: "raw"
  31. group_binds:
  32. - all_containers
  33. - hosts
  34. is_management_address: true
  35. - network:
  36. container_bridge: "br-vxlan"
  37. container_type: "veth"
  38. container_interface: "ens4"
  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: "ens4"
  49. host_bind_override: "ens4"
  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: "ens4"
  58. type: "vlan"
  59. range: "101:200,301:400"
  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: "ens4"
  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. inf5:
  82. ip: 172.25.225.31
  83.  
  84. inf6:
  85. ip: 172.25.225.32
  86.  
  87. inf4:
  88. ip: 172.25.225.30
  89.  
  90.  
  91. # zookeeper
  92. coordination_hosts:
  93. inf5:
  94. ip: 172.25.225.31
  95.  
  96. inf6:
  97. ip: 172.25.225.32
  98.  
  99. inf4:
  100. ip: 172.25.225.30
  101.  
  102.  
  103. # repository (apt cache, python packages, etc)
  104. repo-infra_hosts:
  105. inf5:
  106. ip: 172.25.225.31
  107.  
  108. inf6:
  109. ip: 172.25.225.32
  110.  
  111. inf4:
  112. ip: 172.25.225.30
  113.  
  114.  
  115. # load balancer
  116. # Ideally the load balancer should not use the Infrastructure hosts.
  117. # Dedicated hardware is best for improved performance and security.
  118. haproxy_hosts:
  119. hap6:
  120. ip: 172.25.225.35
  121.  
  122. hap5:
  123. ip: 172.25.225.34
  124.  
  125. hap4:
  126. ip: 172.25.225.33
  127.  
  128.  
  129. ###
  130. ### OpenStack
  131. ###
  132.  
  133. # keystone
  134. identity_hosts:
  135. inf5:
  136. ip: 172.25.225.31
  137.  
  138. inf6:
  139. ip: 172.25.225.32
  140.  
  141. inf4:
  142. ip: 172.25.225.30
  143.  
  144.  
  145. # cinder api services
  146. storage-infra_hosts:
  147. inf5:
  148. ip: 172.25.225.31
  149.  
  150. inf6:
  151. ip: 172.25.225.32
  152.  
  153. inf4:
  154. ip: 172.25.225.30
  155.  
  156.  
  157. # glance
  158. # The settings here are repeated for each infra host.
  159. # They could instead be applied as global settings in
  160. # user_variables, but are left here to illustrate that
  161. # each container could have different storage targets.
  162. image_hosts:
  163. inf5:
  164. ip: 172.25.225.31
  165. container_vars:
  166. limit_container_types: glance
  167. glance_remote_client:
  168. - what: "10.98.11.58:/glance_images"
  169. where: /var/lib/glance/images
  170. type: "nfs"
  171. options: "_netdev,auto"
  172.  
  173. inf6:
  174. ip: 172.25.225.32
  175. container_vars:
  176. limit_container_types: glance
  177. glance_remote_client:
  178. - what: "10.98.11.58:/glance_images"
  179. where: /var/lib/glance/images
  180. type: "nfs"
  181. options: "_netdev,auto"
  182.  
  183. inf4:
  184. ip: 172.25.225.30
  185. container_vars:
  186. limit_container_types: glance
  187. glance_remote_client:
  188. - what: "10.98.11.58:/glance_images"
  189. where: /var/lib/glance/images
  190. type: "nfs"
  191. options: "_netdev,auto"
  192.  
  193.  
  194. # placement
  195. placement-infra_hosts:
  196. inf5:
  197. ip: 172.25.225.31
  198.  
  199. inf6:
  200. ip: 172.25.225.32
  201.  
  202. inf4:
  203. ip: 172.25.225.30
  204.  
  205.  
  206. # nova api, conductor, etc services
  207. compute-infra_hosts:
  208. inf5:
  209. ip: 172.25.225.31
  210.  
  211. inf6:
  212. ip: 172.25.225.32
  213.  
  214. inf4:
  215. ip: 172.25.225.30
  216.  
  217.  
  218. # heat
  219. orchestration_hosts:
  220. inf5:
  221. ip: 172.25.225.31
  222.  
  223. inf6:
  224. ip: 172.25.225.32
  225.  
  226. inf4:
  227. ip: 172.25.225.30
  228.  
  229.  
  230. # horizon
  231. dashboard_hosts:
  232. inf5:
  233. ip: 172.25.225.31
  234.  
  235. inf6:
  236. ip: 172.25.225.32
  237.  
  238. inf4:
  239. ip: 172.25.225.30
  240.  
  241.  
  242. # neutron api
  243. network-infra_hosts:
  244. inf5:
  245. ip: 172.25.225.31
  246.  
  247. inf6:
  248. ip: 172.25.225.32
  249.  
  250. inf4:
  251. ip: 172.25.225.30
  252.  
  253.  
  254. # neutron agents (L3, DHCP, etc)
  255. network-agent_hosts:
  256. net1:
  257. ip: 172.25.39.35
  258.  
  259. net2:
  260. ip: 172.25.39.36
  261.  
  262.  
  263. # nova hypervisors
  264. compute_hosts:
  265. cmp3:
  266. ip: 172.25.225.40
  267. host_vars:
  268. nova_spice_html5proxy_base_url: "https://ost-b-con-dev.d.storagecraft.com/spice_auto.html"
  269.  
  270. cmp4:
  271. ip: 172.25.225.41
  272. host_vars:
  273. nova_spice_html5proxy_base_url: "https://ost-b-con-dev.d.storagecraft.com/spice_auto.html"
  274.  
  275.  
  276. # cinder volume hosts (NFS-backed)
  277. # The settings here are repeated for each infra host.
  278. # They could instead be applied as global settings in
  279. # user_variables, but are left here to illustrate that
  280. # each container could have different storage targets.
  281. storage_hosts:
  282. inf5:
  283. ip: 172.25.225.31
  284. container_vars:
  285. cinder_backends:
  286. limit_container_types: cinder_volume
  287. nfs_volume:
  288. volume_backend_name: NFS_VOLUME1
  289. volume_driver: cinder.volume.drivers.nfs.NfsDriver
  290. nfs_mount_options: "rsize=1048576,wsize=1048576,timeo=1200,actimeo=120,nolock,noatime"
  291. nfs_shares_config: /etc/cinder/nfs_shares
  292. nfs_qcow2_volumes: true
  293. nfs_snapshot_support: true
  294. max_over_subscription_ratio: 10000
  295. shares:
  296. - ip: "nfs-qcow-b.d.storagecraft.com"
  297. share: "/qcow_nfs"
  298.  
  299. inf6:
  300. ip: 172.25.225.32
  301. container_vars:
  302. cinder_backends:
  303. limit_container_types: cinder_volume
  304. nfs_volume:
  305. volume_backend_name: NFS_VOLUME1
  306. volume_driver: cinder.volume.drivers.nfs.NfsDriver
  307. nfs_mount_options: "rsize=1048576,wsize=1048576,timeo=1200,actimeo=120,nolock,noatime"
  308. nfs_shares_config: /etc/cinder/nfs_shares
  309. nfs_qcow2_volumes: true
  310. nfs_snapshot_support: true
  311. max_over_subscription_ratio: 10000
  312. shares:
  313. - ip: "nfs-qcow-b.d.storagecraft.com"
  314. share: "/qcow_nfs"
  315.  
  316. inf4:
  317. ip: 172.25.225.30
  318. container_vars:
  319. cinder_backends:
  320. limit_container_types: cinder_volume
  321. nfs_volume:
  322. volume_backend_name: NFS_VOLUME1
  323. volume_driver: cinder.volume.drivers.nfs.NfsDriver
  324. nfs_mount_options: "rsize=1048576,wsize=1048576,timeo=1200,actimeo=120,nolock,noatime"
  325. nfs_shares_config: /etc/cinder/nfs_shares
  326. nfs_qcow2_volumes: true
  327. nfs_snapshot_support: true
  328. max_over_subscription_ratio: 10000
  329. shares:
  330. - ip: "nfs-qcow-b.d.storagecraft.com"
  331. share: "/qcow_nfs"
  332. onprem_compute_hosts: {}
  333.  
  334.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement