1 |
95b003ff
|
Origo
|
###############################################
|
2 |
|
|
# Stabile configuration #
|
3 |
|
|
###############################################
|
4 |
|
|
|
5 |
|
|
# Range of externally assigned IP's used for IP mappings
|
6 |
|
|
EXTERNAL_IP_RANGE_START=192.168.43.10
|
7 |
|
|
EXTERNAL_IP_RANGE_END=192.168.43.100
|
8 |
|
|
|
9 |
|
|
# VLAN assignment range.
|
10 |
|
|
VLAN_RANGE_START=200
|
11 |
|
|
VLAN_RANGE_END=300
|
12 |
|
|
|
13 |
|
|
EXTERNAL_SUBNET_SIZE=25
|
14 |
|
|
|
15 |
|
|
# To allow external IP-addresses, a dedicated subnet must be allocated for these
|
16 |
|
|
# The engine must have one IP address in this subnet, in order to proxy/route traffic
|
17 |
|
|
PROXY_IP=192.168.43.129
|
18 |
|
|
# The size of the subnet used for external IP-addresses
|
19 |
2a63870a
|
Christian Orellana
|
PROXY_SUBNET_SIZE=24
|
20 |
95b003ff
|
Origo
|
# The gw ip's in the proxy subnet should use for reaching the Internet (if different from PROXY_IP)
|
21 |
|
|
PROXY_GW=
|
22 |
|
|
# The network interface the proxy gw is reached through (if different from EXTERNAL_NIC)
|
23 |
|
|
PROXY_NIC=
|
24 |
|
|
PROXY_IP_RANGE_START=192.168.43.130
|
25 |
|
|
PROXY_IP_RANGE_END=192.168.43.220
|
26 |
|
|
|
27 |
|
|
# Global enable or disable ability to do rdiff backups
|
28 |
|
|
RDIFF-BACKUP_ENABLED=1
|
29 |
|
|
|
30 |
|
|
# Allow users to make backups?
|
31 |
|
|
RDIFF-BACKUP_USERS=1
|
32 |
|
|
|
33 |
|
|
# Interface pointed towards nodes datanic, used for PXE-booting and NFS-root
|
34 |
|
|
ENGINE_DATA_NIC=
|
35 |
|
|
|
36 |
|
|
# Interface facing Internet
|
37 |
|
|
EXTERNAL_NIC=
|
38 |
|
|
|
39 |
|
|
# Default external IP-address quota
|
40 |
|
|
EXTERNAL_IP_QUOTA=10
|
41 |
|
|
|
42 |
|
|
# Default memory quota in MB
|
43 |
|
|
MEMORY_QUOTA=40960
|
44 |
|
|
|
45 |
|
|
# Default vCPU quota
|
46 |
|
|
VCPU_QUOTA=20
|
47 |
|
|
|
48 |
|
|
# Default storage quota in MB
|
49 |
|
|
STORAGE_QUOTA=204800
|
50 |
|
|
|
51 |
|
|
# Transmission/Reception quotas in KB
|
52 |
|
|
# -1 to disable quotas.
|
53 |
|
|
#RX_QUOTA=204800
|
54 |
|
|
#TX_QUOTA=204800
|
55 |
|
|
RX_QUOTA=-1
|
56 |
|
|
TX_QUOTA=-1
|
57 |
|
|
|
58 |
|
|
# Comma-separated list of enabled/disabled rdiff backup per storage pool, e.g. 0,1,0
|
59 |
|
|
STORAGE_POOLS_RDIFF-BACKUP_ENABLED=1
|
60 |
|
|
|
61 |
|
|
# Comma seperated address of storage pools. Examples:
|
62 |
|
|
# local // Use admin server local storage
|
63 |
|
|
# 10.0.0.1:/data000/images000 // NFS share declaration
|
64 |
|
|
STORAGE_POOLS_ADDRESS_PATHS=local
|
65 |
|
|
|
66 |
|
|
# If local allowed, comma seperated path(s) to local storage. Examples:
|
67 |
|
|
# /mnt/stabile/images // Local path
|
68 |
|
|
# /mnt/stabile/images000 // Another local path
|
69 |
|
|
STORAGE_POOLS_LOCAL_PATHS=/mnt/stabile/images
|
70 |
|
|
|
71 |
|
|
# Names of storage pool order (Comma seperated)? Examples:
|
72 |
|
|
# Standard //
|
73 |
|
|
# External //
|
74 |
|
|
STORAGE_POOLS_NAMES=Standard
|
75 |
|
|
|
76 |
|
|
# List of default storage pools users have access to, e.g. 0,1
|
77 |
|
|
STORAGE_POOLS_DEFAULTS=0
|
78 |
|
|
|
79 |
|
|
# Directory to store backups.
|
80 |
|
|
# Example:
|
81 |
|
|
# /mnt/stabile/backups
|
82 |
|
|
STORAGE_BACKUPDIR=/mnt/stabile/backups
|
83 |
|
|
|
84 |
|
|
# Database information
|
85 |
|
|
DBI_USER=irigo
|
86 |
|
|
DBI_PASSWD=sunshine
|
87 |
|
|
|
88 |
|
|
# Amount of VM's per core on nodes
|
89 |
|
|
CPU_OVERCOMMISION=2
|
90 |
|
|
|
91 |
|
|
# Display cost in UI
|
92 |
|
|
SHOW_COST=0
|
93 |
|
|
|
94 |
|
|
# This engines uuid
|
95 |
|
|
ENGINEID=
|
96 |
|
|
|
97 |
|
|
# Your engines friendly name
|
98 |
|
|
ENGINENAME=
|
99 |
|
|
|
100 |
|
|
# Is the engine linked to origo.io
|
101 |
|
|
ENGINE_LINKED=0
|
102 |
|
|
|
103 |
d24d9a01
|
hq
|
# Pull config files from registry
|
104 |
|
|
PULL_CONFIGS=0
|
105 |
|
|
|
106 |
95b003ff
|
Origo
|
# The user who has linked this engine with origo.io
|
107 |
|
|
ENGINEUSER=
|
108 |
|
|
|
109 |
|
|
# Download master images from origo.io
|
110 |
|
|
DOWNLOAD_MASTERS=0
|
111 |
|
|
|
112 |
|
|
# Maintain A-records for external ip addresses
|
113 |
|
|
DO_DNS=1
|
114 |
6fdc8676
|
hq
|
DNS_DOMAIN=uncloud.co
|
115 |
95b003ff
|
Origo
|
|
116 |
|
|
# App store
|
117 |
2a63870a
|
Christian Orellana
|
APPSTORE_URL=https://www.stabile.io/registry
|
118 |
c899e439
|
Origo
|
APPSTORES=stabile.io
|
119 |
95b003ff
|
Origo
|
|
120 |
|
|
# Send alerts via XMPP
|
121 |
|
|
DO_XMPP=1
|
122 |
|
|
|
123 |
|
|
NODE_STORAGE_OVERCOMMISSION=2.5
|
124 |
|
|
NODESTORAGE_QUOTA=204800
|
125 |
|
|
|
126 |
|
|
CURRENCY=DKK
|
127 |
|
|
EXTERNALIP_PRICE=20.00
|
128 |
d24d9a01
|
hq
|
NODESTORAGE_PRICE=1.50
|
129 |
|
|
STORAGE_PRICE=0.50
|
130 |
95b003ff
|
Origo
|
MEMORY_PRICE=50.00
|
131 |
|
|
VCPU_PRICE=100.00
|
132 |
|
|
|
133 |
|
|
# Cgroup limits for steamExec and related processes
|
134 |
|
|
VALVE_READ_LIMIT = 419430400
|
135 |
|
|
VALVE_WRITE_LIMIT = 419430400
|
136 |
|
|
VALVE_IOPS_READ_LIMIT = 4000
|
137 |
|
|
VALVE_IOPS_WRITE_LIMIT = 4000
|
138 |
|
|
|
139 |
|
|
VERSION=1.1-1
|
140 |
|
|
|
141 |
|
|
AMT_PASSWD=
|
142 |
|
|
BRUTAL_SLEEP=1
|
143 |
|
|
|
144 |
|
|
Z_IMAGE_RETENTION=7d
|
145 |
|
|
Z_BACKUP_RETENTION=14d
|
146 |
|
|
|
147 |
|
|
# Disable SNAT for external IP addresses in IPtables routing, if your engine is for testing only and does not have a range of public IP-addresses
|
148 |
2a63870a
|
Christian Orellana
|
DISABLE_SNAT=0
|
149 |
|
|
|
150 |
|
|
# If these are set, only incoming traffic to the specified ports will be allowed to the IP address which /etc/stabile/baseurl resolves to
|
151 |
|
|
OPEN_UDP_PORTS=
|
152 |
|
|
OPEN_TCP_PORTS=22,80,443,10000
|