The following sections detail other administrative functions that can be performed by the ccs_tool command.
When extracting original CCS configuration files from a CCS archive, the ccs_tool extract command creates a new directory specified on the command line and recreates the CCS files in the directory. The CCS archive remains unaffected by this command.
ccs_tool extract CCADevice Directory |
Specifies the name of the CCA device.
The relative path to the directory containing the CCS files for the cluster.
In this example, the CCS files contained on the CCA device, /dev/pool/alpha_cca, are extracted and recreated in directory /tmp/alpha-bak/.
ccs_tool extract /dev/pool/alpha_cca /tmp/alpha-bak/ |
The CCS configuration files contained within a CCS archive can be listed by using the ccs_tool list command.
This example causes the CCS files contained on the CCA device, /dev/pool/alpha_cca, to be listed.
ccs_tool list /dev/pool/alpha_cca |
The ccs_tool diff command can be used to compare a directory of CCS configuration files with the configuration files in a CCS archive. The output from the ccs_tool diff command is displayed for each corresponding file in the specified directory and the CCS archive.
ccs_tool diff CCADevice [Directory] |
Specifies the name of the CCA device.
The relative path to the directory containing the CCS files for the cluster.
In this example, the CCS configuration files in directory /root/alpha/ are compared with the configuration files in CCA device /dev/pool/alpha_cca.
ccs_tool diff /dev/pool/alpha_cca /root/alpha/ |