virsh nodeinfo

To see information about a KVM node, run virsh nodeinfo Example root@s3-m12:~# virsh nodeinfo CPU model: x86_64 CPU(s): 8 CPU frequency: 1861 MHz CPU socket(s): 1 Core(s) per socket: 4 Thread(s) per core: 2 NUMA cell(s): 1 Memory size: 16423092 KiB root@s3-m12:~# See virsh

virsh

virsh command is used to manage KVM vps. It is part of libvirt package. http://libvirt.org To list KVM virtual machines, run Start a VM To shutdown a VM, run To delete a VM, run Connect to a Remote Server You need SSH Key based authentication setup. List All VM List All Running VM Get Info … Read more

Install LXD on Ubuntu

To create LXD containers, run LXD is a tool to manage LXC (Linux Containers). lxd allow you to create and manage lightweight Linux containers, it is like docker, but more like an actual virtual machine. LXD is more user-friendly than using LXC directly, has more features like clustering of servers. On Ubuntu/Debian, run Before you … Read more

lxc

LXC is Linux Container, allows you to run lightweight virtual servers on your computer. It is better use LXD instead of LXC. LXD provides a much easier-to-use interface to LXC. Where LXC Container files stored? Create lxc container with lxc-create lxc error Unable to fetch GPG key from keyserver LXC container networking not working Static … Read more

Create lxc container with lxc-create

lxc-create is used to create lxc container. To create a container, run lxc-create -t download -n CONTAINER_NAME_HERE This will list all available containers. You can select the OS you want to use. To specify OS, you can use the following examples lxc-create -t download -n mycontainer-1 — -d ubuntu -r focal -a amd64 lxc-create -t … Read more

Delete a disk partition in VMWare ESXI

To delete a partition in VMWare ESXI, you can use command partedUtil First find out all disks available on your server using command ls /vmfs/devices/disks/ On my server, it show following [root@ns3048991:~] ls /vmfs/devices/disks/ t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________ vml.01000000004e34473354343459202020202020202020202020484753542048 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:1 vml.01000000004e34473354343459202020202020202020202020484753542048:1 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:2 vml.01000000004e34473354343459202020202020202020202020484753542048:2 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:3 vml.01000000004e34473354343459202020202020202020202020484753542048:3 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:5 vml.01000000004e34473354343459202020202020202020202020484753542048:5 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:6 vml.01000000004e34473354343459202020202020202020202020484753542048:6 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:7 vml.01000000004e34473354343459202020202020202020202020484753542048:7 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:8 vml.01000000004e34473354343459202020202020202020202020484753542048:8 t10.ATA_____HGST_HUS726020ALA610____________________N4G3T44Y____________:9 vml.01000000004e34473354343459202020202020202020202020484753542048:9 t10.ATA_____HGST_HUS726020ALA610____________________N4G3TSMY____________ vml.01000000004e34473354534d59202020202020202020202020484753542048 t10.ATA_____HGST_HUS726020ALA610____________________N4G3TSMY____________:1 … Read more