Using JMX to monitor and administer OpenDaylight
By default, OpenDaylight can be administered via JMX. Network engineers, however, often need to tweak the default configurations to get their deployment integrated into their network. In this recipe, we'll show you how to make these changes.
Getting ready
The ingredients of this recipe include an OpenDaylight distribution kit, access to a JDK, and a source code editor. Sample configuration for this recipe is available at:
https://github.com/jgoodyear/OpenDaylightCookbook/tree/master/chapter10/chapter10-recipe8
Note
Administrators should take care when exposing JMX access; SSL should be enabled, and strong passwords enforced.
How to do it...
Setting up OpenDaylight to use JMX for remote monitoring takes three steps; editing the management configuration, updating the users file, and then testing the configuration with your JMX management tool of choice:
- Editing management configuration.
Apache Karaf ships with a default management configuration; to make...