Documentation Home
NDB Cluster Internals
Related Documentation Download this Manual
PDF (US Ltr) - 1.2Mb
PDF (A4) - 1.2Mb


2.87 DUMP 2604

Code

2604

Symbol

CmvmiDumpSubscriptions

Kernel Block

CMVMI

Description.  Dumps current event subscriptions. Output is written to ndb_node_id_out.log on each data node, rather than to the cluster log on the management server.

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 ID

  • nodeID: Node ID of the subscribing node

  • ref: A block reference, consisting of a block ID from storage/ndb/include/kernel/BlockNumbers.h shifted to the left by 4 hexadecimal digits (16 bits) followed by a 4-digit hexadecimal node number. Block id 0x8000 appears to be a placeholder; it is defined as MIN_API_BLOCK_NO, with the node number part being 1 as expected

  • Category: The cluster log category, as listed in Event Reports Generated in NDB Cluster (see also the file storage/ndb/include/mgmapi/mgmapi_config_parameters.h).

  • Level: The event level setting (the range being 0 to 15).