2008-07-03 05:18:42 +04:00
#*******************************************************************************
# OpenNebula Configuration file
#*******************************************************************************
2008-06-17 20:27:32 +04:00
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-07-03 05:18:42 +04:00
# Daemon configuration attributes
#-------------------------------------------------------------------------------
2010-11-11 17:17:46 +03:00
# MANAGER_TIMER: Time in seconds the core uses to evaluate periodical functions.
# HOST_MONITORING_INTERVAL and VM_POLLING_INTERVAL can not have smaller values
# than MANAGER_TIMER.
#
# HOST_MONITORING_INTERVAL: Time in seconds between host monitorization.
2011-08-16 20:12:45 +04:00
# HOST_PER_INTERVAL: Number of hosts monitored in each interval.
2008-12-02 20:43:12 +03:00
#
2010-06-18 02:23:56 +04:00
# VM_POLLING_INTERVAL: Time in seconds between virtual machine monitorization.
# (use 0 to disable VM monitoring).
2011-08-16 20:12:45 +04:00
# VM_PER_INTERVAL: Number of VMs monitored in each interval.
2008-06-17 20:27:32 +04:00
#
2008-11-13 19:21:17 +03:00
# VM_DIR: Remote path to store the VM images, it should be shared between all
2009-02-15 03:24:39 +03:00
# the cluster nodes to perform live migrations. This variable is the default
2011-06-13 18:04:41 +04:00
# for all the hosts in the cluster. VM_DIR IS ONLY FOR THE NODES AND *NOT* THE
2011-02-09 20:06:47 +03:00
# FRONT-END
2009-02-15 03:24:39 +03:00
#
2010-12-22 20:53:38 +03:00
# SCRIPTS_REMOTE_DIR: Remote path to store the monitoring and VM management
# scripts.
#
2008-07-03 05:18:42 +04:00
# PORT: Port where oned will listen for xmlrpc calls.
2008-06-17 20:27:32 +04:00
#
2010-05-05 02:21:28 +04:00
# DB: Configuration attributes for the database backend
# backend : can be sqlite or mysql (default is sqlite)
# server : (mysql) host name or an IP address for the MySQL server
2010-11-10 20:44:13 +03:00
# port : (mysql) port for the connection to the server.
# If set to 0, the default port is used.
2010-05-05 02:21:28 +04:00
# user : (mysql) user's MySQL login ID
# passwd : (mysql) the password for user
# db_name : (mysql) the database name
#
2010-03-05 21:43:34 +03:00
# VNC_BASE_PORT: VNC ports for VMs can be automatically set to VNC_BASE_PORT +
# VMID
#
2008-07-03 05:18:42 +04:00
# DEBUG_LEVEL: 0 = ERROR, 1 = WARNING, 2 = INFO, 3 = DEBUG
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-06-17 20:27:32 +04:00
2011-08-16 20:12:45 +04:00
#MANAGER_TIMER = 30
2010-11-11 17:17:46 +03:00
2010-06-18 02:23:56 +04:00
HOST_MONITORING_INTERVAL = 600
2011-08-16 20:12:45 +04:00
#HOST_PER_INTERVAL = 15
2008-12-02 20:43:12 +03:00
2010-06-18 02:23:56 +04:00
VM_POLLING_INTERVAL = 600
2011-08-16 20:12:45 +04:00
#VM_PER_INTERVAL = 5
2008-06-17 20:27:32 +04:00
2009-07-16 21:14:01 +04:00
#VM_DIR=/srv/cloud/one/var
2008-06-17 20:27:32 +04:00
2010-10-20 19:23:28 +04:00
SCRIPTS_REMOTE_DIR=/var/tmp/one
2010-09-10 18:42:18 +04:00
2011-08-16 20:12:45 +04:00
PORT = 2633
2008-06-17 20:27:32 +04:00
2010-05-05 02:21:28 +04:00
DB = [ backend = "sqlite" ]
# Sample configuration for MySQL
# DB = [ backend = "mysql",
# server = "localhost",
2010-11-10 20:44:13 +03:00
# port = 0,
2010-05-05 02:21:28 +04:00
# user = "oneadmin",
# passwd = "oneadmin",
# db_name = "opennebula" ]
2010-10-13 15:42:40 +04:00
VNC_BASE_PORT = 5900
2010-03-05 21:43:34 +03:00
2011-08-16 20:12:45 +04:00
DEBUG_LEVEL = 3
2008-07-03 05:18:42 +04:00
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-11-13 19:21:17 +03:00
# Physical Networks configuration
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-12-02 20:43:12 +03:00
# NETWORK_SIZE: Here you can define the default size for the virtual networks
2008-11-13 19:21:17 +03:00
#
2009-02-15 03:24:39 +03:00
# MAC_PREFIX: Default MAC prefix to be used to create the auto-generated MAC
# addresses is defined here (this can be overrided by the Virtual Network
2008-12-02 20:43:12 +03:00
# template)
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-11-13 19:21:17 +03:00
2008-12-02 20:43:12 +03:00
NETWORK_SIZE = 254
2008-11-13 19:21:17 +03:00
2010-06-28 23:45:17 +04:00
MAC_PREFIX = "02:00"
2008-11-13 19:21:17 +03:00
2010-06-01 20:00:44 +04:00
#*******************************************************************************
2012-02-16 02:53:35 +04:00
# DataStore Configuration
2010-06-01 20:00:44 +04:00
#*******************************************************************************
2012-02-16 02:53:35 +04:00
# SYSTEM_DS
# base_path : Base path for the system datastore. The system datastore
# keeps the images (or reference to) of running or stopped VMs.
# The images are stored in the form base_path/<vm_id>.
# type : SSH: non shared, will limit live_migration
# SHARED: needs to be exported and mounted in the hosts
#
2010-06-01 20:00:44 +04:00
# DEFAULT_IMAGE_TYPE: This can take values
# OS Image file holding an operating system
# CDROM Image file holding a CDROM
2010-06-25 21:17:17 +04:00
# DATABLOCK Image file holding a datablock,
2010-06-01 20:00:44 +04:00
# always created as an empty block
# DEFAULT_DEVICE_PREFIX: This can be set to
# hd IDE prefix
# sd SCSI
# xvd XEN Virtual Disk
# vd KVM virtual disk
#*******************************************************************************
2012-02-16 02:53:35 +04:00
SYSTEM_DS = [
base_path = "/var/lib/one/system_ds",
type = "shared"
]
2010-06-01 20:00:44 +04:00
DEFAULT_IMAGE_TYPE = "OS"
DEFAULT_DEVICE_PREFIX = "hd"
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-07-03 05:18:42 +04:00
# Information Driver Configuration
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2009-02-15 03:24:39 +03:00
# You can add more information managers with different configurations but make
2008-07-03 05:18:42 +04:00
# sure it has different names.
2009-01-02 17:58:51 +03:00
#
2008-07-03 05:18:42 +04:00
# name : name for this information manager
2009-01-02 17:58:51 +03:00
#
2009-02-15 03:24:39 +03:00
# executable: path of the information driver executable, can be an
2009-01-02 17:58:51 +03:00
# absolute path or relative to $ONE_LOCATION/lib/mads (or
2009-02-15 03:24:39 +03:00
# /usr/lib/one/mads/ if OpenNebula was installed in /)
2009-01-02 17:58:51 +03:00
#
# arguments : for the driver executable, usually a probe configuration file,
# can be an absolute path or relative to $ONE_LOCATION/etc (or
# /etc/one/ if OpenNebula was installed in /)
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-07-03 05:18:42 +04:00
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
# KVM Information Driver Manager Configuration
2011-01-20 20:36:37 +03:00
# -r number of retries when monitoring a host
# -t number of threads, i.e. number of hosts monitored at the same time
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2009-07-16 21:14:01 +04:00
IM_MAD = [
name = "im_kvm",
executable = "one_im_ssh",
2011-01-20 20:36:37 +03:00
arguments = "-r 0 -t 15 kvm" ]
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
# XEN Information Driver Manager Configuration
2011-01-20 20:36:37 +03:00
# -r number of retries when monitoring a host
# -t number of threads, i.e. number of hosts monitored at the same time
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
#IM_MAD = [
# name = "im_xen",
# executable = "one_im_ssh",
# arguments = "xen" ]
#-------------------------------------------------------------------------------
2011-11-29 19:37:01 +04:00
#-------------------------------------------------------------------------------
# VMware Information Driver Manager Configuration
# -r number of retries when monitoring a host
# -t number of threads, i.e. number of hosts monitored at the same time
#-------------------------------------------------------------------------------
#IM_MAD = [
# name = "im_vmware",
# executable = "one_im_sh",
# arguments = "-t 15 -r 0 vmware" ]
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
# EC2 Information Driver Manager Configuration
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2009-03-07 03:50:05 +03:00
#IM_MAD = [
2008-12-02 20:43:12 +03:00
# name = "im_ec2",
2009-01-02 17:58:51 +03:00
# executable = "one_im_ec2",
2009-03-07 03:50:05 +03:00
# arguments = "im_ec2/im_ec2.conf" ]
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2008-07-19 02:14:06 +04:00
2011-02-10 13:43:04 +03:00
#-----------------------------------------------------------------------------
# Ganglia Information Driver Manager Configuration
#-----------------------------------------------------------------------------
#IM_MAD = [
# name = "im_ganglia",
# executable = "one_im_sh",
# arguments = "ganglia" ]
#-----------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
# Dummy Information Driver Manager Configuration
#-------------------------------------------------------------------------------
#IM_MAD = [ name="im_dummy", executable="one_im_dummy"]
#-------------------------------------------------------------------------------
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-07-03 05:18:42 +04:00
# Virtualization Driver Configuration
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2009-02-15 03:24:39 +03:00
# You can add more virtualization managers with different configurations but
2008-07-03 05:18:42 +04:00
# make sure it has different names.
2009-01-02 17:58:51 +03:00
#
2008-07-03 05:18:42 +04:00
# name : name of the virtual machine manager driver
2009-01-02 17:58:51 +03:00
#
2009-02-15 03:24:39 +03:00
# executable: path of the virtualization driver executable, can be an
2009-01-02 17:58:51 +03:00
# absolute path or relative to $ONE_LOCATION/lib/mads (or
2009-02-15 03:24:39 +03:00
# /usr/lib/one/mads/ if OpenNebula was installed in /)
2009-01-02 17:58:51 +03:00
#
2008-07-03 05:18:42 +04:00
# arguments : for the driver executable
2009-01-02 17:58:51 +03:00
#
2009-02-15 03:24:39 +03:00
# default : default values and configuration parameters for the driver, can
2009-01-02 17:58:51 +03:00
# be an absolute path or relative to $ONE_LOCATION/etc (or
# /etc/one/ if OpenNebula was installed in /)
#
2009-02-15 03:24:39 +03:00
# type : driver type, supported drivers: xen, kvm, xml
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-07-03 05:18:42 +04:00
2010-08-31 12:47:22 +04:00
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
# KVM Virtualization Driver Manager Configuration
2011-02-03 01:19:05 +03:00
# -r number of retries when monitoring a host
# -t number of threads, i.e. number of hosts monitored at the same time
2011-09-01 19:19:49 +04:00
# -l <actions[=command_name]> actions executed locally, command can be
# overridden for each action.
2011-08-29 21:17:50 +04:00
# Valid actions: deploy, shutdown, cancel, save, restore, migrate, poll
2011-09-01 19:19:49 +04:00
# An example: "-l migrate,poll=poll_ganglia,save"
2010-08-31 12:47:22 +04:00
#-------------------------------------------------------------------------------
VM_MAD = [
name = "vmm_kvm",
2011-06-01 21:36:29 +04:00
executable = "one_vmm_exec",
2011-02-07 12:40:14 +03:00
arguments = "-t 15 -r 0 kvm",
2011-06-01 21:36:29 +04:00
default = "vmm_exec/vmm_exec_kvm.conf",
2010-08-31 12:47:22 +04:00
type = "kvm" ]
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
2010-08-24 18:44:42 +04:00
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
# XEN Virtualization Driver Manager Configuration
2011-02-03 01:19:05 +03:00
# -r number of retries when monitoring a host
# -t number of threads, i.e. number of hosts monitored at the same time
2011-09-01 19:19:49 +04:00
# -l <actions[=command_name]> actions executed locally, command can be
# overridden for each action.
2011-08-29 21:17:50 +04:00
# Valid actions: deploy, shutdown, cancel, save, restore, migrate, poll
2011-09-01 19:19:49 +04:00
# An example: "-l migrate,poll=poll_ganglia,save"
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
2010-08-24 18:44:42 +04:00
#VM_MAD = [
2010-08-31 12:47:22 +04:00
# name = "vmm_xen",
2011-06-01 21:36:29 +04:00
# executable = "one_vmm_exec",
2011-08-29 21:17:50 +04:00
# arguments = "-t 15 -r 0 xen",
2011-06-01 21:36:29 +04:00
# default = "vmm_exec/vmm_exec_xen.conf",
2010-08-24 18:44:42 +04:00
# type = "xen" ]
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2011-11-29 19:37:01 +04:00
#-------------------------------------------------------------------------------
# VMware Virtualization Driver Manager Configuration
# -r number of retries when monitoring a host
# -t number of threads, i.e. number of hosts monitored at the same time
#-------------------------------------------------------------------------------
#VM_MAD = [
# name = "vmm_vmware",
# executable = "one_vmm_sh",
# arguments = "-t 15 -r 0 vmware",
# default = "vmm_exec/vmm_exec_vmware.conf",
# type = "vmware" ]
#-------------------------------------------------------------------------------
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
# EC2 Virtualization Driver Manager Configuration
2009-02-15 03:24:39 +03:00
# arguments: default values for the EC2 driver, can be an absolute path or
# relative to $ONE_LOCATION/etc (or /etc/one/ if OpenNebula was
# installed in /).
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2009-03-07 03:50:05 +03:00
#VM_MAD = [
# name = "vmm_ec2",
# executable = "one_vmm_ec2",
# arguments = "vmm_ec2/vmm_ec2.conf",
# type = "xml" ]
2008-12-02 20:43:12 +03:00
#-------------------------------------------------------------------------------
2008-07-04 20:55:49 +04:00
2010-09-01 21:58:01 +04:00
#-------------------------------------------------------------------------------
# Dummy Virtualization Driver Configuration
#-------------------------------------------------------------------------------
#VM_MAD = [ name="vmm_dummy", executable="one_vmm_dummy", type="xml" ]
#-------------------------------------------------------------------------------
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-11-13 19:21:17 +03:00
# Transfer Manager Driver Configuration
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2009-02-15 03:24:39 +03:00
# You can add more transfer managers with different configurations but make
2008-11-13 19:21:17 +03:00
# sure it has different names.
2009-01-02 17:58:51 +03:00
# name : name for this transfer driver
#
2009-02-15 03:24:39 +03:00
# executable: path of the transfer driver executable, can be an
2009-01-02 17:58:51 +03:00
# absolute path or relative to $ONE_LOCATION/lib/mads (or
2009-02-15 03:24:39 +03:00
# /usr/lib/one/mads/ if OpenNebula was installed in /)
2009-01-02 17:58:51 +03:00
#
# arguments : for the driver executable, usually a commands configuration file
# , can be an absolute path or relative to $ONE_LOCATION/etc (or
# /etc/one/ if OpenNebula was installed in /)
2009-04-05 03:10:02 +04:00
#*******************************************************************************
2008-11-13 19:21:17 +03:00
2008-12-02 18:32:16 +03:00
#-------------------------------------------------------------------------------
2011-07-12 20:08:07 +04:00
# SHARED Transfer Manager Driver Configuration
2008-12-02 18:32:16 +03:00
#-------------------------------------------------------------------------------
2009-07-16 21:14:01 +04:00
TM_MAD = [
2011-07-12 20:08:07 +04:00
name = "tm_shared",
2009-07-16 21:14:01 +04:00
executable = "one_tm",
2011-07-12 20:08:07 +04:00
arguments = "tm_shared/tm_shared.conf" ]
2008-12-02 18:32:16 +03:00
#-------------------------------------------------------------------------------
2008-12-02 18:52:03 +03:00
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
# SSH Transfer Manager Driver Configuration
#-------------------------------------------------------------------------------
#TM_MAD = [
# name = "tm_ssh",
# executable = "one_tm",
# arguments = "tm_ssh/tm_ssh.conf" ]
#-------------------------------------------------------------------------------
#-------------------------------------------------------------------------------
# Dummy Transfer Manager Driver Configuration
2008-12-02 18:52:03 +03:00
#-------------------------------------------------------------------------------
2009-03-07 03:50:05 +03:00
#TM_MAD = [
# name = "tm_dummy",
# executable = "one_tm",
# arguments = "tm_dummy/tm_dummy.conf" ]
2008-12-02 18:52:03 +03:00
#-------------------------------------------------------------------------------
2009-04-04 03:34:33 +04:00
2009-10-16 17:50:56 +04:00
#-------------------------------------------------------------------------------
2010-09-01 21:58:01 +04:00
# LVM Transfer Manager Driver Configuration
2009-10-16 17:50:56 +04:00
#-------------------------------------------------------------------------------
#TM_MAD = [
# name = "tm_lvm",
# executable = "one_tm",
# arguments = "tm_lvm/tm_lvm.conf" ]
#-------------------------------------------------------------------------------
2011-11-29 19:37:01 +04:00
#-------------------------------------------------------------------------------
# VMware DataStore Transfer Manager Driver Configuration
#-------------------------------------------------------------------------------
#TM_MAD = [
# name = "tm_vmware",
# executable = "one_tm",
# arguments = "tm_vmware/tm_vmware.conf" ]
#-------------------------------------------------------------------------------
2011-03-22 20:21:09 +03:00
#*******************************************************************************
# Image Manager Driver Configuration
#*******************************************************************************
# Drivers to manage the image repository, specialized for the storage backend
# executable: path of the transfer driver executable, can be an
# absolute path or relative to $ONE_LOCATION/lib/mads (or
# /usr/lib/one/mads/ if OpenNebula was installed in /)
#
# arguments : for the driver executable
#*******************************************************************************
#-------------------------------------------------------------------------------
# FS based Image Manager Driver Configuration
# -t number of threads, i.e. number of repo operations at the same time
#-------------------------------------------------------------------------------
IMAGE_MAD = [
executable = "one_image",
2012-02-13 15:33:16 +04:00
arguments = "-t 15 -d fs" ]
2011-03-22 20:21:09 +03:00
#-------------------------------------------------------------------------------
2009-04-05 03:10:02 +04:00
#*******************************************************************************
# Hook Manager Configuration
#*******************************************************************************
# The Driver (HM_MAD), used to execute the Hooks
2009-04-04 03:34:33 +04:00
# executable: path of the hook driver executable, can be an
# absolute path or relative to $ONE_LOCATION/lib/mads (or
# /usr/lib/one/mads/ if OpenNebula was installed in /)
#
2009-04-10 03:31:41 +04:00
# arguments : for the driver executable, can be an absolute path or relative
# to $ONE_LOCATION/etc (or /etc/one/ if OpenNebula was installed
2009-04-04 03:34:33 +04:00
# in /)
2009-04-05 03:10:02 +04:00
#
# Virtual Machine Hooks (VM_HOOK) defined by:
2009-04-10 03:31:41 +04:00
# name : for the hook, useful to track the hook (OPTIONAL)
# on : when the hook should be executed,
2009-04-05 03:10:02 +04:00
# - CREATE, when the VM is created (onevm create)
2011-06-07 19:58:25 +04:00
# - PROLOG, when the VM is in the prolog state
2009-04-10 03:31:41 +04:00
# - RUNNING, after the VM is successfully booted
# - SHUTDOWN, after the VM is shutdown
# - STOP, after the VM is stopped (including VM image transfers)
2009-10-28 23:12:53 +03:00
# - DONE, after the VM is deleted or shutdown
2010-12-22 20:08:04 +03:00
# - FAILED, when the VM enters the failed state
2011-09-01 19:10:18 +04:00
# command : path is relative to $ONE_LOCATION/var/remotes/hook
# (self-contained) or to /var/lib/one/remotes/hook (system-wide).
# That directory will be copied on the hosts under
# SCRIPTS_REMOTE_DIR. It can be an absolute path that must exist
# on the target host
2011-05-13 18:05:51 +04:00
# arguments : for the hook. You can access to VM information with $
# - $VMID, the ID of the virtual machine
# - $TEMPLATE, the VM template in xml and base64 encoded
2009-04-10 03:31:41 +04:00
# remote : values,
# - YES, The hook is executed in the host where the VM was
# allocated
# - NO, The hook is executed in the OpenNebula server (default)
2010-12-26 20:58:41 +03:00
#
#
# Host Hooks (HOST_HOOK) defined by:
# name : for the hook, useful to track the hook (OPTIONAL)
# on : when the hook should be executed,
# - CREATE, when the Host is created (onehost create)
# - ERROR, when the Host enters the error state
2011-01-18 20:43:35 +03:00
# - DISABLE, when the Host is disabled
2011-09-01 19:10:18 +04:00
# command : path is relative to $ONE_LOCATION/var/remotes/hook
# (self-contained) or to /var/lib/one/remotes/hook (system-wide).
# That directory will be copied on the hosts under
# SCRIPTS_REMOTE_DIR. It can be an absolute path that must exist
# on the target host.
2011-05-13 18:05:51 +04:00
# arguments : for the hook. You can use the following Host information:
# - $HID, the ID of the host
# - $TEMPLATE, the Host template in xml and base64 encoded
2010-12-26 20:58:41 +03:00
# remote : values,
# - YES, The hook is executed in the host
# - NO, The hook is executed in the OpenNebula server (default)
2009-04-04 03:34:33 +04:00
#-------------------------------------------------------------------------------
HM_MAD = [
executable = "one_hm" ]
2010-07-08 21:28:10 +04:00
2010-07-01 15:25:24 +04:00
#-------------------------------------------------------------------------------
2009-04-04 03:34:33 +04:00
2011-09-01 18:57:02 +04:00
#*******************************************************************************
# Fault Tolerance Hooks
#*******************************************************************************
2010-12-26 20:58:41 +03:00
# This hook is used to perform recovery actions when a host fails. The VMs
# running in the host can be deleted (use -d option) or resubmitted (-r) in
# other host
2011-06-13 18:04:41 +04:00
# Last argument (force) can be "y", so suspended VMs in the host will be
2011-01-17 20:26:36 +03:00
# resubmitted/deleted, or "n", so suspended VMs in the host will be ignored
2011-01-27 20:36:28 +03:00
#
#HOST_HOOK = [
# name = "error",
# on = "ERROR",
2011-09-01 18:57:02 +04:00
# command = "ft/host_error.rb",
2011-01-27 20:36:28 +03:00
# arguments = "$HID -r n",
2011-03-24 18:03:24 +03:00
# remote = "no" ]
2010-12-26 20:58:41 +03:00
#-------------------------------------------------------------------------------
2011-06-13 18:04:41 +04:00
# These two hooks can be used to automatically delete or resubmit VMs that reach
2011-02-09 20:06:47 +03:00
# the "failed" state. This way, the administrator doesn't have to interact
# manually to release its resources or retry the deployment.
#
2011-06-13 18:04:41 +04:00
#
2011-02-09 20:06:47 +03:00
# Only one of them should be uncommented.
#-------------------------------------------------------------------------------
#
#VM_HOOK = [
# name = "on_failure_delete",
2011-03-24 18:03:24 +03:00
# on = "FAILED",
# command = "/usr/bin/env onevm delete",
2011-02-09 20:06:47 +03:00
# arguments = "$VMID" ]
#
#VM_HOOK = [
# name = "on_failure_resubmit",
2011-03-24 18:03:24 +03:00
# on = "FAILED",
# command = "/usr/bin/env onevm resubmit",
2011-02-09 20:06:47 +03:00
# arguments = "$VMID" ]
#-------------------------------------------------------------------------------
2010-12-26 20:58:41 +03:00
2010-07-08 21:28:10 +04:00
#*******************************************************************************
# Auth Manager Configuration
#*******************************************************************************
2011-10-20 14:53:36 +04:00
# AUTH_MAD: The Driver that will be used to authenticate (authn) and
2011-09-12 20:25:36 +04:00
# authorize (authz) OpenNebula requests. If defined OpenNebula will use the
# built-in auth policies.
#
2010-07-08 21:28:10 +04:00
# executable: path of the auth driver executable, can be an
# absolute path or relative to $ONE_LOCATION/lib/mads (or
# /usr/lib/one/mads/ if OpenNebula was installed in /)
#
2011-09-12 20:25:36 +04:00
# arguments :
# --authn: list of authentication modules separated by commas, if not
# defined all the modules available will be enabled
# --authz: authorization module
2011-10-20 14:53:36 +04:00
#
# SESSION_EXPIRATION_TIME: Time in seconds to keep an authenticated token as
2011-10-25 04:08:19 +04:00
# valid. During this time, the driver is not used. Use 0 to disable session
# caching
2012-01-11 19:46:57 +04:00
#
# ENABLE_OTHER_PERMISSIONS: Whether or not to enable the permissions for
# 'other'. Users in the oneadmin group will still be able to change
# these permissions. Values: YES or NO
2011-10-20 14:53:36 +04:00
#*******************************************************************************
2010-07-08 21:28:10 +04:00
2011-11-01 02:38:41 +04:00
AUTH_MAD = [
executable = "one_auth_mad",
2011-11-29 20:02:43 +04:00
arguments = "--authn ssh,x509,ldap,server_cipher,server_x509"
# arguments = "--authz quota --authn ssh,x509,ldap,server_cipher,server_x509"
2011-11-01 02:38:41 +04:00
]
SESSION_EXPIRATION_TIME = 900
2011-09-12 20:25:36 +04:00
2012-01-23 20:18:12 +04:00
#ENABLE_OTHER_PERMISSIONS = "YES"
#*******************************************************************************
# Restricted Attributes Configuration
#*******************************************************************************
# The following attributes are restricted to users outside the oneadmin group
#*******************************************************************************
VM_RESTRICTED_ATTR = "CONTEXT/FILES"
VM_RESTRICTED_ATTR = "DISK/SOURCE"
VM_RESTRICTED_ATTR = "NIC/MAC"
VM_RESTRICTED_ATTR = "NIC/VLAN_ID"
VM_RESTRICTED_ATTR = "RANK"
IMAGE_RESTRICTED_ATTR = "SOURCE"