Upgrading orcharhino 6.3 from EL7 to EL8

This guide describes how you can upgrade the base OS of orcharhino 6.3 from EL7 to EL8.

Before you can start the Leapp upgrade process from EL7 to EL8, ensure that you have a valid orcharhino Subscription Key for EL8. If this is not yet the case, please contact sales@orcharhino.com and request an orcharhino Subscription Key for EL8 for your orcharhino.

Note that the Leapp upgrade process requires multiple reboots and takes time depending on your environment. During the Leapp upgrade, orcharhino services are unavailable.

Ensure you carefully read all of the instructions, warnings, and recommendations presented in this guide and Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal. ATIX does not offer support for recovery from a failed upgrade if you did not follow our upgrade guide.

ATIX does not support using third party repositories on your orcharhino Server or orcharhino Proxies. Resolving package conflicts or other issues due to third party or custom repositories is not part of your orcharhino support subscription. Please contact us if you have any questions.

Leapp Upgrade Paths

You can run orcharhino 6.3 on CentOS 7, Oracle Linux 7, and Red Hat Enterprise Linux 7. From EL7, orcharhino supports the following Leapp upgrade paths:

  • CentOS 7 > Alma Linux 8

  • Oracle Linux 7 > Oracle Linux 8

  • Red Hat Enterprise Linux 7 > Red Hat Enterprise Linux 8

Upgrading orcharhino Server from EL7 to EL8

Use this procedure to upgrade orcharhino Server 6.3 from EL7 to EL8. Note that the Leapp upgrade process results in downtime of orcharhino.

Prerequisites
  • Ensure your orcharhino Server is running orcharhino 6.3.

  • Ensure you have your orcharhino Subscription Key for EL8.

  • If you are using custom repositories, please contact us on how to migrate them from EL7 to EL8. Note that this is not supported.

Preparing Leapp

Procedure
  1. Backup your orcharhino instance:

    We generally recommend running orcharhino as a virtual server and performing a system snapshot at this point. For more information, see backing up orcharhino.

  2. Update all packages on your orcharhino Server:

    # yum update
  3. Reboot your orcharhino Server:

    # reboot
  4. On Oracle Linux 7 only: Add the Oracle Linux 7 DNF repository as /etc/yum.repos.d/ol_7_dnf.repo:

    [ol_7_dnf]
    name=Oracle Linux 7 DNF
    baseurl= URL_to_DNF_for_Oracle_Linux_7
    enabled=1
    gpgcheck=0
    repo_gpgcheck=0

    For the URL, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

  5. Install Leapp on your orcharhino Server:

    # yum install dnf
    # yum install --disablerepo=* --enablerepo=ATIX_P_orcharhino_6_3_release_R_orcharhino_6_3_release leapp leapp-repository leapp-data-My_Target_OS

    The name of the package depends on your Leapp upgrade path:

    • On CentOS 7: leapp-data-almalinux

    • On Oracle Linux 7: leapp-data-oraclelinux

    • On Red Hat Enterprise Linux 7: leapp-data-rhel

  6. If you use Puppet 6, you have to adjust the repository mapping for Leapp:

    # sed -i 's/"ATIX_P_Puppet7_EL8_R_Puppet7_EL8"/"ATIX_P_Puppet6_EL8_R_Puppet6_EL8"/g' /etc/leapp/files/pes-events.json
    # sed -i 's/"ATIX_P_Puppet7_EL8_R_Puppet7_EL8"/"ATIX_P_Puppet6_EL8_R_Puppet6_EL8"/g' /etc/leapp/files/repomap.json
    # sed -i 's/"ATIX_P_Puppet7_R_Puppet7"/"ATIX_P_Puppet6_R_Puppet6"/g' /etc/leapp/files/pes-events.json
    # sed -i 's/"ATIX_P_Puppet7_R_Puppet7"/"ATIX_P_Puppet6_R_Puppet6"/g' /etc/leapp/files/repomap.json

    Without these adjustments, orcharhino upgrades Puppet 6 to Puppet 7 during the Leapp upgrade process. orcharhino supports running Puppet 6 or 7, but not all of your custom Puppet modules might be compatible with both Puppet 6 and Puppet 7.

Registering to ACC

Procedure
  • Enable your orcharhino Subscription Key for orcharhino on EL8:

    # ensure to use the latest install_orcharhino.sh script (>=2.6.0)
    # wget -O install_orcharhino.sh URL_to_install_orcharhino.sh: see https://atixservice.zendesk.com/hc/de/articles/8068669300508
    
    # chmod +x install_orcharhino.sh
    
    # register to ATIX Customer Center with your new orcharhino Subscription Key (.osk file)
    # ./install_orcharhino.sh --register-only --override-distro My_Target_OS My_OSK_File

    Ensure to set the target OS according to your Leapp upgrade path:

    • On CentOS 7: almalinux-8

    • On Oracle Linux 7: ol-8

    • On Red Hat Enterprise Linux 7: rhel-8

      If you use an HTTP/HTTPS proxy in your environment, append its configuration options to install_orcharhino.sh:

    • --http-proxy-scheme=My_Scheme: Provide either http or https; defaults to http.

    • --http-proxy-host=My_FQDN: Provide the FQDN or IP address of your HTTP/HTTPS proxy to connect to the internet.

    • --http-proxy-port=My_Port: Provide the port of your HTTP/HTTPS proxy.

    • --http-proxy-user=My_User_Name: Provide the user name of your HTTP/HTTPS proxy.

    • --http-proxy-passwd=My_Password: Provide the password of your HTTP/HTTPS proxy.

      If you use Puppet 6, append --puppet-version=6 to install_orcharhino.sh.

    For a complete list of configuration options, run ./install_orcharhino.sh --help.

Ensure the specified --override-distro is the same as the one your orcharhino Subscription Key was created for.

Running Leapp

Procedure
  1. On Oracle Linux 7 only: Set the ENABLE_REPO_LIST environment variable:

    # export ENABLE_REPO_LIST="--enablerepo=orcharhino_Oracle_8_Client --enablerepo=Oracle_8_AppStream_Mirror --enablerepo=Oracle_8_BaseOS_Mirror"
  2. Set the ENABLE_REPO_LIST environment variable:

    # export ENABLE_REPO_LIST="$ENABLE_REPO_LIST --enablerepo=or_maintain_x86_64"
  3. Perform Leapp pre-upgrade checks:

    # leapp preupgrade $ENABLE_REPO_LIST

    Note that the Leapp pre-upgrade check is expected to fail during the first run, but report issues and inhibit the upgrade. Examine the report in the /var/log/leapp/leapp-report.txt file, answer all questions using leapp answer, and manually resolve the other reported problems. If you encounter any additional issues, please have a look at the orcharhino Knowledge Base or contact the orcharhino support team.

  4. On Red Hat Enterprise Linux 7 only: Remove a no longer required Kernel module:

    # rmmod pata_acpi
  5. Provide answers to the Leapp upgrade process:

    # leapp answer --section remove_pam_pkcs11_module_check.confirm=True
  6. Rerun the Leapp pre-upgrade checks:

    # leapp preupgrade $ENABLE_REPO_LIST

    If Leapp reports issues, please contact us.

  7. On Oracle Linux 7 only: Ensure that your orcharhino Server does not run Oracle’s Unbreakable Enterprise Kernel during the Leapp upgrade. For more information, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

  8. On Oracle Linux 7 only: Ensure uname26 is not installed:

    # yum remove uname26
  9. Perform the Leapp upgrade:

    # leapp upgrade $ENABLE_REPO_LIST
  10. Reboot your orcharhino Server:

    # reboot

    Part of the Leapp upgrade process takes place after rebooting your orcharhino Server. During the reboot, you cannot connect to orcharhino Server using SSH. Instead, you can use a web console provided by your virtualization solution running orcharhino Server, such as VMware Remote Console.

  11. After the reboot, follow the output of the Leapp upgrade process:

    # journalctl -u leapp_resume -f

    The Leapp upgrade process must end with leapp_resume.service: Succeeded.. If Leapp reports errors, please contact us.

  12. On Alma Linux 8 only: Remove all no longer required repository files:

    # find /etc/yum.repos.d -type f -iname "CentOS-*.repo*" -exec rm {} \;
    # find /etc/yum.repos.d -type f -iname "almalinux*.repo" -exec rm {} \; -exec touch {} \;
  13. On Oracle Linux 8 only: Remove all no longer required repository files:

    # find /etc/yum.repos.d -type f -iname "*-ol7.repo*" -exec rm {} \;
    # find /etc/yum.repos.d -type f -iname "*-ol8.repo" -exec rm {} \; -exec touch {} \;
    # rm /etc/yum.repos.d/ol_7_dnf.repo
  14. Remove all temporary repository file backups:

    # rm /etc/yum.repos.d/*.original
  15. Configure orcharhino Server:

    # orcharhino-installer
  16. Reindex the PostgreSQL database:

    # cd /
    # runuser -u postgres -- reindexdb -a
  17. Update all packages on your orcharhino Server:

    # dnf update
  18. Empty the list of protected packages:

    # dnf config-manager --save --setopt exclude=""
  19. List remaining EL7-specific packages:

    # rpm -qa | grep -e "\.el[67]" | grep -vE "^(gpg-pubkey|libmodulemd|katello-ca-consumer|subscription-manager)" | sort -u
  20. Remove remaining EL7-specific packages:

    # dnf remove My_Remaining_EL7_Packages
  21. List and remove old Kernels on your orcharhino Server:

    # grubby --info=ALL | grep "\.el7"
    # /bin/kernel-install remove My_Old_Kernel_Version
  22. Optional: If you require SELinux to be in enforcing mode, perform the following steps:

    1. Set SELinux=enforcing in /etc/selinux/config.

    2. Reinstall required packages:

      # dnf reinstall foreman-selinux katello-selinux orcharhino-selinux
    3. Reconfigure orcharhino Server:

      # orcharhino-installer
      # touch /.autorelabel
  23. Reboot your orcharhino Server:

    # reboot
  24. Verify all orcharhino services are running:

    # hammer ping
  25. Navigate to Administer > About and check the Backend System Status. Ensure the box lists each component with status OK.

Upgrading orcharhino Server from EL7 to EL8 in a Disconnected Environment

If your orcharhino Server is not registered with ATIX ACC but receives content through a local or remote repository, you have to manually adjust the repository IDs before starting the Leapp upgrade process. Use this procedure if orcharhino Server consumes a local Yum repository such as file:///mnt/my_disk/orcharhino_release_6.3/ or a remote Yum repository such as http://mirror.example.com/orcharhino_release_6.3 with custom repository IDs.

Prerequisites
  • Ensure your orcharhino Server is running orcharhino 6.3.

  • Ensure you have your orcharhino Subscription Key for EL8.

  • If you are using custom repositories, please contact us on how to migrate them from EL7 to EL8. Note that this is not supported.

  • Ensure your orcharhino Server has access to the latest orcharhino 6.3 release provided by ATIX.

  • Ensure your orcharhino Server has access to the latest EL7 repositories provided by ATIX.

  • Ensure your orcharhino Server has access to the latest EL8 repositories provided by ATIX.

Preparing Leapp

Procedure
  1. Backup your orcharhino instance:

    We generally recommend running orcharhino as a virtual server and performing a system snapshot at this point. For more information, see backing up orcharhino.

  2. Update all packages on your orcharhino Server:

    # yum update
  3. Reboot your orcharhino Server:

    # reboot
  4. On Oracle Linux 7 only: Add the Oracle Linux 7 DNF repository as /etc/yum.repos.d/ol_7_dnf.repo:

    [ol_7_dnf]
    name=Oracle Linux 7 DNF
    baseurl= URL_to_DNF_for_Oracle_Linux_7
    enabled=1
    gpgcheck=0
    repo_gpgcheck=0

    For the URL, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

    Provide the repository using your local mirror similar to all other repositories from ATIX.

  5. Install Leapp on your orcharhino Server:

    # yum install dnf
    # yum install --disablerepo=* --enablerepo=ATIX_P_orcharhino_6_3_release_R_orcharhino_6_3_release leapp leapp-repository leapp-data-My_Target_OS

    Replace the repository ID with your local mirror of the orcharhino 6.3 repository.

    The name of the package depends on your Leapp upgrade path:

    • On CentOS 7: leapp-data-almalinux

    • On Oracle Linux 7: leapp-data-oraclelinux

    • On Red Hat Enterprise Linux 7: leapp-data-rhel

  6. Enable module_hotfixes for your orcharhino 6.3 repository:

    # sed -i '/\[ATIX_P_orcharhino_6_3_release_EL8_R_orcharhino_6_3_release_EL8\]/amodule_hotfixes\=1' /etc/yum.repos.d/redhat.repo

    Replace the repository ID with your local mirror of the orcharhino 6.3 repository.

Switching Content

Switch content from EL7 to EL8 on your orcharhino Server.

Procedure
  1. Optional: List all available repositories on orcharhino Server:

    # yum repolist all
  2. Disable all EL7 repositories and enable all EL8 repositories:

    # yum-config-manager --disable My_EL7_Repository_1 --disable My_EL7_Repository_2
    # yum-config-manager --enable My_EL8_Repository_1 --enable My_EL8_Repository_2

Handling Offline Scenarios

Replace the default repository IDs to match your custom repository IDs in /etc/leapp/files/pes-events.json and /etc/leapp/files/repomap.json. Replace Default_Repository_ID for all repositories required for orcharhino: all common repository IDs and all OS-specific repository IDs:

# sed -i 's/"Default_Repository_ID"/"My_Custom_Repository_ID"/g' /etc/leapp/files/pes-events.json
# sed -i 's/"Default_Repository_ID"/"My_Custom_Repository_ID"/g' /etc/leapp/files/repomap.json

For a list of all repository IDs, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

Running Leapp

If you upgrade orcharhino Server in a disconnected environment, you have to enable all EL8 repositories using their repo ID during the Leapp preupgrade and upgrade steps. You can view all currently present repository IDs using find /etc/yum.repos.d -type f -name "*.repo" | xargs grep --no-filename "^\[" | sort -u. Specify each EL8 repository for all leapp preupgrade and leapp upgrade commands using --enablerepo=My_Custom_EL8_Repository_ID.

Procedure
  1. Perform Leapp pre-upgrade checks:

    # leapp preupgrade --no-rhsm --enablerepo=_My_Custom_EL8_Repository_ID_1_ --enablerepo=_My_Custom_EL8_Repository_ID_2_

    Note that the Leapp pre-upgrade check is expected to fail during the first run, but report issues and inhibit the upgrade. Examine the report in the /var/log/leapp/leapp-report.txt file, answer all questions using leapp answer, and manually resolve the other reported problems. If you encounter any additional issues, please have a look at the orcharhino Knowledge Base or contact the orcharhino support team.

  2. On Red Hat Enterprise Linux 7 only: Remove a no longer required Kernel module:

    # rmmod pata_acpi
  3. Provide answers to the Leapp upgrade process:

    # leapp answer --section remove_pam_pkcs11_module_check.confirm=True
  4. Rerun the Leapp pre-upgrade checks:

    # leapp preupgrade --no-rhsm --enablerepo=_My_Custom_EL8_Repository_ID_1_ --enablerepo=_My_Custom_EL8_Repository_ID_2_

    If Leapp reports issues, please contact us.

  5. On Oracle Linux 7 only: Ensure that your orcharhino Server does not run Oracle’s Unbreakable Enterprise Kernel during the Leapp upgrade. For more information, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

  6. On Oracle Linux 7 only: Ensure uname26 is not installed:

    # yum remove uname26
  7. Perform the Leapp upgrade:

    # leapp upgrade --no-rhsm --enablerepo=_My_Custom_EL8_Repository_ID_1_ --enablerepo=_My_Custom_EL8_Repository_ID_2_
  8. Reboot your orcharhino Server:

    # reboot

    Part of the Leapp upgrade process takes place after rebooting your orcharhino Server. During the reboot, you cannot connect to orcharhino Server using SSH. Instead, you can use a web console provided by your virtualization solution running orcharhino Server, such as VMware Remote Console.

  9. After the reboot, follow the output of the Leapp upgrade process:

    # journalctl -u leapp_resume -f

    The Leapp upgrade process must end with leapp_resume.service: Succeeded.. If Leapp reports errors, please contact us.

  10. On Alma Linux 8 only: Remove all no longer required repository files:

    # find /etc/yum.repos.d -type f -iname "CentOS-*.repo*" -exec rm {} \;
    # find /etc/yum.repos.d -type f -iname "almalinux*.repo" -exec rm {} \; -exec touch {} \;
  11. On Oracle Linux 8 only: Remove all no longer required repository files:

    # find /etc/yum.repos.d -type f -iname "*-ol7.repo*" -exec rm {} \;
    # find /etc/yum.repos.d -type f -iname "*-ol8.repo" -exec rm {} \; -exec touch {} \;
    # rm /etc/yum.repos.d/ol_7_dnf.repo
  12. Remove all temporary repository file backups:

    # rm /etc/yum.repos.d/*.original
  13. Configure orcharhino Server:

    # orcharhino-installer
  14. Reindex the PostgreSQL database:

    # cd /
    # runuser -u postgres -- reindexdb -a
  15. Update all packages on your orcharhino Server:

    # dnf update
  16. Empty the list of protected packages:

    # dnf config-manager --save --setopt exclude=""
  17. List remaining EL7-specific packages:

    # rpm -qa | grep -e "\.el[67]" | grep -vE "^(gpg-pubkey|libmodulemd|katello-ca-consumer|subscription-manager)" | sort -u
  18. Remove remaining EL7-specific packages:

    # dnf remove My_Remaining_EL7_Packages
  19. List and remove old Kernels on your orcharhino Server:

    # grubby --info=ALL | grep "\.el7"
    # /bin/kernel-install remove My_Old_Kernel_Version
  20. Optional: If you require SELinux to be in enforcing mode, perform the following steps:

    1. Set SELinux=enforcing in /etc/selinux/config.

    2. Reinstall required packages:

      # dnf reinstall foreman-selinux katello-selinux orcharhino-selinux
    3. Reconfigure orcharhino Server:

      # orcharhino-installer
      # touch /.autorelabel
  21. Reboot your orcharhino Server:

    # reboot
  22. Verify all orcharhino services are running:

    # hammer ping
  23. Navigate to Administer > About and check the Backend System Status. Ensure the box lists each component with status OK.

Upgrading orcharhino Proxies from EL7 to EL8

orcharhino Proxies consume the same content as orcharhino Server. During the orcharhino 6.3 lifecycle, you have to upgrade orcharhino Proxies on EL7 to EL8 using Leapp or redeploy them. You have to manually adjust the repository IDs before starting the Leapp upgrade process.

Prerequisites
  • Ensure your orcharhino Server is running orcharhino 6.3.

  • Ensure you have your orcharhino Subscription Key for EL8.

  • If you are using custom repositories, please contact us on how to migrate them from EL7 to EL8. Note that this is not supported.

  • Ensure your orcharhino Proxy has access to the latest orcharhino 6.3 release provided by ATIX.

  • Ensure your orcharhino Proxy has access to the latest EL7 repositories provided by ATIX.

  • Ensure your orcharhino Proxy has access to the latest EL8 repositories provided by ATIX.

  • Ensure your orcharhino Proxy is running orcharhino 6.3. For more information, see Providing Content for orcharhino Proxy and Performing the Upgrade in Upgrading orcharhino Proxy.

  • Ensure your orcharhino Proxy has orcharhino-proxy installed:

    # yum install orcharhino-proxy

Preparing Leapp

Procedure
  1. Backup your orcharhino instance:

    We generally recommend running orcharhino as a virtual server and performing a system snapshot at this point. For more information, see backing up orcharhino.

  2. Update all packages on your orcharhino Proxy:

    # yum update
  3. Reboot your orcharhino Proxy:

    # reboot
  4. On Oracle Linux 7 only: Add the Oracle Linux 7 DNF repository as /etc/yum.repos.d/ol_7_dnf.repo:

    [ol_7_dnf]
    name=Oracle Linux 7 DNF
    baseurl= URL_to_DNF_for_Oracle_Linux_7
    enabled=1
    gpgcheck=0
    repo_gpgcheck=0

    For the URL, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

    If your orcharhino Proxy runs in a disconnected environment, you can synchronize the repository using the Upstream URL as mentioned above and use the Published At URL as baseurl on your orcharhino Proxy. After upgrading all Oracle Linux based orcharhino Proxies to EL8, you can remove the Oracle Linux 7 DNF repository from your orcharhino Server.

  5. Install Leapp on your orcharhino Proxy:

    # yum install dnf
    # yum install --disablerepo=* --enablerepo=ATIX_P_orcharhino_6_3_release_R_orcharhino_6_3_release leapp leapp-repository leapp-data-My_Target_OS

    Replace the repository ID with the repository ID for orcharhino 6.3 provided by your orcharhino Server.

    The name of the package depends on your Leapp upgrade path:

    • On CentOS 7: leapp-data-almalinux

    • On Oracle Linux 7: leapp-data-oraclelinux

    • On Red Hat Enterprise Linux 7: leapp-data-rhel

  6. If you use Puppet 6, you have to adjust the repository mapping for Leapp:

    # sed -i 's/"ATIX_P_Puppet7_EL8_R_Puppet7_EL8"/"ATIX_P_Puppet6_EL8_R_Puppet6_EL8"/g' /etc/leapp/files/pes-events.json
    # sed -i 's/"ATIX_P_Puppet7_EL8_R_Puppet7_EL8"/"ATIX_P_Puppet6_EL8_R_Puppet6_EL8"/g' /etc/leapp/files/repomap.json
    # sed -i 's/"ATIX_P_Puppet7_R_Puppet7"/"ATIX_P_Puppet6_R_Puppet6"/g' /etc/leapp/files/pes-events.json
    # sed -i 's/"ATIX_P_Puppet7_R_Puppet7"/"ATIX_P_Puppet6_R_Puppet6"/g' /etc/leapp/files/repomap.json

    Without these adjustments, orcharhino upgrades Puppet 6 to Puppet 7 during the Leapp upgrade process. orcharhino supports running Puppet 6 or 7, but not all of your custom Puppet modules might be compatible with both Puppet 6 and Puppet 7.

  7. Enable module_hotfixes for your orcharhino 6.3 repository:

    # subscription-manager repo-override --repo ATIX_P_orcharhino_6_3_release_EL8_R_orcharhino_6_3_release_EL8 --add module_hotfixes:1

    Replace the repository ID with the repository ID for orcharhino 6.3 provided by your orcharhino Server.

Updating Content

Update the content provided from orcharhino Server to your orcharhino Proxies.

Procedure
  1. Create and publish a content view that contains all required repositories for EL8. For more information, see Providing Content for orcharhino Proxy in Upgrading orcharhino Proxy.

  2. Update the Yum cache on orcharhino Proxy:

    # yum makecache
  3. Optional: List all available repositories on orcharhino Proxy:

    # yum repolist all

Adjusting Leapp for orcharhino Proxies

If you provide content to orcharhino Proxies from orcharhino using the orcharhino Configuration - orcharhino Proxy Content job template, you can use a script to replace all repository IDs within /etc/leapp/files/pes-events.json and /etc/leapp/files/repomap.json. Run the following command on your orcharhino Proxy:

# /usr/bin/or_proxy_prepare_leapp "My_Organization"

If you provide content to orcharhino Proxies using custom repositories, you have to manually replace the default repository IDs. For more information, see Handling Offline Scenarios.

Running Leapp

Procedure
  1. Perform Leapp pre-upgrade checks:

    # leapp preupgrade

    Note that the Leapp pre-upgrade check is expected to fail during the first run, but report issues and inhibit the upgrade. Examine the report in the /var/log/leapp/leapp-report.txt file, answer all questions using leapp answer, and manually resolve the other reported problems. If you encounter any additional issues, please have a look at the orcharhino Knowledge Base or contact the orcharhino support team.

  2. On Red Hat Enterprise Linux 7 only: Remove a no longer required Kernel module:

    # rmmod pata_acpi
  3. Provide answers to the Leapp upgrade process:

    # leapp answer --section remove_pam_pkcs11_module_check.confirm=True
  4. Rerun the Leapp pre-upgrade checks:

    # leapp preupgrade

    If Leapp reports issues, please contact us.

  5. On Oracle Linux 7 only: Ensure that your orcharhino Proxy does not run Oracle’s Unbreakable Enterprise Kernel during the Leapp upgrade. For more information, see Upgrading orcharhino from EL7 to EL8 in the ATIX Service Portal.

  6. On Oracle Linux 7 only: Ensure uname26 is not installed:

    # yum remove uname26
  7. Perform the Leapp upgrade:

    # leapp upgrade
  8. Reboot your orcharhino Proxy:

    # reboot

    Part of the Leapp upgrade process takes place after rebooting your orcharhino Proxy. During the reboot, you cannot connect to orcharhino Proxy using SSH. Instead, you can use a web console provided by your virtualization solution running orcharhino Proxy, such as VMware Remote Console.

  9. After the reboot, follow the output of the Leapp upgrade process:

    # journalctl -u leapp_resume -f

    The Leapp upgrade process must end with leapp_resume.service: Succeeded.. If Leapp reports errors, please contact us.

  10. On Alma Linux 8 only: Remove all no longer required repository files:

    # find /etc/yum.repos.d -type f -iname "CentOS-*.repo*" -exec rm {} \;
    # find /etc/yum.repos.d -type f -iname "almalinux*.repo" -exec rm {} \; -exec touch {} \;
  11. On Oracle Linux 8 only: Remove all no longer required repository files:

    # find /etc/yum.repos.d -type f -iname "*-ol7.repo*" -exec rm {} \;
    # find /etc/yum.repos.d -type f -iname "*-ol8.repo" -exec rm {} \; -exec touch {} \;
    # rm /etc/yum.repos.d/ol_7_dnf.repo
  12. Remove all temporary repository file backups:

    # rm /etc/yum.repos.d/*.original
  13. Configure orcharhino Proxy:

    # orcharhino-installer
  14. Reindex the PostgreSQL database:

    # cd /
    # runuser -u postgres -- reindexdb -a
  15. Update all packages on your orcharhino Proxy:

    # dnf update
  16. Empty the list of protected packages:

    # dnf config-manager --save --setopt exclude=""
  17. List remaining EL7-specific packages:

    # rpm -qa | grep -e "\.el[67]" | grep -vE "^(gpg-pubkey|libmodulemd|katello-ca-consumer|subscription-manager)" | sort -u
  18. Remove remaining EL7-specific packages:

    # dnf remove My_Remaining_EL7_Packages
  19. Install the orcharhino-proxy package:

    # dnf install orcharhino-proxy
  20. Optional: If you require SELinux to be in enforcing mode, perform the following steps:

    1. Set SELinux=enforcing in /etc/selinux/config.

    2. Reinstall required packages:

      # dnf reinstall foreman-selinux
    3. Reconfigure orcharhino Proxy:

      # orcharhino-installer
      # touch /.autorelabel
  21. Reboot your orcharhino Proxy:

    # reboot
  22. Verify all orcharhino Proxy services are running:

    # systemctl status foreman-proxy.service
  23. In the orcharhino management UI, navigate to Infrastructure > Smart Proxies and select your orcharhino Proxy. Ensure the table specifies No Failed Features.