Diagnose

This is a NuoDB Manager command. See NuoDB Manager.

Description

The diagnose command allows you to easily collect diagnostic data (logs, system information, core/dump files, etc) about the NuoDB environment. Use nuodbmgr with the diagnose command to troubleshoot issues when working with NuoDB support.

The diagnostic data collected by the diagnose command is a compressed archive (a zip file) that contains the following elements:

Syntax

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

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"