Performing a rollback operation on Avaya Hybrid Cloud Gateway

Last Updated : May 10, 2024 |

About this task

After at least one upgrade, you can perform a rollback operation on Avaya Hybrid Cloud Gateway. Avaya Hybrid Cloud Gateway stops functioning when the rollback operation is in progress.

If you perform a rollback operation after changing the Avaya Hybrid Cloud Gateway IP addresses or FQDNs, Avaya Hybrid Cloud Gateway continues to use these new IP addresses or FQDNs after the rollback operation. The rollback operation does not revert the IP address or FQDN changes.

Before you begin

  • Ensure that you log in to the Linux shell as a Linux account administrator.

  • Ensure that all the nodes in the cluster have the same inactive versions.

    Important:
    • Do not attempt a cluster rollback operation if all the nodes cannot roll back to the same inactive version. To view the inactive version on each node, run the following command: cat /etc/ucapp.properties | grep UCAPP_CAS_INACTIVE

    • Before performing a rollback operation, do not remove the inactive version using the following command: app removeinactive

      If the inactive version is removed, you cannot perform a rollback operation.

Procedure

  1. To rollback the cluster nodes to version hcg-1.0.0.0.470(HCG 1.0 GA), perform the following steps to uninstall the axp_admin connector:
    1. On the current Avaya Hybrid Cloud Gateway system, navigate to cdto misc and cd connectors/admin_connector/
    2. To uninstall the admin connector, run the following command: sudo ./axp_admin_connector_installscript.sh -uninstall
    3. To confirm that the admin connector is uninstalled, run the following command: systemctl status admin_connector.service

      You can view the following message: Unit admin_connector.service could not be found

  2. To rollback to the earlier version of Avaya Hybrid Cloud Gateway, run the following command: app rollback
    Note:

    In a cluster, you can perform a rollback operation on one node at a time. Always perform a rollback operation on the seed node at the last.

  3. After the rollback operation is complete, to restart the services, run the following command: svc csa restart
    Note:

    If the node is part of a cluster, complete the rollback operation on the other nodes individually before restarting services on any cluster node.

  4. To rollback to HCG 1.0.1GA from any latest version, perform the following steps:
    1. On the current Avaya Hybrid Cloud Gateway system, navigate to cdto misc and cd connectors/admin_connector/
    2. To rollback the admin connector, run the following command: sudo ./axp_admin_connector_installscript.sh -rollback /opt/Avaya/admin_connector
    3. To confirm that the admin connector rolls back to the previous version, run the following command to check the version of the admin connector: svc admin_connector swversion
    4. To verify the status of the admin connector services, run the following command: svc admin_connector status