09-20-2013 02:47 AM
Is there a clever way of checking how many licenses you have in total, and the amount in use?
Currently i check my license certificates, and then manually count the number of nodes.
But if there was a way to query the cmu db or similar that would be great.
Solved! Go to Solution.
09-23-2013 03:23 AM
CMU license check fails when the number of nodes registered in the CMU database >= num of node licenses in the certificate (cmu.lic file).
To display/count the number of nodes registered in CMU database use “/opt/cmu/bin/cmu_show_nodes | wc -l”
09-24-2013 06:25 AM
Many thanks for your reply!
Follow up question :
the “/opt/cmu/bin/cmu_show_nodes | wc -l” command gives me a node count of 95
but if i manually count the number of nodes in the "node managament" screen in the cmu web gui , i get a node count of 86.
is there a way to clear "stale" entries of nodes that are no longer used?
09-25-2013 02:30 AM
“/opt/cmu/bin/cmu_show_nodes” is a CMU tool which gets node list from CMU database(/opt/cmu/etc/cmu.conf) and nodes, which are there in CMU database, will be reflected in CMU GUI.
So, there should not be any mismatch.
Can you please let us know which CMU version you are using?
Please try exporting nodes from “node management” section in CMU GUI and count the no. of lines in the generated file.
09-25-2013 11:47 PM
Many thanks for the reply!
You are right, exporting the node list, i get a node count of 95, and now recounting the nodes manually in the node list, i also get a node count of 95 :) (no idea why i got a different number yesterday)