Infrastructure at your Service

All Posts By

Joël Cattin

Joël Cattin

Managing Ansible with AWX – Part II – Organizations, Users and Teams

By | Ansible, DevOps | No Comments

In the 1st post of this serie, I demonstrate how easy it is to install AWX on a local Minikube Kubernetes cluster. Now that the installation is done and the access to the web console is working, let’s find out what kind of objects should be created to best manage Ansible playbooks deployments using AWX. AWX Command Line Interface Obviously all objects can be managed from the web console. But did you know that AWX…

Read More
Joël Cattin

Automating Linux patching with Ansible – How to keep all your environments consistent ?

By | Ansible, DevOps, Operation systems, Security | No Comments

Your may want to patch your Linux servers on a regular basis (e.g using “yum/dnf update”). As always, it’s obviously recommended to : 1) Patch the TEST systems 2) Check if there is no side effects 3) Wait few days or weeks 4) Patch the PROD systems The problem here is that between step 1 and 4 above, a new version of the packages can be available on the public repository you use. Consequently after…

Read More
Joël Cattin

When unreachable NFS share mess up your Dbvisit Standby configuration

By | Database management, Hardware & Storage, Operation systems, Oracle | No Comments

If I had to rank my favorite Oracle-related tools and software, Dbvisit Standby would likely be at the top of the list. You are reading this post, so you probably know that Dbvisit Standby is a Disaster/Recovery solution for Oracle Database Standard Edition (aka Data Guard for poor people 😛 ). The reasons why I like this product are mostly related to the following points (non-exhaustive list) : Ease of installation and configuration Ease of…

Read More
Joël Cattin

Managing Ansible with AWX – Part I – Installation on Minikube

By | Ansible, DevOps, Docker, Kubernetes | 4 Comments

AWX is a web based GUI tool for managing Ansible playbooks. It is the open source upstream project of Red Hat Automation Controller (formerly Ansible Tower) . As for Fedora and RHEL operating systems, the releases of Automation Controller are created from a branch of AWX, which sponsored is by Red Hat. AWX provides user interface, REST API and task engine, allowing you to manage playbooks, inventories and schedule jobs using a web interface. In…

Read More
Joël Cattin

Scanning Ansible code with Ansible Lint

By | Ansible, Development & Performance, DevOps | No Comments

Introduction It’s always good to learn something new. But doing it the right way from the very beginning is even better. I recently started to work with Ansible and after creating a few roles, I quickly realized that there were many different ways to achieve the same goal. Some examples are : – The use of the Shell module vs the Command module – The use of Loop vs With_* – The use of an…

Read More
Joël Cattin

Automating Linux patching with Ansible

By | Ansible, DevOps, Operation systems, Security | One Comment

Since the beginning of the year, several vulnerabilities have been discovered in the Linux Kernel as well as in others important and widely-used packages. Among them, there was the famous CVE-2021-3156 affecting the sudo package and allowing any unprivileged user to gain root privileges. This one had a base score of 7.8, which is considered as high. This kind of events demonstrate the importance of having a strong patching strategy to ensure up-to-date softwares and…

Read More
Joël Cattin

AWS EC2 instance deployment with Terraform

By | AWS, Cloud | 10 Comments

When it comes to quickly provision a server in the Cloud, using an Infrastructure as Code (IaC) tool is a solution to consider. There are many IaC products available and among them, Terraform seems to be the most popular. The following is a non-exhaustive list of Terraform advantages : – Terraform can deploy infrastructure to multiple cloud service providers simultaneously – With Terraform, you can easily preview and validate infrastructure changes before they are applied…

Read More
Joël Cattin

pgBackRest – a simple privileges-related issue

By | Database Administration & Monitoring, Database management, Postgres | No Comments

I recently had to replace Barman by pgBackRest as Backup & Recovery solution for one of my customer. The purpose of this blog is not to show how I made the setup (some dbi blogs already exists for that), but only to share a small issue I encountered during the creation of the Stanza : [email protected]:/ [cms2] pgbackrest –stanza=cms2_primary stanza-create ERROR: [058]: version ’11’ and path ‘(null)’ queried from cluster do not match version ’11’…

Read More
Joël Cattin

Red Hat Enterprise Linux 8 – Stratis

By | Operation systems | No Comments

The Initial Release (8.0.0) of Red Hat Enterprise Linux 8 is available since May 2019. I’ve already blogged about one of its new feature (AppStream) during the Beta version. In this post I will present Stratis, which is a new local storage-management solution available on RHEL8. Introduction LVM, fdisk, ext*, XFS,… there is plenty of terms, tools and technologies available for managing disks and file systems on a Linux server. In a general way, setting…

Read More
Joël Cattin

Red Hat Enterprise Linux 8 – Application Streams

By | Operation systems | 2 Comments

You may have heard that : Red Hat Enterprise Linux 8 is available for downloading in beta version since few weeks… You want to download it ? Click here. A significant change coming with this new version is the way the applications packages are provided. As you know, up to RHEL7 packages were downloaded via repositories listed in .repo files located by default under /etc/yum.repos.d/. This is still the same with RHEL8, but two new…

Read More