Stage 5: IAG Migration
  • 29 Nov 2022
  • Dark
    Light
  • PDF

Stage 5: IAG Migration

  • Dark
    Light
  • PDF

Article Summary

Upgrade Itential Automation Gateway (IAG) and Ansible versions to align with the upgraded IAP version.

Note:

Check Release Notes for compatibility versions and dependencies.

  1. Launch Automation Gateway and audit (confirm) if you are able to view existing Scripts, Modules, Playbooks and Collections.

  2. From Automation Studio in IAP, refresh all AG Manager-Ansible tasks (i.e., modules/roles/playbooks).

    • Run a workflow with the undiscoverAll task.
    • Restart the Automation Gateway adapter.
  3. Run the following migration scripts from IAP.

    Path

    /node_modules/@itential/app-ag_manager/
    

    Scripts

    resultToStdOut

    node migration_scripts/migrateAGTasks.js
    

    ansibleAddGroups

    node migration_scripts/migrateAGTasks_groups.js
    

    addScriptEnv

    node migration_scripts/migrateScriptTasks.js
    
  4. ⚠ For automations containing Ansible tasks built prior to release 2020.2, run the following migration script. If a database backup exists, enter Y when prompted. Then verify the automations containing the Ansible tasks execute successfully.

   cd <PRONGHORN_HOME>
   cd ./current/node_modules/@itential/app-ag_manager
   npm run ansibleAddGroups


Was this article helpful?

What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.