LDAP Discovery does not put some discovered devices into deployable device list

  • 7004990
  • 08-Dec-2009
  • 27-Apr-2012

Environment

Novell ZENworks 10 Configuration Management

Situation

After LDAP discovery, some devices that can't be resolved via DNS are not placed in deployable device list:
 
ERROR (in loader-messages.log with discovery set to FINEST):
 
[DEBUG] [12/4/09 4:00:45 PM] [] [Loader.DiscoveryModule] [] [FINE: unknown host exception] [java.net.UnknownHostException: device.domain.com: device.domain.com
 at java.net.InetAddress.getAllByName0(InetAddress.java:1128)
 at java.net.InetAddress.getAllByName0(InetAddress.java:1098)
 at java.net.InetAddress.getAllByName(InetAddress.java:1061)
 at java.net.InetAddress.getByName(InetAddress.java:958)
 at com.novell.zenworks.discovery.utility.DefaultDeviceBuilder.createActiveDirectoryDevice(DefaultDeviceBuilder.java:84)
 at com.novell.zenworks.discovery.utility.DefaultDeviceBuilder.createDiscoveredDevice(DefaultDeviceBuilder.java:48)
 at com.novell.zenworks.discovery.actions.LDAPDiscovery.createDiscoveredDevice(LDAPDiscovery.java:221)
 at com.novell.zenworks.discovery.actions.LDAPDiscovery.createDiscoveredDevice(LDAPDiscovery.java:207)
 at com.novell.zenworks.discovery.actions.LDAPDiscovery.searchContext(LDAPDiscovery.java:340)
 at com.novell.zenworks.discovery.actions.LDAPDiscovery.doDiscovery(LDAPDiscovery.java:133)
 at com.novell.zenworks.discovery.DiscoveryThread$ActionThread.run(DiscoveryThread.java:567)
 
or
 
Devices that don't define dnsHostName attribute are not placed in deployable device list:
 
ERROR (in loader-messages.log with discovery set to FINEST):
 
[DEBUG] [12/4/09 4:02:18 PM] [] [Loader.DiscoveryModule] [] [FINER: Unable to identify device type for CN=devicex,OU=Workstations,DC=domain,DC=com Discarding the entry] [] []

Resolution

LDAP discovery requires that the discovered devices be resolvable in DNS for reverse lookup.  Check that the ZENserver can run nslookup to the DNS name of the discovered address and return the IP address.  Check that the dnsHostName attribute is defined on the AD workstation object.  Other attributes used for AD LDAP Discovery: OperatingSystem, OperatingSystemServicePack .
 
For eDirectory LDAP discovery, attributes requested include: wmNameOS, cn, networkAddress, wmNameUser, wmNameDNS, dsRevision .

Additional Information

An LDAP search of Active Directory requires the ZENworks Server to use a DNS server to resolve the device’s DNS name (as recorded on the object’s DNS name attribute in Active Directory) to its IP address.  Otherwise, the device is not added as a discovered device.  This information comes from the dnsHostName attribute which must be defined.
 
Additionally, look on the server under work\discovery folders for failed or sucessful discovery xml files.