Importing the SybaseTypes.cf File
Before configuring the Sybase service group, you must import the SybaseTypes.cf file to the VCS engine.
To import using the Cluster Manager
-
Start Cluster Manager and log on to the cluster.
-
From the File menu select Import Types...
-
In the Import Types dialog box, select the file:
/etc/VRTSvcs/conf/sample_sybase/SybaseTypes.cf
-
Click Import.
-
Save the configuration.
To import using the command line
-
Log in to a cluster system as root.
-
Ensure that all changes to the existing configuration have been saved and that further changes are prevented while you modify main.cf:
# haconf -dump -makero
-
To ensure that VCS is not running while you edit main.cf, issue the following command to stop the VCS engine on all systems and leave the resources available:
# hastop -all -force
-
Make a backup copy of the main.cf file:
# cd /etc/VRTSvcs/conf/config
# cp main.cf main.cf.orig
-
Edit the main.cf file to include the SybaseTypes.cf file:
include "../SybaseTypes.cf"
At this point, the Sybase types definition has been imported to the VCS engine. The Sybase agent can be configured without interrupting or stopping VCS.
|