Process flow of the FnderRetProcessing stitcher
To configure the way in which DISCO handles newly discovered devices, edit the FnderRetProcessing.stch stitcher. This stitcher processes the entries that are placed into the finders.returns table.
The default process flow of the FnderRetProcessing.stch stitcher is:
- When an entry is placed in the finders.returns table, the stitcher checks whether the device is in the scope of the discovery. If the device is not in scope, it is ignored.
- If the device is in scope and disco.status.m_DiscoveryMode=0, that is, DISCO is in discovery mode, the stitcher moves the device details to either the finders.pending table to be processed later (if the discovery is in the blackout state) or the finders.processing table to be processed now.
- If the device is in scope and disco.status.m_DiscoveryMode=1,
that is, DISCO is in rediscovery mode, the stitcher determines whether
the device needs to be rediscovered. By default, the stitcher rediscovers:
- Devices for which finders.returns.m_Creator='Rediscovery'. There is no Rediscovery finder, but this column is set to 'Rediscovery' by other stitchers, such as ProcRemoteConns.stch, to indicate that as a result of rediscovering other devices this device needs to be rediscovered.
- Any newly found device that is in scope and has not already been discovered.
- If necessary, you can alter the section of the FnderRetProcessing.stch stitcher that performs the above checks in order to configure when rediscovery of a device takes place, although this configuration adjustment must be undertaken by advanced users only.
- If a device that has already been discovered is to be rediscovered, the stitcher refreshes the information held in the Helper Server that relates to that device.
- For all devices to be rediscovered, the stitcher removes the old entries for that device from the finders.processing, Details.returns and Details.despatch tables, copying the old information to the rediscoveryStore.dataLibrary table for comparison purposes.
- The stitcher then places the details of the device to be rediscovered into the finders.processing table and the FnderProcToDetailsDesp.stch stitcher moves the device details to the Details agent.