cpdumps

You can use the cpdumps command to copy dump files from a nonconfiguration node onto the configuration node.
Note:Note: In the rare event that the /dumps directory on the configuration node is full, the copy action will terminate when the directory is full and will provide no indicator of a failure. It is therefore advisable to clear the /dumps directory after the desired data has been migrated off the configuration node.

Syntax

Read syntax diagramSkip visual syntax diagram>>- svctask -- -- cpdumps -- -- -prefix --+- directory ---+----->
                                          '- file_filter -'

>-- --+- node_name -+------------------------------------------><
      '- node_id ---'

Parameters

-prefix directory | file_filter
Specifies the directory, or files, or both to be retrieved. If a directory is specified with no file filter, all relevant dump or log files in that directory are retrieved. The directory arguments include:
  • /dumps (cleans all files in all subdirectories)
  • /dumps/configs
  • /dumps/elogs
  • /dumps/feature
  • /dumps/iostats
  • /dumps/iotrace
  • /home/admin/upgrade
In addition to the directory, you can specify a file filter. For example, if you specified /dumps/elogs/*.txt all files in the /dumps/elogs directory that end in .txt will be copied.
node_id | node_name
Specifies the node from which to retrieve the dumps. The argument that follows the flag is either:
  • The node name, that is, the label that you assigned when you added the node to the cluster
  • The node ID that is assigned to the node (not the WWNN).
If the node specified is the current configuration node, no file will be copied.

Description

This command copies any dumps that match the directory or file criteria from the given node to the current configuration node.

You can retrieve dumps that were saved to an old configuration node. When the old configuration node failed over to another node, the dumps that were on the old configuration node are not automatically copied. Because access from the IBM CLI is only provided to the configuration no, files can only be copied off the cluster from the configuration node. This command enables you to retrieve files and place them on the configuration node so that you can then copy them off of the cluster.

You can view the contents of the directories by using the svcinfo lsxxxxdumps commands.

Possible failures

Examples

An invocation example

svctask cpdumps -prefix /dumps/configs nodeone