Network Management

DHCP Scan Does Not Complete in IPAM

Scanning a DHCP server does not complete and may show as stuck at waiting.

First published date

10/13/2020 6:45 PM

Last published date

10/13/2020 7:28 PM

Overview

After adding a DHCP server to Orion then subsequently to IPAM, you may find that running a scan does not complete. The popup will show as waiting forever, regardless of how long you let the scan run.

Product section

IP Address Manager

Cause

There are several possibilities:
  • Invalid DHCP credentials due to password change
  • Corrupted SDFS that need to be cleared
  • The node is unmanaged in Orion

Resolution

Resolution 1

Validate the DHCP credentials in IPAM:
  1. Open the Orion Web Console
  2. Navigate to My Dashboards > IP Addresses > DHCP & DNS Management
  3. Select the DHCP Server from the DHCP Servers tab and Edit
  4. Adjust the credentials and test
  5. Select the DHCP server again and Scan

Resolution 2

Clear the Job Engine and Collector SDFs:
  1. Open a remote connection to the Orion Server where the node is polled
  2. Open Orion Service Manager and Select Shutdown Everything
  3. Run the following Command in CMD as admin - this replaces the SDF files:
:: Scripts are not supported under any SolarWinds support program or service.
:: Scripts are provided AS IS without warranty of any kind. SolarWinds further
:: disclaims all warranties including, without limitation, any implied warranties
:: of merchantability or of fitness for a particular purpose. The risk arising
:: out of the use or performance of the scripts and documentation stays with you.
:: In no event shall SolarWinds or anyone else involved in the creation,
:: production, or delivery of the scripts be liable for any damages whatsoever
:: (including, without limitation, damages for loss of business profits, business
:: interruption, loss of business information, or other pecuniary loss) arising
:: out of the use of or inability to use the scripts or documentation.

rename c:\ProgramData\SolarWinds\JobEngine.v2\Data\JobEngine35.sdf JobEngine35_old_%random%%random%.sdf && copy "C:\ProgramData\SolarWinds\JobEngine.v2\data\JobEngine35 - blank.sdf" "C:\ProgramData\SolarWinds\JobEngine.v2\data\Jobengine35.sdf" && attrib -r "C:\ProgramData\SolarWinds\JobEngine.v2\data\JobEngine35.sdf" && rename c:\ProgramData\SolarWinds\Collector\Data\PollingController.sdf PollingController_old%random%%random%.sdf && copy "C:\ProgramData\SolarWinds\Collector\Data\PollingController-blank.sdf" "C:\ProgramData\SolarWinds\Collector\Data\PollingController.sdf" && attrib -r "C:\ProgramData\SolarWinds\Collector\Data\PollingController.sdf"
  1. Select Start Everything in Orion Service Manager
  2. Open the Orion Web Console and scan the DHCP server
Please note this process can also be done through file explorer following the steps in these articles:
Replace the Job Engine SDF
Replace the Collector SDF

Resolution 3

Remanage the node:
  1. Open the Orion Web Console and navigate to Settings > Manage Nodes
  2. Search for the node in question by IP or hostname
  3. Select the node and select Maintenance Mode > Manage Again
  4. Allow the node to poll and show as Up
  5. Navigate to My Dashboards > IP Addresses > DHCP & DNS Management
  6. Select the DHCP server and scan again