How to verify the integrity of the VERITAS Cluster Server file


How to verify the integrity of the VERITAS Cluster Server file


The hacf command can be used to verify the integrity of the main .cf file if any manual changes were made. The file is the VERITAS Cluster Server (VCS) configuration file. Any changes made to the file should be performed with VCS services stopped on all nodes in the cluster.

hacf -verify <conf-dir>

If the prompt location is in the C:\Program Files\VERITAS\Cluster Server\conf\config directory, a "." must be used after the hacf -verify. To access the config directory from the root of a drive, the entire path must be in double quotes.

Change directories to the C:\Program Files\VERITAS\Cluster Server\conf\config directory (Figure 1). (This is the default VCS install path. Some installations will not use this path. Run echo %vcs_home% to check the VCS installation path)

Figure 1


If there are no errors in the, no data will be returned (Figure 2).

Figure 2


If there were errors in the, an error will be returned stating the line number of the error. In this case, the line number is 205 (Figure 3).

Figure 3


To correct this, open the file and go to the line that was returned from the hacf -verify command. In this case, it is line 205 (Figure 4).

Figure 4


Delete or correct the line and run the verify again. If no errors are returned, start the VCS services on the node on which the was modified.

Note: Starting the services on any other node will overwrite all changes made to the file.




Terms of use for this information are found in Legal Notices.



Did this article answer your question or resolve your issue?


Did this article save you the trouble of contacting technical support?


How can we make this article more helpful?

Email Address (Optional)