Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 237 lines (188 sloc) 9.593 kb
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
1 ###########################################################################
2 # GLOBAL CONFIGURATION
3 ###########################################################################
7183c5b2 »
2009-01-06 from CVS
4
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
5 # Where Eucalyptus is installed
7183c5b2 »
2009-01-06 from CVS
6 EUCALYPTUS="not_configured"
7
844c28fe »
2009-06-15 fixes typos in default config file.
8 # This is the username that you would like eucalyptus to run as
c25c4b50 »
2009-07-13 added support for selecting private IP based on index (0-NUMADDRSPERNET)
9 EUCA_USER="eucalyptus"
d78b0da1 »
2009-01-07 front-end components (CLC/CC) can now run as non-root (as specified i…
10
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
11 # Extra options to pass to the eucalyptus-cloud process, such as log
12 # levels, heap size, or other JVM flags.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
13 CLOUD_OPTS=""
c8c51c2a »
2009-03-18 put the EBS disable flag in eucalyptus.conf
14
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
15 ###########################################################################
16 # STORAGE CONTROLLER (SC) CONFIGURATION
17 ###########################################################################
7183c5b2 »
2009-01-06 from CVS
18
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
19 # The number of loop devices to make available at SC startup time.
8b3965eb »
2011-12-08 Add fixes from Dmitrii
20 # The default is 256. If you supply "max_loop" to the loop driver
21 # then this setting must be equal to that number.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
22 #CREATE_SC_LOOP_DEVICES=256
23
24 ###########################################################################
25 # CLUSTER CONTROLLER (CC) / NODE CONTROLLER (NC) SHARED CONFIGURATION
26 ###########################################################################
27
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
28 # The level of logging output. Valid settings are, in descending order of
c2783912 »
2012-09-26 Logging enhancements for C-based components.
29 # verbosity: EXTREME, TRACE, DEBUG, INFO, WARN, ERROR, and FATAL. The
30 # default is DEBUG.
31 #LOGLEVEL="DEBUG".
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
32
c2783912 »
2012-09-26 Logging enhancements for C-based components.
33 # The number of old log files to keep when rotating logs, in range [0-999].
34 # The default is 4. When set to 0, no rotation is performed and log size
35 # limit is (LOGMAXSIZE, below) is not enforced.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
36 #LOGROLLNUMBER="4"
7183c5b2 »
2009-01-06 from CVS
37
c2783912 »
2012-09-26 Logging enhancements for C-based components.
38 # The maximum size of the log file, in bytes. 10MB by default. For this
39 # size to be enforced, LOGROLLNUMBER, above, must be 1 or higher. If log
40 # rotation is performed by an outside tool, either set LOGROLLNUMBER to 0
41 # or set this limit to a large value.
42 #LOGMAXSIZE=10485760
43
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
44 # On a NC, this defines the TCP port on which the NC will listen.
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
45 # On a CC, this defines the TCP port on which the CC will contact NCs.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
46 NC_PORT="8775"
26ecd003 »
2011-10-12 add ability to define number of logfiles that get kept before rolling…
47
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
48 ###########################################################################
49 # CLUSTER CONTROLLER (CC) CONFIGURATION
50 ###########################################################################
7183c5b2 »
2009-01-06 from CVS
51
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
52 # The TCP port on which the CC will listen.
7183c5b2 »
2009-01-06 from CVS
53 CC_PORT="8774"
54
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
55 # The scheduling policy that the CC uses to choose the NC on which to
e41d7f12 »
2011-12-09 Drop POWERSAVE scheduler from eucalyptus.conf
56 # run each new instance. Valid settings include GREEDY and ROUNDROBIN.
57 # The default scheduling policy is ROUNDROBIN.
c1d60409 »
2009-06-15 forgot to mod other two conf files. Changed default policy to ROUNDRO…
58 SCHEDPOLICY="ROUNDROBIN"
7183c5b2 »
2009-01-06 from CVS
59
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
60 # A space-separated list of IP addresses for all the NCs that this CC
61 # should communicate with. The ``euca_conf --register-nodes'' command
62 # manipulates this setting.
7183c5b2 »
2009-01-06 from CVS
63 NODES=""
64
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
65 # When multiple CCs reside in the same layer 2 broadcast domain, change
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
66 # this setting to "Y" to disable tunneling. This setting has no effect
67 # in Static or System modes.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
68 #DISABLE_TUNNELING="N"
69
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
70 # The location of the NC service. The default is
71 # axis2/services/EucalyptusNC
7183c5b2 »
2009-01-06 from CVS
72 NC_SERVICE="axis2/services/EucalyptusNC"
73
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
74 # Set this to make the CC cache images, kernels and ramdisks. NCs must
75 # be able to reach the CC with the specified value.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
76 #CC_IMAGE_PROXY="ip_of_cc"
7183c5b2 »
2009-01-06 from CVS
77
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
78 # Set this to the location where the CC image proxy should store cached
79 # images. The default is /var/lib/eucalyptus/dynserv/
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
80 #CC_IMAGE_PROXY_PATH="/var/lib/eucalyptus/dynserv/"
81
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
82 # Set this to the maximum size (in megabytes) of the CC image proxy cache.
83 # The default is 32768, or 32 gigabytes.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
84 #CC_IMAGE_PROXY_CACHE_SIZE="32768"
7183c5b2 »
2009-01-06 from CVS
85
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
86 ###########################################################################
87 # NODE CONTROLLER (NC) CONFIGURATION
88 ###########################################################################
89
90 # The hypervisor that the NC will interact with in order to manage
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
91 # virtual machines. Supported values include "kvm" and "xen".
2633c38c »
2009-01-21 moved partition-to-disk invocation into caching code, updated the XML
92 HYPERVISOR="not_configured"
816e8467 »
2009-01-23 fixed up euca_test_nc and init script to work with either KVM or Xen
93
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
94 # The following three options determine whether KVM uses Virtio for
e0331ff4 »
2011-12-20 Make conf wording clearer
95 # specific types of I/O with instances. These options only affect the
96 # KVM hypervisor.
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
97
98 # If "1", use Virtio for the root file system
99 USE_VIRTIO_ROOT="0"
c97ea5d6 »
2010-09-10 brought relevant bits of tools/ from main
100
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
101 # If "1", use Virtio for dynamic block volumes
c97ea5d6 »
2010-09-10 brought relevant bits of tools/ from main
102 USE_VIRTIO_DISK="0"
103
104 # If "1", use Virtio for the network card
105 USE_VIRTIO_NET="0"
106
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
107 # The amount of memory, in megabytes, that Eucalyptus is allowed to
108 # allocate to instances running on this system. The default value of
109 # 0 allows Eucalyptus to use all available memory for instances.
110 #MAX_MEM="0"
111
59117808 »
2012-01-05 Incorporated feedback from nurmi
112 # The number of virtual CPU cores that Eucalyptus is allowed to allocate
113 # to instances. The default value of 0 allows Eucalyptus to use all
114 # CPU cores on the system.
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
115 #MAX_CORES="0"
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
116
8b3965eb »
2011-12-08 Add fixes from Dmitrii
117 # The amount of disk space, in megabytes, that the NC is allowed to use
118 # in its work directory ($INSTANCE_PATH/eucalyptus/work). By default
119 # the NC chooses automatically. Values below 10 are ignored.
120 #NC_WORK_SIZE=50000
121
122 # The amount of disk space, in megabytes, that the NC is allowed to use in
123 # its image cache directory ($INSTANCE_PATH/eucalyptus/cache). By default
124 # the NC chooses automatically. A value below 10 will disable caching.
125 #NC_CACHE_SIZE=50000
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
126
127 # The number of disk-intensive operations that the NC is allowed to
128 # perform at once. A value of 1 serializes all disk-intensive operations.
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
129 # The default value is 4.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
130 #CONCURRENT_DISK_OPS=4
131
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
132 # By default, a NC attempts to write the SSH public key associated to
133 # the instance's filesystem before the instance starts. A value of 1
134 # disables this behavior.
135 #DISABLE_KEY_INJECTION="0"
136
137 # The number of loop devices to make available at NC startup time.
138 # The default is 256. If you supply "max_loop" to the loop driver then
8b3965eb »
2011-12-08 Add fixes from Dmitrii
139 # this setting must be equal to that number.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
140 #CREATE_NC_LOOP_DEVICES=256
141
142 # The directory where the NC will store instances' root filesystems,
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
143 # ephemeral storage, and cached copies of images.
7183c5b2 »
2009-01-06 from CVS
144 INSTANCE_PATH="not_configured"
145
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
146 # If euca-bundle-upload, euca-check-bucket, or euca-delete-bundle do
147 # not appear in the NC's search PATH then specify their locations here.
78f0e467 »
2011-04-25 Default NC euca2ools paths to /usr/bin/*
148 #NC_BUNDLE_UPLOAD_PATH="/usr/bin/euca-bundle-upload"
149 #NC_CHECK_BUCKET_PATH="/usr/bin/euca-check-bucket"
150 #NC_DELETE_BUNDLE_PATH="/usr/bin/euca-delete-bundle"
0254730f »
2010-04-12 add commented out value for NC_UPLOAD_BUNDLE_PATH to eucalyptus.conf
151
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
152 ###########################################################################
153 # NETWORKING CONFIGURATION
154 #
155 # The set of networking settings that apply to a cloud varies based on
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
156 # its networking mode. Each setting in this section lists the modes in
157 # which it applies. Unless otherwise noted, all of these settings apply
158 # only to CCs. All settings that lack default values must be specified
159 # in the networking modes that use them.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
160 ###########################################################################
161
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
162 # The networking mode in which to run. The same mode must be specified
163 # on all CCs and NCs in the entire cloud. Valid values include SYSTEM,
164 # STATIC, MANAGED, and MANAGED-NOVLAN.
59117808 »
2012-01-05 Incorporated feedback from nurmi
165 VNET_MODE="SYSTEM"
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
166
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
167 # The name of the network interface that is on the same network as
59117808 »
2012-01-05 Incorporated feedback from nurmi
168 # the NCs. In Managed and Managed (No VLAN) modes this may need to be
169 # a bridge. The default is "eth0".
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
170 # Networking modes: Static, Managed, Managed (No VLAN)
5a6dbe0a »
2009-08-02 added vtund based ethernet tunnelling between CCs
171 VNET_PRIVINTERFACE="eth0"
7183c5b2 »
2009-01-06 from CVS
172
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
173 # On a CC, this is the name of the network interface that is connected
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
174 # to the "public" network. The default is "eth0".
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
175 # Networking modes: Managed, Managed (No VLAN)
176 #
8b3965eb »
2011-12-08 Add fixes from Dmitrii
177 # On an NC, this is the name of the network interface that is connected
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
178 # to the same network as the CC. Depending on the hypervisor's
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
179 # configuration, this may be a bridge or a physical interface that is
180 # attached to the bridge. The default is "eth0".
181 # Networking modes: Managed
182 VNET_PUBINTERFACE="eth0"
183
8b3965eb »
2011-12-08 Add fixes from Dmitrii
184 # On an NC, this is the name of the bridge interface to which instances'
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
185 # network interfaces should attach. A physical interface that can reach
186 # the CC must be attached to this bridge.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
187 # Networking modes: System, Static, Managed (No VLAN)
7183c5b2 »
2009-01-06 from CVS
188 VNET_BRIDGE="xenbr0"
189
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
190 # A map of MAC addresses to IP addresses that Eucalyptus should allocate
59117808 »
2012-01-05 Incorporated feedback from nurmi
191 # to instances when running in Static mode. Separate MAC addresses and
192 # IP addresses with '=' characters. Separate pairs with spaces.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
193 # Networking modes: Static
194 #VNET_MACMAP="AA:DD:11:CE:FF:ED=192.168.1.2 AA:DD:11:CE:FF:EE=192.168.1.3"
195
5db2da9a »
2011-12-20 Mention hyphenated IP ranges in conf commentary
196 # A space-separated list of individual and/or hyphenated ranges of public
197 # IP addresses to assign to instances.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
198 # Networking modes: Managed, Managed (No VLAN)
199 #VNET_PUBLICIPS="your-free-public-ip-1 your-free-public-ip-2 ..."
7183c5b2 »
2009-01-06 from CVS
200
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
201 # The address and network mask of the network the cloud should use for
59117808 »
2012-01-05 Incorporated feedback from nurmi
202 # instances' private IP addresses.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
203 # Networking modes: Static, Managed, Managed (No VLAN)
7183c5b2 »
2009-01-06 from CVS
204 #VNET_SUBNET="192.168.0.0"
205 #VNET_NETMASK="255.255.0.0"
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
206
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
207 # The number of IP addresses to allocate to each security group.
208 # Specify a power of 2 between 16 and 2048.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
209 # Networking modes: Managed, Managed (No VLAN)
7183c5b2 »
2009-01-06 from CVS
210 #VNET_ADDRSPERNET="32"
211
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
212 # The address of the DNS server to supply to instances in DHCP responses.
213 # Networking modes: Static, Managed, Managed (No VLAN)
214 #VNET_DNS="your-dns-server-ip"
215
216 # The network broadcast address and default gateway to supply to instances
217 # in DHCP responses.
218 # Networking modes: Static
7183c5b2 »
2009-01-06 from CVS
219 #VNET_BROADCAST="192.168.1.255"
220 #VNET_ROUTER="192.168.1.1"
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
221
e0331ff4 »
2011-12-20 Make conf wording clearer
222 # Set this to the IP address that other CCs can use to reach this CC
223 # if layer 2 tunneling between CCs does not work. It is not normally
224 # necessary to change this setting.
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
225 # Networking modes: Managed, Managed (No VLAN)
226 #VNET_LOCALIP="your-public-interface's-ip"
227
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
228 # The ISC DHCP server executable to use. The default is
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
229 # "/usr/sbin/dhcpd3".
230 # Networking modes: Static, Managed, Managed (No VLAN)
231 VNET_DHCPDAEMON="/usr/sbin/dhcpd"
232
36400e35 »
2011-11-17 Further eucalyptus.conf simplifications
233 # The user as which the DHCP daemon runs on your distribution.
234 # The default is "dhcpd".
77aef7ea »
2011-11-14 Re-organize eucalyptus.conf
235 # Networking modes: Static, Managed, Managed (No VLAN)
236 #VNET_DHCPUSER="dhcpd"
Something went wrong with that request. Please try again.