...
Using Jolokia RestConf API
To monitor the status of the cluster, you must enable the Jolokia support in OpenDaylight (if not enabeld already):
Code Block |
---|
opendaylight-user@root>feature:install odl-jolokia
opendaylight-user@root>feature:list -i | grep odl-jolokia
odl-jolokia | 1.8.2.Carbon-redhat-3 | x | odl-extras-1.8.2.Carbon-redhat-3 | Jolokia JMX/HTTP bridge |
Run the Jolokia restConf read API to review ODL cluster details like "PeerAddresses", "PeerVotingStates", "Voting", "ShardName", "FollowerInfo" "Leader" for any shard. Use user: admin, password: admin to access.
...