Running AHFCTL Commands to Collect Storage Server Diagnostic Package

You need root access to ahfctl, or sudo access to run celldiagcollect command.

ahfctl celldiagcollect

Use the ahfctl celldiagcollect command to collect storage server diagnostic package.

Syntax

ahfctl celldiagcollect
[-from time]
[-duration duration]
[-timeframe timeframe]
[-diagpath path]
[-packpollingtimeout timeout]
[-rpackpollingtimeout timeout]

Parameters

ahfctl celldiagcollect Command Parameters

ParameterDescription
-from time

Specify when to start collecting the logs and traces for storage server diagnostic package. The format of cell diagpack start time are: Mon/dd/yyyy hh:mm:ss or yyyy-MM-dd hh:mm:ss or yyyy-MM-ddThh:mm:ss or yyyy-MM-dd or now.

For example:

ahfctl celldiagcollect -from 2015-07-07T09:00:00
-duration duration

Specify the number of hours of logs and traces to include in the storage server diagnostic package. Valid values are from 1 (default) to 6.

For example:

ahfctl celldiagcollect -duration 2
-timeframe timeframe

AHF picks storage server diagnostic package if start time is within timeframe. Specify timeframe in seconds.

For example:

ahfctl celldiagcollect -timeframe 60
-diagpath path

Specify the path where AHF copies the storage server diagnostic package.

For example:

ahfctl celldiagcollect -diagpath /opt
-packpollingtimeout timeout

Specify the amount of time for which AHF waits for submitted storage server diagnostic package generation to finish.

Specify timeout in seconds.

For example:

ahfctl celldiagcollect -packpollingtimeout 2000
-rpackpollingtimeout timeout

Specify the amount of time for which AHF waits for previously submitted (within the timeframe) storage server diagnostic package generation to finish.

Specify timeout in seconds.

For example:

ahfctl celldiagcollect -rpackpollingtimeout 1000