SHARE
TWEET

designate.conf 27-Apr

swati06 Apr 27th, 2016 30 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # {{ ansible_managed }}
  2.  
  3. {% set _api_threads = ansible_processor_vcpus|default(2) // 2 %}
  4. {% set api_threads = _api_threads if _api_threads > 0 else 1 %}
  5.  
  6. [DEFAULT]
  7. auth_strategy = keystone
  8. verbose = {{ verbose }}
  9. debug = {{ debug }}
  10. notification_driver = messaging
  11. #notification_topics = notifications
  12.  
  13. #[oslo_messaging_notifications]
  14. #topics = notifications
  15. #driver = messaging
  16.  
  17. [oslo_messaging_rabbit]
  18. rpc_backend ={{ designate_rpc_backend }}
  19. rabbit_port = {{ rabbitmq_port }}
  20. rabbit_userid = {{ designate_rabbitmq_userid }}
  21. rabbit_password = {{ designate_rabbitmq_password }}
  22. rabbit_virtual_host = {{ designate_rabbitmq_vhost }}
  23. rabbit_hosts = {{ rabbitmq_servers }}
  24. rabbit_use_ssl = {{ rabbitmq_use_ssl }}
  25. rabbit_notification_exchange = designate
  26. rabbit_notification_topic = notifications
  27.  
  28.  
  29. #-----------------------
  30. # Keystone Middleware
  31. #-----------------------
  32. [keystone_authtoken]
  33.  
  34. insecure = {{ keystone_service_internaluri_insecure | bool }}
  35. auth_plugin = {{ designate_keystone_auth_plugin }}
  36. signing_dir = {{ designate_system_user_home }}/cache/api
  37. auth_url = {{ keystone_service_adminuri }}
  38. auth_uri = {{ keystone_service_internaluri }}
  39. project_domain_id = {{ designate_service_project_domain_id }}
  40. user_domain_id = {{ designate_service_user_domain_id }}
  41. project_name = {{ designate_service_project_name }}
  42. username = {{ designate_service_user_name }}
  43. password = {{ designate_service_password }}
  44.  
  45. memcached_servers = {{ memcached_servers }}
  46.  
  47. ########################
  48. #-----------------------
  49. # Central Service
  50. #-----------------------
  51. [service:central]
  52. # Number of central worker processes to spawn
  53. #workers = 10
  54.  
  55. # Number of central greenthreads to spawn
  56. threads = 1000
  57.  
  58. # Maximum domain name length
  59. max_domain_name_len = 255
  60.  
  61. # Maximum recordset name length
  62. max_recordset_name_len = 255
  63.  
  64. # Minimum TTL
  65. #min_ttl = None
  66.  
  67. # The name of the default pool
  68. default_pool_id = '794ccc2c-d751-44fe-b57f-8894c9f5c842'
  69.  
  70. ## Managed resources settings
  71.  
  72. # Email to use for managed resources like domains created by the FloatingIP API
  73. #managed_resource_email = hostmaster@example.com.
  74.  
  75. # Tenant ID to own all managed resources - like auto-created records etc.
  76. managed_resource_tenant_id = None
  77.  
  78. #-----------------------
  79. # API Service
  80. #-----------------------
  81. [service:api]
  82.  
  83. threads=1000
  84.  
  85. # The base uri used in responses
  86. api_base_uri = 'http://10.16.34.6:9001'
  87.  
  88. # Address to bind the API server
  89. api_host = 0.0.0.0
  90.  
  91. # Port to bind the API server
  92. api_port = 9001
  93.  
  94. # Authentication strategy to use - can be either "noauth" or "keystone"
  95. auth_strategy = keystone
  96.  
  97. # Enable API Version 1
  98. enable_api_v1 = True
  99.  
  100. # Enable API Version 2
  101. enable_api_v2 = True
  102.  
  103. # Enabled API Version 1 extensions
  104. enabled_extensions_v1 = diagnostics, quotas, reports, sync, touch
  105.  
  106. # Enabled API Version 2 extensions
  107. enabled_extensions_v2 = quotas, reports
  108.  
  109. # Enable Admin API (experimental)
  110. enable_api_admin = False
  111.  
  112. # Enabled Admin API extensions
  113. # Can be one or more of : reports, quotas, counts, tenants, zones
  114. # zone export is in zones extension
  115. enabled_extensions_admin = reports, quotas, counts, tenants, zones
  116.  
  117. # Default per-page limit for the Admin API, a value of None means show all results
  118. # by default
  119. default_limit_admin = 20
  120.  
  121. # Max page size in the Admin API
  122. max_limit_admin = 1000
  123.  
  124.  
  125. #-----------------------
  126. # mDNS Service
  127. #-----------------------
  128. [service:mdns]
  129. # Number of mdns worker processes to spawn
  130. #workers = 10
  131.  
  132. # Number of mdns greenthreads to spawn
  133. threads = 1000
  134.  
  135. # mDNS Bind Host
  136. host = 0.0.0.0
  137.  
  138. # mDNS Port Number
  139. port = 5354
  140.  
  141. # mDNS TCP Backlog
  142. tcp_backlog = 100
  143.  
  144. # mDNS TCP Receive Timeout
  145. tcp_recv_timeout = 0.5
  146.  
  147. # Enforce all incoming queries (including AXFR) are TSIG signed
  148. query_enforce_tsig = False
  149.  
  150. # Send all traffic over TCP
  151. all_tcp = False
  152.  
  153. # Maximum message size to emit
  154. max_message_size = 65535
  155.  
  156. #-----------------------
  157. # Pool Manager Service
  158. #-----------------------
  159. [service:pool_manager]
  160. #backends = bind9
  161. #threads = 1000
  162. pool_id = 794ccc2c-d751-44fe-b57f-8894c9f5c842
  163. #threshold_percentage = 100
  164. #poll_timeout = 30
  165. #poll_retry_interval = 15
  166. #poll_max_retries = 3
  167. #poll_delay = 5
  168. #periodic_recovery_interval = 120
  169. #enable_sync_timer = True
  170. #periodic_sync_interval = 300
  171. #cache_driver = memcache
  172.  
  173. ########################
  174. ## Storage Configuration
  175. ########################
  176. #-----------------------
  177. # SQLAlchemy Storage
  178. #-----------------------
  179.  
  180. [storage:sqlalchemy]
  181. # Database connection string - to configure options for a given implementation
  182. # like sqlalchemy or other see below
  183. connection = mysql://{{ designate_galera_user }}:{{ designate_container_mysql_password }}@{{ designate_galera_address }}/designate?charset=utf8
  184. connection_debug = 100
  185. connection_trace = True
  186. sqlite_synchronous = True
  187. idle_timeout = 3600
  188. max_retries = 10
  189. retry_interval = 10
  190.  
  191.  
  192. [pool_manager_cache:sqlalchemy]
  193. connection = mysql://{{ designate_galera_user }}:{{ designate_container_mysql_password }}@{{ designate_galera_address }}/designate_pool_manager?charset=utf8
  194. connection_debug = 100
  195. connection_trace = False
  196. sqlite_synchronous = True
  197. idle_timeout = 3600
  198. max_retries = 10
  199. retry_interval = 10
  200.  
  201. #-----------------------
  202. # Memcache Pool Manager Cache
  203. #-----------------------
  204. [pool_manager_cache:memcache]
  205. memcached_servers = None
  206. expiration = 3600
  207.  
  208. #############################
  209. ## Pool Backend Configuration
  210. #############################
  211. #-----------------------
  212. # Global Bind9 Pool Backend
  213. #-----------------------
  214. #[backend:bind9]
  215. #server_ids = 6a5032b6-2d96-43ee-b25b-7d784e2bf3b2
  216. #masters = 10.16.34.6:5354
  217. #rndc_host = 10.16.34.6
  218. #rndc_port = 953
  219. #rndc_config_file = /etc/rndc.conf
  220. #rndc_key_file = /etc/rndc.key
  221.  
  222. #-----------------------
  223. # Server Specific Bind9 Pool Backend
  224. #-----------------------
  225. #[backend:bind9:6a5032b6-2d96-43ee-b25b-7d784e2bf3b2]
  226. #host = 10.16.34.6
  227. #port = 53
  228.  
  229. #####################
  230. ## Pool Configuration
  231. #####################
  232.  
  233. # This section does not have the defaults filled in but demonstrates an
  234. # example pool / server set up. Different backends will have different options.
  235.  
  236. [pool:794ccc2c-d751-44fe-b57f-8894c9f5c842]
  237. nameservers = 0f66b842-96c2-4189-93fc-1dc95a08b012
  238. targets = f26e0b32-736f-4f0a-831b-039a415c481e
  239. #also_notifies = 192.0.2.1:53, 192.0.2.2:53
  240.  
  241. [pool_nameserver:0f66b842-96c2-4189-93fc-1dc95a08b012]
  242. port = 53
  243. host = 10.16.34.6
  244.  
  245. [pool_target:f26e0b32-736f-4f0a-831b-039a415c481e]
  246. options = port: 953, host: 10.16.34.6
  247. masters = 10.16.34.6:5354
  248. type = bind9
  249.  
  250. [service:sink]
  251. enabled_notification_handlers = nova_fixed
  252.  
  253. [handler:nova_fixed]
  254. # Domain ID of domain to create records in. Should be pre-created
  255. notification_topics = notifications
  256. control_exchange = 'nova'
  257. zone_id = a35071ec-9540-4833-a273-503bdc96850b
  258. format = '%(instance_id)s.%(zone)s'
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top