raniaadouni

config.yml

Aug 20th, 2018
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.90 KB | None | 0 0
  1. manager:
  2. # The manager's private IP address. This is the address which will be used by
  3. # agent hosts to connect to the Manager's fileserver and message broker.
  4. private_ip: '10.0.0.99'
  5.  
  6. # An IP address by which the Manager is accessible externally, such as via the CLI
  7. # or external clients. If not applicable, provide the same value as "private_ip".
  8.  
  9. public_ip: '192.168.10.134'
  10.  
  11. # Provide an IP or hostname to be used in the local CLI profile on the manager.
  12. # This might be useful when providing an external certificate.
  13. cli_local_profile_host_name: '10.0.0.99'
  14.  
  15. ######################################################################################
  16. #
  17. # As long as you have set the config entries above, you can install the manager with:
  18. # cfy_manager install
  19. # The rest of the configuration is only required if you need to change the defaults.
  20. #
  21. ######################################################################################
  22.  
  23. # This is set by the installer build script. Changing this will not change the edition
  24. # you are using, but may cause interesting problems.
  25. premium_edition: true
  26.  
  27. # Sets whether the first time the manager's VM is booted from a Cloudify manager image
  28. # its private IP will be propagated to all relevant configuration files.
  29. set_manager_ip_on_boot: false
  30. security:
  31. # When enabled, the external REST communication will be performed over HTTPS
  32. ssl_enabled: true
  33.  
  34. # Username and password of the Cloudify Manager administrator.
  35. admin_username: admin
  36. # If admin_password is left blank, a password will be generated for you and provided
  37. # to you at the end of the install process.
  38. admin_password: 'password'
  39.  
  40. monitoring_install: &monitoring_install
  41. # This will cause the monitoring components not to be installed if set to true
  42. skip_installation: true
  43.  
  44. manager-ip-setter:
  45. sources:
  46. manager_ip_setter_rpm: cloudify-manager-ip-setter-*.rpm
  47.  
  48. provider_context:
  49. workflows:
  50. # Sets the number of times a failed task will be retried on recoverable error.
  51. task_retries: 60
  52.  
  53. # Sets the interval between retry attempts in seconds.
  54. task_retry_interval: 15
  55.  
  56. policy_engine:
  57. start_timeout: 30
  58.  
  59. # An imported URL is prefix-matched against the key in each entry. If a match is found,
  60. # then the URL prefix is replaced with the value of the corresponding entry.
  61. # That allows serving YAML files from within the manager, even when the imported URL
  62. # points to the external network.
  63. import_resolver:
  64. parameters:
  65. rules:
  66. - {'http://www.getcloudify.org/spec': 'file:///opt/manager/resources/spec'}
  67. - {'http://cloudify.co/spec': 'file:///opt/manager/resources/spec'}
  68. - {'https://www.getcloudify.org/spec': 'file:///opt/manager/resources/spec'}
  69. - {'https://cloudify.co/spec': 'file:///opt/manager/resources/spec'}
  70.  
  71. agent:
  72. # A dict of network names and IP addresses associated with them.
  73. # By default, there is only a "default" network, with the manager's
  74. # private IP associated with it. This network can be overwritten
  75. networks: {}
  76. broker_port: 5671
  77. min_workers: 2
  78. max_workers: 5
  79.  
  80. rabbitmq:
  81. # Sets the username/password to use for clients such as celery to connect to
  82. # the rabbitmq broker. It is recommended that you set both the username and
  83. # password to something reasonably secure.
  84. username: cloudify
  85. password: cloudify
  86.  
  87. # Sets the File Descriptor limit for the rabbitmq user.
  88. # Not used if an external endpoint is used.
  89. fd_limit: 102400
  90. nodename: cloudify-manager@localhost
  91. sources:
  92. erlang_rpm_source_url: erlang-17.4-1.el6.x86_64.rpm
  93. rabbitmq_rpm_source_url: rabbitmq-server-3.5.3-1.noarch.rpm
  94.  
  95. cloudify_rabbitmq_package: cloudify-rabbitmq-*.noarch.rpm
  96.  
  97. # IP of the management API, should be localhost unless an external rabbitmq
  98. # is used
  99. management_endpoint_ip: 'localhost'
  100.  
  101. policy_metrics:
  102. # Sets the number of milliseconds to wait before a message expires
  103. # in the events queue. Not used if an external endpoint is used.
  104. events_queue_message_ttl: 60000
  105.  
  106. # Sets the number of messages the events queue can hold. Note this is NOT
  107. # the message byte length! Not used if an external endpoint is used.
  108. # Note that for each of the queue length limit properties, new messages
  109. # will be queued in RabbitMQ and old messages will be deleted once the
  110. # limit is reached! https://www.rabbitmq.com/maxlength.html
  111. events_queue_length_limit: 1000000
  112.  
  113. # Sets the number of milliseconds to wait before a message expires
  114. # in the logs queue. Not used if an external endpoint is used.
  115. logs_queue_message_ttl: 60000
  116.  
  117. # Sets the number of messages the logs queue can hold. Note this is NOT
  118. # the message byte length! Not used if an external endpoint is used.
  119. logs_queue_length_limit: 1000000
  120.  
  121. # Sets the number of milliseconds to wait before a message expires
  122. # in the metrics queues. Not used if an external endpoint is used.
  123. metrics_queue_message_ttl: 60000
  124.  
  125. # Sets the number of messages the metrics queues can hold. This applies to
  126. # both the queue that amqp-influx pulls from and the ones Riemann pulls
  127. # from. Note this is NOT the message byte length! Not used if an external
  128. # endpoint is used.
  129. metrics_queue_length_limit: 1000000
  130.  
  131. riemann:
  132. <<: *monitoring_install
  133. sources:
  134. daemonize_source_url: daemonize-1.7.3-7.el7.x86_64.rpm
  135. riemann_source_url: riemann-0.2.6-1.noarch.rpm
  136. cloudify_riemann_url: cloudify-riemann-*.rpm
  137.  
  138. amqpinflux:
  139. <<: *monitoring_install
  140. sources:
  141. amqpinflux_source_url: cloudify-amqp-influx-*.x86_64.rpm
  142.  
  143. influxdb:
  144. <<: *monitoring_install
  145. # An IP Endpoint of your InfluxDB Cluster.
  146. endpoint_ip: ''
  147. sources:
  148. influxdb_source_url: influxdb-0.8.8-1.x86_64.rpm
  149.  
  150. postgresql:
  151. sources:
  152. libxslt_rpm_url: libxslt-1.1.28-5.el7.x86_64.rpm
  153. ps_libs_rpm_url: postgresql95-libs-9.5.3-2PGDG.rhel7.x86_64.rpm
  154. ps_rpm_url: postgresql95-9.5.3-2PGDG.rhel7.x86_64.rpm
  155. ps_contrib_rpm_url: postgresql95-contrib-9.5.3-2PGDG.rhel7.x86_64.rpm
  156. ps_server_rpm_url: postgresql95-server-9.5.3-2PGDG.rhel7.x86_64.rpm
  157. ps_devel_rpm_url: postgresql95-devel-9.5.3-2PGDG.rhel7.x86_64.rpm
  158. psycopg2_rpm_url: python-psycopg2-2.5.1-3.el7.x86_64.rpm
  159.  
  160. # Default values for the Postgres DB name, host, username and password
  161. db_name: cloudify_db
  162. host: localhost
  163. username: cloudify
  164. password: cloudify
  165.  
  166. java:
  167. sources:
  168. java_source_url: jre1.8.0_45-1.8.0_45-fcs.x86_64.rpm
  169.  
  170. logstash:
  171. sources:
  172. cloudify_logstash_source_url: cloudify-logstash-*.rpm
  173.  
  174. stage:
  175. # If set to true, Cloudify UI will not be installed
  176. skip_installation: false
  177. sources:
  178. nodejs_source_url: node-v8.9.1-linux-x64.tar.xz
  179. stage_source_url: cloudify-stage-*.tgz
  180.  
  181. composer:
  182. # If set to true, Cloudify Composer will not be installed
  183. skip_installation: false
  184. sources:
  185. composer_source_url: cloudify-blueprint-composer-*.tgz
  186.  
  187. python:
  188. # Some plugins installed from sources require compilation - installs a
  189. # compiler and the python headers to allow that.
  190. install_python_compilers: false
  191.  
  192. # If set to true, python sources (e.g. pip) will be removed when
  193. # uninstalling the Cloudify Manager. NOTE: only set to true if those
  194. # dependencies weren't available before Cloudify Manager installation
  195. remove_on_teardown: false
  196.  
  197. restservice:
  198. log:
  199. # Logging level for the REST service. Defaults to 'INFO', as 'DEBUG' may
  200. # end up logging sensitive information.
  201. level: INFO
  202.  
  203. # The size, in MB, that the REST service log file may grow to before it's
  204. # rotated.
  205. file_size: 100
  206.  
  207. # Number of historical log files to keep when rotating the REST service logs.
  208. files_backup_count: 20
  209.  
  210. gunicorn:
  211. # The number of gunicorn worker processes for handling requests. If the
  212. # default value (0) is set, then min((2 * cpu_count + 1 processes), 12)
  213. # will be used.
  214. worker_count: 0
  215.  
  216. # Maximum number of gunicorn workers (if calculated automatically)
  217. max_worker_count: 12
  218.  
  219. # The maximum number of requests a worker will process before restarting.
  220. # If this is set to zero then the automatic worker restarts are disabled.
  221. max_requests: 1000
  222.  
  223. ldap:
  224. # LDAP server, admin username, admin password and domain
  225. server: ''
  226. username: ''
  227. password: ''
  228. domain: ''
  229.  
  230. # True if Active Directory will be used as the LDAP authenticator
  231. is_active_directory: true
  232.  
  233. # Any extra LDAP information (separated by the `;` sign. e.g. a=1;b=2)
  234. dn_extra: ''
  235.  
  236. sources:
  237. agents_source_url: cloudify-agents-*.rpm
  238. restservice_source_url: cloudify-rest-service-*.x86_64.rpm
  239. premium_source_url: cloudify-premium-*.x86_64.rpm
  240.  
  241. # Minimum available memory for running list query on Manager host in MB.
  242. min_available_memory_mb: 100
  243.  
  244. # Disables insecure REST endpoints
  245. insecure_endpoints_disabled: true
  246.  
  247. # Port to be used by the REST service
  248. port: 8100
  249.  
  250. # Number of failed logins (bad password) before account lockout
  251. failed_logins_before_account_lock: 4
  252.  
  253. # Account lockout time in minutes. `-1` means no account lockout,
  254. # even when `failed_logins_before_account_lock` has a value.
  255. account_lock_period: -1
  256.  
  257. # Additional environment variables to add to the REST Service's service
  258. # file.
  259. extra_env: {}
  260.  
  261. nginx:
  262. sources:
  263. nginx_source_url: nginx-1.13.7-1.el7_4.ngx.x86_64.rpm
  264.  
  265. mgmtworker:
  266. sources:
  267. mgmtworker_source_url: cloudify-management-worker-*.x86_64.rpm
  268.  
  269. # Sets the logging level to use for the management workers. This affects the
  270. # logging performed by the manager during the execution of management tasks,
  271. # such as deployment creation and deployment deletion. NOTE: specifying
  272. # "debug" will result in considerable amount of logging activity. Consider
  273. # using "info" (or a more restrictive level) for production environments.
  274. log_level: INFO
  275.  
  276. # Minimum number of worker processes maintained by the management worker.
  277. min_workers: 2
  278.  
  279. # Maximum number of worker processes started by the management worker.
  280. max_workers: 100
  281.  
  282. # Maximum number of manager-side tasks that can be performed concurrently.
  283. # This is a performance measure to avoid deployments' starvation, in case
  284. # a rogue deployment takes over all management workers.
  285. gatekeeper_bucket_size: 25
  286.  
  287. # Additional environment variables to add to the management worker's service
  288. # file.
  289. extra_env: {}
  290.  
  291. cli:
  292. sources:
  293. cli_source_url: cloudify-cli-*.x86_64.rpm
  294.  
  295. sanity:
  296. # If set to true, the sanity blueprint install/uninstall will not be
  297. # performed during Cloudify Manager installation
  298. skip_sanity: false
  299. sources:
  300. sanity_source_url: cloudify-hello-world-example-*.tar.gz
  301.  
  302. dev:
  303. # Constraints (in standard `pip` constraints format) to pass on to `pip`
  304. # when installing overlays (such as `rest_service_source_url`, `dsl_parser_source_url`
  305. # and so on). Example:
  306. # requests==2.13.0
  307. # requests-toolbelt==0.7.1
  308. pip_constraints: ''
  309. sources:
  310. cloudify_resources_url: ''
  311. amqpinflux_source_url: ''
  312. rest_client_source_url: ''
  313. plugins_common_source_url: ''
  314. script_plugin_source_url: ''
  315. agent_source_url: ''
  316. dsl_parser_source_url: ''
  317.  
  318.  
  319. validations:
  320. # If set to true, install/configuration validations will not be performed
  321. skip_validations: false
  322.  
  323. # These allow to override specific validation values
  324. # NOTE: We do not recommend changing these values unless you know exactly
  325. # what you're doing.
  326. minimum_required_total_physical_memory_in_mb: 3700
  327.  
  328. # Minimum required disk space on Manager host in GB.
  329. minimum_required_available_disk_space_in_gb: 5
  330.  
  331. # Python version expected to be found on the machine
  332. expected_python_version: '2.7'
  333.  
  334. # The only Linux distros fully supported, on which a Cloudify Manager can
  335. # be installed
  336. supported_distros: ['centos', 'redhat']
  337.  
  338. # The supported versions of the above distros
  339. supported_distro_versions: ['7']
  340.  
  341. ssl_inputs:
  342. external_cert_path: ''
  343. external_key_path: ''
  344. internal_cert_path: ''
  345. internal_key_path: ''
  346. ca_cert_path: ''
  347. ca_key_path: ''
  348. ca_key_password: ''
  349. # External CA cert is used to auto-generate the external cert, if the
  350. # external cert is not provided.
  351. # The key and the password will not be stored.
  352. external_ca_cert_path: ''
  353. external_ca_key_path: ''
  354. external_ca_key_password: ''
  355. internal_manager_host: ''
  356.  
  357. usage_collector:
  358. collect_cloudify_uptime:
  359. # True if the uptime collector will be installed
  360. active: true
  361.  
  362. # Sets the interval between running the uptime collector in hours
  363. interval_in_hours: 2
  364.  
  365. collect_cloudify_usage:
  366. # True if the usage collector will be installed
  367. active: true
  368.  
  369. # Sets the interval between running the usage collector in days
  370. interval_in_days: 1
  371.  
  372. flask_security: {}
Advertisement
Add Comment
Please, Sign In to add comment