Proxmox take snapshot of Virtual Machine

proxmox snapshot

To take snapshot of virtual machine in proxmox, click on Virtual Machine, under Snapshots, clikc “Take Snapshot” button. To create snapshot through command line, login to Proxmox server as user root, then run

nameOfSnapShot = no space or special chars allowed. Sould start/end with alphabet (numbers should NOT be used at start/end). See Proxmox […]

Read More…

Proxmox pveperf

pveperf is a command line benchmarking tool in proxmox server.

Here is benchmark on another server – Intel(R) Core(TM) i7-3930K CPU @ 3.20GHz, 2 * 120 GB SSD ATA OCZ-VERTEX3

[…]

Read More…

Proxmox useful command to manage Containers

pct is a command line tool to manage containers (LXC) in proxmox server. Here are some useful commands

pct documentation available at https://pve.proxmox.com/pve-docs/pct.1.html See proxmox […]

Read More…

proxmox config files

To find versions of proxmox packages

Storage Config

qemu config Config for KVM VMs stored in folder

Example

Cluser

[…]

Read More…

KVM VNC Allow Remote Access

By default VNC Console on a KVM virtual Machine only listens to localhost. So you need to do SSH tunnel to access VNC console. To make VNC available on all interfaces on Host machine, you need to edit file

You need to uncomment the line vnc_listen = “0.0.0.0”.

Once this is done, you […]

Read More…

Install Vagrant on CentOS

To install Vagrant on CentOS, go to https://www.vagrantup.com/downloads Get link to latest version, then run “rpm -ivh URL_TO_RPM_FILE”. At time of writing this post, latest Vagrant version is 2.2.9, to install Vagrant 2.2.9, run

To check Vagrant version

See Vagrant […]

Read More…

Install Linux KVM on CentOS 8

To install Linux KVM hypervisor on CentOS 8, run

Install libvirtd

Enable libvirtd to start on boot

Start libvirtd

To see status, run

Install virt-install

Now you have Linux KVM installed. You can use virt-install or Virt Manager to create virtual machine. See Linux KVM Virtualization […]

Read More…

Identify virtual machine technology

virt-what is a shell script which can be used to detect if the program is running in a virtual machine. It will identify what VM technology is used for current VM. For example KVM, Xen, HyperV etc. On CentOS 7, install virt-what with

On Debian/Ubuntu

Example See VPS […]

Read More…