Subsections
This section is used for general options affecting Haizea as a whole.
This section is required
- Valid values:
- STATUS, INFO, DEBUG, VDEBUG
- Required:
- No
(default is INFO)
- Description:
- Controls the level (and amount) of
log messages. Valid values are:
-
STATUS: Only print status messages
-
INFO: Slightly more verbose that STATUS
-
DEBUG: Prints information useful for debugging the scheduler.
-
VDEBUG: Prints very verbose information
on the scheduler's internal data structures. Use only
for short runs.
- Valid values:
- Any string
- Required:
- No
(default is /var/tmp/haizea.log)
- Description:
- When running Haizea as a daemon, this option specifies the file
that log messages should be written to.
- Valid values:
- simulated, opennebula
- Required:
- Yes
- Description:
- Sets the mode the scheduler will run in.
Currently the only valid values are ``simulated'' and
``opennebula''. The ``simulated'' mode expects lease
requests to be provided through a trace file, and
all enactment is simulated. The ``opennebula'' mode
interacts with the OpenNebula virtual infrastructure
manager (http://www.opennebula.org/http://www.opennebula.org/) to obtain lease
requests and to do enactment on physical resources.
- Valid values:
- unmanaged, imagetransfer
- Required:
- No
(default is unmanaged)
- Description:
- Sets how the scheduler will handle the
preparation overhead of leases. Valid values are:
-
unmanaged: The scheduler can assume that there
is no deployment overhead, or that some
other entity is taking care of it (e.g., one
of the enactment backends)
-
imagetransfer: A disk image has to be transferred
from a repository node before the lease can start.
- Valid values:
- cancel, exit, exit-raise
- Required:
- No
(default is cancel)
- Description:
- Sets how the scheduler will handle a failure in
a lease. Valid values are:
-
cancel: The lease is cancelled and marked as ``FAILED''
-
exit: Haizea will exit cleanly, printing relevant debugging
information to its log.
-
exit-raise: Haizea will exit by raising an exception. This is
useful for debugging, as IDEs will recognize this as an exception
and will facilitate debugging it.
- Valid values:
- Any string
- Required:
- No
(default is /.haizea/leases.dat)
- Description:
- This is the file where lease information, along with some
additional scheduling information, is persisted to. If set
to ``none'', no information will be persisted to disk, and
Haizea will run entirely in-memory (this is advisable
when running in simulation, as persisting to disk adds
considerable overhead, compared to running in-memory).
Borja Sotomayor
2009-12-17