Guest User

Untitled

a guest
Jan 26th, 2015
284
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.72 KB | None | 0 0
  1. [root@cloud trove]# cat trove-taskmanager.conf
  2. [DEFAULT]
  3. # Show more verbose log output (sets INFO log level output)
  4. verbose = True
  5.  
  6. # Show debugging output in logs (sets DEBUG log level output)
  7. debug = False
  8.  
  9. # Update the service and instance statuses if the instances fails to become
  10. # active within the configured usage_timeout.
  11. # usage_timeout = 600
  12. # restore_usage_timeout = 36000
  13. update_status_on_fail = True
  14.  
  15. # The RabbitMQ broker address where a single node is used.
  16. # (string value)
  17. #rabbit_host=localhost
  18. rabbit_host=172.29.2.1
  19.  
  20. # The RabbitMQ broker port where a single node is used.
  21. # (integer value)
  22. #rabbit_port=5672
  23. rabbit_port=5672
  24.  
  25. # RabbitMQ HA cluster host:port pairs. (list value)
  26. #rabbit_hosts=$rabbit_host:$rabbit_port
  27. rabbit_hosts=172.29.2.1:5672
  28.  
  29. # Connect over SSL for RabbitMQ. (boolean value)
  30. #rabbit_use_ssl=false
  31. rabbit_use_ssl=False
  32.  
  33. # The RabbitMQ userid. (string value)
  34. #rabbit_userid=guest
  35. rabbit_userid=guest
  36.  
  37. # The RabbitMQ password. (string value)
  38. rabbit_password=guest
  39.  
  40. # The RabbitMQ virtual host. (string value)
  41. #rabbit_virtual_host=/
  42. rabbit_virtual_host=/
  43.  
  44. # RabbitMQ topic used for OpenStack notifications. (list value)
  45. #rabbit_notification_topic = ['notifications']
  46.  
  47. rpc_backend = trove.openstack.common.rpc.impl_kombu
  48.  
  49. # SQLAlchemy connection string for the reference implementation
  50. # registry server. Any valid SQLAlchemy connection string is fine.
  51. # See: http://www.sqlalchemy.org/docs/05/reference/sqlalchemy/connections.html#sqlalchemy.create_engine
  52. sql_connection = mysql://trove:[email protected]/trove
  53. # sql_connection = mysql://root:root@localhost/trove
  54.  
  55. # Period in seconds after which SQLAlchemy should reestablish its connection
  56. # to the database.
  57. #
  58. # MySQL uses a default `wait_timeout` of 8 hours, after which it will drop
  59. # idle connections. This can result in 'MySQL Gone Away' exceptions. If you
  60. # notice this, you can lower this value to ensure that SQLAlchemy reconnects
  61. # before MySQL can drop the connection.
  62. sql_idle_timeout = 3600
  63.  
  64. #DB Api Implementation
  65. db_api_implementation = trove.db.sqlalchemy.api
  66.  
  67. # Configuration options for talking to nova via the novaclient.
  68. trove_auth_url = http://172.29.2.1:5000/v2.0
  69. #nova_compute_url = http://localhost:8774/v2
  70. #cinder_url = http://localhost:8776/v1
  71. #swift_url = http://localhost:8080/v1/AUTH_
  72. #neutron_url = http://localhost:9696/
  73.  
  74. # nova_compute_url, cinder_url, swift_url, and heat_url can all be fetched
  75. # from Keystone. To fetch from Keystone, comment out nova_compute_url,
  76. # cinder_url, swift_url, and heat_url and optionally uncomment the lines below.
  77.  
  78. # Region name of this node. Used when searching catalog. Default value is None.
  79. #os_region_name = RegionOne
  80. # Service type to use when searching catalog.
  81. #nova_compute_service_type = compute
  82. # Service type to use when searching catalog.
  83. #cinder_service_type = volumev2
  84. # Service type to use when searching catalog.
  85. #swift_service_type = object-store
  86. # Service type to use when searching catalog.
  87. #heat_service_type = orchestration
  88. # Service type to use when searching catalog.
  89. #neutron_service_type = network
  90.  
  91. # Config options for enabling volume service
  92. trove_volume_support = True
  93. block_device_mapping = vdb
  94. device_path = /dev/vdb
  95. mount_point = /var/lib/mysql
  96. volume_time_out=30
  97. server_delete_time_out=480
  98.  
  99. # Nova server boot options
  100. # sets the --config-drive argument when doing a nova boot
  101. # (controls how file injection is handled by nova)
  102. use_nova_server_config_drive = False
  103.  
  104. # Configuration options for talking to nova via the novaclient.
  105. # These options are for an admin user in your keystone config.
  106. # It proxy's the token received from the user to send to nova via this admin users creds,
  107. # basically acting like the client via that proxy token.
  108. nova_proxy_admin_user = admin
  109. nova_proxy_admin_pass =
  110. # https://bugs.launchpad.net/trove/+bug/1289101
  111. nova_proxy_admin_tenant_name = services
  112. nova_proxy_admin_tenant_id = 168bc11a6e564a43869a4a2190429deb
  113.  
  114. # Manager impl for the taskmanager
  115. taskmanager_manager=trove.taskmanager.manager.Manager
  116.  
  117. # Manager sends Exists Notifications
  118. exists_notification_transformer = trove.extensions.mgmt.instances.models.NovaNotificationTransformer
  119. exists_notification_ticks = 30
  120. notification_service_id = mysql:2f3ff068-2bfb-4f70-9a9d-a6bb65bc084b
  121.  
  122. # Trove DNS
  123. trove_dns_support = False
  124. dns_account_id = 123456
  125. dns_auth_url = http://127.0.0.1:5000/v2.0
  126. dns_username = user
  127. dns_passkey = password
  128. dns_ttl = 3600
  129. dns_domain_name = 'trove.com.'
  130. dns_domain_id = 11111111-1111-1111-1111-111111111111
  131. dns_driver = trove.dns.designate.driver.DesignateDriver
  132. dns_instance_entry_factory = trove.dns.designate.driver.DesignateInstanceEntryFactory
  133. dns_endpoint_url = http://127.0.0.1/v1/
  134. dns_service_type = dns
  135.  
  136. # Neutron
  137. network_driver = trove.network.neutron.NeutronDriver
  138. default_neutron_networks =
  139.  
  140. # Trove Security Groups for Instances
  141. trove_security_groups_support = True
  142. trove_security_group_rule_cidr = 0.0.0.0/0
  143.  
  144. # Guest related conf
  145. agent_heartbeat_time = 10
  146. agent_call_low_timeout = 5
  147. agent_call_high_timeout = 150
  148. agent_replication_snapshot_timeout = 36000
  149.  
  150. # Whether to use nova's contrib api for create server with volume
  151. use_nova_server_volume = False
  152.  
  153. # Config option for filtering the IP address that DNS uses
  154. # For nova-network, set this to the appropriate network label defined in nova
  155. # For neutron, set this to .* since users can specify custom network labels
  156. # You can also optionally specify regex'es to match the actual IP addresses
  157. # ip_regex (white-list) is applied before black_list_regex in the filter chain
  158. network_label_regex = .*
  159. #ip_regex = ^(15.|123.)
  160. #black_list_regex = ^(10.0.0.)
  161.  
  162. # Datastore templates
  163. template_path = /etc/trove/templates/
  164.  
  165. # ============ notifer queue kombu connection options ========================
  166.  
  167. # usage notifications
  168. notification_driver=trove.openstack.common.notifier.rpc_notifier
  169. control_exchange=trove
  170.  
  171. # ============ Logging information =============================
  172. #log_dir = /integration/report
  173. log_dir = /var/log/trove
  174. #log_file = trove-taskmanager.log
  175. log_file = /var/log/trove/trove-taskmanager.log
  176.  
  177. # ============ PyDev remote dubugging =============================
  178.  
  179. # Enable or disable pydev remote debugging.
  180. # There are three values allowed: 'disabled', 'enabled' and 'auto'
  181. # If value is 'auto' tries to connect to remote debugger server,
  182. # but in case of error continue running with disabled debugging
  183. pydev_debug = disabled
  184.  
  185. # remote debug server host and port options
  186. #pydev_debug_host = localhost
  187. #pydev_debug_port = 5678
  188.  
  189. # path to pydevd library. It will be used if pydevd is absent in sys.path
  190. #pydev_path = <path>
  191.  
  192. # ================= Guestagent related ========================
  193. #guest_config = $pybasedir/etc/trove/trove-guestagent.conf.sample
  194. guest_config = /etc/trove/trove-guestmanager.conf
  195. #cloudinit_location = /etc/trove/cloudinit
  196.  
  197. # ================= Security groups related ========================
  198. # Each future datastore implementation should implement
  199. # its own oslo group with defined in it:
  200. # - tcp_ports; upd_ports;
  201. amqp_durable_queues=False
  202. rabbit_ha_queues=False
  203. use_syslog=False
  204.  
  205. [mysql]
  206. # Format (single port or port range): A, B-C
  207. # where C greater than B
  208. tcp_ports = 3306
  209. volume_support = True
  210. device_path = /dev/vdb
  211.  
  212. [redis]
  213. # Format (single port or port range): A, B-C
  214. # where C greater than B
  215. tcp_ports = 6379
  216. # redis uses local storage
  217. volume_support = False
  218. # default device_path = None
  219.  
  220. [cassandra]
  221. tcp_ports = 7000, 7001, 9042, 9160
  222. volume_support = True
  223. device_path = /dev/vdb
  224.  
  225. [couchbase]
  226. tcp_ports = 8091, 8092, 4369, 11209-11211, 21100-21199
  227. volume_support = True
  228. device_path = /dev/vdb
  229.  
  230. [mongodb]
  231. volume_support = True
  232. device_path = /dev/vdb
Advertisement
Add Comment
Please, Sign In to add comment