Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 20. Upgrading Your OS From CentOS 6.6 to RHEL 6.6
To upgrade your OS from CentOS 6.6 to RHEL 6.6, we recommend upgrading in the following sequence:
- Admin Node
- Monitor Nodes
- OSD Nodes
- Ceph Object Gateway Nodes.
Before starting the OS upgrade, stop your Ceph cluster. Execute:
sudo /etc/init.d/ceph -a stop
sudo /etc/init.d/ceph -a stop
Once you execute with -a
(i.e., execute on all nodes), Ceph should stop operating.
For ease of understanding, we will divide the upgrade section into three sub sections, viz:
- Prerequisites
- Download of RHEL packages
- Upgrade to RHEL 6.6
20.1. Prerequisite Link kopierenLink in die Zwischenablage kopiert!
Update your OS to ensure it runs the latest kernel available. Execute:
sudo yum update sudo reboot
sudo yum update sudo reboot
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Install packages that will be required by various Red Hat Network tools:
sudo yum install dbus-python libxml2-python m2crypto pyOpenSSL python-dmidecode python-ethtool python-gudev usermode
sudo yum install dbus-python libxml2-python m2crypto pyOpenSSL python-dmidecode python-ethtool python-gudev usermode
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Create a
rhel
directory:sudo mkdir /rhel
sudo mkdir /rhel
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
20.2. Download of RHEL packages Link kopierenLink in die Zwischenablage kopiert!
- Log into Red Hat Customer Service Portal with your RHN account credentials.
- Click Downloads to visit the Software & Download Center.
- Click on Red Hat Enterprise Linux to visit it’s download page.
- Select Version as 6.6 from the drop-down list and click on Packages tab below.
Use the Filter text box on the right hand side, search for and download the latest version of the following packages for
RHEL 6.6 x86_64
in yourrhel
directory:- redhat-release-server
- rhn-check
- rhn-client-tools
- rhnlib
- rhnsd
- rhn-setup
- yum
- yum-metadata-parser
- yum-rhn-plugin
- yum-utils
Install the Red Hat GnuPG signing key:
cd /rhel sudo wget https://www.redhat.com/security/fd431d51.txt sudo rpm --import fd431d51.txt
cd /rhel sudo wget https://www.redhat.com/security/fd431d51.txt sudo rpm --import fd431d51.txt
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
20.3. Upgrade to RHEL 6.6 Link kopierenLink in die Zwischenablage kopiert!
Forcibly remove the package that identifies the current system as CentOS:
sudo rpm -e --nodeps centos-release
sudo rpm -e --nodeps centos-release
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Forcibly upgrade to the downloaded RHEL and RHN packages:
sudo rpm -Uhv --force *.rpm sudo rpm -e yum-plugin-fastestmirror sudo yum clean all
sudo rpm -Uhv --force *.rpm sudo rpm -e yum-plugin-fastestmirror sudo yum clean all
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Register the system with Red Hat Network:
sudo rhn_register
sudo rhn_register
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Update your system with the new yum repository:
sudo yum update
sudo yum update
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
Once, you have upgraded your OS to RHEL 6.6, start ceph
from your admin node
and check if it is running properly.
Execute:
sudo /etc/init.d/ceph -a start
sudo /etc/init.d/ceph -a start