VMWare ESXi

Clone VM on VMware ESXi using vmkfstools

Free version of VMware ESXi don’t provide option to clone virtual machine. If you want to clone a VM, you

virsh list

virsh list

To list all VM on a KVM server, run Example To view all Virtual machines including stopped VM’s, use –all

virsh nodeinfo

virsh nodeinfo

To see information about a KVM node, run Example See virsh

virsh

virsh

virsh command is used to manage KVM vps. It is part of libvirt package. http://libvirt.org virsh list virsh nodeinfo How

LXD container snapshot and restore

LXD container snapshot and restore

lxc allow you to take snapshot, restore snapshot of a container. Here we create a snapshot, then delete the /etc

Install LXD on Ubuntu

Install LXD on Ubuntu

Create a Debian Container in LXD How to connect to lxd container LXD container snapshot and restore How do I

lxc

lxc

LXC is Linux Container, allows you to run lightweight virtual servers on your computer. It is better use LXD instead

Create lxc container with lxc-create

Create lxc container with lxc-create

lxc-create is used to create lxc container. To create a container, run This will list all available containers. You can

xe vm-list

xe vm-list command is used to list all VM on a Xen Server. See Xen

Xen

xe vm-list Manage XenServer from command line with xe xsconsole

Delete a disk partition in VMWare ESXI

Delete a disk partition in VMWare ESXI

To delete a partition in VMWare ESXI, you can use command First find out all disks available on your server

VMWare ESXI Commands

VMWare ESXI Commands

To find vmware version, run Example To find IP address, run See VMWare esxcli