Symantec logo

haconf

NAME

haconf - allow or prevent dynamic changes to the VCS configuration file

SYNOPSIS

haconf -makerw

haconf -dump [-makero]

haconf -help

AVAILABILITY

VRTSvcs

DESCRIPTION

The haconf command enables dynamic changes to a VCS cluster. This includes adding and deleting objects, adding, deleting and modifying attributes, and writing them back to disk.

The configuration file is read-only (by default) upon starting a VCS server on a system. If the VCS server exits without saving the configuration, the configuration is not stale. Use the haconf command to enable modifications to the configuration while VCS is running.

OPTIONS

-makerw

Change VCS to read-write mode, after which changes to the configuration can be made while VCS is running. This option also marks the configuration stale by creating the file /etc/VRTSvcs/conf/config/.stale on all systems running VCS. The configuration must be written back to disk and made read-only by specifying the -dump and -makero options. Otherwise, the next time VCS starts it waits for administrative action because the configuration is stale.

-dump [-makero]

Write the configuration to disk and remove the designation stale. -makero changes the VCS mode to read-only.

-help

Display information about this command.

EXAMPLES

To dynamically add a new system to a group's SystemList in the configuration, use the following commands:

# haconf -makerw

# hagrp -modify group1 SystemList -add sysa 1

# haconf -dump -makero

SEE ALSO

hacff (1M)