Skip to main content

Panacea CLI – Setup & SSH

Setup

Scripts live in $TOP/panacea/nutanix_log_analyzer/tools/ in the repo, or <panacea install dir>/tools once installed. Not on PATH by default (avoids name collisions with existing cluster scripts).

List available tools / help

panacea_cli --help
panacea_cli -l

Activate the tools environment on a live cluster (puts every tool on PATH)

source panacea_tools_env

Activate the tools environment for an extracted log bundle (sets TZ and LB_ROOT_DIR)

source log_bundle_env -p <path to extracted log bundle> -t <timezone>

 

 

Parallel SSH

allssh with parallel execution (live cluster only)

cssh <command>
OUTSYNC=0 cssh <command>   # faster, interleaved per-host output

hostssh with parallel execution (live cluster only)

hssh <command>