Saturday, October 03, 2009

VSC Manually Editing Configuration File | Howto

Tech Blog - Here is a quick guide in manually editing Varitas Cluster configuration file main.cf, Veritas Cluster is a High-availability cluster software, it provides application cluster capabilities to systems running databases and applications.


Veritas HA config file can be found in /etc/VRTSvcs/conf/config

Steps in editing the main.cf

First we stop all the cluster with the hastop command
$ hastop -all

Then we create a backup copy of the current configuration file
$ cp main.cf main.cf.backup

We use a text editor to edit the configuration file in this cae we use vi
$ vi main.cf

We verify the configuration file using hacf to make sure that there are no syntax error, hacf - manages VCS configuration files
$ hacf -verify /etc/VRTSvcs/conf/config/

Then we use hacf -generate to generate dependency tree in main.cf
$ hacf -generate /etc/VRTSvcs/conf/config/

Start up the cluster then were done, configuration changes has been applied.
$ hastart

Hope this helps.


Check out other pages:

No comments:

For suggestion and concerns E-mail