[ Previous: Keystone (2 / 9) ] [ 3 / 9 : Glance ] [ Next: Placement (4 / 9) ] Create a project named “service” openstack project create –domain default –description “Service Project” service Create DB for image services – execute the following in MySQL…
Category: Installation Steps
Openstack Xena on Ubuntu 20.04 – Keystone
[ Previous: Pre-requisites (1/9) ] [ 2 / 9 : Keystone ] [ Next: Glance (3 / 9) ] Create the database for Keystone service create database keystone; grant all privileges on keystone.* to keystone@’localhost’ identified by ‘password’; grant all privileges on keystone.* to keystone@’%’ identified by ‘password’;…
Openstack Xena on Ubuntu 20.04 – Requisites
[ 1 /9 : Pre-requisites ] [ Next: Keystone (2/9) ] Install Ubuntu 20.04 as detailed here. (We will remove snapd, netplan, motd and enable legacy networking) Two interfaces…
Manual backup VM image in KVM
Start virt-manager on the KVM host and note the name of the guest VM. (In my case I want to take a backup of the OpenStack VM) The instance is running. It is recommended to shut down the instance before taking a backup. In the KVM host create a backup folder as required and copy…
OS installation: Debian 11 on a KVM guest VM.
Download the ISO image to the /var/lib/libvirt/images folder of the KVM host. Start virt-manager and opt to create a new VM and select Local install media. Click on browse and select the downloaded ISO image If the OS is not automatically detected, uncheck automatic detection and type in Debian testing Assign memory and CPU resources….
OS installation: Debian 11 on the bare metal server.
Download and burn the ISO image onto a USB stick and plug in the USB stick in the server. Power On the server (in my case, it is Dell R430) Press F11 to enter boot manager Select one-shot UEFI menu Select boot from the USB stick Start installation (I prefer to use non-graphical) Select Language…
Preparing custom Ubuntu 20.04 cloud image
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,…
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,…