Home > Veritas Cluster Server Manual Pages

HACONF (1M)

Maintenance Commands

Table of contents


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. The configuration must be written back to disk and made read-only by specifying the -dump and -makero options. 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. -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

hacf(1M)

hagetcf(1M)


COPYRIGHTS

Copyright (c) 2008 Symantec.

All rights reserved.

Last updated: 07/03/2008
Copyright ©2009 Symantec Corporation
All rights reserved.