IAG Auto Discovery Using DiscoverAll Task

Prev Next

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.

Example Workflow

An example of the discoverAll task on the canvas is shown below (Figure 1).

Figure 1: DiscoverAll Task
01_DiscoverAll_24_1

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
03_DiscoverAll_Success_

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
02_DioscoverAll_Error_24_1

Best Practice:

When the /pronghorn endpoint in IAG generates different content after an update, you should run the discoverAlltask .