cldbguts
As of version 4.0.2, you can run the cldbguts utility to monitor the activity of the CLDB. This utility prints information about of the CLDB service that is running on the node from which you run the utility. Monitoring the progress of the CLDB may be useful when troubleshooting cluster issues.
The cldbguts utility prints information about active container reports, full container reports, registration requests, MapR-FS heartbeats, NFS server heartbeats, and containers. You can run cldbguts from any CLDB node; however, running this command from the CLDB master node provides the most relevant information.
Syntax:
/opt/mapr/bin/cldbguts
Output Fields:
Field | Description |
---|---|
acr |
Represents active container requests(ACR). This column includes the following information:
|
fcr |
Represents full container report (FCR). This column includes the following information:
|
regn |
Represents registration requests. This column includes the following information:
|
mfs hb |
Information about MapR-FS heartbeats. This column includes the following information:
|
nfs hb |
Information about NFS server heartbeats. This column includes the following information:
|
assigns |
This column includes the following information:
|
roles |
Represents the roles of the various replica containers. This column includes the following information:
Note: It may takes some time for the CLDB to be aware of role changes. |
progress |
This column includes the following information:
|
con-chain |
This column includes the following information:
|
Example Output:
# /opt/mapr/bin/cldbguts
2014-11-20 02:17:38,088
acr fcr regn mfs hb nfs hb assigns roles progress con-chain
nr pt to d dp nr pt to nr pt to nr pt to nr pt nr nc nrt nct bm ms wr rs vr uu m% uc v% tr ms 1r 2r
4956 2143 0 0 0 26 167 0 30 113 0 16209 3962833 0 3173 86214899 7 40 7 25 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
3 0 0 0 0 0 0 0 0 0 0 4 1390 0 3 128038 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
1 0 0 0 0 0 0 0 0 0 0 5 1108 0 1 27623 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
0 0 0 0 0 0 0 0 0 0 0 4 920 0 0 0 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
3 0 0 0 0 0 0 0 0 0 0 4 866 0 0 0 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
1 0 0 0 0 0 0 0 0 0 0 4 884 0 2 62007 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
0 0 0 0 0 0 0 0 0 0 0 4 890 0 1 25073 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
3 1 0 0 0 0 0 0 0 0 0 4 891 0 1 24613 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
1 0 0 0 0 0 0 0 0 0 0 4 884 0 0 0 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37
0 0 0 0 0 0 0 0 0 0 0 4 868 0 0 0 0 0 0 0 0 65 0 0 102 0 100.00% 65 100.00% 167 65 65 37