Categories
Red Hat Enterprise Linux / CentOS

Add and Mount LVM Volume in Linux

Its possible add a LVM volume on the fly. The steps would involve formatting the newly added disk with LVM and creating a mount point and adding the new volume to it. The whole process would involve creating Physical Volume followed by Volume group and then assigning logical volume and mounting it to a mount point.

Categories
VMWare

Add/Detect a new disk in a Linux VM dynamically without rebooting

Its possible to add a disk dynamically (without reboot) in a Linux host in Virtual Environment by following some simple steps in this article. In a Virtualized world there is a frequent requirement for adding extra disks/space on the fly, as and when required with “Downtime” being a BIG NO NO….

Once you have added a new disk using vSphere Client interface for the host, go ahead and scan the iSCSI Bus Channel.

Categories
Linux Red Hat Enterprise Linux / CentOS

Get rid of SSH error message “WARNING REMOTE HOST IDENTIFICATION HAS CHANGED”

In Linux when you try to SSH it may at times give you this warning that REMOTE HOST IDENTIFICATION HAS CHANGED. It usually happens when the hostname or IP has changed of a host or the host was rebooted and generated a new fingerprint Key ID. No need to worry, it can be removed by a single command and you would be up and running in no time.

Categories
Spacewalk (CentOS Satellite Version)

Install Spacewalk 2.2 on CentOS

This article shows you the steps to install Spacewalk 2.2 (aka Satellite) version on CentOS. To start with the install we need make sure that firewall and hostname and IP are configured correctly. Make sure that these ports are opened in the firewall.

Ports required:
Outbound open ports — 80, 443, 4545
Inbound open ports — 80, 443, 5222 and 5269, 69 udp if you want to use tftp (for kickstart PXE)

RAM requirements — 2GB Minimum , 4GB Recommended

This article will be based on CentOS 6. There is a one click script as well in BASH SCRIPTS section.

Requirements:
Make sure the hostname ,static IP and host entry is setup properly.

Categories
Red Hat IDM

Change SUDO LDAP Password

There might be a need to Change SUDO LDAP password whilst managing the SUDO rights centrally through IDM. In this scenario it would be the 1st time you are configuring the SUDO rights. Follow the steps outlined to change the password for master server.

NOTE: Don’t run this on replica instances of IDM as it would be replicated from Master.

Categories
Spacewalk (CentOS Satellite Version)

Install and Register Spacewalk Clients

This article shows you How To register Spacewalk Clients to the Spacewalk Server. All you need is to make sure before the registration you are logged in as ROOT and the SSL Cert is downloaded from the server to the client host. There is a Once Click BASH SCRIPT as well you can download.

Categories
Red Hat Enterprise Linux / CentOS

Setup Nagios Core on CentOS/Red Hat

Setup and Configuration guide for Nagios Core on any Fedora/Linux based OS (incl. CentOS & Red Hat). This guide would allow you to setup Nagios Monitoring Server up and running in roughly 15 mins. The process would involve installing yum packages and then compiling Nagios from source.

NOTE: You need to a be a ROOT user to compile and install Nagios Core.

Categories
Raspbian (Debian Wheezy)

Install Nagios Core latest version 4.x.x on Raspbian – RasberryPi

Its now possible to install latest Nagios CORE version on Raspbian by following the steps in this article. Before writing this article I Googled for the same but couldn’t find a single article covering install of latest version of Nagios on RasberryPi hence this guide. It has been fully tested and working on my personal RasPi.

This guide was originally written for Ubuntu but will work for Raspbian (Debian Wheezy) flavour for RasberryPi as well. It might work for all debian distros but not guranteed, you can try it out yourself.