Posts

Install and Use Stratis to Manage Local Storage on RHEL8/CentOS8

Image
Stratis is a local storage management solution for Linux Operating System and aims to ease the work of a system administrator by advance storage options like  snapshots, thin provisioning, pool-based management, monitoring, Tiering , etc. apart from being very simple to use. Stratis is a user-space daemon that configures and monitors existing components from Linux’s device-mapper subsystem, as well as the XFS filesystem. Stratis Pool which is the central attraction of Stratis tool is a collection of one or more local disks or partitions. Once the pool is created, administrators can create volumes.

VDO – Virtual Data Optimizer - Compressing and Deduplicating Storage with VDO

Image
Red Hat Enterprise Linux 8 includes the Virtual Data Optimizer (VDO) driver, which optimizes the data footprint on block devices. VDO is a Linux device mapper driver that reduces disk space usage on block devices, and minimizes the replication of data, saving disk space and even increasing data throughput. VDO consists of two kernel modules and two commands: Kernel Modules: kvdo  – This module to transparently control data compression. uds – This module for deduplication. Commands:    vdo - This command is used to create, remove, start, and stop VDO volumes, as well as performing other configuration changes. vdostats  -This command is used to report on various aspects of VDO volumes, including effective reduction and physical volume utilization. Think of this as ‘df’ for VDO capacity.

RHEL / CentOS : How to install and configure telnet

Image
It’s not recommended to use telnet as it is not secure. The passwords are transferred using a plain text and any packet sniffer can easily track you. Nevertheless, it’s sometimes required to install telnet anyways. To check if you have telnet package already installed on your system, use : # rpm -qa | grep telnet telnet-server-0.17-59.el7.x86_64 telnet-0.17-59.el7.x86_64 In order to turn Telnet on make sure that you have the packages telnet-server and telnet installed: Installing telnet packages If the 2 required packages are not installed, install it using yum. # yum install telnet-server telnet

How to install Ansible Tower on Red Hat / CentOS

Image
Ansible Tower Installation WHY RED HAT ANSIBLE TOWER? Ansible Tower is a web-based UI that provides an enterprise solution for IT automation. It has a user-friendly dashboard complements Ansible, adding automation, visual management, and monitoring capabilities. provides user access control to administrators. graphically manages or synchronizes inventories with a wide variety of sources. a RESTful API And much more…​ ANSIBLE TOWER TYPES OF MODE Depending on the needs of the enterprise, Ansible Tower can be implemented using one of the following architectures. Single Machine with Integrated Database All Ansible Tower components, the web front-end, RESTful API back end, and PostgreSQL database resides on a single machine. This is the standard architecture.

How to Install Ubuntu 20.04 LTS Desktop

Image
Install Ubuntu 20.04 LTS Desktop On Thursday, April 23rd, 2020, Canonical Ltd, the makers of Ubuntu Linux distribution officially released the long-awaited Ubuntu 20.04 version code-named “Focal Fossa”, it is an LTS (Long Term Support) version based on Linux kernel series 5.4, for which maintenance updates will be provided for 5 years until April 2025 and it will reach end-of-life in 2030. New Features in the Desktop Edition The new desktop features include a new graphical bootsplash (integrates with the system BIOS logo), refreshed Yaru theme, GNOME 3.36 , Mesa 20.0 OpenGL stack , BlueZ 5.53, PulseAudio 14.0 (prerelease), Firefox 75.0, Thunderbird 68.7.0, and LibreOffice 6.4. Concerning network configuration, netplan comes with many added features.

How to Upgrade Ubuntu 18.04 LTS to Ubuntu 20.04 LTS

Image
In this article we will demonstrate how to upgrade Ubuntu 18.04 LTS to 20.04 LTS. There are two ways to do it either via command line or GUI (Graphical Interface). To complete the upgrade smoothly, a stable internet is required on your Ubuntu system. Upgrade Ubuntu 18.04 LTS to 20.04 LTS via Command Line

How to install Ansible on RHEL8 / CentOS8

Image
In this article I am explaining Step-by-Step tutorial to install Ansible on RHEL/CentOS 8 Linux environment. We will setup a five-node environment with one controller node and two managed nodes. But before we start with the steps to install Ansible on RHEL8 or CentOS8, let us understand what is Ansible and how it works. ANSIBLE Ansible is the leading Open Source configuration management system. It makes it easy for administrators and operations teams to control thousands of servers from central machine without installing agents on them. Ansible is the simplest to use and manage when compared to other configuration management systems such as Puppet, Chef and Salt. It is easy to install, learn, and use. The only dependency required on the remote server is SSH service and Python.

CREATING BONDING OR TEAMING IN LINUX

Image
Network Bonding  There are almost six types of Channel Bond types are available. Here, we’ll review only two type of Channel Bond which are popular and widely used. Load balancing ( Round-Robin ) : Traffic is transmitted in sequential order or round-robin fashion from both NIC. This mode provides load balancing and fault tolerance. ​ Active-Backup : Only one slave NIC is active at any given point of time. Other Interface Card will be active only if the active slave NIC fails.​ ​

GPFS(Spectrum Scale) Installation

Objectives Verify the system environment Create a GPFS cluster Define NSD's Create a GPFS file system You will need Requirements for this lab (not necessarily GPFS minimum requirements): Two AIX 6.1 or 7.1 operating systems (LPARs) Very similar to Linux installation. AIX LPP packages replace the Linux RPMs, some of the administrative commands are different. At least 4 hdisks

How to use the HMC Commandline

Image
HMC Command line Interface:AIX This documents contains the most important HMC commands. It covers both, the old power4 commands (up to HMC Version 3) and the new power5 style commands (HMC Version 4-6). A lot of nice commands still available for version 3 (power4) are removed from newer releases. One example of these nice commands is lslpars and it's not available for HMC version 4 and higher. The real reason behind it is that IBM wants to force us to use the web based tools wsm and WebSM or the new HMC browser GUI. This documents helps you to survive with the HMC commands in case working with the web based tools is not feasible. In the examples below we call a whole power4 or power5 frame (aka Managed System ) pserver . We call an LPAR mylpar . If an example output shows more than one LPAR name we enumerate it. LPAR Profiles are shown as myprofile . You have to replace these names with your object names.  If you use power6 systems, you need the new HMC version7. Although

VIO Server Howto

Image
AIX: VIO Server Contents Run IOS commands as root  What is the AIX command behind an ioscli command? IOS - Information and Maintenance List all ioscli commands  IOS Version  Apply IOS Fixes  IOS Upgrade Procedure  Reboot the VIO Server Virtual Devices: Storage

How to configure samba client in Linux Part2

Image
Samba Client Configuration Hello and welcome to part 2 of  configuring samba.In our previous tutorial we discussed how to configure samba server and then accessed linux samba share from windows.  In this second part we will learn how to configure samba client on linux and will demonstrate how to access linux samba server from linux with samba client configured on it. Assumption: We assume you have already configured samba server on linux as per instructions in our part 1 tutorial Client side Linux For using samba services  on Linux client machine you need to install it samba-client. [root@blogger Bhaskar]# yum install samba-client –y Here I am using CentOS 6.7 version of linux . So I need to start the service by using below command. [root@blogger Bhaskar]# service smb start To view/display the shared data use below command

How to configure samba server in Linux Part1

Image
Samba Server Configuration We welcome you to another exciting tutorial . We will learn how to make linux folder or directory shareable for linux and non linux servers. In this tutorial we will demonstrate sharing between linux and windows. . The functionality which provides this sharing between linux and windows  is samba tool.  This tool not only allows you to share file or directory but also you can share printers and configure it as domain controller.This will give you a start and later you can explore different possibilities/ ideas Introduction Samba is a package which run on *nix systems. It uses TCP/IP protocol to communicate when correctly configured and interact with windows file server as well. The daemon of samba is smb ( Server Message Block ) and it is also known as CIFS ( Common Internet File System ), this operates application layer network protocol. It listens on port number 137 , 138 and 139 .

How To Install and configure a FTP Server in Linux using vsftpd daemon

Introduction Hey guys welcome to redaix! what if you want to transfer data from client machine to linux server or download data from linux server to client machine or if you want data transfer between two servers. One of many other ways is using ftp connection. FTP (File Transfer Protocol) is most common way of transferring data between systems for decades probably over 4 decades. However it sends data unencrypted which means ftp is old fashioned. It uses port 20 and 21. Port 20 for commands and 21 for data transfer. So what’s secure way of transferring files. My friends secure FTP . Yes secure ftp (sftp) linux has daemon vsftpd (very secure ftp daemon).Please do not confuse this with FTPS. This is based on ssh (secure shell) which is known for providing good secure connections to shell to linux users.This tutorial will show how  to install and configure vsftpd. Ok kool let’s start Installation and configuration Step 1: Installation Firstly we have to check the pack

Linux: LVM-An Introduction

Image
Have you ever wondered while your linux installation that how much space should you reserve for the system and user files ?  That’s a question that troubles many of us “How should i partition my disk drive ? ” Although you would get many suggestions on that but why to think about it if you have a better alternative…..LVM According to Wikipedia , logical volume management or LVM provides a method of allocating space on mass-storage devices that is more flexible than conventional partitioning schemes. In particular, a volume manager can concatenate, stripe together or otherwise combine partitions into larger virtual ones that administrators can re-size or move, potentially without interrupting system use. Let’s understand it with an example Say Samuel has the following partitions on his disk 1 2 3 4 /boot    /dev/sda1     512 Megabytes swap     /dev/sda2    256 Megabytes /        /dev/sda3      10 Gigabytes /home    /dev/sda4      30 Gigabytes

Redhat Enterprise virtualization- Installing RHEV-H

Image
To install Redhat enterprise virtualization hypervisor(RHEV-H) , You need a hardware with “virtualization Technology”(VT-X) enabled processors.Once you have such a hardware ,then you can start installing RHEV-H on it. You need to download the bootable “Redhat enterprise virtualization hypervisor” ISO image from Redhat website  with valid subscription. If you do not have one , Redhat is providing 60 days trail for RHEV . Just sign up using corporate email address and download the ISO. This article is going to demonstrate the “ redhat enterprise virtualization hypervisor ” installation with step by step screenshots. At the end of this article, we will see how we can install this hypervisor on top of VMware workstation for learning purpose.

openLDAP server and Cient installation and configuration step by step – RHEL7

Image
openLDAP directory service is based on a client-server model. LDAP transferred “Lightweight directory access protocol”   is a directory service protocol that runs on a layer above the TCP/IP stack. It provides a mechanism used to connect to, search, and modify Internet directories. The LDAP directory service is based on a client-server model. openLDAP is used to facilitate centralized user management. It eliminates users creation on each and every server, instead of creating users and there profile in all the servers we can create them in LDAP server and access from all the LDAP client machines.

PXE Boot server configuration step by step Guide

Image
Preboot eXecution Environment (PXE Boot, sometimes pronounced as pixie) specification describes a standardized client-server environment that boots a software assembly, retrieved from a network, on PXE-enabled clients. On the client side it requires only a PXE-capable network interface controller (NIC), and uses a small set of industry-standard network protocols such as DHCP and TFTP. The concept behind the PXE originated in the early days of protocols like BOOTP/DHCP/TFTP, and as of 2015 it forms part of the Unified Extensible Firmware Interface (UEFI) standard. Given fast and reliable local area networks (LANs), PXE is the most frequent choice for operating system booting, installation and deployment. Assume if there is no PXE Boot server we have to have more OS CD/DVD’s to install multiple clients and require manual intervention to configure partitions, software packages users creation so an. PXE Boot is very useful when we looking to re-image / install more clients y

Nagios core 4.1.1 Installation in RHEL7 / Centos 7

Image
What is Nagios..?? Nagios is an most popular and enterprise open source monitoring tool. Using this monitoring tool you can monitor any device in this world even UPS / Battery status. This tool will support almost all the scripting languages. Prepare your Linux server to install Nagios monitoring tool Nagios Version:   4.1.1 Prerequisites: Nagios code is written in C language so you required an gcc++ compiler packages to compile and install Nagios. Required wget package to download the nagios tool directly from web to server To untar  the package required Rar / Zip RPM’s Web / Apache / Httpd service to host the Nagios Install php and perl packages to run Nagios plugins

DHCP server installation and configuration Linux

DHCP server : Dynamic host configuration protocol is a Client/Server protocol which will automatically provide IP address to the requested client. Not only IP address along with IP it will also provide subnet mask, default gateway and DNS IP address. Every device on a TCP/IP-based network must have a unique unicast IP address to access the network and its resources. Without DHCP, IP addresses for new computers or computers that are moved from one subnet to another must be configured manually; IP addresses for computers that are removed from the network must be manually reclaimed. With DHCP, this entire process is automated and managed centrally. The DHCP server maintains a pool of IP addresses and leases an address to any DHCP-enabled client when it starts up on the network. Because the IP addresses are dynamic (leased) rather than static (permanently assigned), addresses no longer in use are automatically returned to the pool for reallocation. DHCP server will provid