- Code
2604
- Symbol
CmvmiDumpSubscriptions
- Kernel Block
Description.
Dumps current event subscriptions. Output is written to
ndb_
on each data node, rather than to the cluster log on the
management server.
node_id_
out.log
Sample Output.
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- List subscriptions:
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Subscription: 0, nodeId: 1, ref: 0x80000001
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 0 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 1 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 2 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 3 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 4 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 5 Level 8
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 6 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 7 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 8 Level 15
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 9 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 10 Level 7
Sunday 01 November 2015 17:10:54 [ndbd] INFO -- Category 11 Level 15
Additional Information. The output lists all event subscriptions; for each subscription a header line and a list of categories with their current log levels is printed. The following information is included in the output:
Subscription
: The event subscription' internal IDnodeID
: Node ID of the subscribing noderef
: A block reference, consisting of a block ID fromstorage/ndb/include/kernel/BlockNumbers.h
shifted to the left by 4 hexadecimal digits (16 bits) followed by a 4-digit hexadecimal node number. Block id0x8000
appears to be a placeholder; it is defined asMIN_API_BLOCK_NO
, with the node number part being 1 as expectedCategory
: The cluster log category, as listed in Event Reports Generated in NDB Cluster (see also the filestorage/ndb/include/mgmapi/mgmapi_config_parameters.h
).Level
: The event level setting (the range being 0 to 15).