test veritas logo


HACF(1M)

NAME

hacf - manage VCS configuration files

SYNOPSIS

hacf -cftocmd conf_dir [-dest dest_dir] [-display]

hacf -cmdtocf conf_dir [-dest dest_dir]

hacf -verify conf_dir [-display]

hacf -help

AVAILABILITY

VRTSvcs

DESCRIPTION

The hacf utility acts as a translator between the configuration language and the VCS engine.

The hacf command translates the contents of the main.cf file into commands for the VCS engine. You can use hacf to verify the syntax of configuration files, which include main.cf, the main configuration file, and types.cf, the type definitions file.

OPTIONS

-cftocmd conf_dir [-dest dest_dir] [-display]
  The -cftocmd option is used to generate a main.cmd file from the main.cf file. The conf_dir is the directory in which the main.cf file resides. The main.cmd file is generated in the dest_dir. If the -dest option is not specified, then the main.cmd file is generated in the same directory as that of main.cf. If the -display option is specified, then the output is also displayed on the stdout.
-cmdtocf conf_dir [-dest dest_dir]
  The -cmdtocf option is used to generate a main.cf file from the main.cmd file. The conf_dir is the directory in which the main.cmd file resides. The main.cf file is generated in the dest_dir. If the -dest option is not specified, then the main.cf file is generated in the same directory as that of main.cmd.
-verify conf_dir [-display]
  The -verify option checks for syntax errors in the configuration file main.cf (which usually includes types.cf) before starting the VCS engine. It returns after the first syntax error is detected. VCS does not execute if there are errors in the configuration. The hacf command looks for the main.cf file in the conf_dir. The conf_dir is the directory in which the main.cf file resides. No error message and a return value of zero means the syntax is legal. If the -display option is specified, then the output is also displayed on the stdout.
-help Displays the command usage.

FILES

The main VCS configuration file is located at /etc/VRTSvcs/conf/config/main.cf.

SEE ALSO

haconf(1M)


VCS 7.4.3 HACF(1M)