haconf - open, close, or save VCS configuration
haconf -dump [-makero]
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 cluster on a system. Use the haconf command to enable modifications to the configuration while VCS is running.
-makerw Change VCS to read-write mode, after which changes to the configuration can be made while VCS is running. The configuration must be written back to disk by specifying the -dump option. Otherwise, when VCS stops and restarts later the configuration changes are not effective.
If you define the value of BackupInterval cluster attribute, then VCS backs up the configuration files periodically as .autobackup files.
-dump [-makero] Write the configuration to disk. If the -makero option is specified, it changes the configuration to read-only mode, otherwise the configuration is dumped but remains available for further modifications. -help Display information about this command.
To dynamically add a new system to a groups SystemList in the configuration, use the following commands:
# haconf -makerw # hagrp -modify group1 SystemList -add sysa 1 # haconf -dump -makero