Proxmox Mastering » Histórico » Versión 5

Marcelo Valsecchi, 26.04.2019 20:09

1 1 Marcelo Valsecchi
h1. Proxmox Mastering
2 1 Marcelo Valsecchi
3 2 Marcelo Valsecchi
h2. Table of Contents
4 3 Marcelo Valsecchi
5 3 Marcelo Valsecchi
> Preface
6 3 Marcelo Valsecchi
> > What this book covers
7 3 Marcelo Valsecchi
> > What you need for this boot
8 3 Marcelo Valsecchi
> > Who this book is for
9 3 Marcelo Valsecchi
> > Conventions
10 3 Marcelo Valsecchi
> > Reader feedback
11 3 Marcelo Valsecchi
> > Customer support
12 3 Marcelo Valsecchi
> > > Downloading the color images of this book
13 3 Marcelo Valsecchi
> > > Errata
14 3 Marcelo Valsecchi
> > > Piracy
15 3 Marcelo Valsecchi
> > > Questions
16 3 Marcelo Valsecchi
17 1 Marcelo Valsecchi
1. Understanding Proxmox VE and Advanced Installation
18 3 Marcelo Valsecchi
> > Understanding Proxmox features
19 1 Marcelo Valsecchi
It is free!
20 1 Marcelo Valsecchi
Built-in firewall
21 1 Marcelo Valsecchi
Open vSwitch
22 1 Marcelo Valsecchi
The graphical user interface
23 1 Marcelo Valsecchi
KVM virtual machines
24 1 Marcelo Valsecchi
Linux containers, or LXC
25 1 Marcelo Valsecchi
Storage plugins
26 1 Marcelo Valsecchi
Vibrant culture
27 1 Marcelo Valsecchi
The basic installation of Proxmox
28 1 Marcelo Valsecchi
The advanced installation option
29 1 Marcelo Valsecchi
Debugging the Proxmox installation
30 1 Marcelo Valsecchi
Proxmox subscription and repositories
31 1 Marcelo Valsecchi
Proxmox VE Enterprise repository
32 1 Marcelo Valsecchi
Type
33 1 Marcelo Valsecchi
Subscription key
34 1 Marcelo Valsecchi
Status
35 1 Marcelo Valsecchi
Server ID
36 1 Marcelo Valsecchi
Sockets
37 1 Marcelo Valsecchi
Last checked
38 1 Marcelo Valsecchi
Next due date
39 1 Marcelo Valsecchi
Proxmox VE No-Subscription repository
40 1 Marcelo Valsecchi
Proxmox VE Test repository
41 1 Marcelo Valsecchi
Summary
42 4 Marcelo Valsecchi
43 1 Marcelo Valsecchi
2. Creating a Cluster and Exploring the Proxmox GUI
44 4 Marcelo Valsecchi
> > Creating a Proxmox cluster
45 4 Marcelo Valsecchi
> > Exploring the Proxmox GUI
46 1 Marcelo Valsecchi
The GUI menu system
47 1 Marcelo Valsecchi
Cluster tree view
48 1 Marcelo Valsecchi
Server View
49 1 Marcelo Valsecchi
Folder View
50 1 Marcelo Valsecchi
Storage View
51 1 Marcelo Valsecchi
Pool View
52 1 Marcelo Valsecchi
The Datacenter menu
53 1 Marcelo Valsecchi
Datacenter | Search
54 1 Marcelo Valsecchi
Datacenter | Summary
55 1 Marcelo Valsecchi
Datacenter | Options
56 1 Marcelo Valsecchi
Datacenter | Storage
57 1 Marcelo Valsecchi
Datacenter | Backup
58 1 Marcelo Valsecchi
Datacenter | Permissions
59 1 Marcelo Valsecchi
Datacenter | Permissions | Users
60 1 Marcelo Valsecchi
Datacenter | Permissions | Groups
61 1 Marcelo Valsecchi
Datacenter | Permissions | Pools
62 1 Marcelo Valsecchi
Datacenter | Permissions | Roles
63 1 Marcelo Valsecchi
Datacenter | Permissions | Authentication
64 1 Marcelo Valsecchi
Datacenter | HA
65 1 Marcelo Valsecchi
Datacenter | Firewall
66 1 Marcelo Valsecchi
Datacenter | Support
67 1 Marcelo Valsecchi
Node-specific menus
68 1 Marcelo Valsecchi
Node | Search
69 1 Marcelo Valsecchi
Node | Summary
70 1 Marcelo Valsecchi
Node | Shell
71 1 Marcelo Valsecchi
Node | System
72 1 Marcelo Valsecchi
Node | Network
73 1 Marcelo Valsecchi
Node | DNS
74 1 Marcelo Valsecchi
Node | Time
75 1 Marcelo Valsecchi
Node | Syslog
76 1 Marcelo Valsecchi
Node | Updates
77 1 Marcelo Valsecchi
Node | Firewall
78 1 Marcelo Valsecchi
Node | Disks
79 1 Marcelo Valsecchi
Node | Ceph
80 1 Marcelo Valsecchi
Node | Task History
81 1 Marcelo Valsecchi
Node | Subscription
82 1 Marcelo Valsecchi
KVM menu
83 1 Marcelo Valsecchi
KVM VM | Summar
84 1 Marcelo Valsecchi
KVM | Options
85 1 Marcelo Valsecchi
KVM VM | Task History
86 1 Marcelo Valsecchi
KVM | Monitor
87 1 Marcelo Valsecchi
KVM | Backup
88 1 Marcelo Valsecchi
KVM VM | Snapshot
89 1 Marcelo Valsecchi
KVM | Firewall
90 1 Marcelo Valsecchi
KVM | Permissions
91 1 Marcelo Valsecchi
LXC container menu
92 1 Marcelo Valsecchi
LXC container | Summary
93 1 Marcelo Valsecchi
LXC container | Resources
94 1 Marcelo Valsecchi
LXC container | Network
95 1 Marcelo Valsecchi
LXC container | DNS
96 1 Marcelo Valsecchi
LXC container | Options
97 1 Marcelo Valsecchi
LXC container | Task History
98 1 Marcelo Valsecchi
LXC container | Backup
99 1 Marcelo Valsecchi
LXC container | Snapshots
100 1 Marcelo Valsecchi
LXC container | Firewall
101 1 Marcelo Valsecchi
LXC container | Permissions
102 1 Marcelo Valsecchi
Pool menu
103 1 Marcelo Valsecchi
Pool | Summary
104 1 Marcelo Valsecchi
Pool | Members
105 1 Marcelo Valsecchi
Pool | Permissions
106 1 Marcelo Valsecchi
Summary
107 4 Marcelo Valsecchi
108 1 Marcelo Valsecchi
3. Proxmox under the Hood
109 4 Marcelo Valsecchi
> > The Proxmox cluster file system
110 4 Marcelo Valsecchi
> > Proxmox directory structure
111 1 Marcelo Valsecchi
Dissecting the configuration files
112 1 Marcelo Valsecchi
The cluster configuration file
113 1 Marcelo Valsecchi
logging { }
114 1 Marcelo Valsecchi
nodelist { }
115 1 Marcelo Valsecchi
quorum { }
116 1 Marcelo Valsecchi
totem { }
117 1 Marcelo Valsecchi
interface { }
118 1 Marcelo Valsecchi
Storage configuration file
119 1 Marcelo Valsecchi
User configuration files
120 1 Marcelo Valsecchi
The password configuration file
121 1 Marcelo Valsecchi
KVM virtual machine configuration file
122 1 Marcelo Valsecchi
Arguments in the KVM configuration file
123 1 Marcelo Valsecchi
LXC container configuration file
124 1 Marcelo Valsecchi
Version configuration file
125 1 Marcelo Valsecchi
Member nodes
126 1 Marcelo Valsecchi
Virtual machine list file
127 1 Marcelo Valsecchi
The cluster log file
128 1 Marcelo Valsecchi
Ceph configuration files
129 1 Marcelo Valsecchi
Firewall configuration file
130 1 Marcelo Valsecchi
Summary
131 4 Marcelo Valsecchi
132 1 Marcelo Valsecchi
4. Storage Systems
133 1 Marcelo Valsecchi
Local storage versus shared storage
134 1 Marcelo Valsecchi
Live migration of a virtual machine
135 1 Marcelo Valsecchi
Seamless expansion of multinode storage space
136 1 Marcelo Valsecchi
Centralized backup
137 1 Marcelo Valsecchi
Multilevel data tiering
138 1 Marcelo Valsecchi
Central storage management
139 1 Marcelo Valsecchi
Local and shared storage comparison
140 1 Marcelo Valsecchi
A virtual disk image
141 1 Marcelo Valsecchi
Supported image formats
142 1 Marcelo Valsecchi
The .qcow2 images
143 1 Marcelo Valsecchi
The .raw image type
144 1 Marcelo Valsecchi
The .vmdk image type
145 1 Marcelo Valsecchi
Virtual device types
146 1 Marcelo Valsecchi
Managing disk images
147 1 Marcelo Valsecchi
Resizing a virtual disk image
148 1 Marcelo Valsecchi
Moving a virtual disk image
149 1 Marcelo Valsecchi
Throttling a virtual disk image
150 1 Marcelo Valsecchi
Caching a virtual disk image
151 1 Marcelo Valsecchi
VirtIO bus type for Windows VMs
152 1 Marcelo Valsecchi
Installing VirtIO drivers during Windows installation
153 1 Marcelo Valsecchi
Installing VirtIO drivers after Windows installation
154 1 Marcelo Valsecchi
Storage types in Proxmox
155 1 Marcelo Valsecchi
Directory
156 1 Marcelo Valsecchi
iSCSI
157 1 Marcelo Valsecchi
Logical Volume Management
158 1 Marcelo Valsecchi
NFS
159 1 Marcelo Valsecchi
ZFS
160 1 Marcelo Valsecchi
Ceph RBD
161 1 Marcelo Valsecchi
GlusterFS
162 1 Marcelo Valsecchi
Noncommercial/commercial storage options
163 1 Marcelo Valsecchi
Summary
164 4 Marcelo Valsecchi
165 1 Marcelo Valsecchi
5. Installing and Configuring Ceph
166 1 Marcelo Valsecchi
Ceph components
167 1 Marcelo Valsecchi
A physical node as cluster member
168 1 Marcelo Valsecchi
Maps
169 1 Marcelo Valsecchi
A cluster map
170 1 Marcelo Valsecchi
A CRUSH map
171 1 Marcelo Valsecchi
Monitor
172 1 Marcelo Valsecchi
OSD
173 1 Marcelo Valsecchi
OSD journal
174 1 Marcelo Valsecchi
Metadata server
175 1 Marcelo Valsecchi
PG
176 1 Marcelo Valsecchi
Pools
177 1 Marcelo Valsecchi
Ceph components summary
178 1 Marcelo Valsecchi
Virtual Ceph for training
179 1 Marcelo Valsecchi
Installing a Ceph cluster
180 1 Marcelo Valsecchi
Installing Ceph on Proxmox
181 1 Marcelo Valsecchi
Preparing a Proxmox node for Ceph
182 1 Marcelo Valsecchi
Installing Ceph
183 1 Marcelo Valsecchi
Creating mons from the Proxmox GUI
184 1 Marcelo Valsecchi
Creating OSDs from Proxmox GUI
185 1 Marcelo Valsecchi
Managing a Ceph pool using Proxmox GUI
186 1 Marcelo Valsecchi
Creating a Ceph pool using Proxmox GUI
187 1 Marcelo Valsecchi
Connecting Ceph to Proxmox
188 1 Marcelo Valsecchi
Ceph command list
189 1 Marcelo Valsecchi
Summary
190 4 Marcelo Valsecchi
191 1 Marcelo Valsecchi
6. KVM Virtual Machines
192 1 Marcelo Valsecchi
Exploring KVM
193 1 Marcelo Valsecchi
Creating a KVM
194 1 Marcelo Valsecchi
Creating a KVM using an ISO image
195 1 Marcelo Valsecchi
General tab
196 1 Marcelo Valsecchi
Node
197 1 Marcelo Valsecchi
VM ID
198 1 Marcelo Valsecchi
Name
199 1 Marcelo Valsecchi
Resource Pool
200 1 Marcelo Valsecchi
Help
201 1 Marcelo Valsecchi
The OS tab
202 1 Marcelo Valsecchi
The CD/DVD tab
203 1 Marcelo Valsecchi
The Hard Disk tab
204 1 Marcelo Valsecchi
Bus/Device
205 1 Marcelo Valsecchi
Storage
206 1 Marcelo Valsecchi
Disk size (GB)
207 1 Marcelo Valsecchi
Format
208 1 Marcelo Valsecchi
Cache
209 1 Marcelo Valsecchi
No backup
210 1 Marcelo Valsecchi
Discard
211 1 Marcelo Valsecchi
IO thread
212 1 Marcelo Valsecchi
The CPU tab
213 1 Marcelo Valsecchi
Sockets
214 1 Marcelo Valsecchi
Cores
215 1 Marcelo Valsecchi
Enabling NUMA
216 1 Marcelo Valsecchi
Type
217 1 Marcelo Valsecchi
The Memory tab
218 1 Marcelo Valsecchi
The Network tab
219 1 Marcelo Valsecchi
Bridged mode
220 1 Marcelo Valsecchi
Firewall
221 1 Marcelo Valsecchi
NAT mode
222 1 Marcelo Valsecchi
No network device
223 1 Marcelo Valsecchi
Model
224 1 Marcelo Valsecchi
MAC address
225 1 Marcelo Valsecchi
Rate limit (MB/s)
226 1 Marcelo Valsecchi
Multiqueues
227 1 Marcelo Valsecchi
Disconnect
228 1 Marcelo Valsecchi
Creating VM by cloning
229 1 Marcelo Valsecchi
Creating VMs from a template
230 1 Marcelo Valsecchi
Target node
231 1 Marcelo Valsecchi
Mode
232 1 Marcelo Valsecchi
Advanced configuration options for VMs
233 1 Marcelo Valsecchi
Configuring a sound device
234 1 Marcelo Valsecchi
Configuring PCI passthrough
235 1 Marcelo Valsecchi
Configuring GPU passthrough
236 1 Marcelo Valsecchi
Preparing for hotplug
237 1 Marcelo Valsecchi
Configuring VMs with hotplug
238 1 Marcelo Valsecchi
Hotplugging vCPUs
239 1 Marcelo Valsecchi
Hotplugging memory
240 1 Marcelo Valsecchi
Hotplugging disks/vNICs
241 1 Marcelo Valsecchi
Migrating KVM virtual machines
242 1 Marcelo Valsecchi
Summary
243 4 Marcelo Valsecchi
244 1 Marcelo Valsecchi
7. LXC Virtual Machines
245 1 Marcelo Valsecchi
Exploring LXC virtual machines
246 1 Marcelo Valsecchi
Understanding container templates
247 1 Marcelo Valsecchi
Creating an LXC container
248 1 Marcelo Valsecchi
General tab
249 1 Marcelo Valsecchi
Node
250 1 Marcelo Valsecchi
CT ID
251 1 Marcelo Valsecchi
Hostname
252 1 Marcelo Valsecchi
Unprivileged container
253 1 Marcelo Valsecchi
Resource Pool
254 1 Marcelo Valsecchi
The Template tab
255 1 Marcelo Valsecchi
The Root Disk tab
256 1 Marcelo Valsecchi
Storage
257 1 Marcelo Valsecchi
ACLs
258 1 Marcelo Valsecchi
Enable quota
259 1 Marcelo Valsecchi
The CPU tab
260 1 Marcelo Valsecchi
Cores
261 1 Marcelo Valsecchi
The Memory tab
262 1 Marcelo Valsecchi
The Network tab
263 1 Marcelo Valsecchi
Name
264 1 Marcelo Valsecchi
MAC address
265 1 Marcelo Valsecchi
Bridge
266 1 Marcelo Valsecchi
The VLAN Tag
267 1 Marcelo Valsecchi
Rate limit
268 1 Marcelo Valsecchi
Firewall
269 1 Marcelo Valsecchi
IPv4/IPv6
270 1 Marcelo Valsecchi
The DNS tab
271 1 Marcelo Valsecchi
The Confirm tab
272 1 Marcelo Valsecchi
Managing an LXC container
273 1 Marcelo Valsecchi
Adjusting resources using the GUI
274 1 Marcelo Valsecchi
Adjusting resources using the CLI
275 1 Marcelo Valsecchi
Adjusting resources using direct modification
276 1 Marcelo Valsecchi
Migrating an LXC container
277 1 Marcelo Valsecchi
Accessing an LXC container
278 1 Marcelo Valsecchi
The noVNC console
279 1 Marcelo Valsecchi
Direct shell through the CLI
280 1 Marcelo Valsecchi
Converting OpenVZ to LXC
281 1 Marcelo Valsecchi
Summary
282 4 Marcelo Valsecchi
283 5 Marcelo Valsecchi
8. [[Red de Vlans#Proxmox_Mstering_8_RedesDeVlans]]
284 5 Marcelo Valsecchi
285 4 Marcelo Valsecchi
286 1 Marcelo Valsecchi
9. The Proxmox VE Firewall
287 1 Marcelo Valsecchi
Exploring the Proxmox VE firewall
288 1 Marcelo Valsecchi
Components of the Proxmox firewall
289 1 Marcelo Valsecchi
Zones
290 1 Marcelo Valsecchi
Security groups
291 1 Marcelo Valsecchi
IPSet
292 1 Marcelo Valsecchi
Rules
293 1 Marcelo Valsecchi
Protocols
294 1 Marcelo Valsecchi
Macros
295 1 Marcelo Valsecchi
The pve-firewall and pvefw-logger services
296 1 Marcelo Valsecchi
Configuration files of a firewall
297 1 Marcelo Valsecchi
Configuring the data center-specific firewall
298 1 Marcelo Valsecchi
Configuring the Datacenter firewall through the GUI
299 1 Marcelo Valsecchi
Creating the Datacenter firewall rules
300 1 Marcelo Valsecchi
Creating the Datacenter IPSet
301 1 Marcelo Valsecchi
Creating aliases
302 1 Marcelo Valsecchi
Configuring the Datacenter firewall through the CLI
303 1 Marcelo Valsecchi
[OPTIONS]
304 1 Marcelo Valsecchi
[ALIASES]
305 1 Marcelo Valsecchi
[IPSET <name>]
306 1 Marcelo Valsecchi
[RULES]
307 1 Marcelo Valsecchi
[group <name>]
308 1 Marcelo Valsecchi
Configuring a host-specific firewall
309 1 Marcelo Valsecchi
Creating host firewall rules
310 1 Marcelo Valsecchi
Options for the host zone firewall
311 1 Marcelo Valsecchi
Enable a firewall
312 1 Marcelo Valsecchi
The SMURFS filter
313 1 Marcelo Valsecchi
The TCP flags filter
314 1 Marcelo Valsecchi
NDP
315 1 Marcelo Valsecchi
nf_conntrack_max
316 1 Marcelo Valsecchi
nf_conntrack_tcp_timeout_established
317 1 Marcelo Valsecchi
log_level_in/out
318 1 Marcelo Valsecchi
tcp_flags_log_level
319 1 Marcelo Valsecchi
smurf_log_level
320 1 Marcelo Valsecchi
Configuring the host firewall through the CLI
321 1 Marcelo Valsecchi
Configuring a VM-specific firewall
322 1 Marcelo Valsecchi
Creating VM firewall rules
323 1 Marcelo Valsecchi
Creating aliases
324 1 Marcelo Valsecchi
Creating IPSets
325 1 Marcelo Valsecchi
Options for a VM zone firewall
326 1 Marcelo Valsecchi
Enable DHCP
327 1 Marcelo Valsecchi
The MAC filter
328 1 Marcelo Valsecchi
Input/output policy
329 1 Marcelo Valsecchi
Configuring a VM-specific firewall through the CLI
330 1 Marcelo Valsecchi
Integrating a Suricata IDS/IPS
331 1 Marcelo Valsecchi
Installing/configuring Suricata
332 1 Marcelo Valsecchi
Limitations of Suricata in Proxmox
333 1 Marcelo Valsecchi
Summary
334 4 Marcelo Valsecchi
335 1 Marcelo Valsecchi
10. Proxmox High Availability
336 1 Marcelo Valsecchi
Understanding HA
337 1 Marcelo Valsecchi
HA in Proxmox
338 1 Marcelo Valsecchi
How Proxmox HA works
339 1 Marcelo Valsecchi
Requirements for HA setup
340 1 Marcelo Valsecchi
At least three nodes
341 1 Marcelo Valsecchi
Shared storage
342 1 Marcelo Valsecchi
Fencing
343 1 Marcelo Valsecchi
BIOS power-on feature
344 1 Marcelo Valsecchi
Configuring Proxmox HA
345 1 Marcelo Valsecchi
The HA menu
346 1 Marcelo Valsecchi
Status
347 1 Marcelo Valsecchi
The Resources menu
348 1 Marcelo Valsecchi
The Groups menu
349 1 Marcelo Valsecchi
ID
350 1 Marcelo Valsecchi
Node
351 1 Marcelo Valsecchi
The restricted checkbox
352 1 Marcelo Valsecchi
The nofailback checkbox
353 1 Marcelo Valsecchi
The Fencing menu
354 1 Marcelo Valsecchi
Testing Proxmox HA configuration
355 1 Marcelo Valsecchi
The Proxmox HA simulator
356 1 Marcelo Valsecchi
Configuring the Proxmox HA simulator
357 1 Marcelo Valsecchi
Summary
358 4 Marcelo Valsecchi
359 1 Marcelo Valsecchi
11. Monitoring the Proxmox Cluster
360 1 Marcelo Valsecchi
An introduction to monitoring
361 1 Marcelo Valsecchi
Proxmox built-in monitoring
362 1 Marcelo Valsecchi
Datacenter Status
363 1 Marcelo Valsecchi
Node Status
364 1 Marcelo Valsecchi
Zabbix as a monitoring solution
365 1 Marcelo Valsecchi
Installing Zabbix
366 1 Marcelo Valsecchi
Configuring Zabbix
367 1 Marcelo Valsecchi
Configuring a host to monitor
368 1 Marcelo Valsecchi
Displaying data using a graph
369 1 Marcelo Valsecchi
Configuring the disk health notification
370 1 Marcelo Valsecchi
Installing smart monitor tools
371 1 Marcelo Valsecchi
Configuring the Zabbix agent
372 1 Marcelo Valsecchi
Creating a Zabbix item in the GUI
373 1 Marcelo Valsecchi
Creating a trigger in the GUI
374 1 Marcelo Valsecchi
Creating graphs in the GUI
375 1 Marcelo Valsecchi
Configuring SNMP in Proxmox
376 1 Marcelo Valsecchi
Object Identifiers
377 1 Marcelo Valsecchi
Management Information Base
378 1 Marcelo Valsecchi
Adding an SNMP device in Zabbix
379 1 Marcelo Valsecchi
Monitoring the Ceph cluster with the Proxmox GUI
380 1 Marcelo Valsecchi
Monitoring a Ceph cluster with third-party options
381 1 Marcelo Valsecchi
Summary
382 4 Marcelo Valsecchi
383 1 Marcelo Valsecchi
12. Proxmox Production-Level Setup
384 1 Marcelo Valsecchi
Defining the production level
385 1 Marcelo Valsecchi
Key components
386 1 Marcelo Valsecchi
Stable and scalable hardware
387 1 Marcelo Valsecchi
Redundancy
388 1 Marcelo Valsecchi
Node level
389 1 Marcelo Valsecchi
Utility level
390 1 Marcelo Valsecchi
Network level
391 1 Marcelo Valsecchi
HVAC level
392 1 Marcelo Valsecchi
Storage level
393 1 Marcelo Valsecchi
Current load versus future growth
394 1 Marcelo Valsecchi
Budget
395 1 Marcelo Valsecchi
Simplicity
396 1 Marcelo Valsecchi
Tracking hardware inventory
397 1 Marcelo Valsecchi
Hardware selection
398 1 Marcelo Valsecchi
Sizing CPU and memory
399 1 Marcelo Valsecchi
Single socket versus multi-socket
400 1 Marcelo Valsecchi
Hyper-threading – enable versus disable
401 1 Marcelo Valsecchi
Start small with VM resources
402 1 Marcelo Valsecchi
Balancing node resources
403 1 Marcelo Valsecchi
Ceph cluster production
404 1 Marcelo Valsecchi
Forget about hardware RAID
405 1 Marcelo Valsecchi
Solid State Drive for Ceph Journal
406 1 Marcelo Valsecchi
Network bandwidth
407 1 Marcelo Valsecchi
Liquid cooling
408 1 Marcelo Valsecchi
Total immersion in oil
409 1 Marcelo Valsecchi
Total immersion in 3M Novec
410 1 Marcelo Valsecchi
Direct contact liquid cooling
411 1 Marcelo Valsecchi
Real-world Proxmox scenarios
412 1 Marcelo Valsecchi
Scenario 1 – an academic institution
413 1 Marcelo Valsecchi
Scenario 2 – multi-tier storage cluster with a Proxmox cluster
414 1 Marcelo Valsecchi
Scenario 3 - Virtual infrastructure for a multi-tenant cloud service provider
415 1 Marcelo Valsecchi
Scenario 4 – nested virtual environment for a software development company
416 1 Marcelo Valsecchi
Scenario 5 – virtual infrastructure for a public library
417 1 Marcelo Valsecchi
Scenario 6 – multi-floor office virtual infrastructure with virtual desktops
418 1 Marcelo Valsecchi
Scenario 7 – virtual infrastructure for the hotel industry
419 1 Marcelo Valsecchi
Scenario 8 – virtual infrastructure for geological survey organization
420 1 Marcelo Valsecchi
Summary
421 4 Marcelo Valsecchi
422 1 Marcelo Valsecchi
13. Back Up and Restore Virtual Machines
423 1 Marcelo Valsecchi
Proxmox backup options
424 1 Marcelo Valsecchi
A full backup
425 1 Marcelo Valsecchi
Full backup modes
426 1 Marcelo Valsecchi
Snapshot
427 1 Marcelo Valsecchi
Suspend
428 1 Marcelo Valsecchi
Stop
429 1 Marcelo Valsecchi
Backup compression
430 1 Marcelo Valsecchi
None
431 1 Marcelo Valsecchi
LZO
432 1 Marcelo Valsecchi
GZIP
433 1 Marcelo Valsecchi
Snapshots
434 1 Marcelo Valsecchi
Configuring backup storage
435 1 Marcelo Valsecchi
Show VM configuration from backup
436 1 Marcelo Valsecchi
Configuring full backup
437 1 Marcelo Valsecchi
Creating a schedule for backup
438 1 Marcelo Valsecchi
Node
439 1 Marcelo Valsecchi
Storage
440 1 Marcelo Valsecchi
Day of week
441 1 Marcelo Valsecchi
Start Time
442 1 Marcelo Valsecchi
Selection mode
443 1 Marcelo Valsecchi
Send email to
444 1 Marcelo Valsecchi
Email notification
445 1 Marcelo Valsecchi
Compression
446 1 Marcelo Valsecchi
Mode
447 1 Marcelo Valsecchi
Enable
448 1 Marcelo Valsecchi
Creating a manual backup
449 1 Marcelo Valsecchi
Creating snapshots
450 1 Marcelo Valsecchi
Restoring a virtual machine
451 1 Marcelo Valsecchi
Backup/restore through the CLI
452 1 Marcelo Valsecchi
Backup using the CLI
453 1 Marcelo Valsecchi
Restore using the CLI
454 1 Marcelo Valsecchi
Unlocking a VM after a backup error
455 1 Marcelo Valsecchi
Virtual machine replication
456 1 Marcelo Valsecchi
Creating a replication task through the GUI
457 1 Marcelo Valsecchi
Target
458 1 Marcelo Valsecchi
Schedule
459 1 Marcelo Valsecchi
Rate limit (MB/s)
460 1 Marcelo Valsecchi
Enabled
461 1 Marcelo Valsecchi
Creating a replication task through the CLI
462 1 Marcelo Valsecchi
Replication process
463 1 Marcelo Valsecchi
Backup configuration file
464 1 Marcelo Valsecchi
The bwlimit option
465 1 Marcelo Valsecchi
The lockwait option
466 1 Marcelo Valsecchi
The stopwait option
467 1 Marcelo Valsecchi
The stdexcludes option
468 1 Marcelo Valsecchi
The mailto option
469 1 Marcelo Valsecchi
The script option
470 1 Marcelo Valsecchi
The exclude-path option
471 1 Marcelo Valsecchi
The pigz option
472 1 Marcelo Valsecchi
Summary
473 4 Marcelo Valsecchi
474 1 Marcelo Valsecchi
14. Updating/Upgrading Proxmox
475 1 Marcelo Valsecchi
Introducing Proxmox updates
476 1 Marcelo Valsecchi
Updating Proxmox through the GUI
477 1 Marcelo Valsecchi
Updating Proxmox through the CLI
478 1 Marcelo Valsecchi
Difference between upgrade and dist-upgrade
479 1 Marcelo Valsecchi
Recovering from the grub2 update issue
480 1 Marcelo Valsecchi
Updating after a subscription change
481 1 Marcelo Valsecchi
Rebooting dilemma after Proxmox updates
482 1 Marcelo Valsecchi
Applying update without reboot
483 1 Marcelo Valsecchi
Summary
484 4 Marcelo Valsecchi
485 1 Marcelo Valsecchi
15. Proxmox Troubleshooting
486 1 Marcelo Valsecchi
Proxmox node issues
487 1 Marcelo Valsecchi
Issue – fresh Proxmox install stuck with /dev to be a fully populated error during no
488 1 Marcelo Valsecchi
de reboot
489 1 Marcelo Valsecchi
Issue – rejoining a node to a Proxmox node with the same old IP address
490 1 Marcelo Valsecchi
Issue – Proxmox installation completed but grub is in an endless loop after reboot
491 1 Marcelo Valsecchi
Issue – LSI MegaRAID 9240-8i/9240-4i causes an error during booting of the Prox
492 1 Marcelo Valsecchi
mox node
493 1 Marcelo Valsecchi
Downloading and updating the LSI driver
494 1 Marcelo Valsecchi
Updating the Supermicro BIOS
495 1 Marcelo Valsecchi
Issue – the Upgrade button is disabled on the Proxmox GUI, which prevents the nod
496 1 Marcelo Valsecchi
e upgrade
497 1 Marcelo Valsecchi
Issue – Proxmox cannot start due to the getpwnam error
498 1 Marcelo Valsecchi
Issue – cannot log in to the GUI as root after reinstalling Proxmox on the same node
499 1 Marcelo Valsecchi
The main cluster issues
500 1 Marcelo Valsecchi
Issue – Proxmox virtual machines are running, but the Proxmox GUI shows that eve
501 1 Marcelo Valsecchi
rything is offline
502 1 Marcelo Valsecchi
Issue – kernel panic when disconnecting USB devices, such as a keyboard, mouse,
503 1 Marcelo Valsecchi
or UPS
504 1 Marcelo Valsecchi
Issue – virtual machines on Proxmox will not shut down if shutdown is initiated fro
505 1 Marcelo Valsecchi
m the Proxmox GUI
506 1 Marcelo Valsecchi
Issue – kernel panic with HP NC360T (Intel 82571EB chipset) only in Proxmox VE
507 1 Marcelo Valsecchi
3.2
508 1 Marcelo Valsecchi
Issue – the Proxmox cluster is out of quorum and cluster filesystem is in read-only
509 1 Marcelo Valsecchi
mode
510 1 Marcelo Valsecchi
Issue – VM will not respond to shutdown or restart
511 1 Marcelo Valsecchi
Issue – Proxmox GUI not responding after Firefox update
512 1 Marcelo Valsecchi
Issue – the Proxmox GUI is not showing RRD graphs
513 1 Marcelo Valsecchi
Storage issues
514 1 Marcelo Valsecchi
Issue – deleting a damaged LVM from Proxmox with the error read failed from 0 to
515 1 Marcelo Valsecchi
4096
516 1 Marcelo Valsecchi
Issue – Proxmox cannot mount NFS share due to the timing out error
517 1 Marcelo Valsecchi
Issue – how to delete leftover NFS shares in Proxmox or what to do when the NFS s
518 1 Marcelo Valsecchi
tale file handle error occurs?
519 1 Marcelo Valsecchi
Issue – Proxmox issues —mode session exit code 21 errors while trying to access th
520 1 Marcelo Valsecchi
e iSCSI target
521 1 Marcelo Valsecchi
Issue – cannot read an iSCSI target even after it has been deleted from Proxmox stor
522 1 Marcelo Valsecchi
age
523 1 Marcelo Valsecchi
Issue – a Ceph node is removed from the Proxmox cluster, but OSDs still show up i
524 1 Marcelo Valsecchi
n PVE
525 1 Marcelo Valsecchi
Issue – the no such block device error during creation of an OSD through the Proxm
526 1 Marcelo Valsecchi
ox GUI
527 1 Marcelo Valsecchi
Issue – the fstrim command does not trim unused blocks for the Ceph storage
528 1 Marcelo Valsecchi
Issue – the RBD couldn’t connect to cluster (500) error when connecting Ceph with
529 1 Marcelo Valsecchi
Proxmox
530 1 Marcelo Valsecchi
Issue – changing the storage type from IDE to VirtIO after the VM has been set up a
531 1 Marcelo Valsecchi
nd the OS has been installed
532 1 Marcelo Valsecchi
Issue – the pveceph configuration not initialized (500) error when you click on the
533 1 Marcelo Valsecchi
Ceph tab in the Proxmox GUI
534 1 Marcelo Valsecchi
Issue – the CephFS storage disappears after a Proxmox node reboots
535 1 Marcelo Valsecchi
Issue – VM cloning does not parse in the Ceph storage
536 1 Marcelo Valsecchi
Issue – VM disk images stored on ZFS is extremely slow
537 1 Marcelo Valsecchi
Network connectivity issues
538 1 Marcelo Valsecchi
Issue – no connectivity on Realtek RTL8111/8411 rev. 06 network interfaces
539 1 Marcelo Valsecchi
Issue – network performance is slower with the E1000 virtual network interfaces
540 1 Marcelo Valsecchi
Issue – patch port for Open vSwitch in Proxmox not working
541 1 Marcelo Valsecchi
Issue – trying to add a node to a newly created Proxmox cluster when nodes do not f
542 1 Marcelo Valsecchi
orm quorum
543 1 Marcelo Valsecchi
Issue – implemented IPv6 but firewall rules do not get applied
544 1 Marcelo Valsecchi
KVM virtual machine issues
545 1 Marcelo Valsecchi
Issue – Windows 7/XP machine converted to Proxmox KVM hangs during boot
546 1 Marcelo Valsecchi
Issue – Windows 7 VM does not reboot, instead it shuts down, requiring a manual b
547 1 Marcelo Valsecchi
oot from Proxmox
548 1 Marcelo Valsecchi
Issue – the qemu-img command does not convert the .vmdk image files created with
549 1 Marcelo Valsecchi
the .ova template in Proxmox VE 5.0
550 1 Marcelo Valsecchi
Issue – online migration of a virtual machine fails with a failed to sync data error
551 1 Marcelo Valsecchi
Issue – no audio in Windows KVM
552 1 Marcelo Valsecchi
Issue – the VirtIO virtual disk is not available during the Windows Server installatio
553 1 Marcelo Valsecchi
n
554 1 Marcelo Valsecchi
LXC container issues
555 1 Marcelo Valsecchi
Issue – a Proxmox node hangs when trying to stop or restart an LXC container
556 1 Marcelo Valsecchi
Issue – the noVNC console only shows a cursor for LXC containers
557 1 Marcelo Valsecchi
Backup/restore issues
558 1 Marcelo Valsecchi
Issue – a Proxmox VM is locked after backup crashes unexpectedly
559 1 Marcelo Valsecchi
Issue – how can Proxmox back up only the primary OS virtual disk instead of all th
560 1 Marcelo Valsecchi
e virtual disks for a VM?
561 1 Marcelo Valsecchi
Issue – backup of virtual machines stops prematurely with an operation not permitte
562 1 Marcelo Valsecchi
d error
563 1 Marcelo Valsecchi
Issue – a backup task takes a very long time to complete, or it crashes when multipl
564 1 Marcelo Valsecchi
e nodes are backing up to the same backup storage
565 1 Marcelo Valsecchi
Issue – backup of virtual machines aborts a backup task prematurely
566 1 Marcelo Valsecchi
Issue – backup storage has a lot of .dat files and .tmp folders using the storage space
567 1 Marcelo Valsecchi
VNC/SPICE console issues
568 1 Marcelo Valsecchi
Issue – the mouse pointer is not shared with SPICE (virt-viewer) on Windows 8 VM
569 1 Marcelo Valsecchi
Issue – remote viewer is unable to connect to a SPICE-enabled virtual machine on t
570 1 Marcelo Valsecchi
he Windows OS
571 1 Marcelo Valsecchi
Firewall issues
572 1 Marcelo Valsecchi
Issue – rules are created and a firewall is enabled for vNIC, but rules do not get appl
573 1 Marcelo Valsecchi
ied
574 1 Marcelo Valsecchi
Issue – a firewall is enabled for a VM and the necessary rules are created, but nothin
575 1 Marcelo Valsecchi
g is being filtered for that VM
576 1 Marcelo Valsecchi
Summary
577 4 Marcelo Valsecchi
578 1 Marcelo Valsecchi
16. Rescuing Proxmox
579 1 Marcelo Valsecchi
Recovering from OS drive failure
580 1 Marcelo Valsecchi
Physical drive failure
581 1 Marcelo Valsecchi
OS data corruption
582 1 Marcelo Valsecchi
Migrating VMs from a faulty node
583 1 Marcelo Valsecchi
Reinstalling Proxmox
584 1 Marcelo Valsecchi
Recovering from a quorum failure
585 1 Marcelo Valsecchi
Recovering from a node failure
586 1 Marcelo Valsecchi
Recovering from a network failure
587 1 Marcelo Valsecchi
Loss of connectivity between Proxmox nodes
588 1 Marcelo Valsecchi
Loss of connectivity between Proxmox nodes and users
589 1 Marcelo Valsecchi
Loss of connectivity between Proxmox and storage nodes
590 1 Marcelo Valsecchi
Recovering from Ceph failure
591 1 Marcelo Valsecchi
Best practices for a healthy Ceph cluster
592 1 Marcelo Valsecchi
Stuck inconsistent PGs in Ceph
593 1 Marcelo Valsecchi
Stuck inactive incomplete PGs in Ceph
594 1 Marcelo Valsecchi
Error while moving a Ceph journal to another drive
595 1 Marcelo Valsecchi
Ceph node running out of resources during recovery
596 1 Marcelo Valsecchi
Summary