Configuring for asynchronous discovery
To run an asynchronous discovery, you must first configure the discovery.
To configure for asynchronous discovery, you must generate a discovery script package, copy the package to the target system, and run the script on the target system. The output of the discovery script is an archive file that contains the discovery results. You must then move this archive file to the TADDM server.
Run the discovery. You do not need root authority to run this discovery.
During the discovery, if the ping, port, or
session sensor cannot access the target system, the target system
is determined to be unreachable. If the value of the com.ibm.cdb.discover.asd.ProcessUnreachableIPs
property is set to true, the asynchronous
discovery sensor is run to process the discovery archive file for
the target system. The archive file is processed only if the IP address
from the discovery scope matches the IP address of the system that
produced the archive file. Based on the contents of the archive file,
sensors will be scheduled to process their script output. After the
archive file is processed, it is renamed to tarfilename.tar_DONE so that it is not processed again.
- Rename the archive file to its original name. For example, remove
_DONE
from the file name. - The .processed file in the $COLLATION_HOME/var/asdd directory contains a list of the processed archive files. Remove the name of the archive file from the .processed file.
Multiple archive files from different systems can be processed in a single discovery run, but only one archive file per target system is processed during a single discovery run. If one target system has multiple archive files, only the one with latest time stamp is processed.
To discover multiple archive files from different systems in a
single discovery run, copy each archive file to the location that
is defined by the com.ibm.cdb.discover.asd.AsyncDiscoveryResultsDirectory
property. Include the IP address of each target system in the discovery
scope.
Because the discovery script uses the tar command to create the discovery archive file, if you are using a
TADDM server that is running the Windows operating system, you must install a third party tar
program for TADDM to use to extract the files from the archive file.
The location of the tar program is defined by the com.ibm.cdb.tarpath
property.
For reference, 'bsdtar
' third party tar implementation is found to be supported
when configured through above mentioned property for TADDM server running on Windows operating
system.
Property Name | Possible Values | Description |
---|---|---|
com.ibm.cdb.discover.asd.autodiscovery.enabled | True/false | If true, it will enable the option to process the stored ASD results files. Default value is false. |
com.ibm.cdb.discover.asd.autodiscovery.asdScope | <scope name> Default = ASD | The thread will pick the target mentioned in this scope to process result file. If this property is not mentioned, default ASD scope is processed. |
com.ibm.cdb.discover.asd.autodiscovery.asdProfile | <profile name> Default = ASD | The thread will pick the sensors mentioned in this profile to process result file. If this property is not mentioned, default ASD profile is processed. |
com.ibm.cdb.discover.asd.autodiscovery.filesThreshold | <file threshold> Default=20 | Minimum Number of files required by thread, to start processing them. The thread will process the result if either the File threshold or Time threshold is met. |
com.ibm.cdb.discover.asd.autodiscovery.timeThreshold | <time threshold> Default=60 (seconds) | Time threshold (in seconds) after which thread will process the result files, even if File Threshold is not met. |