haconf - allow or prevent dynamic changes to the VCS configuration file
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.
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.
Write the configuration to disk and remove the designation stale. -makero changes the VCS mode to read-only.
Display information about this command.
To dynamically add a new system to a group's SystemList in the configuration, use the following commands:
# hagrp -modify group1 SystemList -add sysa 1
hacff (1M)