Forum Discussion
right i've got my head round that bit now.
What i don't know / understand is my script pulls back multiple certificates, it's not multi instance because it's only running against the one node, however each ISE node has multiple certificates, so how do i distinguish between each one?
this needs to scale over multiple different environments for different customers, so there will not be any commonality in number of certificates etc so i can't rely on saying index 0 is certificate A for all environments.
Assuming each node is a device/resource in LM, you actually do want to use mutli-instance. Instances don't normally go across multiple devices and meant for this kinda situation. LM will run your datasource script for each device that the DataSource is assigned to, and update the ##system.hostname## value depending on which one it wants to look at.
The classic example is Windows drives. One server may have Drive C, D and E. Your script would query querying the system at ##system.hostname## and determine what drives it has in AutoDiscover. The Batch collection script would provide the data for C, D, and E all at once. For another server your AutoDiscover script might just see a C drive and the batch collection would just return it for C. LM will then take care of making sure the instances are show for the correct device.
Related Content
- 6 months ago
- 2 years ago
- 3 months ago