Inventory Manager can run in parallel with IAG 4, enabling gradual migration without disrupting your automation workflows. You can operate both systems simultaneously, validate your new setup, and transition at your own pace.
During migration, you can:
Why migrate?
Migrating from IAG 4 to Inventory Manager is a strategic modernization that improves reliability, simplifies integrations, and aligns with Itential Platform architecture. This guide provides step-by-step guidance for planning and executing your migration with minimal disruption.
What’s changing:
IAG 4 tightly couples inventory with execution engines. Inventory Manager decouples these concerns by introducing centralized, platform-managed inventory. Inventory data is federated from external systems, persisted within the Itential Platform, and refreshed explicitly via APIs or workflows. Execution is handled separately by IAG 5 using standardized drivers and services.
Learn more:
Document your IAG 4 deployment:
Which workflows use AutomationGateway adapter tasks?
What IAG 4 actions are used (is-alive, get-config, run-command, set-config)?
Which Configuration Manager operations use IAG 4 devices?
Which command templates reference IAG 4 devices?
Common patterns include segmentation by device type, environment, region, team, or vendor/platform. Choose the pattern that matches your operational structure.
Identify which IAG 5 drivers and platforms you’ll use:
For more information, see Configure driver options.
Map your IAG 4 ansible_network_os values to IAG 5 platform identifiers:
Use tags for device roles, environments, locations, criticality levels, or custom business attributes. For guidance, see Tags and organization.
Example transformation:
IAG 4:
Inventory Manager:
Secrets management: Migrate credentials from Ansible Vault to your Platform Secrets Manager. Reference secrets using $SECRET_<secret_name> $KEY_<key_name> notation.
You can use Jinja2 templates to transform inventory data. The following example demonstrates the approach. Adapt this template to reflect your specific structure:
Create an automated process to populate Inventory Manager by using either an Itential workflow or a Python script. The process should:
For more information, see Create and populate inventories.
is-alive connectivityget-config retrievalrun-command executionCommon troubleshooting:
Connectivity failures: Check IAG 5 network access, credentials, host/port values
Authentication failures: Verify $SECRET references and credentials in Secrets Manager
Command issues: Confirm itential_platform is correct, try both netmiko and scrapli drivers
Format differences: Compare output to IAG 4, adjust parsing logic if needed
Configure the Inventory Manager adapter in Device Broker to enable both IAG 4 and Inventory Manager during migration. For more information, see Device Broker support.
In the Device Broker adapter configuration properties, set prepend_inventory_name to true to prevent device name collisions:
This prevents device name collisions:
core-router-1production::core-router-1You can also expose specific inventories to Device Broker incrementally:
Workflows using IAG 4 AutomationGateway adapter tasks need to be refactored to use the new GatewayManager tasks designed for Inventory Manager. The new sendCommand and sendConfig services are built for workflow automation and provide batch operation support with workflow-optimized inputs and outputs.
Task inputs and outputs have changed. The new architecture enhances performance and capabilities, but you must update workflows to ensure valid execution and data manipulation.
IAG 4 AutomationGateway tasks (isAlive, runCommand, getConfig, setConfig) were designed for internal Itential application use through Device Broker. Inventory Manager introduces sendCommand and sendConfig services that are:
If you’re migrating workflows from IAG 4, use this mapping to update your workflow tasks:
For more information on sendCommand and sendConfig, including required inventory node attributes, see Send commands and configurations to devices via workflows.
IAG 4 AutomationGateway tasks required full device attributes in each task:
IAG 5 GatewayManager tasks leverage inventory data:
For each workflow that uses IAG 4, complete these steps:
Recommended approach: Start with low-risk workflows, refactor incrementally, and keep IAG 4 versions as backup during transition.
Update Configuration Manager components to use Inventory Manager devices:
For more information, see Configuration Manager integration.
Update command template operations:
For more information, see Command templates integration.
Run both systems in parallel to verify:
Stop new IAG 4 usage
Monitor for 48–72 hours for unexpected dependencies
Remove or disable IAG 4 in Device Broker
Archive IAG 4 configurations
Shut down IAG 4 instances