cl_ccv_collector command

Purpose

Collects data from two different PowerHA® SystemMirror® clusters for verifying the cluster configuration information. The collected data is used by the cl_ccv_comparator command.

Syntax

cl_ccv_collector [-f] [-s snapshot_name] [-h]

Description

The cross-cluster verification (CCV) utility compares the cluster configuration information of two different PowerHA SystemMirror clusters. The cl_ccv_collector command can collect cluster configuration information either from a local node or from a snapshot file. This command creates an output file in the JSON format. The output file is used as an input to the cl_ccv_comparator command.

Note: The Python program is required to run the cl_ccv_collector command.

Flags

-f
Forces data collection from a cluster that is not synchronized.
-s
Specifies the name of the snapshot file from which data must be collected for cross-cluster verification.

Output File

The output generated from the cl_ccv_collector command is written to the /var/hacmp/log/ccv_collector_data.json file.

Files

/usr/es/sbin/cluster/utilities/cl_ccv_collector
Contains the cl_ccv_collector command.
/var/hacmp/log/ccv_collector_data.json
Contains the output file, ccv_collector_data.json.

Examples

  1. To collect the cluster information from a cluster that is not synchronized, enter the following command:
    cl_ccv_collector –f
    Note: When you use the -f flag, the collected data might be incomplete and unusable by the cl_ccv_comparator command.
  2. To collect the cluster information from the cluster snapshot file, enter the following command:
    cl_ccv_collector -s /usr/es/sbin/cluster/snapshots/active.3.odm