Check the configuration after you edit the main.cf.
To check the configuration
Verify the syntax of the file /etc/VRTSvcs/conf/config/main.cf:
# cd /etc/VRTSvcs/conf/config # hacf -verify .
Start the VCS engine on System A:
# hastart
# hastatus
When "LOCAL_BUILD" is listed in the message column, start VCS on System B:
# hastart
Verify that all DB2 UDB service group resources are brought online on System A:
# hagrp -display
Take the service groups offline on System A and verify that all resources are stopped:
# hagrp -offline db2udb_grp1 -sys sysa # hagrp -offline db2udb_grp3 -sys sysa # hagrp -display
Bring the service groups online again on System A and verify that all resources are available:
# hagrp -online db2udb_grp1 -sys sysa # hagrp -online db2udb_grp3 -sys sysa # hagrp -display
Switch the DB2 UDB service group to System B:
# hagrp -switch db2udb_grp1 -to sysb # hagrp -switch db2udb_grp3 -to sysb
Verify that all DB2 UDB service group resources are brought online on System B:
# hagrp -display
On all the systems, look at the following log files for any errors or status:
/var/VRTSvcs/log/engine_A.log /var/VRTSvcs/log/Db2udb_A.log