Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 296 lines (248 sloc) 13.145 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295
# Eucalyptus configuration.

####
# These are to instruct the init.d script on what to start.
####

# This variable points to where eucalyptus has been installed.
EUCALYPTUS="not_configured"

# This is the username that you would like eucalyptus to run as
EUCA_USER="eucalyptus"

# Uncomment this field if you do not plan on using the EBS (elastic
# block store) functionality of Eucalyptus
# DISABLE_EBS="Y"

# EBS (elastic block store) functionality is implemented using iSCSI,
# a layer-3 technology, unless iSCSI is disabled by setting this option to
# "Y" or by commenting out the option, in which case EBS is implemented
# using AoE (ATA over Ethernet), a layer-2 technology.
DISABLE_ISCSI="N"

# Uncomment this field if you do not plan on using the dynamic DNS
# functionality of Eucalyptus
DISABLE_DNS="Y"

# This variable controls whether or not layer 2 tunnels are set up
# between clusters in multi-cluster mode.
# DISABLE_TUNNELING="N"

# This variable controls whether or not layer 2 tunnels are set up
# between clusters in multi-cluster mode. If you are running two CCs
# on the same broadcast network (ethernet), tunneling should be
# disabled.
# DISABLE_TUNNELING="N"

# Set CC_IMAGE_PROXY if you want to turn on the caching of
# images/kernels/ramdisks at the CC. The value should be the
# IP/Hostname of the CC that is accessible from the CC's nodes.
# CC_IMAGE_PROXY="ip_of_cc"

# Set CC_IMAGE_PROXY_PATH to the location where you would like the CC
# image proxy to store cached images.
# CC_IMAGE_PROXY_PATH="/var/lib/eucalyptus/dynserv/"

# Set CC_IMAGE_PROXY_CACHE_SIZE to the max size of the CC image proxy
# cache (in megabytes)
# CC_IMAGE_PROXY_CACHE_SIZE="32768"

# This variable controls whether ws-security is enabled between
# eucalyptus components. The default settings provide secure
# connections between the Cloud, Cluster, and Node Controllers and we
# recommend that this feature remains enabled. If you wish to disable security,
# you must change this variable to "N" and manually configure the
# services.xml for both Cluster and Node Controllers (see documentation
# for more details).
ENABLE_WS_SECURITY="Y"

# This variable is used to pass extra options to eucalyptus-cloud
# (such as heap size or JVM flags).
CLOUD_OPTS=""

# This variable controls the level of logging output that appears in
# various eucalyptus log files. The options are, in descending order
# of verbosity, 'DEBUG, INFO, WARN, ERROR, and
# FATAL'. The default is DEBUG (everything).
LOGLEVEL="DEBUG"

####
# These following are Cluster Controller configuration options.
####

# This is the port the Cluster Controller will be listening on.
CC_PORT="8774"

# This option configures the Cluster Controller's scheduling policy.
# Currently, this option can be set to GREEDY (first node that is
# found that can run the VM will be chosen), ROUNDROBIN (nodes are
# selected one after another until one is found that can run the VM),
# or POWERSAVE (nodes are put to sleep when they are not running VMs,
# and reawakened when new resources are required. VMs will be placed
# on the first awake machine, followed by machines that are asleep).
SCHEDPOLICY="ROUNDROBIN"

# Powersave options. POWER_IDLETHRESH is the number of seconds that a
# node can remain idle (i.e. no running VMs) before a powerdown is
# attempted. POWER_WAKETHRESH is the number of seconds that
# Eucalyptus should wait after attempting a node wake-up before it
# will consider the node actually down (and not waking up).
POWER_IDLETHRESH="300"
POWER_WAKETHRESH="300"

# The list of Node Controllers the Cluster Controller will communicate with.
#
# If you are running Rocks, you can run "rocks list host" to
# find out the list of machines available to you (in our case we are
# interested in the VM Container kind).
NODES=""

# The name of the Node Controller service. Change this if you want
# to plug in your own Node Controller service.
NC_SERVICE="axis2/services/EucalyptusNC"

####
# The following are Node Controller configuration options.
####

# This is the port the Node Controller will be listening on.
NC_PORT="8775"

# The hypervisor that the Node Controller will interact with in order
# to manage virtual machines. Currently, supported values are 'kvm'
# and 'xen'.
HYPERVISOR="not_configured"

# The following three KVM-specific options determine whether the
# hypervisor uses Virtio for specific types of I/O with the VM.
# (To use VirtIO, the VM must have the appropriate drivers installed.)

# If "1", use Virtio for EBS (elastic block store) volumes
USE_VIRTIO_DISK="0"

# If "1", use Virtio for the root file system disk
USE_VIRTIO_ROOT="0"

# If "1", use Virtio for the network card
USE_VIRTIO_NET="0"

# The maximum amount of memory, in Megabytes, that Eucalyptus is allowed to
# allocate to instances on the node: if you leave this commented out or set
# to 0, Eucalyptus may use all available memory for instances.
# MAX_MEM=2048

# The maximum number of CPUs or cores Eucalyptus is allowed to allocate to
# instances on the node (at the moment we don't differentiate between cores
# and CPUs). If you leave this commented out, Eucalyptus will use all
# available CPUs or cores it can find. If this value exceeds the number of
# physical cores or CPUs, multiple instances may be sharing a core or CPU.
# MAX_CORES="2"

# The maximum amount of disk, in Gigabytes, that Eucalyptus is allowed to
# allocate to instances on the node (this does not include the disk used
# for the cache, which can be limited using NC_CACHE_SIZE). If this is
# commented out or set to 0, Eucalyptus may use all available disk space on
# the partition containing the INSTANCES directory.
# MAX_DISK="100"

# The size of the swap partition, in MB, for each instance started on the
# node (default is 512MB). If the maximum disk allowed for the instance
# is not big enough to accommodate the swap together with the root partition,
# then no swap is allocated. If there is extra room left, then an "ephemeral"
# partition will be created, available as /dev/sda3 inside the VM.
# SWAP_SIZE=512

# Set the number of 'disk intensive operations' that are allowed to
# take place in parallel on this machine. If this value is set too
# high, we run the risk of driving the load on the machine too high
# when multiple instances are started on this single node. The
# default is 4.
# CONCURRENT_DISK_OPS=4

# Setting this to 1 disables the cleanup of instance files (root, kernel,
# ramdisk) for failed and terminated instances. This is not
# recommended for normal use, but it can be useful in debugging VM startup.
# MANUAL_INSTANCES_CLEANUP=0

# Setting this to '1' tells NC not to attempt injecting the SSH key
# associated with the instance into the root partition of its disk.
# In MANAGED* modes, the key can be obtained via the instance metadata
# service. In other modes, the user is expected to set up authentication
# without assistance from Eucalyptus.
DISABLE_KEY_INJECTION="0"

####
# The following are options for image storage on the Node Controller
####

# This variable points to a directory which is used by the Node Controller
# to store images of running instances as well as local cached copies of
# images. The running images will be deleted after the instance is
# terminated, but the cached copies will persist, subject to LRU cache
# replacement and the NC_CACHE_SIZE size limit, below. So, this
# partition should be at least as big as the cache size (or the maximum
# space needed by all images, whichever is bigger) plus the maximum space
# needed by the maximum number of instances allowed on the node.
# This directory should be local to the Node Controller (as
# opposed to a NFS share) for performance reasons.
INSTANCE_PATH="not_configured"

# The maximum amount of disk space, in Megabytes, that Eucalyptus is
# allowed to use in the cache directory (INSTANCES_PATH/eucalyptus/cache).
# A generous size is recommended. Setting this to zero disables caching.
# NC_CACHE_SIZE=99999

# Specify the path to the locally (on node controllers) installed
# 'euca-bundle-upload', 'euca-check-bucket' and 'euca-delete-bundle' helpers
#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 following are networking options
####

# The 2 variable VNET_PRIVINTERFACE and VNET_PUBINTERFACE specify the
# local physical ethernet interfaces that eucalyptus should use to manage
# the VM network. On the front-end, VNET_PRIVINTERFACE should be set to
# the device that is attached to the same ethernet network as your nodes.
# - VNET_PUBINTERFACE should be set to the device which is connected to
# the 'public' network. If you have only one interface, these should
# be set to the same value. On the nodes, both should be set to
# either the name of the bridge that has been set up by Xen (xenbr0,
# eth0, etc), or the physical ethernet device that is attached to the
# xen bridge (peth0, peth1, etc), depending on your xen configuration.
VNET_PUBINTERFACE="eth0"
VNET_PRIVINTERFACE="eth0"

# (node setting only) VNET_BRIDGE should be set to the name of the
# bridge that xen has configured. This is typically named 'xenbr0,
# xenbr1, etc' on older Xen versions, and 'eth0, eth1, etc' on newer
# Xen versions. The command 'brctl show' will give you more
# information on your local bridge setup.
VNET_BRIDGE="xenbr0"

# This indicates where we have a dhcp server binary. We use it to provide
# the images with IPs: Eucalyptus provides its own configuration per
# instance.
VNET_DHCPDAEMON="/usr/sbin/dhcpd"

# Some systems have their DHCP daemon configured to run as a non-root
# user. If this is the case, set the name of that user here (by
# default, Eucalyptus will set up DHCPD configuration files and
# directories as owned by root).
#VNET_DHCPUSER="root"

# Following are example eucalyptus VM networking configurations.
# There are four modes to choose from (MANAGED, MANAGED-NOVLAN,
# SYSTEM, or STATIC) and each has its own sub-options. The first
# modes (MANAGED, MANAGED-NOVLAN) configure eucalyptus to fully manage
# the VM networks, and enables the ability to use security groups and
# dynamic public IP assignment (with and without vlan tagging of
# security group networks, respectively). VNET_SUBNET should be set
# to an IP subnet that is free for eucalyptus to use (i.e. no other
# system connected to your network directly is configured with
# addresses from this subnet). VNET_NETMASK defines the size of the
# subnet. VNET_DNS should be set to a DNS server that your systems
# use (usually safe to use the same DNS that is configured on the
# front-end). VNET_ADDRSPERNET can be used to limit the number of
# instances that can be attached to each named security group
# simultaneously. Finally, VNET_PUBLICIPS should be set to any public
# IPs, that are currently unused, that can be dynamically assigned to
# VMs. Of these options, only VNET_PUBLICIPS can be left blank or
# undefined. If you are running in multi-cluster mode (more than one
# CC), you should uncomment VNET_LOCALIP and set it to the local IP of
# the CC that is accessible by all other CCs in the system. If
# VNET_LOCALIP is unset, the CC will try to determine the list of all
# IPs currently assigned to the machine at CC run time. If your CC
# and CLC are on different machines, uncomment VNET_CLOUDIP and set it
# to your cloud-contoller's IP address (must be an address that can be
# reached by the CC).

#VNET_MODE="MANAGED"
#VNET_SUBNET="192.168.0.0"
#VNET_NETMASK="255.255.0.0"
#VNET_DNS="your-dns-server-ip"
#VNET_ADDRSPERNET="32"
#VNET_PUBLICIPS="your-free-public-ip-1 your-free-public-ip-2 ..."
#VNET_LOCALIP="your-public-interface's-ip"
#VNET_CLOUDIP="your-cloud-controller's-ip"

# If you would like eucalyptus to not manage the VM network at all,
# you can set VNET_MODE to SYSTEM. In this mode, VM interfaces are
# attached directly to your physical ethernet, at which point they
# will typically invoke a DHCP client to aquire an IP address. Use
# this mode if you wish to manage VM IPs yourself, or allow the VMs to
# pick up an IP from a non-eucalyptus managed DHCP server.
VNET_MODE="SYSTEM"

# If VNET_MODE is set to STATIC, you can manually configure a set of
# IP addresses that will be allocated to VMs at boot time in a first
# come, first served manner. VNET_SUBNET, VNET_NETMASK, and
# VNET_BROADCAST define your subnet (front-end must have an interface
# configured on this subnet). VNET_ROUTER defines the subnet's
# gateway. VNET_DNS is a nameserver address. It is usually safe to
# get these settings by examining your front-end network settings and
# duplicating them here. VNET_MACMAP is a list of mac address/IP
# address mappings that you would like to be allocated to VMs at run
# time (see example below for the format of this list).
#VNET_MODE="STATIC"
#VNET_SUBNET="192.168.1.0"
#VNET_NETMASK="255.255.255.0"
#VNET_BROADCAST="192.168.1.255"
#VNET_ROUTER="192.168.1.1"
#VNET_DNS="192.168.1.1"
#VNET_MACMAP="AA:DD:11:CE:FF:ED=192.168.1.2 AA:DD:11:CE:FF:EE=192.168.1.3"
Something went wrong with that request. Please try again.