Seed File update LMS 3.1

Answered Question
Jan 15th, 2009

I'm trying to automate a way to update the cdp seed file entry. I have a script that runs on LMS2.6 that updates the DeviceDiscovery.properties with entries changed in the servers hosts file.

With version 3.1 it doesn't appear that this file is used, instead it looks like an XML file is generated (which I've been seeing issues with, another conversation). Can you tell me a little more about that XML file and how it gets generated, is there a place on the server side that I can update the seed instead of going through the GUI?

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 7 years 10 months ago

The CSDiscovery-config.xml file under the job ID directory in NMSROOT/objects/csdiscovery.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Joe Clarke Thu, 01/15/2009 - 09:52

The XML file is generated by adjusting the Discovery settings under Common Services > Device and Credentials > Device Discovery. The file is NMSROOT/conf/csdiscovery/CSDiscovery-config.xml. This file is used for ad hoc Discoveries, but not when Discovery is scheduled, as different jobs may use different settings.

While I don't recommend modifying this file directly, you could certainly do it provided you do not corrupt the syntax. CDP seeds are added as sub-elements of the CDP Module element. A seed device imported from Campus Discovery would look like:

...

Correct Answer
Joe Clarke Thu, 01/15/2009 - 10:01

The CSDiscovery-config.xml file under the job ID directory in NMSROOT/objects/csdiscovery.

sirbaughmf Wed, 01/21/2009 - 09:29

One last question: After several days I've gone back to take a look at the seed file entries, CDP seeds look good, and the Global entries that I deleted have returned, are the global seeds kept in a different location? I see them in the CSDiscovery-config.xml file under /conf/csdiscovery, but I didn't put them back in there....

Actions

This Discussion