Previous: Ceph, working notes Next: K8S+Kubesphere Ensure the kernel module for rbd is loaded every time the server is restarted echo “rbd” >> /etc/modules-load.d/modules.conf…
Category: Howto
K8S+Ceph : 3. Working notes for Ceph
Preivous: Installing Ceph Next: Install KVM, Orchestrate worker nodes Listing images/blocks in a pool and removing root@server1:~# ceph osd lspools 1 .mgr 2 rbdpool root@server1:~# rbd ls…
K8S+Ceph : 2. Installation – Ceph Storage
Previous: Planning / Preparing servers Next : Working notes – Ceph The plan is to use 10.0.4.0/24 for the public network and 10.0.5.0/24 for the cluster…
K8S+Ceph : 1. Planning and preparing for Ceph Storage
Openstack Xena on Ubuntu 20.04 – Cinder
[ Previous: Horizon (8/9) ] [ 9 /9: Cinder ] [ Next: Test Home Lab ] Installing Cinder Scheduler Create Cinder service user account openstack user create –domain default –project service –password password cinder Associate admin role openstack role add –project service –user cinder admin Create Cinder service…
Preparing custom Debian 11 MATE image
Need: QCOW2 image for orchestrating Debian 11 Server image with following customizations 1. Minimal server installation + MATE Desktop Environment + xRDP + Firefox2. ‘apparmor’ disabled3. Install required packages – zip, unzip, net-tools, cloud-guest-utils, sudo4. Configure max number of open files and processes to 655365. SSH access to be enabled only from two specific subnets…
Setup Ubuntu 20.04 repository mirror server
Need: I keep bringing up Kubernetes clusters / destroying them as a part of my learning of Kubernetes. When using Kubespray, I observed the required packages were getting downloaded from the internet. Though I have a decent 300 Mbps internet connectivity, I decided to check if I can have a local repository mirror in my…
Preparing custom Debian 11 server cloud image
Need: QCOW2 image for orchestrating Debian 11 Server image with following customizations Basic server installation’apparmor’ disabledInstall required packages – zip, unzip, net-tools, cloud-guest-utils, sudoConfigure max number of open files and processes to 65536SSH access to be enabled only from two specific subnets (private networks)Custom resizedisk script which will be triggered on first boot to resize…
Complile Linux Kernel (on Debian 11)
Install required packages. root@server1:~# apt-get install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison dwarves Download the source of the required/planned version of the Linux kernel (I had decided on 5.15) root@server1:~# wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.15.11.tar.xz Extract the xz file (to default folder) root@server1:~# tar xvf linux-5.15.11.tar.xzroot@server1:~# cd linux-5.15.11/root@server1:~/linux-5.15.11# Copy the existing configuration file root@server1:~/linux-5.15.11#…
Openstack Xena – Test Home Lab
[ Previous: Cinder (9/9) ] [ Test Home Lab ] Access http://controller/horizon and log in using the ‘labuser’ account created We will need one floating IP to associate with the test VM we will bring up – Let us allocate on floating IP. Choose Network->Floating IP option in the dashboard. Click on Allocate IP to…