Description

This article lists the steps required to migrate existing Red Hat Enterprise Linux 6 & 7 servers deployed on the Managed Cloud Platform to the Red Hat Update Infrastructure used by the Managed Cloud Platform.

It is important to note that Red Hat servers that have been migrated to use Update Infrastructure will not work outside of the MCP network. That is, if you export the server and import it into another Cloud provider or into an on-premise hypervisor, the server will not be able to access the CDS servers that comprise our Update Infrastructure. You will be required to relicense the server with another provider or directly with Red Hat.

Prerequisites:

  1. This article describes the process for migrating Red Hat Enterprise Linux 6 & 7 servers. For instructions on migrating Red Hat Enterprise Linux 5 servers, please see this article: How to Migrate Existing Red Hat 5 Servers to Use the MCP Update Infrastructure
  2. Download to your server the RPM package containing the certificate package that grants access to the Update Infrastructure. There is a single RPM package for each major release of Red Hat Enterprise Linux, which will work regardless whether it's 32-bit or 64-bit.

Content / Solution:

  1. Install the 'yum-plugin-fastestmirror' to enable your servers to use the closest CDS (based on ping time) regardless of where it's deployed:

    # yum install yum-plugin-fastestmirror



  2. Rename the Red Hat Network systemid file:

    # mv /etc/sysconfig/rhn/systemid /etc/sysconfig/rhn/systemid.backup



  3. Purge the yum cache:

    # yum clean all

     

     

  4. Install the MCP client configuration package. These are specific to each release of Red Hat so install the version appropriate for your server (example uses RHEL 5.):

    # yum localinstall mcp-client-rhel5-2.0-1.noarch.rpm



  5. Rebuild the yum cache (this may take a few minutes to complete.):

    # yum makecache