Managing the phases
The different phases of the discovery data collection stage are managed by an internal phase manager.
The phase manager:
- Reads the maximum overall phase number and calculates the total number of phases when all the discovery agent and stitcher definition files are loaded.
- Calculates the phase and process dependencies, that is, which discovery agents are scheduled to run in which phases.
- Monitors the processes running during the phases.
When the phase manager detects that all the processes for the current phase have completed, it sends a signal indicating phase completion for all the processes that are waiting to be launched in the next phase.