gpmt

GPMT (Greenplum Magic Tool) provides a set of diagnostic utilities to troubleshoot and resolve common supportability issues, along with a consistent method for gathering information required by VMware Support.

Synopsis

  1. gpmt <tool> [<tool_options> ...]
  2. gpmt -hostfile <file>
  3. gpmt -help
  4. gpmt -verbose

Tools

Greenplum

analyze_session

Collect information from a hung Greenplum Database session for remote analysis.

catalogbackup

For VMware Support use only. Back up catalog prior to performing catalog repairs.

gp_log_collector

Basic Greenplum Database log collection utility.

storage_rca_collector

Collect storage-related artifacts.

gpcheckcat

For VMware Support use only. Greenplum Database gpcheckcat log analysis.

gpcheckup

For VMware Support use only. Greenplum Database Health Check.

gpstatscheck

Check for missing stats on objects used in a query.

packcore

Package core files into single tarball for remote analysis.

primarymirror_lengths

For VMware Support use only. Check whether primary and mirror AO and AOCO relfiles are the correct lengths.

tablecollect

For VMware Support use only. Collect data and index files for data corruption RCA.

Miscellaneous

hostfile

Generate hostfiles for use with other tools.

replcheck

Check whether tool is replicated to all hosts.

replicate

Replicate tool to all hosts.

version

Display the GPMT version.

Global Options

-hostfile

Limit the hosts where the tool will be run.

-help

Display the online help.

-verbose

Print verbose log messages.

Examples

Display gpmt version

  1. gpmt version

Collect a core file

  1. gpmt packcore -cmd collect -core core.1234

Show help for a specific tool

  1. gpmt gp_log_collector -help