Diagnose

This is a NuoDB Manager command. See NuoDB Manager.

Description

To help troubleshoot issues, use the NuoDB Manager command line tool to run the diagnose command. diagnose enables you to collect diagnostic data about your NuoDB environment. The diagnostic data collected is in the form of a compressed archive (zip file) that contains the following elements:

Syntax

diagnose  { domain | database database_name | host host_name [ process pid ] }
    outdir outdir_name 
    [ fullcore { true | false | none } 
    [ metadata { full | none } ]
    [ binary { true | false } ]
    [ parallel { true | false} ]
    [ overwrite { true | false} ]
    [ collectcore { true | false } ]
    [ timeout { timeout_value } ]
 
diagnose raftlog outdir outdir_name
diagnose raftStateMachines outdir outdir_name
diagnose adminonly outdir outdir_name    

Parameters

Useful Properties

diagnoseTimeout

See NuoDB Manager Properties.

Interactive Example

Scripting Example

The same diagnose commands can be executed with --command as follows:

nuodbmgr --broker host --password password \
    --command "diagnose domain outdir /tmp fullcore true"

$ nuodbmgr --broker host --password password \
    --command "diagnose database test outdir /tmp fullcore true"nuodbmgr --broker host --password password \
    --command "diagnose raftlog outdir /Users/nuouser/raftdump"
			
$ nuodbmgr --broker host --password password \
    --command "diagnose adminonly outdir /tmp"