Archive for October, 2011

Red Hat Cluster Suite

In today’s world, every organisation in is thriving to provide a nonstop 24X7 service to their clients and so deploying high available solutions to their products. This is where a cluster concept kicks in. Along with some commercial high-availability solutions like IBM’s HACMP and Veritas’ Cluster Server and HP’s Serviceguard, Red Hat provides a high-availability solution on Red Hat Enterprise Linux, called the Red Hat Cluster Suite.

Red Hat Cluster Suite has two major features, the Cluster Manager ( Cman)  that provides high availability, and the IP load balancing (also called Piranha). The Cluster Manager and Piranha are complementary high-availability technologies and can be used in combination or separately, as per your requirements. (more…)

Logical Volume manager (LVM)

Using the Logical Volume Manager or LVM we can create special kind of volumes to store datas which can be increased or decreased as per need. This resizing of the volumes are of minimal effort and so comes handy for managing the resources effectively. The following diagram will give you a better understanding of how the LVM works

Let us consider there are two HDD of 10 GB each ( /dev/sda and /dev/sdb). We can create physical partitions of 5 GB in both the disks( /dev/sda1 , /dev/sda2, /dev/sdb1, /dev/sdb2). Now picking three of these partitions we create one volume group ( we can later include new hdd or the remaining 5 Gb partition to the volume group ) of 15 GB. Now we can create smaller logical volumes as per need from this available 15GB space. Lets consider we have created one logical volume of 8 Gb. So there is still 7 Gb of space in hold. We can use this space to make more Logical volumes of use it when the already created LV needs resizing. (more…)

NFS – Network File System

Network File System (NFS) is a way to share files between machines on a network as if the files are located on the client’s local hard drive. It is an effective way to share files to a group of users using the same network. e.g. a group of users are working on a project and needs to share their files stored in a particular directory. In such a case, everyone can upload/share their files in a common folder( like /project) and share it over NFS.

For the NFS service, one ( any RedHat machine with the package installed)  machine in a system works as a server while others can connect to it to fetch/share files. Sharing files from an NFS server is known as exporting the directories. A X-Windows based application is available to edit the configuration file, but since in the previous post ( OD Hardening), I already mentioned that generally X Windows is not needed in production server and should be removed, I will discuss the procedure to edit the configuration file using text editors.  (more…)

Linux systems – monitoring

Monitoring a system is an essential part of system administration and a regular monitoring/checking will only make sure that everything is in order. There are several things to monitor in a server, viz user accounts, CPU or memory loads and network traffics.

We will start with the user accounts. In the previous post I have already discussed about the security issues related to user accounts and the reason a good password policy is required and how to implement it.  Also how to check if an user is trying to use incorrect password to login or attempting for su  privilege. A few basic commands to monitor user accounts are : (more…)