Collecting Cluster Dump For Management Cluster

Learn about pcddump - a powerful utility for collecting comprehensive PCD Management cluster information for offline troubleshooting.

PCD Dump is a powerful utility for collecting comprehensive PCD Management cluster information for offline troubleshooting. This script gathers detailed cluster dump information from Self-hosted Private Cloud Director Control Plane, providing administrators with comprehensive diagnostics and troubleshooting data for effective cluster management and issue resolution.

PCD Dump is available here - https://github.com/platform9/PCDDumparrow-up-right

Prerequisites

  • Internet connectivity to download the script.

  • curl installed

  • kubconfig should be exported and kubectl installed with sufficient permissions:

Verify kubeconfig and internet connectivity
export KUBECONFIG=</path/to/your/pcd-management-cluster-kubeconfig.yaml>

# Verify connectivity
kubectl get nodes

Installation

circle-exclamation
  • Run this script to initiate the PCD cluster dump generation:

One-line quick run
bash <(curl -Ls https://raw.githubusercontent.com/platform9/PCDDump/refs/heads/main/pcddump.sh)
  • For manual execution:

Manual download and run
# Download the script
curl -L https://raw.githubusercontent.com/platform9/PCDDump/refs/heads/main/pcddump.sh -o pcddump.sh

# Make it executable
chmod +x pcddump.sh

# Execute the script
./pcddump.sh
circle-info

The tar output file is saved under /tmp as /tmp/pcddump-$(date +%F_%H-%M-%S).tar.gz

Additional Information

You can upload the /tmp/pcddump-$(date +%F_%H-%M-%S).tar.gz file as suggested by the Platform9 support team. More information in https://github.com/platform9/PCDDumparrow-up-right

Last updated

Was this helpful?