sudevdev

eucalyptus.conf - cloud controller

Jun 30th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.23 KB | None | 0 0
  1. Eucalyptus.conf from Cloud Controller
  2.  
  3. ###########################################################################
  4. # Eucalyptus.conf from Cloud Controller
  5. ###########################################################################
  6.  
  7. # Where Eucalyptus is installed
  8. EUCALYPTUS="/"
  9.  
  10. # This is the username that you would like eucalyptus to run as
  11. EUCA_USER="eucalyptus"
  12.  
  13. # Extra options to pass to the eucalyptus-cloud process, such as log
  14. # levels, heap size, or other JVM flags.
  15. CLOUD_OPTS=""
  16.  
  17. ###########################################################################
  18. # STORAGE CONTROLLER (SC) CONFIGURATION
  19. ###########################################################################
  20.  
  21. # The number of loop devices to make available at SC startup time.
  22. # The default is 256. If you supply "max_loop" to the loop driver
  23. # then this setting must be equal to that number.
  24. CREATE_SC_LOOP_DEVICES=256
  25.  
  26. ###########################################################################
  27. # CLUSTER CONTROLLER (CC) / NODE CONTROLLER (NC) SHARED CONFIGURATION
  28. ###########################################################################
  29.  
  30. # The level of logging output. Valid settings are, in descending order of
  31. # verbosity: EXTREME, TRACE, DEBUG, INFO, WARN, ERROR, and FATAL. The
  32. # default is INFO.
  33. #LOGLEVEL="INFO"
  34.  
  35. # The number of old log files to keep when rotating logs, in range [0-999].
  36. # The default is 10. When set to 0, no rotation is performed and log size
  37. # limit is (LOGMAXSIZE, below) is not enforced.
  38. #LOGROLLNUMBER="10"
  39.  
  40. # The maximum size of the log file, in bytes. 100MB by default. For this
  41. # size to be enforced, LOGROLLNUMBER, above, must be 1 or higher. If log
  42. # rotation is performed by an outside tool, either set LOGROLLNUMBER to 0
  43. # or set this limit to a large value.
  44. #LOGMAXSIZE=104857600
  45.  
  46. # On a NC, this defines the TCP port on which the NC will listen.
  47. # On a CC, this defines the TCP port on which the CC will contact NCs.
  48. NC_PORT="8775"
  49.  
  50. ###########################################################################
  51. # CLUSTER CONTROLLER (CC) CONFIGURATION
  52. ###########################################################################
  53.  
  54. # The TCP port on which the CC will listen.
  55. CC_PORT="8774"
  56.  
  57. # The scheduling policy that the CC uses to choose the NC on which to
  58. # run each new instance. Valid settings include GREEDY and ROUNDROBIN.
  59. # The default scheduling policy is ROUNDROBIN.
  60. SCHEDPOLICY="ROUNDROBIN"
  61.  
  62. # A space-separated list of IP addresses for all the NCs that this CC
  63. # should communicate with. The ``euca_conf --register-nodes'' command
  64. # manipulates this setting.
  65. NODES="10.1.255.253 10.1.255.252 10.1.255.251 10.1.255.250 10.1.255.249"
  66.  
  67. # When multiple CCs reside in the same layer 2 broadcast domain, change
  68. # this setting to "Y" to disable tunneling. This setting has no effect
  69. # in Static or System modes.
  70. #DISABLE_TUNNELING="N"
  71.  
  72. # The location of the NC service. The default is
  73. # axis2/services/EucalyptusNC
  74. NC_SERVICE="axis2/services/EucalyptusNC"
  75.  
  76. # Set this to make the CC cache images, kernels and ramdisks. NCs must
  77. # be able to reach the CC with the specified value.
  78. CC_IMAGE_PROXY="192.168.41.203"
  79.  
  80. # Set this to the location where the CC image proxy should store cached
  81. # images. The default is /var/lib/eucalyptus/dynserv/
  82. CC_IMAGE_PROXY_PATH="/var/lib/eucalyptus/dynserv/"
  83.  
  84. # Set this to the maximum size (in megabytes) of the CC image proxy cache.
  85. # The default is 32768, or 32 gigabytes.
  86. CC_IMAGE_PROXY_CACHE_SIZE="32768"
  87.  
  88. ###########################################################################
  89. # NODE CONTROLLER (NC) CONFIGURATION
  90. ###########################################################################
  91.  
  92. # The hypervisor that the NC will interact with in order to manage
  93. # virtual machines. Supported values include "kvm" and "xen".
  94. HYPERVISOR="kvm"
  95.  
  96. # The following three options determine whether KVM uses Virtio for
  97. # specific types of I/O with instances. These options only affect the
  98. # KVM hypervisor.
  99.  
  100. # If "1", use Virtio for the root file system
  101. USE_VIRTIO_ROOT="1"
  102.  
  103. # If "1", use Virtio for dynamic block volumes
  104. USE_VIRTIO_DISK="1"
  105.  
  106. # If "1", use Virtio for the network card
  107. USE_VIRTIO_NET="1"
  108.  
  109. # The amount of memory, in megabytes, that Eucalyptus is allowed to
  110. # allocate to instances running on this system. The default value of
  111. # 0 allows Eucalyptus to use all available memory for instances.
  112. #MAX_MEM="0"
  113.  
  114. # The number of virtual CPU cores that Eucalyptus is allowed to allocate
  115. # to instances. The default value of 0 allows Eucalyptus to use all
  116. # CPU cores on the system.
  117. #MAX_CORES="0"
  118.  
  119. # The amount of disk space, in megabytes, that the NC is allowed to use
  120. # in its work directory ($INSTANCE_PATH/eucalyptus/work). By default
  121. # the NC chooses automatically. Values below 10 are ignored.
  122. #NC_WORK_SIZE=50000
  123.  
  124. # The amount of disk space, in megabytes, that the NC is allowed to use in
  125. # its image cache directory ($INSTANCE_PATH/eucalyptus/cache). By default
  126. # the NC chooses automatically. A value below 10 will disable caching.
  127. #NC_CACHE_SIZE=50000
  128.  
  129. # The number of disk-intensive operations that the NC is allowed to
  130. # perform at once. A value of 1 serializes all disk-intensive operations.
  131. # The default value is 4.
  132. #CONCURRENT_DISK_OPS=4
  133.  
  134. # By default, a NC attempts to write the SSH public key associated to
  135. # the instance's filesystem before the instance starts. A value of 1
  136. # disables this behavior.
  137. #DISABLE_KEY_INJECTION="0"
  138.  
  139. # The number of loop devices to make available at NC startup time.
  140. # The default is 256. If you supply "max_loop" to the loop driver then
  141. # this setting must be equal to that number.
  142. #CREATE_NC_LOOP_DEVICES=256
  143.  
  144. # The directory where the NC will store instances' root filesystems,
  145. # ephemeral storage, and cached copies of images.
  146. INSTANCE_PATH="/var/lib/eucalyptus/instances"
  147.  
  148. # If euca-bundle-upload, euca-check-bucket, or euca-delete-bundle do
  149. # not appear in the NC's search PATH then specify their locations here.
  150. #NC_BUNDLE_UPLOAD_PATH="/usr/bin/euca-bundle-upload"
  151. #NC_CHECK_BUCKET_PATH="/usr/bin/euca-check-bucket"
  152. #NC_DELETE_BUNDLE_PATH="/usr/bin/euca-delete-bundle"
  153.  
  154. # The maximum amount of time, in seconds, that an instance will remain
  155. # in a migration-ready state on a source NC while awaiting the
  156. # preparation of a destination NC for a migration. After this time
  157. # period, the migration request will be terminated and the any
  158. # preparation on the source NC will be rolled back. Default is 15
  159. # minutes.
  160. #NC_MIGRATION_READY_THRESHOLD=900
  161.  
  162. ###########################################################################
  163. # NETWORKING CONFIGURATION
  164. #
  165. # The set of networking settings that apply to a cloud varies based on
  166. # its networking mode. Each setting in this section lists the modes in
  167. # which it applies. Unless otherwise noted, all of these settings apply
  168. # only to CCs. All settings that lack default values must be specified
  169. # in the networking modes that use them.
  170. ###########################################################################
  171.  
  172. # The networking mode in which to run. The same mode must be specified
  173. # on all CCs and NCs in the entire cloud. Valid values include SYSTEM,
  174. # STATIC, MANAGED, and MANAGED-NOVLAN.
  175. VNET_MODE="MANAGED-NOVLAN"
  176.  
  177. # The name of the network interface that is on the same network as
  178. # the NCs. The default is "eth0".
  179. # Networking modes: Static, Managed, Managed (No VLAN)
  180. VNET_PRIVINTERFACE="eth0"
  181.  
  182. # On a CC, this is the name of the network interface that is connected
  183. # to the "public" network. When tunnelling is enabled, this must be
  184. # a bridge. The default is "eth0".
  185. # Networking modes: Managed, Managed (No VLAN)
  186. #
  187. # On an NC, this is the name of the network interface that is connected
  188. # to the same network as the CC. The default is "eth0".
  189. # Networking modes: Managed
  190. VNET_PUBINTERFACE="eth1"
  191.  
  192. # On an NC, this is the name of the bridge interface to which instances'
  193. # network interfaces should attach. A physical interface that can reach
  194. # the CC must be attached to this bridge.
  195. # Networking modes: System, Static, Managed (No VLAN)
  196. #VNET_BRIDGE="virbr0"
  197.  
  198. # A map of MAC addresses to IP addresses that Eucalyptus should allocate
  199. # to instances when running in Static mode. Separate MAC addresses and
  200. # IP addresses with '=' characters. Separate pairs with spaces.
  201. # Networking modes: Static
  202. #VNET_MACMAP="AA:DD:11:CE:FF:ED=192.168.1.2 AA:DD:11:CE:FF:EE=192.168.1.3"
  203.  
  204. # A space-separated list of individual and/or hyphenated ranges of public
  205. # IP addresses to assign to instances.
  206. # Networking modes: Managed, Managed (No VLAN)
  207. VNET_PUBLICIPS="192.168.41.215-192.168.41.240"
  208.  
  209. # The address and network mask of the network the cloud should use for
  210. # instances' private IP addresses.
  211. # Networking modes: Static, Managed, Managed (No VLAN)
  212. VNET_SUBNET="10.1.0.0"
  213. VNET_NETMASK="255.255.0.0"
  214.  
  215. # The number of IP addresses to allocate to each security group.
  216. # Specify a power of 2 between 16 and 2048.
  217. # Networking modes: Managed, Managed (No VLAN)
  218. VNET_ADDRSPERNET="32"
  219.  
  220. # The address of the DNS server to supply to instances in DHCP responses.
  221. # Networking modes: Static, Managed, Managed (No VLAN)
  222. VNET_DNS="192.168.254.2"
  223.  
  224. # The search domain to supply to instance in DHCP responses.
  225. # NOTE: This should always be cloud.vmstate.instance_subdomain + ".internal",
  226. # and may be overridden by the CLC property in a future release. See EUCA-4226
  227. # Networking modes: Static, Managed, Managed (No VLAN)
  228. #VNET_DOMAINNAME="eucalyptus.internal"
  229.  
  230. # The network broadcast address and default gateway to supply to instances
  231. # in DHCP responses.
  232. # Networking modes: Static
  233. #VNET_BROADCAST="192.168.1.255"
  234. #VNET_ROUTER="192.168.1.1"
  235.  
  236. # Set this to the IP address that other CCs can use to reach this CC
  237. # if layer 2 tunneling between CCs does not work. It is not normally
  238. # necessary to change this setting.
  239. # Networking modes: Managed, Managed (No VLAN)
  240. #VNET_LOCALIP="your-public-interface's-ip"
  241.  
  242. # The ISC DHCP server executable to use. The default is
  243. # "/usr/sbin/dhcpd3".
  244. # Networking modes: Static, Managed, Managed (No VLAN)
  245. VNET_DHCPDAEMON="/usr/sbin/dhcpd41"
  246.  
  247. # The user as which the DHCP daemon runs on your distribution.
  248. # The default is "dhcpd".
  249. # Networking modes: Static, Managed, Managed (No VLAN)
  250. VNET_DHCPUSER="dhcpd"
Advertisement
Add Comment
Please, Sign In to add comment