Physical replication in PostgreSQL 10 on GNU/Linux

Some time ago I had to install and setup a PostgreSQL cluster for a very critical application, an Warehouse Management System (WMS) developed internally for an ecommerce startup in which I worked. I would like to share the steps I followed back in those days to setup the proper configuration, I have to say that … Continue reading Physical replication in PostgreSQL 10 on GNU/Linux

Provision VMs on KVM with Terraform

Some months ago I attended to a talk in which it was explained how to provision infrastructure in AWS with Terraform, I was talking with @raularanda (the host of that talk) about the idea of making a lab similar but with KVM, this entry it's the result of that conversation. Terraform is a software which … Continue reading Provision VMs on KVM with Terraform

Create a KVM template to K8s clusters based on Debian GNU/Linux Buster

VM logical volume Let's create the volume group to store logical volumes to our templates: # fdisk -l /dev/sda ... /dev/sda4 351645696 468860927 117215232 55.9G 8e Linux LVM # pvcreate /dev/sda4 ... Physical volume "/dev/sda4" successfully created. # vgcreate vg-kvm /dev/sda4 Volume group "vg-kvm" successfully created # pvs PV VG Fmt Attr PSize PFree /dev/nvme0n1p5 … Continue reading Create a KVM template to K8s clusters based on Debian GNU/Linux Buster

Solving T470p jack not working problem on Debian GNU/Linux Bullseye

Some days ago I started to have problems when I connect my headphones to my jack port, after reading some forums about this issue and make some fail tests I could find a procedure which works in my case, these are the instructions I followed. First of all let's get some information about our audio … Continue reading Solving T470p jack not working problem on Debian GNU/Linux Bullseye

Fixing problems with bluetooth on Thinkpad T470p

Trying to connect my bluetooth headphones I realize that I had a problem in my laptop, checking logs it shown the problem:The device installed on Thinkpad T470p is Intel 8265 Wireless Bluetooth. ... [ 7.726547] Bluetooth: hci0: Debug lock is disabled [ 7.726549] Bluetooth: hci0: Minimum firmware build 1 week 10 2014 [ 7.726564] bluetooth … Continue reading Fixing problems with bluetooth on Thinkpad T470p

Problems creating a new RAID array on Debian GNU/Linux Bullseye

A quick entry to remember a problem which I found creating a new RAID array on my Debian box. 1. This is not a problem is just a reminder: when you create a partition in a hard drive with a GPT label you need to setup as partition type 29 (Linux RAID) instead of partition … Continue reading Problems creating a new RAID array on Debian GNU/Linux Bullseye

RAID array migration from CentOS 7 to Debian GNU/Linux 10 (upgrading drives)

After installing Debian GNU/Linux Testing (Bullseye) on my HP Proliant G8 Microserver in a new SSD drive, I have to setup an already created RAID array on my new fresh Linux installation and upgrade disks in that array at the same time, these are the steps which I followed: Scan RAID arrays # mdadm --detail … Continue reading RAID array migration from CentOS 7 to Debian GNU/Linux 10 (upgrading drives)