Install Ubuntu 20.04 as detailed here. (Guest VM on KVM infra) Hard disk size: Based on trial and error identified that it would be better to have the base disk size as 3.5G Set default password for ‘root; account. sudo passwd Disable consistent device naming – Network interface names are same always (legacy – eth0,…
Tag: ubuntu
Ubuntu Server 20.04 on a KVM guest VM (Remove snapd, netplan, motd, and enable legacy networking)
Download and copy the Ubuntu server ISO image to /var/lib/libvirt/images/ folder. Start virt-manager Create a new VM (File -> New Virtual Machine) and choose local install media Click on browse, select the downloaded image Allocate/assign CPU and memory resources Allocate/assign storage as much as required. Provide a name and select a network interface. In my…
OS Installation: Ubuntu 20.04 on a server (Remove snapd, netplan, motd, and enable legacy networking)
Download the ISO image and burn the same onto a USB stick. Insert the USB stick in the server and power on (My server is Dell R430) Press F11 and enter Boot Manager Select Oneshot UEFI Boot option Select boot from the USB stick Select Install Server Select English Language (or whatever your choice is)…
Orchestrating Guest VM(s) using simple scripts on KVM host.
As a developer, I had a need to spin up VMs as and when required. The more I started working on Kubernetes, the need to automate the spinning up of multiple VMs to bring up a setup for configuring a cluster. There were several options, solutions already available to automate the same on KVM. However,…
Installing KVM
Pre-requisite Install Debian 11 or Ubuntu 20.04 server as required. Optional I had upgraded the kernel version by compiling the kernel as explained in this how-to. Installing KVM on Debian Simple and easy – First, install the required packages apt install -y qemu-kvm libvirt-clients libvirt-daemon-system bridge-utils virtinst libvirt-daemon virt-manager Additionally, I had installed libguestfs-tools, for…
Openstack – Train : Create networks, router, flavor and launch an instance
<<< Cinder As admin user 1. Create Flavors as required . admin-openrcopenstack flavor create m1.nano –ram 512 –vcpus 1 –disk 10openstack flavor create m1.micro –ram 1024 –vcpus 1 –disk 10openstack flavor create m1.mini –ram 1024 –vcpus 2 –disk 10openstack flavor create m1.small –ram 2048 –vcpus 2 –disk 20openstack flavor create m1.medium –ram 4096 –vcpus 2…
Openstack – Train : Cinder – Block storage service
<<< Horizon Configure networks, router, flavour and launch instance >>> Create database for cinder services CREATE DATABASE cinder;GRANT ALL PRIVILEGES ON cinder.* TO ‘cinder’@’localhost’ IDENTIFIED BY ‘password’;GRANT ALL PRIVILEGES ON…
Openstack – Train : Horizon – Dashboard
<<< Neutron …
Openstack – Train : Neutron – Networking service
<<< Nova …
Openstack – Train : Nova – Compute services
<<< Placement …