clccv command
Purpose
Simplifies the process of using the cross-cluster verification (CCV) utility to compare specific attributes of two different PowerHA® SystemMirror® clusters.
Syntax
clccv [-E] [-d <DIRECTORY>] [-v|-vv|-vvv] [-x] -n <host 1>
clccv [-E] [-d <DIRECTORY>] [-v|-vv|-vvv] [-x] -n <host 1>,<host 2>
clccv -h [-v]
Description
The clccv command compares two different clusters. The cl_ccv_collector command is used to collect data from the clusters to be compared and the cl_ccv_comparator command is used to compare data from both the clusters. You can collect the data on each cluster, and then manually move the data to a location for comparison, or you can use the clccv command to automate the data consolidation process.
If one of the cluster is at a remote site, you can configure the remote execution facilities such
as Secure Shell (SSH) and Secure Copy Protocol (SCP) between the clusters. The
clccv command can generate the data remotely and collect the data on the local
node. The clccv command uses the Expect
package to limit the
number of password prompts; otherwise, for every connection attempt to the remote site, you are
prompted for the password. If you do not want to use the Expect
package with the
clccv command, you can specify the -E flag.
The results of the cluster comparison are written to the
/var/hacmp/clccv/clccv.<first cluster name>.<second
cluster name>.<date>.json
file. Alternatively, you
can use the -d flag to specify a different directory.
Flags
- -d
- Specifies the destination directory to save the results of cluster comparison. By default, the comparison results are stored in the /var/hacmp/clccv directory.
- -E
- By default, the clccv command uses the Expect package if it is installed. The -E flag disables the use of the Expect package, even if it is installed.
- -v
- Enables debug output for tracing program execution.
- -n
- Specifies the hostname of clusters from which data is collected. If only one host name is
specified, the local cluster is used for comparison. Note: You must specify the hostname that is enabled for SSP and SCP. The hostname might be different than the PowerHA SystemMirrorcluster node name.
Example
clccv –n test_cluster, prod_cluster
When you use the
-f flag, the collected data might be incomplete and unusable by the
cl_ccv_comparator command.