-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathaddon-storpoolrc
159 lines (132 loc) · 3.92 KB
/
addon-storpoolrc
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
MKSWAP="/usr/sbin/mkswap"
# Prefix for the OpenNebula instance in StorPool
# Set to a different name to avoid naming collision when multiple OpenNebula
# instances are using single StorPool storage
# default: "one"
#ONE_PX="one"
# (obsolete)there is a code in the addon to manage the attributes of the
# StorPool templates which represent the OpenNebula datastores
#
# The new polisy is to setup the datastore attributes using the storpool CLI
#
# Set to '1' to enable the template management via the datastore templates.
#
# Default: 0 (disabled)
#AUTO_TEMPLATE=0
# (obsolete)
# Global option to manage template propagate
#
# Default: 1 (enabled)
#SP_TEMPLATE_PROPAGATE=1
# Run stats collecting only on the LEADER instance
# If autodetction fails set the leader IP manually
# Or to administratively disable set to 'disabled'
#
# Default: '' (autodetect)
#RAFT_LEADER_IP=
#(Experimental)
#
# save VM checkpoint file to a StorPool volume
#SP_CHECKPOINT=yes
#
# Do not store the VM checkpoint on migrate
#SP_CHECKPOINT=nomigrate
# Save VM checkpoint file on a StorPool volume
# To enable set to '1'
# Default: 0 (disabled)
#SP_CHECKPOINT_BD=0
# (Experimental)
# Code that overrides the VM snapshot interface creating atomic or in
# single fsfreeze call snapshots of all VM disks.
#
# uncoment and add to VM_MAD attributes:
# `-l snapshotcreate=snapshot_create-storpool,snapshotdelete=snapshot_delete-storpool,snapshotrevert=snapshot_revert-storpool`
#
# Do fsfreeze/fsthaw during VM snapshot
#
VMSNAPSHOT_FSFREEZE=0
# Delete VM snapshots on VM terminate
# Snampshots should be manually deleted when disabled
#
VMSNAPSHOT_DELETE_ON_TERMINATE=1
# Add quota to the count of VM snapshots
# the limit is set as a number with the VMSNAPSHOT_LIMIT
# custom attribute attributevariable in the SYSTEM datastore
#
VMSNAPSHOT_ENABLE_LIMIT=1
# Change DEV_PREFIX on imported images
# Uncomment to enable
#
#DS_CP_FORCE_DEV_PREFIX=sd
# OpenNebula RPC endpoint
# Uncomment and edit when the default does not works
#export ONE_XMLRPC=http://localhost:2633/RPC2
# alternatively create a file '~oneadmin/.one/one_endpoint' containig the endpoint details
# Tag all VM disks with tag $VM_TAG=$VM_ID
# Empty string will disable the tagging
# The tag value is set to '${ONE_PX}:${VM_ID}'
# Default: nvm
#
#VM_TAG=nvm
# Tag to which OpenNebula /RAFT cluster/ a volume/snapshot belong
# Default: nloc
#
#LOC_TAG=nloc
# Optional common arguments to OpenNebula shell tools
#ONE_ARGS=
# during image import OpenNebula 5.6+ do exclusive lock on the image resource
# which prevent Image Template manipulation
# OpenNebula 6.0+ handle DRIVER and FORMAT differently
# Default: 0 (disabled)
#
#UPDATE_IMAGE_ON_IMPORT=0
# OpenNebula 6.0+ handle DRIVER and FORMAT differently
# Default: 1 (enabled)
#
#DS_CP_REPORT_FORMAT=1
# Delayed Non-volatile disks removal
# Format: $COUNT$METRIC where $COUNT is a number and $Metric isone of s,m,h,d (seconds, minutes, hours, days)
# Default: 48h
#
#DELAY_DELETE="48h"
# Image export to custom Marketplace
# using a qcow2 file on the bridge node
# Disabled by default.
#
#EXPORT_FILE_FORMAT="qcow2"
# compress skip caching
#EXPORT_QEMU_IMG_ARGS="-c -T none -t none"
# option to change the reported transport method
#EXPORT_TRANSPORT=ssh
#
# variables enabling various Debuging
# tm/storpool_common.sh
#DEBUG_COMMON=1
#DEBUG_SP_RUN_CMD=1
#DDEBUG_SP_RUN_CMD=1
# datastore/monitor_helper-sync
#DEBUG_MOINTOR_HELPER_SYNC=1
#DDEBUG_MOINTOR_HELPER_SYNC=1
# datastore/monitor
#DEBUG_DS_MONITOR=1
#DDEBUG_DS_MONITOR=1
# tm/monitor
#DEBUG_TM_MONITOR=1
#DDEBUG_TM_MONITOR=1
# tm/monitor_ds
#DEBUG_TM_MONITOR_DS=1
#DDEBUG_TM_MONITOR_DS=1
# tm/monitor_disk
#DEBUG_TM_MONITOR_DISK=1
#DDEBUG_TM_MONITOR_DISK=1
# tm/monitor_disk-misc
#DEBUG_TM_MONITOR_DISK_MISC=1
#DDEBUG_TM_MONITOR_DISK_MISC=1
# tm/storpool_common.sh (verbosity per funcion)
#DEBUG_oneDsDriverAction=1
#DEBUG_oneDsInfo=1
#DEBUG_oneVmInfo=1
#DEBUG_oneTemplateInfo=1
#DEBUG_oneHostInfo=1
#DEBUG_oneDatastoreInfo=1
#DEBUG_oneVmVolumes=1