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,…
Author: sandeep
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…
Installing NFS Server
The objective is to configure the NFS server on one of the servers in the LAB. Creating the NFS client-server setup is a simple task that can be performed in a few steps – installation, export, mounting, and access. On the server install the required package apt install -y nfs-kernel-server Create a directory that gets…
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…
Removing compute node/host from an Openstack deployment
Wanted to remove a compute node from the openstack setup. Stop the services in the compute node service nova-compute stop service neutron-linuxbridge-agent stop # Not sure about the need for stopping the following but did it as I had planned to re-install service lvm2-lvmetad stop service libvirtd stop service lxcfs stop service tgt stop On…
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 …
Openstack – Train : Placement services
<<< Glance …