Saturday, August 20, 2011

HowTo Upgrade Red Hat Enterprise Linux 6 to to v6.1


RHEL version 6.1 has been released with new features and improvements. How do I upgrade my HP server running RHEL v6.0 to v6.1 using RHN?

You can upgrade the system using the yum command itself. Make a backup - it cannot be stressed enough how important it is to make a backup of your system before you do this. Most of the actions listed in this post are written with the assumption that they will be executed by the root user running the bash or any other modern shell.
# uname -r
Sample outputs:

2.6.32-71.29.1.el6.x86_64 

You can see current RHEL release details using cat command as follows:
# cat /etc/redhat-release
Sample outputs:

Red Hat Enterprise Linux Server release 6.0 (Santiago)


To upgrade RHEL to v6.1, enter:
# yum -y update

Sample outputs:

Dependency Installed:

abrt-plugin-mailx.x86_64 0:1.1.16-3.el6 gnutls-utils.x86_64 0:2.8.5-4.el6

libcacard.x86_64 0:0.1.2-2.el6 radvd.x86_64 0:1.6-1.el6


Updated:

Red_Hat_Enterprise_Linux-Release_Notes-6-en-US.noarch 0:1-26.el6

abrt.x86_64 0:1.1.16-3.el6

abrt-addon-ccpp.x86_64 0:1.1.16-3.el6

abrt-addon-kerneloops.x86_64 0:1.1.16-3.el6

abrt-addon-python.x86_64 0:1.1.16-3.el6

abrt-cli.x86_64 0:1.1.16-3.el6

abrt-libs.x86_64 0:1.1.16-3.el6

abrt-plugin-logger.x86_64 0:1.1.16-3.el6

abrt-plugin-rhtsupport.x86_64 0:1.1.16-3.el6

abrt-plugin-sosreport.x86_64 0:1.1.16-3.el6

at.x86_64 0:3.1.10-43.el6

audit.x86_64 0:2.1-5.el6

audit-libs.x86_64 0:2.1-5.el6

audit-libs-python.x86_64 0:2.1-5.el6

augeas-libs.x86_64 0:0.7.2-6.el6

authconfig.x86_64 0:6.1.12-5.el6

avahi-libs.x86_64 0:0.6.25-11.el6

bash.x86_64 0:4.1.2-8.el6

bfa-firmware.noarch 0:2.3.2.3-1.el6

bind-devel.x86_64 32:9.7.3-2.el6

bind-libs.x86_64 32:9.7.3-2.el6

bind-utils.x86_64 32:9.7.3-2.el6

binutils.x86_64 0:2.20.51.0.2-5.20.el6

blktrace.x86_64 0:1.0.1-4.el6

busybox.x86_64 1:1.15.1-11.el6

coreutils.x86_64 0:8.4-13.el6

coreutils-libs.x86_64 0:8.4-13.el6

cpp.x86_64 0:4.4.5-6.el6

cracklib.x86_64 0:2.8.16-4.el6

cracklib-dicts.x86_64 0:2.8.16-4.el6

crda.x86_64 0:1.1.1_2010.11.22-1.el6

cronie.x86_64 0:1.4.4-7.el6

cronie-anacron.x86_64 0:1.4.4-7.el6

cryptsetup-luks.x86_64 0:1.2.0-3.el6

cryptsetup-luks-libs.x86_64 0:1.2.0-3.el6

cups-libs.x86_64 1:1.4.2-39.el6

curl.x86_64 0:7.19.7-26.el6

device-mapper.x86_64 0:1.02.62-3.el6

device-mapper-event.x86_64 0:1.02.62-3.el6

device-mapper-event-libs.x86_64 0:1.02.62-3.el6

device-mapper-libs.x86_64 0:1.02.62-3.el6

dhclient.x86_64 12:4.1.1-19.P1.el6

dracut.noarch 0:004-53.el6

dracut-kernel.noarch 0:004-53.el6

e2fsprogs.x86_64 0:1.41.12-7.el6

e2fsprogs-libs.x86_64 0:1.41.12-7.el6

ebtables.x86_64 0:2.0.9-6.el6

efibootmgr.x86_64 0:0.5.4-9.el6

elfutils.x86_64 0:0.152-1.el6

elfutils-libelf.x86_64 0:0.152-1.el6

elfutils-libs.x86_64 0:0.152-1.el6

file.x86_64 0:5.04-6.el6

file-libs.x86_64 0:5.04-6.el6

fipscheck.x86_64 0:1.2.0-5.el6

fipscheck-lib.x86_64 0:1.2.0-5.el6

gcc.x86_64 0:4.4.5-6.el6

glib2.x86_64 0:2.22.5-6.el6

glibc.x86_64 0:2.12-1.25.el6

glibc-common.x86_64 0:2.12-1.25.el6

glibc-devel.x86_64 0:2.12-1.25.el6

glibc-headers.x86_64 0:2.12-1.25.el6

glibc-static.x86_64 0:2.12-1.25.el6

gpxe-roms-qemu.noarch 0:0.9.7-6.7.el6

grub.x86_64 1:0.97-70.el6

gtk2.x86_64 0:2.18.9-6.el6

hal.x86_64 0:0.5.14-11.el6

hal-libs.x86_64 0:0.5.14-11.el6

httpd.x86_64 0:2.2.15-9.el6

httpd-devel.x86_64 0:2.2.15-9.el6

httpd-manual.noarch 0:2.2.15-9.el6

httpd-tools.x86_64 0:2.2.15-9.el6

hwdata.noarch 0:0.233-7.1.el6

initscripts.x86_64 0:9.03.23-1.el6

ipmitool.x86_64 0:1.8.11-7.el6

iproute.x86_64 0:2.6.32-16.el6

iptables.x86_64 0:1.4.7-4.el6

iptables-ipv6.x86_64 0:1.4.7-4.el6

iputils.x86_64 0:20071127-16.el6

irqbalance.x86_64 2:0.55-29.el6

iscsi-initiator-utils.x86_64 0:6.2.0.872-21.el6

iwl6000-firmware.noarch 0:9.221.4.1-1.el6

iwl6050-firmware.noarch 0:41.28.5.1-2.el6

kernel-firmware.noarch 0:2.6.32-131.0.15.el6

kernel-headers.x86_64 0:2.6.32-131.0.15.el6

kexec-tools.x86_64 0:2.0.0-188.el6

kpartx.x86_64 0:0.4.9-41.el6

krb5-devel.x86_64 0:1.9-9.el6

krb5-libs.x86_64 0:1.9-9.el6

libblkid.x86_64 0:2.17.2-12.el6

libcgroup.x86_64 0:0.37-2.el6

libcom_err.x86_64 0:1.41.12-7.el6

libcom_err-devel.x86_64 0:1.41.12-7.el6

libcurl.x86_64 0:7.19.7-26.el6

libdrm.x86_64 0:2.4.23-1.el6

libgcc.x86_64 0:4.4.5-6.el6

libgomp.x86_64 0:4.4.5-6.el6

libgssglue.x86_64 0:0.1-11.el6

libgudev1.x86_64 0:147-2.35.el6

libnl.x86_64 0:1.1-14.el6

libpciaccess.x86_64 0:0.10.9-4.el6

libselinux.x86_64 0:2.0.94-5.el6

libselinux-devel.x86_64 0:2.0.94-5.el6

libselinux-python.x86_64 0:2.0.94-5.el6

libselinux-utils.x86_64 0:2.0.94-5.el6

libss.x86_64 0:1.41.12-7.el6

libstdc++.x86_64 0:4.4.5-6.el6

libtirpc.x86_64 0:0.2.1-3.el6

libudev.x86_64 0:147-2.35.el6

libuuid.x86_64 0:2.17.2-12.el6

libvirt.x86_64 0:0.8.7-18.el6

libvirt-client.x86_64 0:0.8.7-18.el6

libvirt-python.x86_64 0:0.8.7-18.el6

lvm2.x86_64 0:2.02.83-3.el6

lvm2-libs.x86_64 0:2.02.83-3.el6

man-pages.noarch 0:3.22-17.el6

man-pages-overrides.noarch 0:2.5-1.el6

mdadm.x86_64 0:3.2.1-1.el6

microcode_ctl.x86_64 1:1.17-4.el6

mod_ssl.x86_64 1:2.2.15-9.el6

net-snmp-libs.x86_64 1:5.5-31.el6

net-tools.x86_64 0:1.60-105.el6

netcf-libs.x86_64 0:0.1.7-1.el6

nfs-utils.x86_64 1:1.2.3-7.el6

nfs-utils-lib.x86_64 0:1.1.5-3.el6

nspr.x86_64 0:4.8.7-1.el6

nss.x86_64 0:3.12.9-9.el6

nss-softokn.x86_64 0:3.12.9-3.el6

nss-softokn-freebl.x86_64 0:3.12.9-3.el6

nss-sysinit.x86_64 0:3.12.9-9.el6

nss-util.x86_64 0:3.12.9-1.el6

openldap.x86_64 0:2.4.23-15.el6

openldap-devel.x86_64 0:2.4.23-15.el6

openssh.x86_64 0:5.3p1-52.el6

openssh-clients.x86_64 0:5.3p1-52.el6

openssh-server.x86_64 0:5.3p1-52.el6

openssl.x86_64 0:1.0.0-10.el6

openssl-devel.x86_64 0:1.0.0-10.el6

pam.x86_64 0:1.1.1-8.el6

parted.x86_64 0:2.1-13.el6

perl.x86_64 4:5.10.1-119.el6

perl-ExtUtils-MakeMaker.x86_64 0:6.55-119.el6

perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-119.el6

perl-Module-Pluggable.x86_64 1:3.90-119.el6

perl-Pod-Escapes.x86_64 1:1.04-119.el6

perl-Pod-Simple.x86_64 1:3.13-119.el6

perl-Test-Harness.x86_64 0:3.17-119.el6

perl-devel.x86_64 4:5.10.1-119.el6

perl-libs.x86_64 4:5.10.1-119.el6

perl-version.x86_64 3:0.77-119.el6

php.x86_64 0:5.3.3-3.el6

php-cli.x86_64 0:5.3.3-3.el6

php-common.x86_64 0:5.3.3-3.el6

php-devel.x86_64 0:5.3.3-3.el6

php-gd.x86_64 0:5.3.3-3.el6

php-imap.x86_64 0:5.3.3-3.el6

php-mbstring.x86_64 0:5.3.3-3.el6

php-mysql.x86_64 0:5.3.3-3.el6

php-pdo.x86_64 0:5.3.3-3.el6

php-pecl-memcache.x86_64 0:3.0.5-3.el6

php-xmlrpc.x86_64 0:5.3.3-3.el6

plymouth.x86_64 0:0.8.3-22.el6

plymouth-core-libs.x86_64 0:0.8.3-22.el6

plymouth-scripts.x86_64 0:0.8.3-22.el6

prelink.x86_64 0:0.4.4-1.el6

procps.x86_64 0:3.2.8-17.el6

python.x86_64 0:2.6.6-20.el6

python-ethtool.x86_64 0:0.6-1.el6

python-libs.x86_64 0:2.6.6-20.el6

python-pycurl.x86_64 0:7.19.0-8.el6

python-tools.x86_64 0:2.6.6-20.el6

python-urlgrabber.noarch 0:3.9.1-8.el6

python-virtinst.noarch 0:0.500.5-3.el6

qemu-img.x86_64 2:0.12.1.2-2.160.el6

qemu-kvm.x86_64 2:0.12.1.2-2.160.el6

ql2400-firmware.noarch 0:5.03.16-1.el6

ql2500-firmware.noarch 0:5.03.16-1.el6

quota.x86_64 1:3.17-16.el6

redhat-release-server.x86_64 0:6Server-6.1.0.2.el6

rhn-check.noarch 0:1.0.0-61.el6

rhn-client-tools.noarch 0:1.0.0-61.el6

rhn-setup.noarch 0:1.0.0-61.el6

rhnlib.noarch 0:2.5.22-10.el6

rpm.x86_64 0:4.8.0-16.el6

rpm-libs.x86_64 0:4.8.0-16.el6

rpm-python.x86_64 0:4.8.0-16.el6

rsyslog.x86_64 0:4.6.2-3.el6

seabios.x86_64 0:0.6.1.2-3.el6

selinux-policy.noarch 0:3.7.19-93.el6

selinux-policy-targeted.noarch 0:3.7.19-93.el6

setup.noarch 0:2.8.14-12.el6

shadow-utils.x86_64 2:4.1.4.2-9.el6

smartmontools.x86_64 1:5.39.1-3.el6

sos.noarch 0:2.2-8.el6

strace.x86_64 0:4.5.19-1.10.el6

sudo.x86_64 0:1.7.4p5-5.el6

sysstat.x86_64 0:9.0.4-18.el6

systemtap-runtime.x86_64 0:1.4-6.el6

sysvinit-tools.x86_64 0:2.87-4.dsf.el6

tcsh.x86_64 0:6.17-12.el6

tkinter.x86_64 0:2.6.6-20.el6

udev.x86_64 0:147-2.35.el6

upstart.x86_64 0:0.6.5-10.el6

util-linux-ng.x86_64 0:2.17.2-12.el6

vgabios.noarch 0:0.6b-3.6.el6

vim-common.x86_64 2:7.2.411-1.6.el6

vim-enhanced.x86_64 2:7.2.411-1.6.el6

vim-minimal.x86_64 2:7.2.411-1.6.el6

virt-manager.noarch 0:0.8.6-4.el6

virt-top.x86_64 0:1.0.4-3.8.el6

virt-viewer.x86_64 0:0.2.1-3.el6

virtio-win.noarch 0:1.2.0-1.el6

vte.x86_64 0:0.25.1-6.el6

yum.noarch 0:3.2.29-17.el6

yum-metadata-parser.x86_64 0:1.1.2-16.el6

yum-plugin-priorities.noarch 0:1.1.30-6.el6

yum-utils.noarch 0:1.1.30-6.el6


Replaced:

cairo-spice.x86_64 0:1.8.7.1-4.el6

ffmpeg-spice-libs.x86_64 0:0.4.9-0.15.5spice.20080908.el6

pixman-spice.x86_64 0:0.13.3-5.el6

Complete!


(Note: yum command output is truncated)
Reboot the server:
# reboot

Verify that everything is working and new version is loaded:
# uname -a

Sample outputs:

2.6.32-131.0.15.el6.x86_64

Verify ports are open:
# netstat -tulpn
# tail -f /var/log/messages
# tail -f /path/to/log/file
# cat /etc/redhat-release

Sample outputs:

Red Hat Enterprise Linux Server release 6.1 (Santiago)

No comments:

Post a Comment