此内容没有您所选择的语言版本。

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

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

  1. Update your OS to ensure it runs the latest kernel available. Execute:

    sudo yum update
    sudo reboot
  2. 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
  3. Create a rhel directory:

    sudo mkdir /rhel

20.2. Download of RHEL packages

  1. Log into Red Hat Customer Service Portal with your RHN account credentials.
  2. Click Downloads to visit the Software & Download Center.
  3. Click on Red Hat Enterprise Linux to visit it’s download page.
  4. Select Version as 6.6 from the drop-down list and click on Packages tab below.
  5. 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 your rhel directory:

    • redhat-release-server
    • rhn-check
    • rhn-client-tools
    • rhnlib
    • rhnsd
    • rhn-setup
    • yum
    • yum-metadata-parser
    • yum-rhn-plugin
    • yum-utils
  6. Install the Red Hat GnuPG signing key:

    cd /rhel
    sudo wget https://www.redhat.com/security/fd431d51.txt
    sudo rpm --import fd431d51.txt

20.3. Upgrade to RHEL 6.6

  1. Forcibly remove the package that identifies the current system as CentOS:

    sudo rpm -e --nodeps centos-release
  2. Forcibly upgrade to the downloaded RHEL and RHN packages:

    sudo rpm -Uhv --force *.rpm
    sudo rpm -e yum-plugin-fastestmirror
    sudo yum clean all
  3. Register the system with Red Hat Network:

    sudo rhn_register
  4. Update your system with the new yum repository:

    sudo yum update

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
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部