Redhat Cluster High Availability Installation – Part 2


In previous article, we have discussed how to install the Redhat HA cluster setup. Here we are going to see how to add the nodes to cluster.

Please follow the below steps in both nodes (cnode1 & cnode2).

Step 1: YUM client configuation

[root@cnode1 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
192.168.1.100 cluster.example.com cluster
192.168.1.201 cnode1.example.com cnode1
192.168.1.202 cnode2.example.com cnode2

[root@cnode1 ~]# mount -t iso9660 /dev/sr0 /mnt/
mount: block device /dev/sr0 is write-protected, mounting read-only

[root@cnode1 ~]# rpm -ivh /mnt/Packages/vsftpd-2.2.2-11.el6_4.1.x86_64.rpm
warning: /mnt/Packages/vsftpd-2.2.2-11.el6_4.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:vsftpd ########################################### [100%]

[root@cnode1 ~]# /etc/init.d/iptables stop
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]

[root@cnode1 ~]# /etc/init.d/ip6tables stop
ip6tables: Setting chains to policy ACCEPT: filter [ OK ]
ip6tables: Flushing firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]

[root@cnode1 ~]# chkconfig iptables off
[root@cnode1 ~]# chkconfig ip6tables off
[root@cnode1 ~]# chkconfig vsftpd on

Disable SELINUX Policy

[root@cnode1 ~]# setenforce 0

Step 2: Install ricci package

Install ricci and set the password for the ricci user

[root@cnode1 ~]# yum -y install ricci

It is very important to set the password for ricci user. If you didn’t do this we can’t add the host to the cluster. For safety purpose, assign your root password for ricci user.

[root@cnode1 ~]# passwd ricci

[root@cnode1 ~]# /etc/init.d/ricci start
Starting system message bus: [ OK ]
Starting oddjobd: [ OK ]
generating SSL certificates... done
Generating NSS database... done
Starting ricci: [ OK ]

[root@cnode1 ~]# chkconfig ricci on

Step 3: Install and configure iSCSI initiator

[root@cnode1 ~]# yum -y install iscsi-initiator-utils

[root@cnode1 ~]# iscsiadm --mode discovery -t st -p 192.168.1.100
Starting iscsid: [ OK ]
192.168.1.100:3260,1 iqn.2015-09.com.tcs:haqdisk
192.168.1.100:3260,1 iqn.2015-09.com.tcs:hawebdisk

[root@cnode1 ~]# iscsiadm --mode node -P 192.168.1.100:3260,1 iqn.2015-09.com.tcs:hawebdisk --login
Logging in to [iface: default, target: iqn.2015-09.com.tcs:haqdisk, portal: 192.168.1.100,3260] (multiple)
Logging in to [iface: default, target: iqn.2015-09.com.tcs:hawebdisk, portal: 192.168.1.100,3260] (multiple)
Login to [iface: default, target: iqn.2015-09.com.tcs:haqdisk, portal: 192.168.1.100,3260] successful.
Login to [iface: default, target: iqn.2015-09.com.tcs:hawebdisk, portal: 192.168.1.100,3260] successful.

Step 4: Add the nodes to HA Cluster

Open the web browser and type “https://192.168.1.100:8084 or https://cluster.example.com:8084” and accept the certificate warning message.

Now, use your cluster host root credentials to login in to CONGA console.

  1. Click “Managae Cluster” in Right Side column
  2. Click “Create” button
  3. Enter the “Cluster Name” ie., Linux_HA
  4. Enter Node name and password in respective column, and use “Add Another Node” button to add additonal nodes ie., 192.168.1.201 and 192.168.1.202
  5. Select “Download Packages”
  6. Click “Enabled Shared Storage Support”
  7. Finally click “Create Cluster”

Now your nodes are started to add in the Cluster. Using ” tail -f /var/log/messages” command you can see the installation progress on both nodes.

[root@cnode1 ~]# tail -f /var/log/messages
...
...
Sep 22 15:45:54 cnode1 yum[1485]: Installed: libtalloc-2.0.7-2.el6.x86_64
Sep 22 15:45:55 cnode1 yum[1485]: Installed: libgssglue-0.1-11.el6.x86_64
Sep 22 15:45:55 cnode1 yum[1485]: Installed: libtevent-0.9.18-3.el6.x86_64
...
...
Sep 22 15:47:12 cnode1 rgmanager[3208]: Initializing Services
Sep 22 15:47:12 cnode1 rgmanager[3208]: Services Initialized
Sep 22 15:47:12 cnode1 rgmanager[3208]: State change: Local UP
Sep 22 15:47:12 cnode1 rgmanager[3208]: State change: 192.168.1.202 UP

[root@cnode1 ~]# clustat
Cluster Status for Linux_HA @ Tue Sep 22 16:18:29 2015
Member Status: Quorate

Member Name ID Status
—— —- —- ——
192.168.1.201 1 Online, Local
192.168.1.202 2 Online

That’s all. Now both nodes are added to your cluster machine.

Redhat Cluster High Availability Installation – Part 1


In this article, we are going to see how to setup the Linux-HA on 2 node clusters. Here I’m not going to explain the concept of HA, installation and configuration steps only.

As we are going to implement two node cluster, we need the minimum hardware configuration as below.

Cluster Server:

OS: Redhat Enterprise Linux - 6.5 ( x64 )
Hardware: Oracle VirtualBox ( 1 CPU / 1GB RAM / 2 NIC Cards / 3 HDD with 20GB )
Hostname: cluster.example.com
IP Address: 192.168.1.100/24

Node 1:

OS : Redhat Enterprise Linux - 6.5 ( x64 )
Hardware: Oracle VirtualBox ( 1 CPU / 512MB RAM / 2 NIC Cards / 1 HDD with 20GB )
Hostname: cnode1.example.com
IP Address: 192.168.1.201/24

Node 2:

OS : Redhat Enterprise Linux - 6.5 ( x64 )
Hardware: Oracle VirtualBox ( 1 CPU / 512MB RAM / 2 NIC Cards / 1 HDD with 20GB )
Hostname: cnode2.example.com
IP Address: 192.168.1.202/24

Step 1: Yum Server Configuration

Mount the CD-ROM to /mnt filesystem

[root@cluster ~]# mount -t iso9660 /dev/sr0 /mnt/
mount: block device /dev/sr0 is write-protected, mounting read-only

Install the required packages

[root@cluster ~]# cd /mnt/Packages/

[root@cluster Packages]# rpm -ivh deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
warning: deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:deltarpm ########################################### [100%]

[root@cluster Packages]# rpm -ivh python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm
warning: python-deltarpm-3.5-0.5.20090913git.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:python-deltarpm ########################################### [100%]

[root@cluster Packages]# rpm -ivh createrepo-0.9.9-18.el6.noarch.rpm
warning: createrepo-0.9.9-18.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:createrepo ########################################### [100%]

[root@cluster Packages]# rpm -ivh vsftpd-2.2.2-11.el6_4.1.x86_64.rpm
warning: vsftpd-2.2.2-11.el6_4.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:vsftpd ########################################### [100%]

[root@cluster ~]# /etc/init.d/iptables stop
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Flushing firewall rules: [ OK ]
iptables: Unloading modules: [ OK ]

[root@cluster ~]# /etc/init.d/ip6tables stop
ip6tables: Setting chains to policy ACCEPT: filter [ OK ]
ip6tables: Flushing firewall rules: [ OK ]
ip6tables: Unloading modules: [ OK ]

[root@cluster ~]# chkconfig iptables off
[root@cluster ~]# chkconfig ip6tables off
[root@cluster ~]# chkconfig vsftpd on

Copy the DVD files to /var/ftp/pub/ directory to setup local yum server

[root@cluster ~]# cp -r /mnt/* /var/ftp/pub/

Create the YUM Repository

[root@cluster ~]# createrepo -v /var/ftp/pub/
Spawning worker 0 with 3763 pkgs
..
..
Sqlite DBs complete

[root@cluster ~]# vi /etc/yum.repos.d/rhel-source.repo

Edit the baseurl and enabled lines as below

baseurl=file:///var/ftp/pub/
enabled=1

Check the YUM repository

[root@cluster ~]# yum clean all
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Cleaning repos: rhel-source
Cleaning up Everything

[root@cluster ~]# yum repolist
Loaded plugins: product-id, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
rhel-source | 2.9 kB 00:00 ...
rhel-source/primary_db | 3.2 MB 00:00 ...
repo id repo name status
rhel-source Red Hat Enterprise Linux 6Server - x86_64 - Source 3,763
repolist: 3,763

Step 2: Install and configure ISCSI target

[root@cluster ~]# yum -y install scsi-target-utils

[root@cluster ~]# mkdir -p /etc/tgt/mytargets/

[root@cluster ~]# fdisk -l | grep /dev/sd
Disk /dev/sda: 26.8 GB, 26843545600 bytes
/dev/sda1 * 1 64 512000 83 Linux
/dev/sda2 64 3264 25701376 8e Linux LVM
Disk /dev/sdb: 5368 MB, 5368709120 bytes
Disk /dev/sdc: 5368 MB, 5368709120 bytes

Here we are going to use /dev/sdb and /dev/sdc as shared storage pool.

[root@cluster ~]# vi /etc/tgt/mytargets/san.conf
<target iqn.2015-09.com.tcs:hawebdisk>
backing-store /dev/sdb
</target>
<target iqn.2015-09.com.tcs:haqdisk>
backing-store /dev/sdc
</target>

[root@cluster ~]# vi /etc/tgt/targets.conf

Change the below line

From:

#include /etc/tgt/temp/*.conf

To:

include /etc/tgt/mytargets/*.conf

Start the iSCSI target service

[root@cluster ~]# /etc/init.d/tgtd start
Starting SCSI target daemon: [ OK ]

[root@cluster ~]# chkconfig tgtd on

Check whether iSCSI target is working or not.

[root@cluster ~]# tgtadm --mode target --op show | grep /dev/sd
Backing store path: /dev/sdc
Backing store path: /dev/sdb

Step 3: Install luci package

[root@cluster ~]# yum -y install luci

[root@cluster ~]# /etc/init.d/luci start
Adding following auto-detected host IDs (IP addresses/domain names), corresponding to `cluster.example.com' address, to the configuration of self-managed certificate `/var/lib/luci/etc/cacert.config' (you can change them by editing `/var/lib/luci/etc/cacert.config', removing the generated certificate `/var/lib/luci/certs/host.pem' and restarting luci):
(none suitable found, you can still do it manually as mentioned above)
Generating a 2048 bit RSA private key
writing new private key to '/var/lib/luci/certs/host.pem'
Starting saslauthd: [ OK ]
Start luci... [ OK ]
Point your web browser to https://cluster.example.com:8084 (or equivalent) to access luci

[root@cluster ~]# chkconfig luci on

Now you can open CONGA console in web browser. Type https://ipaddress:8084 (more…)

How to download a package using YUM


There are two methods to download a package without installing it.

Method 1:

Install required plugin for yum

[root@server ~]# yum install yum-plugin-downloadonly

Run yum command with “–downloadonly” option:

[root@server ~]# yum install --downloadonly --downloaddir=/data createrepo

where,
createrepo === package to download from yum

Method 2:

Install required package for yum to download

[root@server ~]# yum install yum-utils

Run the command followed by the desired package:

[root@server ~]# yumdownloader --destdir /data --resolve createrepo

where,

createrepo === package to download from yum
–resolve === download the dependency packages

Yum rollback – Yum history


Assume that, you are upgrading the package from x to y version, if that change cause anything critical then how can you rollback upgraded package to earlier version.

Yum have the feature of storing the history in /var/lib/yum/history/ directory. For this we need yum version in 3.2.xx, please execute the below command to check the yum version.

[root@server ~]# rpm -qa yum
yum-3.2.29-40.el6.centos.noarch

[root@server ~]# yum --version
3.2.29

Step 1: Check the previous yum history

[root@server ~]# yum history list
Loaded plugins: fastestmirror, refresh-packagekit, security
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
2 | root | 2015-04-27 15:31 | Install | 7 <
1 | System | 2015-03-24 15:04 | Install | 1470 >
history list

where,

ID – Transaction number
Login user – login session of user who performed the yum command

Suppose if you want the details about second trancation then below is the example.

[root@server ~]# yum history info 2
Loaded plugins: fastestmirror, refresh-packagekit, security
Transaction ID : 2
Begin time : Mon Apr 27 15:31:01 2015
Begin rpmdb : 1527:0254e77e4c65981112a81d88459092523c3b2df5
End time : 15:31:15 2015 (14 seconds)
End rpmdb : 1534:cc3b4857397a2458680e3567dd78a9cd7b081e8f
User : root
Return-Code : Success
Command Line : install mysql-devel
Transaction performed with:
Installed rpm-4.8.0-32.el6.x86_64 @anaconda-CentOS-201303020151.x86_64/6.4
Installed yum-3.2.29-40.el6.centos.noarch @anaconda-CentOS-201303020151.x86_64/6.4
Installed yum-plugin-fastestmirror-1.1.30-14.el6.noarch @anaconda-CentOS-201303020151.x86_64/6.4
Packages Altered:
Dep-Install keyutils-libs-devel-1.4-4.el6.x86_64 @cdrom
Dep-Install krb5-devel-1.10.3-10.el6.x86_64 @cdrom
Dep-Install libcom_err-devel-1.41.12-14.el6.x86_64 @cdrom
Dep-Install libselinux-devel-2.0.94-5.3.el6.x86_64 @cdrom
Dep-Install libsepol-devel-2.0.41-4.el6.x86_64 @cdrom
Install mysql-devel-5.1.66-2.el6_3.x86_64 @cdrom
Dep-Install openssl-devel-1.0.0-27.el6.x86_64 @cdrom
history info

Step 2: Yum rollback

The below command will rollback all your installed package to earlier stage.

[root@server ~]# yum history undo 2
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
cdrom | 4.0 kB 00:00 ...
Undoing transaction 2, from Mon Apr 27 15:31:01 2015
Dep-Install keyutils-libs-devel-1.4-4.el6.x86_64 @cdrom
Dep-Install krb5-devel-1.10.3-10.el6.x86_64 @cdrom
Dep-Install libcom_err-devel-1.41.12-14.el6.x86_64 @cdrom
Dep-Install libselinux-devel-2.0.94-5.3.el6.x86_64 @cdrom
Dep-Install libsepol-devel-2.0.41-4.el6.x86_64 @cdrom
Install mysql-devel-5.1.66-2.el6_3.x86_64 @cdrom
Dep-Install openssl-devel-1.0.0-27.el6.x86_64 @cdrom
Resolving Dependencies
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.4-4.el6 will be erased
---> Package krb5-devel.x86_64 0:1.10.3-10.el6 will be erased
---> Package libcom_err-devel.x86_64 0:1.41.12-14.el6 will be erased
---> Package libselinux-devel.x86_64 0:2.0.94-5.3.el6 will be erased
---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be erased
---> Package mysql-devel.x86_64 0:5.1.66-2.el6_3 will be erased
---> Package openssl-devel.x86_64 0:1.0.0-27.el6 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Removing:
keyutils-libs-devel x86_64 1.4-4.el6 @cdrom 22 k
krb5-devel x86_64 1.10.3-10.el6 @cdrom 2.3 M
libcom_err-devel x86_64 1.41.12-14.el6 @cdrom 34 k
libselinux-devel x86_64 2.0.94-5.3.el6 @cdrom 158 k
libsepol-devel x86_64 2.0.41-4.el6 @cdrom 103 k
mysql-devel x86_64 5.1.66-2.el6_3 @cdrom 387 k
openssl-devel x86_64 1.0.0-27.el6 @cdrom 2.1 M

Transaction Summary
================================================================================
Remove 7 Package(s)

Installed size: 5.1 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Erasing : mysql-devel-5.1.66-2.el6_3.x86_64 1/7
Erasing : openssl-devel-1.0.0-27.el6.x86_64 2/7
Erasing : krb5-devel-1.10.3-10.el6.x86_64 3/7
Erasing : libselinux-devel-2.0.94-5.3.el6.x86_64 4/7
Erasing : libsepol-devel-2.0.41-4.el6.x86_64 5/7
Erasing : keyutils-libs-devel-1.4-4.el6.x86_64 6/7
Erasing : libcom_err-devel-1.41.12-14.el6.x86_64 7/7
Verifying : mysql-devel-5.1.66-2.el6_3.x86_64 1/7
Verifying : krb5-devel-1.10.3-10.el6.x86_64 2/7
Verifying : libsepol-devel-2.0.41-4.el6.x86_64 3/7
Verifying : keyutils-libs-devel-1.4-4.el6.x86_64 4/7
Verifying : openssl-devel-1.0.0-27.el6.x86_64 5/7
Verifying : libselinux-devel-2.0.94-5.3.el6.x86_64 6/7
Verifying : libcom_err-devel-1.41.12-14.el6.x86_64 7/7

Removed:
keyutils-libs-devel.x86_64 0:1.4-4.el6
krb5-devel.x86_64 0:1.10.3-10.el6
libcom_err-devel.x86_64 0:1.41.12-14.el6
libselinux-devel.x86_64 0:2.0.94-5.3.el6
libsepol-devel.x86_64 0:2.0.41-4.el6
mysql-devel.x86_64 0:5.1.66-2.el6_3
openssl-devel.x86_64 0:1.0.0-27.el6

Complete!

[root@server ~]# yum history list
Loaded plugins: fastestmirror, refresh-packagekit, security
ID | Login user | Date and time | Action(s) | Altered
-------------------------------------------------------------------------------
3 | root | 2015-04-29 11:55 | Erase | 7
2 | root | 2015-04-27 15:31 | Install | 7 <
1 | System | 2015-03-24 15:04 | Install | 1470 >
history list

Configure YUM repository using CDROM


Please follow belows steps.

Step 1: Mount CDROM in /mnt

[root@server ~]# mount -t iso9660 /dev/sr0 /mnt
mount: block device /dev/sr0 is write-protected, mounting read-only

[root@server ~]# cd /mnt/
[root@server mnt]# ls -l
total 676
-r--r--r-- 2 root root 14 Mar 5 2013 CentOS_BuildTag
dr-xr-xr-x 3 root root 2048 Mar 5 2013 EFI
-r--r--r-- 2 root root 212 Mar 2 2013 EULA
-r--r--r-- 2 root root 18009 Mar 2 2013 GPL
dr-xr-xr-x 3 root root 2048 Mar 5 2013 images
dr-xr-xr-x 2 root root 2048 Mar 5 2013 isolinux
dr-xr-xr-x 2 root root 649216 Mar 6 2013 Packages
-r--r--r-- 2 root root 1354 Mar 2 2013 RELEASE-NOTES-en-US.html
dr-xr-xr-x 2 root root 4096 Mar 6 2013 repodata
-r--r--r-- 2 root root 1706 Mar 2 2013 RPM-GPG-KEY-CentOS-6
-r--r--r-- 2 root root 1730 Mar 2 2013 RPM-GPG-KEY-CentOS-Debug-6
-r--r--r-- 2 root root 1730 Mar 2 2013 RPM-GPG-KEY-CentOS-Security-6
-r--r--r-- 2 root root 1734 Mar 2 2013 RPM-GPG-KEY-CentOS-Testing-6
-r--r--r-- 1 root root 3380 Mar 6 2013 TRANS.TBL

Step 2: Create the yum repository

[root@server ~]# vi /etc/yum.repos.d/local.repo
[cdrom]
name=Local Repo
baseurl=file:///mnt
enabled=1
gpgcheck=1
gpgkey=file:///mnt/RPM-GPG-KEY-CentOS-6

[root@server ~]# yum clean all
Loaded plugins: fastestmirror, refresh-packagekit, security
Cleaning repos: cdrom
Cleaning up Everything
Cleaning up list of fastest mirrors

[root@server ~]# yum repolist
Loaded plugins: fastestmirror, refresh-packagekit, security
Determining fastest mirrors
cdrom | 4.0 kB 00:00 ...
cdrom/primary_db | 4.4 MB 00:00 ...
repo id repo name status
cdrom Local Repo 6,381
repolist: 6,381

[root@server ~]# yum install mysql-devel
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
cdrom | 4.0 kB 00:00 ...
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-devel.x86_64 0:5.1.66-2.el6_3 will be installed
--> Processing Dependency: openssl-devel for package: mysql-devel-5.1.66-2.el6_3.x86_64
--> Running transaction check
---> Package openssl-devel.x86_64 0:1.0.0-27.el6 will be installed
--> Processing Dependency: krb5-devel for package: openssl-devel-1.0.0-27.el6.x86_64
--> Running transaction check
---> Package krb5-devel.x86_64 0:1.10.3-10.el6 will be installed
--> Processing Dependency: libselinux-devel for package: krb5-devel-1.10.3-10.el6.x86_64
--> Processing Dependency: libcom_err-devel for package: krb5-devel-1.10.3-10.el6.x86_64
--> Processing Dependency: keyutils-libs-devel for package: krb5-devel-1.10.3-10.el6.x86_64
--> Running transaction check
---> Package keyutils-libs-devel.x86_64 0:1.4-4.el6 will be installed
---> Package libcom_err-devel.x86_64 0:1.41.12-14.el6 will be installed
---> Package libselinux-devel.x86_64 0:2.0.94-5.3.el6 will be installed
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.3.el6.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.3.el6.x86_64
--> Running transaction check
---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql-devel x86_64 5.1.66-2.el6_3 cdrom 128 k
Installing for dependencies:
keyutils-libs-devel x86_64 1.4-4.el6 cdrom 28 k
krb5-devel x86_64 1.10.3-10.el6 cdrom 493 k
libcom_err-devel x86_64 1.41.12-14.el6 cdrom 31 k
libselinux-devel x86_64 2.0.94-5.3.el6 cdrom 136 k
libsepol-devel x86_64 2.0.41-4.el6 cdrom 64 k
openssl-devel x86_64 1.0.0-27.el6 cdrom 1.1 M

Transaction Summary
================================================================================
Install 7 Package(s)

Total download size: 2.0 M
Installed size: 5.1 M
Is this ok [y/N]: y
Downloading Packages:
--------------------------------------------------------------------------------
Total 107 MB/s | 2.0 MB 00:00
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID c105b9de: NOKEY
Retrieving key from file:///mnt/RPM-GPG-KEY-CentOS-6
Importing GPG key 0xC105B9DE:
Userid: "CentOS-6 Key (CentOS 6 Official Signing Key) "
From : /mnt/RPM-GPG-KEY-CentOS-6
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
Installing : libcom_err-devel-1.41.12-14.el6.x86_64 1/7
Installing : keyutils-libs-devel-1.4-4.el6.x86_64 2/7
Installing : libsepol-devel-2.0.41-4.el6.x86_64 3/7
Installing : libselinux-devel-2.0.94-5.3.el6.x86_64 4/7
Installing : krb5-devel-1.10.3-10.el6.x86_64 5/7
Installing : openssl-devel-1.0.0-27.el6.x86_64 6/7
Installing : mysql-devel-5.1.66-2.el6_3.x86_64 7/7
Verifying : mysql-devel-5.1.66-2.el6_3.x86_64 1/7
Verifying : krb5-devel-1.10.3-10.el6.x86_64 2/7
Verifying : libsepol-devel-2.0.41-4.el6.x86_64 3/7
Verifying : keyutils-libs-devel-1.4-4.el6.x86_64 4/7
Verifying : openssl-devel-1.0.0-27.el6.x86_64 5/7
Verifying : libselinux-devel-2.0.94-5.3.el6.x86_64 6/7
Verifying : libcom_err-devel-1.41.12-14.el6.x86_64 7/7

Installed:
mysql-devel.x86_64 0:5.1.66-2.el6_3

Dependency Installed:
keyutils-libs-devel.x86_64 0:1.4-4.el6
krb5-devel.x86_64 0:1.10.3-10.el6
libcom_err-devel.x86_64 0:1.41.12-14.el6
libselinux-devel.x86_64 0:2.0.94-5.3.el6
libsepol-devel.x86_64 0:2.0.41-4.el6
openssl-devel.x86_64 0:1.0.0-27.el6

Complete!