Schedule a horizontal discovery
A discovery schedule determines what horizontal discovery searches for, when it runs, and which MID Servers are used. Create a discovery schedule for your local environment or a schedule for discovering the resources in your cloud service account.
Avant de commencer
Ensure that your Discovery schedule conforms to security best practices, such as limiting the range of discovery targets and using the most secure credentials.
Make sure to test your credentials before you run a schedule. Bad credentials are a leading cause of failed discoveries.
Roles required: discovery_admin or admin
Pourquoi et quand exécuter cette tâche
Service Mapping also provides a Discovery schedule for top-down discovery. See Schedule a top-down discovery by Service Mapping for more information.
- Configure a schedule to discover resources in your cloud service account.
- Configure a schedule to discover certificates from URL scans.
- Configure device identification by IP address or other identifiers.
- Determine if credentials are used in device probes.
- Name the MID Server to use for a particular type of discovery.
- Create or disable a schedule that controls when the discovery runs in your network.
- Configure the use of multiple Shazzam probes for load balancing.
- Configure the use of multiple MID Servers for load balancing.
- Run a discovery schedule manually.
- Run a discovery on a single IP address.
Procédure
Que faire ensuite
- Define IP addresses or ranges to exclude from all Discovery schedules. See Use Global Excludes List for IP addresses and ranges.
- Define Discovery schedule attributes to automatically set CI field values such as location or asset tag on discovered CIs. You can define attributes at the schedule, range set, or IP address range level. See Define CI field attributes.
- Configure Discovery behaviors to use multiple MID Servers for load balancing or to scan with multiple credentials. See Discovery behaviors.
Run a Quick Discovery
Quick Discovery, or DiscoverNow, allows an administrator to run a CI Configuration discovery on a single IP address without requiring a schedule.
Avant de commencer
Role required: discovery_admin
Pourquoi et quand exécuter cette tâche
The platform automatically selects the correct MID Server to use for the discovery if one is associated with the IP address selected. If no MID Server is configured for the network in which that address appears, you can select a MID Server. Use this feature to discover new devices in the network as soon as they are connected to the network, rather than waiting for a regularly scheduled discovery.
To configure the system to automatically determine which MID Server to use, set up the IP range capabilities for each MID Server in your system.
You can run DiscoverNow from a Discovery schedule form or from a script.
Procédure
Run DiscoverNow from a script
You can run DiscoverNow from a script, such as a background job, a business rule, or web services.
Avant de commencer
Procédure
Validate discovery results
Validate the results of your discovery by accessing the ECC queue, analyzing the XML payload, and checking the Discovery log.
Avant de commencer
Pourquoi et quand exécuter cette tâche
Procédure
MID Server selection sequence for Discovery schedules
The Discovery application follows this sequence to find a MID Server.
MID Server auto-selection
- Discovery looks for a MID Server that also has an appropriate IP range configured.
- If no MID Servers meet these criteria, it looks for a MID Server that has the ALL application that also has an appropriate IP range configured.
- If more than one MID Server meet the criteria, Discovery chooses the first MID Server with the status of Up. If more than one MID Server is up, it randomly picks one.
- If none are up, it uses the default MID Server specified for the Discovery application, assuming it’s up.
- If no default MID Server is specified, it uses the default MID Server specified for the ALL application, assuming it’s up.
- If no default MID Server is specified, Discovery cycles through the previous steps and looks for MID Servers with the status of Paused or Upgrading. Remarque :When a MID Server is paused or upgrading, it doesn’t actually process commands until it returns to the status of Up.
MID Server clusters
- Discovery uses the first MID Server in the cluster that it finds with the status of Up.
- If more than one MID Server is up, it randomly picks one. If it can’t find any MID Servers, it looks for MID Servers in the cluster with the status of Paused or Upgrading.
- Discovery uses the MID Server with the lowest Order value that also has the status of Up.
- If no MID Servers are found, it looks for MID Servers in the cluster with the status of Paused or Upgrading, choosing the one with the lowest Order value.
Port scan (Shazzam) phase
During the port scan phase, Discovery collects all the target IP addresses. It splits them equally between MID Servers matching the criteria (MID Servers are qualified to do the port scan). The Shazzam batch size, which you configured on the Discovery schedule, determines the number of IP addresses that each Shazzam probe can scan. This phase helps determine how much work each MID Server does during the port scan phase.
For example, you have 16,000 IP addresses to scan among three qualified MID Servers, and you use the default Shazzam batch size of 5,000. Two of the MID Servers handle 5,000 IP address scans (one Shazzam probe each). The other MID Server handles 6,000 IP address scans by launching two Shazzam probes.
Shazzam can process IP lists containing up to 20,000 addresses that include both IPv4 and IPv6 types. If a schedule contains any IPv6 addresses (> 0), the combined total of IPv4 + IPv6 addresses must not exceed 20,000 or else the Discovery fails. If you’re using only IPv6 addresses, you must use a list and not an IP address range. IPv6 address ranges and networks aren't supported and are ignored.