Overview
An example of a Port Discovery Script that can be executed during Lighthouse Enrollment or after by using the script template feature.
Here is a quick summary of the AutoDiscovery feature:
AutoDiscovery is a feature that attempts to discover the hostname of serially connected devices. This can save the need to manually provide hostnames during setup.
The value of the AutoDiscovery feature is that it can save time and effort by automating the process of discovering hostnames and port settings. This can be especially helpful for large deployments with a lot of devices. The benefits of the AutoDiscovery feature include:
- Reduced time and effort required to manually configure devices.
- Increased accuracy of hostname and port settings.
- Improved troubleshooting capabilities.
Products and Firmware*
List of products and firmware versions
Family | Product |
Article written using version |
Supported on firmware |
OM/CM8100 | all | 23.03 | 22.10 and above |
Lighthouse | all | 23.04 | All |
Prerequisites
Please read the Script Templates section in Lighthouse manual https://ftp.opengear.com/download/documentation/manual/current/lighthouse/ and the following article as it explains Script Templates usage, how to upload and apply to specific nodes.
https://opengear.zendesk.com/hc/en-us/articles/115004747366-Configuration-Templating-on-Lighthouse-5
Note: Use the freely available Notepad++ to save the script with Unix (LF) line endings, not DOS (CRLF) line endings. Ensure any 'single' and "double" quotation marks have not been converted into curly “smart quotes”. Applying scripts with DOS (CRLF) line endings will break node configuration.
Solution
The attached script enables the system to start Port Discovery on the node.
This Script attempts all available ports, baud rates, and pinouts to find the hostname. This process could take up to 15 minutes depending on the port density, and number of connected devices.
- You can use this script during the enrollment process by attaching it to specific enrollment bundles:
- You can also manually execute it as a script template for specific nodes or smartgroups.
If you would like to learn more about the AutoDiscovery feature, please look at our Operations Manager Manual and look for the "Autodiscovery" section.
Comments
0 comments
Please sign in to leave a comment.