Skip to content

Upgrading Anyware Connector

The Anyware connector on RHEL/Rocky Linux can be upgraded in a 2-step process as follows:

Upgrading a Connector

It is not possible to upgrade a Connector installed on Ubuntu to a Connector installed on RHEL or Rocky Linux. To replace a Connector installed on Ubuntu, you must install the RHEL/Rocky Linux Anyware Connector on a new virtual machine and configure it exactly the same as the existing Connector on Ubuntu.

Info

In-place upgrades of Anyware Connector installed before the Configuration Service was added prevent the activation of the Configuration Service. This happens because the service account associated with the Connector does not have the required privileges.

In this scenario, you have two options:

  • Disable the Push configuration service by running the following command: 

    anyware-connector configure -enable-configuration-service=false
    
  • Recreate the AWM Service account by getting a new Connector token: 

    anyware-connector configure --token 
    

After recreating the account, you should be able to activate and use the Configuration Service without any issues.

  1. You must install the new version of the Connector RPM:

    sudo dnf upgrade -y anyware-connector
    
  2. Run the following command to upgrade the Connector with the current configuration:

    sudo /usr/local/bin/anyware-connector upgrade
    

Once you have successfully upgraded the Connector you should see a response similar to the example output outlined below. Anyware Connector Update Terminal

Downgrading Anyware Connector

It is possible to downgrade Anyware Connector to the previous version. During the downgrade process, data is not backed up, and therefore, not restored after.

Note: Our Recommendation

We recommend that you perform a downgrade only if absolutely necessary.

To perform a downgrade:

  1. Make sure your data is backed up.

  2. Install the correct version of the Connector RPM:

    sudo dnf upgrade -y anyware-connector
    
  3. Run the following command to downgrade Anyware Connector:

        /usr/local/bin/anyware-connector downgrade