- 12 Jun 2024
-
DarkLight
-
PDF
IAG Auto Discovery Using DiscoverAll Task
- Updated on 12 Jun 2024
-
DarkLight
-
PDF
Workflow Task to Discover IAG Instances
A new workflow task named discoverAll
has been added to the AG Manager task list. Running discoverAll
in an automation will discover all attached IAG instances and update the pronghorn.json
file before restarting the AG Manager application. This task eliminates the need to manually discover each IAG "one at a time". When utilizing the discoverAll
task, the API call is made programmatically on task execution via the workflow.
See related: New Workflow Task Added to AG Manager
Example Workflow
An example of the discoverAll
task on the canvas is shown below (Figure 1).
Figure 1: DiscoverAll Task
After running the automation, refresh the page to update the view.
Navigate to the Operations (Ops) Manager view to verify if the job was a success (Figure 2).
Figure 2: Ops Manager Result
If the job is unsuccessful, an error object will be displayed in the Ops Manager result view. For this example, the first IAG instance was not running (Figure 3).
Figure 3: Ops Manager Result Unsuccessful
When the /pronghorn
endpoint in IAG generates different content after an update, you should run the discoverAll
task .