If the HCP S Series Management Console is not available, logs for these systems can be collected manually using the logdl command in the same way as is done on HCP. This should be run manually on both server modules, as the cluster-wide logdl script does not work on the HCP S Series. logdl <newest-day> <number-of-days> > <output-filepath>/<server module number>.tar.xz Example: Collect logs for the last 7 days from SM1: logdl 6 7 > logs_sm1_10_23_2019.tar.xz Note: In the past, we needed to append nocrypt to the command to generate the logs. This no longer seems to be the case and results in an error output to the filename (can be verified by doing a cat on the filename after generation). Old format of command: logdl <newest-day> <number-of-days> nocrypt > <output-filepath>.tar.xz If needed, log collection status can be viewed via the following CLI command: admin logs state The following values may be returned: - Not Started - There is no log collection in progress at this time and the GUI should show ready to generate logs
- Preparing - Log collection script is in progress and bundling the data
- Pending - Log collection is complete and package is awaiting download
If the log collection is hung (indicated by GUI / CLI hang and / or error message in the GUI in addition to a status of either Preparing or Pending), you can cancel and reset it via the following CLI command: admin logs reset |