Upgrading orcharhino Proxy Server

This guide describes how to upgrade an orcharhino Proxy Server to a newer version.

orcharhino is a large software suite undergoing active development. It is necessary to upgrade orcharhino when ATIX releases new versions to take advantage of its new features and bug fixes. Refer to the orcharhino Release Notes for more information.

ATIX provides guided upgrades performed by our consultants as part of our support subscriptions. Please contact us if you would like to make use of this service.

Ensure that you carefully read all of the instructions, warnings, and recommendations presented in this guide and the appropriate version specific orcharhino Upgrade Notes in the ATIX Service Portal. ATIX AG does not offer support for recovery from a failed upgrade if you did not follow our upgrade guide.

Version specific upgrade instructions are published in the ATIX Service Portal. Log in with your ATIX Support login credentials and follow the link to the orcharhino Upgrade Notes. Ensure you carefully read the version specific instructions before starting the upgrade and always create a snapshot/backup as part of your upgrade.

If you are skipping versions in a single upgrade, read all of the version specific instructions for all intermediary versions. For example, if you are upgrading from orcharhino 6.5 to 6.7, read both the instructions for the upgrade to version 6.6 and 6.7. Please contact us if you are unsure on how to start with your orcharhino upgrade.

ATIX AG does not support using third party repositories on your orcharhino Server or orcharhino Proxy Servers. 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.

Providing Content for orcharhino Proxy Server

orcharhino Proxies obtain their content, which is identical to the packages for orcharhino Server, from the orcharhino Server they are connected to.

Providing Content Using Script on orcharhino Server

You can use a script to provide content for orcharhino Proxy Servers. Run /opt/orcharhino/automation/play_orcharhino_proxy_content.sh on your orcharhino Server to automatically create the orcharhino Proxy product, include the repository in the content view, and publish a new version of the content view. You can configure the script using /etc/orcharhino-ansible/or_orcharhino_proxy_content_vars.yaml.

Providing Content Manually
  1. Navigate to Content > Products and create a product named orcharhino Proxy.

  2. Navigate to Content > Products, select the orcharhino Proxy product, and add a repository of type yum. On the Repositories tab (1), click the New Repository button (2):

    Adding a new repository to the orcharhino Proxy Server product

    Add the latest repository as found on your orcharhino Servers in /etc/yum.repos.d/redhat.repo.

  3. Navigate to Content > Content Views, select the content view of the orcharhino Proxy Server, and add the latest repository.

  4. Navigate to Content > Content Views, select the content view of the orcharhino Proxy Server, and publish a new version.

    Publishing a new version of the content view

    Click Publish New Version to publish a new version of the content view for your orcharhino Proxy Server.

Performing the Upgrade

Prerequisites
  • You have prepared content for orcharhino Proxy Server on your orcharhino.

  • You have a one time SSH connection to your orcharhino Proxy Server.

  • Ensure that you have enabled the required DNF modules on your orcharhino Proxy Server. For more information, see Installing the orcharhino Proxy Server Packages in Installing orcharhino Proxy Server.

Procedure
  1. Verify that the repositories on orcharhino Server are also available on your orcharhino Proxy Server by running the following command on your orcharhino Proxy Server:

    $ dnf repolist
  2. Enable repository for orcharhino 6.11 on your orcharhino Proxy Server:

    $ subscription-manager repos \
    --enable ATIX_orcharhino_Proxy_ATIX_orcharhino_Server_EL8_orcharhino_6_11
  3. Enable DNF module hotfixes for your orcharhino Proxy Server repository:

    $ subscription-manager repo-override \
    --add module_hotfixes:1 \
    --repo ATIX_orcharhino_Proxy_ATIX_orcharhino_Server_EL8_orcharhino_6_11
  4. Update all packages on your orcharhino Proxy Server:

    $ dnf upgrade
  5. Install the orcharhino-proxy package on your orcharhino Proxy Server:

    $ dnf install orcharhino-proxy
  6. Upgrade your orcharhino Proxy Server:

    $ orcharhino-installer

Migrating Managed Hosts from orcharhino Proxy to Another orcharhino Proxy

There are several aspects you have to keep in mind if you plan to migrate managed hosts from orcharhino Server or orcharhino Proxy to another orcharhino Proxy. The procedure depends on your IT infrastructure and your orcharhino setup. If you are unsure how to do this, please contact us.

In general, we recommend updating your orcharhino Proxies. If you want to deploy new orcharhino Proxies instead, ensure you keep the following in mind:

Steps on managed hosts
  • Register your managed hosts to your orcharhino Proxy. You have to change the certificates for subscription-manager and re-register your host with your target orcharhino Proxy.

  • If you configure your managed host using Puppet or Salt, you need to change the respective orcharhino Proxy for Puppet Proxy or Salt Master.

  • If your managed host relies on orcharhino Proxy for DNS, you need to change the DNS on your managed host.

Steps on orcharhino Proxies
  • If your orcharhino Proxy acts as Puppet Master or Salt Master, you need to copy the Puppet or Salt certificates to your target orcharhino Proxy.

  • If you rely on configuration management objects such as Ansible roles, Puppet modules, or Salt states, you have to copy them to your target orcharhino Proxy. For more information, see Synchronizing Configuration Management Objects.

  • If your orcharhino Proxy provides DHCP and/or DNS for its subnet, ensure to migrate all DHCP and/or DNS entries to your target orcharhino Proxy.

  • By design, each orcharhino Proxy has its own SSH key pair. If you configure managed hosts using Ansible through your orcharhino Proxy, you have to migrate the used SSH key to your target orcharhino Proxy.