Revision 85b6ed25 share/etc/oned.conf

View differences:

share/etc/oned.conf
108 108
#       MASTER     this oned is the master zone of the federation
109 109
#       SLAVE      this oned is a slave zone
110 110
#   ZONE_ID: The zone ID as returned by onezone command
111
#   SERVER_ID: ID identifying this server in the zone as returned by the 
112
#   onezone server-add command. This ID controls the HA configuration of 
111
#   SERVER_ID: ID identifying this server in the zone as returned by the
112
#   onezone server-add command. This ID controls the HA configuration of
113 113
#   OpenNebula:
114 114
#     -1 (default) OpenNebula will operate in "solo" mode no HA
115 115
#     <id> Operate in HA (leader election and state replication)
......
120 120
#   RAFT: Algorithm attributes
121 121
#     LOG_RETENTION: Number of DB log records kept, it determines the
122 122
#     synchronization window across servers and extra storage space needed.
123
#     LOG_PURGE_TIMEOUT: How often applied records are purged according the log 
123
#     LOG_PURGE_TIMEOUT: How often applied records are purged according the log
124 124
#     retention value. (in seconds)
125
#     ELECTION_TIMEOUT_MS: Timeout to start a election process if no hearbeat or 
125
#     ELECTION_TIMEOUT_MS: Timeout to start a election process if no hearbeat or
126 126
#     log is received from leader.
127 127
#     BROADCAST_TIMEOUT_MS: How often heartbeats are sent to  followers.
128 128
#     XMLRPC_TIMEOUT_MS: To timeout raft related API calls
......
141 141
]
142 142

  
143 143
RAFT = [
144
    LOG_RETENTION        = 500000, 
144
    LOG_RETENTION        = 500000,
145 145
    LOG_PURGE_TIMEOUT    = 600,
146 146
    ELECTION_TIMEOUT_MS  = 1500,
147 147
    BROADCAST_TIMEOUT_MS = 500,
148 148
    XMLRPC_TIMEOUT_MS    = 100
149
] 
149
]
150 150

  
151 151
#*******************************************************************************
152 152
# Default showback cost
......
278 278
#  DEFAULT_CDROM_DEVICE_PREFIX: Same as above but for CDROM devices.
279 279
#
280 280
#  DEFAULT_IMAGE_PERSISTENT: Control the default value for the PERSISTENT
281
#  attribute on image creation (oneimage clone, onevm disk-saveas). If blank 
281
#  attribute on image creation (oneimage clone, onevm disk-saveas). If blank
282 282
#  images will inherit the persistent attribute from the base image.
283 283
#
284
#  DEFAULT_IMAGE_PERSISTENT_NEW: Control the default value for the PERSISTENT 
284
#  DEFAULT_IMAGE_PERSISTENT_NEW: Control the default value for the PERSISTENT
285 285
#  attribute on image creation (oneimage create). By default images are no
286 286
#  persistent if not set.
287 287
#*******************************************************************************
......
742 742
# Please note: In a Federation, User and Group hooks can only be defined in
743 743
# the master OpenNebula.
744 744
#-------------------------------------------------------------------------------
745

  
746
# Executed when a server transit from follower->leader
747
RAFT_LEADER_HOOK = [
748
    COMMAND   = "raft/leader.sh"
749
]
750

  
751
# Executed when a server transit from leader->follower
752
RAFT_FOLLOWER_HOOK = [
753
    COMMAND   = "raft/follower.sh"
754
]
755

  
745 756
HM_MAD = [
746 757
    EXECUTABLE = "one_hm" ]
747 758

  
......
844 855

  
845 856
VM_ADMIN_OPERATIONS  = "migrate, delete, recover, retry, deploy, resched"
846 857

  
847
VM_MANAGE_OPERATIONS = "undeploy, hold, release, stop, suspend, resume, reboot, 
848
    poweroff, disk-attach, nic-attach, disk-snapshot, terminate, disk-resize, 
858
VM_MANAGE_OPERATIONS = "undeploy, hold, release, stop, suspend, resume, reboot,
859
    poweroff, disk-attach, nic-attach, disk-snapshot, terminate, disk-resize,
849 860
    snapshot, updateconf, rename, resize, update, disk-saveas"
850 861

  
851 862
VM_USE_OPERATIONS    = ""

Also available in: Unified diff