NAC and NES RollBack Steps

book

Article ID: 142290

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

We are planning to upgrade Cara. We want to know the steps needed in case to rollback

 

Environment

Release : 6.5

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Resolution

There is no automatic process of rollback in case of failure of any failure during upgrade. We try to list down some step can be taken in order to rollback with ease.

Before Upgrade:

DB:

  • Before running an upgrade make sure to create a snapshot of the respective DB, as post upgrade the schema_version in the DB will change and it is important to have this snapshot.

NAC & NES

  1. The easiest way is to create a backup copy of complete NAC/NES install directory in order to avoid more manual task.
  2. If not able to take complete backup than, please refer to document Best Practice guide prior to upgrade to have important directories and files to be backup before upgrade.

Risk: Any releases, activities etc. executed post DB snapshot was created will be lost when system will be restored to old DB snapshot.

Rollback post upgrade failures:

Unforeseen failure post upgrade, first try to check the respective logs to see if the ERROR is minor and can be corrected with small changes. Please try to search knowledge doc or contact technical support if needed.

In case if you have decided to rollback, below are the steps in the above mentioned two scenarios.

With complete backup of NAC/NES install directory prior to upgrade

  1. Make sure the services are stopped, if not please do the same.
  2. In Linux only, make sure to remove the service from run-level. It can be done via InstallDir/nolio_server.sh remove
  3. Restore the DB snapshot (Only required in case of NAC restore)
  4. Replace the existing folder of NAC/NES by backup folder of NAC/NES
  5. In Linux only, make sure the service is install in run-level. It can be done via InstallDir/nolio_server.sh install
  6. Start the service

With partial backup of NAC/NES install directory, based on document Best Practice guide prior to upgrade prior to upgrade

  1. Make sure the services are stopped, if not please do the same.
  2. Restore the DB snapshot (Only required in case of NAC restore)
  3. Replace the folder and files backup by upgrade in InstallDir/patchBackup/<cumulative_number> (example C:\Program Files\CA\ReleaseAutomationServer\patchBackup\6.6.0.10228) into respective locations. In case of zip unzip those and copy the respective files/content in them to respective destination location.
  4. Replace the files/directories back up post referring to document Best Practice guide prior to upgrade into respective locations.
  5. Start the service