CLI Guide

Table Of Contents
See also
cluster expel
collect-diagnostics
Collects the core files from each component, logs, and configuration information from the management server and directors.
Contexts
All contexts.
Syntax
collect-diagnostics
--local-only
Arguments
Optional arguments
Description
--local-only
Gathers diagnostics only from the local cluster and directors.
-r | --log-range=
Range
Collect only the logs that are generated in the range specified. To collect the set of logs that are
generated in a certain range of hours of the current day, specify the value as start-hour-end-hour>.
For example, to collect the logs between 11AM to 1PM, enter the range 11-13h. To collect the set
of logs generated in a certain range of days in the current month, enter the range start-day-end-
dayd. For example, to get the logs between 11 days ago to 13 days ago, enter the range of 11-13d.
-l | --last-logs=
x
Collect only the logs that are generated in the last x days or hours are collected. To collect the logs
generated in the last 4 hours, the value for this option is 4h. To collect the logs generated in last 4
days, use the value 4d.
--noextended
Omits the collection of extended diagnostics.
Description
Collects logs, cores, and configuration information from the management server and directors. Places the collected output files
in the /diag/collect-diagnostics-out directory on the management server.
Two compressed files are placed in the /diag/collect-diagnostics-out directory:
<tla>-<cluster>-diag-ext-<datetime>.tar.gz- Contains java heap dump, fast trace dump, two latest core files,
and two latest core files ( if --noextended is used, then no core file is collected).
<tla>-<cluster>-diag-<datetime>.tar.gz - Contains everything else including a direcotry, /opt/recoverpoint
which contains the RecoverPoint splitter logs in a .zip file (vpsplitter.log.xx, vpsplitter.log.periodic_env, and
vpsplitter.log.current_env).
NOTE: If --noextended is used, then this file is not available.
NOTE: The collect-diagnostics must be run as the service user to collect all the available files. For this, the VPlexcli
command must be invoked as the service user.
Best practice is to collect both files. The extended file is large, and thus takes some time to transfer.
Recommended practice is to transfer the base file (tla-diagnostics-timestamp.tar.gz) first and begin analysis while
waiting for the extended file to transfer.
Commands
73