diogogmt

Untitled

Jan 28th, 2013
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.50 KB | None | 0 0
  1. Controller node:
  2.  
  3. root@folsom-controller:/home/senecacd# cat /etc/nova/nova.conf
  4. # [DEFAULT]
  5. # dhcpbridge_flagfile=/etc/nova/nova.conf
  6. # dhcpbridge=/usr/bin/nova-dhcpbridge
  7. # logdir=/var/log/nova
  8. # state_path=/var/lib/nova
  9. # lock_path=/var/lock/nova
  10. # force_dhcp_release=True
  11. # iscsi_helper=tgtadm
  12. # libvirt_use_virtio_for_bridges=True
  13. # connection_type=libvirt
  14. # root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  15. # verbose=True
  16. # ec2_private_dns_show_ip=True
  17. # api_paste_config=/etc/nova/api-paste.ini
  18. # volumes_path=/var/lib/nova/volumes
  19.  
  20.  
  21. [DEFAULT]
  22. # MySQL Connection #
  23. sql_connection=mysql://nova:[email protected]/nova
  24.  
  25. # nova-scheduler #
  26. rabbit_password=password
  27. scheduler_driver=nova.scheduler.simple.SimpleScheduler
  28.  
  29. # nova-api #
  30. cc_host=192.168.0.11
  31. auth_strategy=keystone
  32. s3_host=192.168.0.11
  33. ec2_host=192.168.0.11
  34. nova_url=http://192.168.0.11:8774/v1.1/
  35. ec2_url=http://192.168.0.11:8773/services/Cloud
  36. keystone_ec2_url=http://192.168.0.11:5000/v2.0/ec2tokens
  37. api_paste_config=/etc/nova/api-paste.ini
  38. allow_admin_api=true
  39. use_deprecated_auth=false
  40. ec2_private_dns_show_ip=True
  41. dmz_cidr=169.254.169.254/32
  42. ec2_dmz_host=192.168.0.11
  43. metadata_host=192.168.0.11
  44. metadata_listen=0.0.0.0
  45. enabled_apis=ec2,osapi_compute,metadata
  46.  
  47. # Networking #
  48. network_api_class=nova.network.quantumv2.api.API
  49. quantum_url=http://192.168.0.11:9696
  50. quantum_auth_strategy=keystone
  51. quantum_admin_tenant_name=service
  52. quantum_admin_username=quantum
  53. quantum_admin_password=password
  54. quantum_admin_auth_url=http://192.168.0.11:35357/v2.0
  55. libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
  56. linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
  57. firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
  58.  
  59. # Cinder #
  60. volume_api_class=nova.volume.cinder.API
  61.  
  62. # Glance #
  63. glance_api_servers=192.168.0.11:9292
  64. image_service=nova.image.glance.GlanceImageService
  65.  
  66. # novnc #
  67. novnc_enable=true
  68. novncproxy_base_url=http://192.168.0.11:6080/vnc_auto.html
  69. vncserver_proxyclient_address=127.0.0.1
  70. vncserver_listen=0.0.0.0
  71.  
  72. # Misc #
  73. logdir=/var/log/nova
  74. state_path=/var/lib/nova
  75. lock_path=/var/lock/nova
  76. root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  77. verbose=true
  78.  
  79.  
  80.  
  81.  
  82.  
  83. Compute Node:
  84.  
  85. root@ubuntu:/home/senecacd#
  86. root@ubuntu:/home/senecacd# cat /etc/nova/nova.conf
  87. #[DEFAULT]
  88. #dhcpbridge_flagfile=/etc/nova/nova.conf
  89. #dhcpbridge=/usr/bin/nova-dhcpbridge
  90. #logdir=/var/log/nova
  91. #state_path=/var/lib/nova
  92. #lock_path=/var/lock/nova
  93. #force_dhcp_release=True
  94. #iscsi_helper=tgtadm
  95. #libvirt_use_virtio_for_bridges=True
  96. #connection_type=libvirt
  97. #rootwrap_config=/etc/nova/rootwrap.conf
  98. #verbose=True
  99. #ec2_private_dns_show_ip=True
  100. #api_paste_config=/etc/nova/api-paste.ini
  101. #volumes_path=/var/lib/nova/volumes
  102.  
  103. [DEFAULT]
  104. # MySQL Connection #
  105. sql_connection=mysql://nova:[email protected]/nova
  106.  
  107. # nova-scheduler #
  108. rabbit_host=192.168.0.11
  109. rabbit_password=password
  110. scheduler_driver=nova.scheduler.simple.SimpleScheduler
  111.  
  112. # nova-api #
  113. cc_host=192.168.0.11
  114. auth_strategy=keystone
  115. s3_host=192.168.0.11
  116. ec2_host=192.168.0.11
  117. nova_url=http://192.168.0.11:8774/v1.1/
  118. ec2_url=http://192.168.0.11:8773/services/Cloud
  119. keystone_ec2_url=http://192.168.0.11:5000/v2.0/ec2tokens
  120. api_paste_config=/etc/nova/api-paste.ini
  121. allow_admin_api=true
  122. use_deprecated_auth=false
  123. ec2_private_dns_show_ip=True
  124. dmz_cidr=169.254.169.254/32
  125. ec2_dmz_host=192.168.0.11
  126. metadata_host=192.168.0.11
  127. metadata_listen=0.0.0.0
  128. enabled_apis=metadata
  129.  
  130. # Networking #
  131. network_api_class=nova.network.quantumv2.api.API
  132. quantum_url=http://192.168.0.11:9696
  133. quantum_auth_strategy=keystone
  134. quantum_admin_tenant_name=service
  135. quantum_admin_username=quantum
  136. quantum_admin_password=password
  137. quantum_admin_auth_url=http://192.168.0.11:35357/v2.0
  138. libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver
  139. linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
  140. firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
  141.  
  142. # Compute #
  143. compute_driver=libvirt.LibvirtDriver
  144. connection_type=libvirt
  145.  
  146. # Cinder #
  147. volume_api_class=nova.volume.cinder.API
  148.  
  149. # Glance #
  150. glance_api_servers=192.168.0.11:9292
  151. image_service=nova.image.glance.GlanceImageService
  152.  
  153. # novnc #
  154. novnc_enable=true
  155. novncproxy_base_url=http://192.168.0.11:6080/vnc_auto.html
  156. vncserver_proxyclient_address=127.0.0.1
  157. vncserver_listen=0.0.0.0
  158.  
  159. # Misc #
  160. logdir=/var/log/nova
  161. state_path=/var/lib/nova
  162. lock_path=/var/lock/nova
  163. root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
  164. verbose=true
Advertisement
Add Comment
Please, Sign In to add comment