########################################################################### # GLOBAL CONFIGURATION ########################################################################### # Where Eucalyptus is installed EUCALYPTUS="/" # This is the username that you would like eucalyptus to run as EUCA_USER="eucalyptus" # Extra options to pass to the eucalyptus-cloud process, such as log # levels, heap size, or other JVM flags. CLOUD_OPTS="--java-home=/usr/lib/jvm/default-java --db-home=/usr/lib/postgresql/9.1" ########################################################################### # STORAGE CONTROLLER (SC) CONFIGURATION ########################################################################### # The number of loop devices to make available at SC startup time. # The default is 256. If you supply "max_loop" to the loop driver # then this setting must be equal to that number. #CREATE_SC_LOOP_DEVICES=256 ########################################################################### # CLUSTER CONTROLLER (CC) / NODE CONTROLLER (NC) SHARED CONFIGURATION ########################################################################### # The level of logging output. Valid settings are, in descending order of # verbosity: EXTREME, TRACE, DEBUG, INFO, WARN, ERROR, and FATAL. The # default is INFO. LOGLEVEL="DEBUG" # The number of old log files to keep when rotating logs, in range [0-999]. # The default is 10. When set to 0, no rotation is performed and log size # limit is (LOGMAXSIZE, below) is not enforced. #LOGROLLNUMBER="10" # The maximum size of the log file, in bytes. 100MB by default. For this # size to be enforced, LOGROLLNUMBER, above, must be 1 or higher. If log # rotation is performed by an outside tool, either set LOGROLLNUMBER to 0 # or set this limit to a large value. #LOGMAXSIZE=104857600 # On a NC, this defines the TCP port on which the NC will listen. # On a CC, this defines the TCP port on which the CC will contact NCs. NC_PORT="8775" ########################################################################### # CLUSTER CONTROLLER (CC) CONFIGURATION ########################################################################### # The TCP port on which the CC will listen. CC_PORT="8774" # The scheduling policy that the CC uses to choose the NC on which to # run each new instance. Valid settings include GREEDY and ROUNDROBIN. # The default scheduling policy is ROUNDROBIN. SCHEDPOLICY="ROUNDROBIN" # A space-separated list of IP addresses for all the NCs that this CC # should communicate with. The ``euca_conf --register-nodes'' command # manipulates this setting. NODES="" # When multiple CCs reside in the same layer 2 broadcast domain, change # this setting to "Y" to disable tunneling. This setting has no effect # in Static or System modes. #DISABLE_TUNNELING="N" # The location of the NC service. The default is # axis2/services/EucalyptusNC NC_SERVICE="axis2/services/EucalyptusNC" # Set this to make the CC cache images, kernels and ramdisks. NCs must # be able to reach the CC with the specified value. #CC_IMAGE_PROXY="ip_of_cc" # Set this to the location where the CC image proxy should store cached # images. The default is /var/lib/eucalyptus/dynserv/ #CC_IMAGE_PROXY_PATH="/var/lib/eucalyptus/dynserv/" # Set this to the maximum size (in megabytes) of the CC image proxy cache. # The default is 32768, or 32 gigabytes. #CC_IMAGE_PROXY_CACHE_SIZE="32768" ########################################################################### # NODE CONTROLLER (NC) CONFIGURATION ########################################################################### # The hypervisor that the NC will interact with in order to manage # virtual machines. Supported values include "kvm" and "xen". HYPERVISOR="kvm" # The following three options determine whether KVM uses Virtio for # specific types of I/O with instances. These options only affect the # KVM hypervisor. # If "1", use Virtio for the root file system USE_VIRTIO_ROOT="1" # If "1", use Virtio for dynamic block volumes USE_VIRTIO_DISK="1" # If "1", use Virtio for the network card USE_VIRTIO_NET="1" # The amount of memory, in megabytes, that Eucalyptus is allowed to # allocate to instances running on this system. The default value of # 0 allows Eucalyptus to use all available memory for instances. #MAX_MEM="0" # The number of virtual CPU cores that Eucalyptus is allowed to allocate # to instances. The default value of 0 allows Eucalyptus to use all # CPU cores on the system. #MAX_CORES="0" # The amount of disk space, in megabytes, that the NC is allowed to use # in its work directory ($INSTANCE_PATH/eucalyptus/work). By default # the NC chooses automatically. Values below 10 are ignored. #NC_WORK_SIZE=50000 # The amount of disk space, in megabytes, that the NC is allowed to use in # its image cache directory ($INSTANCE_PATH/eucalyptus/cache). By default # the NC chooses automatically. A value below 10 will disable caching. #NC_CACHE_SIZE=50000 # The number of disk-intensive operations that the NC is allowed to # perform at once. A value of 1 serializes all disk-intensive operations. # The default value is 4. #CONCURRENT_DISK_OPS=4 # By default, a NC attempts to write the SSH public key associated to # the instance's filesystem before the instance starts. A value of 1 # disables this behavior. #DISABLE_KEY_INJECTION="0" # The number of loop devices to make available at NC startup time. # The default is 256. If you supply "max_loop" to the loop driver then # this setting must be equal to that number. #CREATE_NC_LOOP_DEVICES=256 # The directory where the NC will store instances' root filesystems, # ephemeral storage, and cached copies of images. INSTANCE_PATH="/var/lib/eucalyptus/instances" # If euca-bundle-upload, euca-check-bucket, or euca-delete-bundle do # not appear in the NC's search PATH then specify their locations here. #NC_BUNDLE_UPLOAD_PATH="/usr/bin/euca-bundle-upload" #NC_CHECK_BUCKET_PATH="/usr/bin/euca-check-bucket" #NC_DELETE_BUNDLE_PATH="/usr/bin/euca-delete-bundle" # The maximum amount of time, in seconds, that an instance will remain # in a migration-ready state on a source NC while awaiting the # preparation of a destination NC for a migration. After this time # period, the migration request will be terminated and the any # preparation on the source NC will be rolled back. Default is 15 # minutes. #NC_MIGRATION_READY_THRESHOLD=900 ########################################################################### # NETWORKING CONFIGURATION # # The set of networking settings that apply to a cloud varies based on # its networking mode. Each setting in this section lists the modes in # which it applies. Unless otherwise noted, all of these settings apply # only to CCs. All settings that lack default values must be specified # in the networking modes that use them. ########################################################################### # The networking mode in which to run. The same mode must be specified # on all CCs and NCs in the entire cloud. Valid values include SYSTEM, # STATIC, MANAGED, and MANAGED-NOVLAN. VNET_MODE="MANAGED-NOVLAN" # The name of the network interface that is on the same network as # the NCs. The default is "eth0". # Networking modes: Static, Managed, Managed (No VLAN) VNET_PRIVINTERFACE="br0" # On a CC, this is the name of the network interface that is connected # to the "public" network. When tunnelling is enabled, this must be # a bridge. The default is "eth0". # Networking modes: Managed, Managed (No VLAN) # # On an NC, this is the name of the network interface that is connected # to the same network as the CC. The default is "eth0". # Networking modes: Managed VNET_PUBINTERFACE="br0" # On an NC, this is the name of the bridge interface to which instances' # network interfaces should attach. A physical interface that can reach # the CC must be attached to this bridge. # Networking modes: System, Static, Managed (No VLAN) VNET_BRIDGE="br0" # A map of MAC addresses to IP addresses that Eucalyptus should allocate # to instances when running in Static mode. Separate MAC addresses and # IP addresses with '=' characters. Separate pairs with spaces. # Networking modes: Static #VNET_MACMAP="AA:DD:11:CE:FF:ED=192.168.1.2 AA:DD:11:CE:FF:EE=192.168.1.3" # A space-separated list of individual and/or hyphenated ranges of public # IP addresses to assign to instances. # Networking modes: Managed, Managed (No VLAN) VNET_PUBLICIPS="192.168.1.200-192.168.1.254" # The address and network mask of the network the cloud should use for # instances' private IP addresses. # Networking modes: Static, Managed, Managed (No VLAN) VNET_SUBNET="10.1.0.0" VNET_NETMASK="255.255.0.0" # The number of IP addresses to allocate to each security group. # Specify a power of 2 between 16 and 2048. # Networking modes: Managed, Managed (No VLAN) VNET_ADDRSPERNET="32" # The address of the DNS server to supply to instances in DHCP responses. # Networking modes: Static, Managed, Managed (No VLAN) VNET_DNS="192.168.1.1" # The search domain to supply to instance in DHCP responses. # NOTE: This should always be cloud.vmstate.instance_subdomain + ".internal", # and may be overridden by the CLC property in a future release. See EUCA-4226 # Networking modes: Static, Managed, Managed (No VLAN) #VNET_DOMAINNAME="eucalyptus.internal" # The network broadcast address and default gateway to supply to instances # in DHCP responses. # Networking modes: Static #VNET_BROADCAST="192.168.1.255" #VNET_ROUTER="192.168.1.1" # Set this to the IP address that other CCs can use to reach this CC # if layer 2 tunneling between CCs does not work. It is not normally # necessary to change this setting. # Networking modes: Managed, Managed (No VLAN) #VNET_LOCALIP="your-public-interface's-ip" # The ISC DHCP server executable to use. The default is # "/usr/sbin/dhcpd3". # Networking modes: Static, Managed, Managed (No VLAN) VNET_DHCPDAEMON="/usr/sbin/dhcpd" # The user as which the DHCP daemon runs on your distribution. # The default is "dhcpd". # Networking modes: Static, Managed, Managed (No VLAN) VNET_DHCPUSER="dhcpd"