Previous  |  Next  >  
Product: Storage Foundation for Oracle RAC Guides   
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration   

Service Groups in SFRAC: Overview

The VERITAS Cluster Server (VCS) package, provided as part of the installation of Storage Foundation for Oracle RAC, provides the ability to automate the entire RAC environment. For example, VCS can be used to automatically start the Cluster Volume Manager and Cluster File System resources within the cluster, bring up IP addresses and the Oracle Listener, mount the file systems with the Oracle binaries, mount the storage for the database instances, and actually start the database instance. Placing the database under VCS control in no way removes the DBA's capability for full control. It simply automates actions to enable the cluster to start up after any outage.

In a Storage Foundation for Oracle RAC cluster, the administrative staff is free to choose how much, or how little automated control they desire. Less automation means more traditional hands-on interaction, but also requires the administrator take corrective action in more circumstances. A better idea may be to allow VCS complete startup control to take care of system and power failures and restarts, while still allowing manual control if necessary.

VCS uses installed agents to manage the resources in the Storage Foundation for Oracle RAC environment. Each type of resource has an agent; for example, VCS uses a CFSMount agent for mounting shared file systems, the CVMVolDg agent for activating shared disk groups and monitoring shared volumes, an Oracle agent for starting the Oracle database, an IP agent for setting up and monitoring an IP address, and so on.

The VCS configuration file (/etc/VRTSvcs/conf/config/main.cf) contains the information the agents require to manage each resource in the environment. In addition, the configuration file specifies the dependencies between resources; the dependencies that one resource has upon another sets the order in which the resources are started or stopped by the agents.

Within VCS configurations, resources exist in service groups. A service group consists of resources that must function together in support of a service. For example, an Oracle service group can consist of the Oracle database, a CFSMount resource for the shared file system containing the database, and a CVMVolDg resource for the shared disk group that contains the file system. Just as resources have dependencies upon other resources, service groups can have dependencies on other service groups.

The CVM Service Group

After the installation of Storage Foundation for Oracle RAC, a basic CVM service group is created automatically. The CVM service group consists of resources for the CVM and CFS daemons (CVMVxconfigd and CFSfsckd) and the CVMCluster resource. If for any reason this group has not been created, you may create it at any time by running the command:


/opt/VRTSvxfs/cfs/bin/cfscluster config

The CVM service group must exist in the /etc/VRTSvcs/conf/config/main.cf file to enable CVM administrative commands (such as vxclustadm) to function. Do not delete or rename this service group. Refer to the Sample main.cf: After SFRAC Installation and Before Oracle9i Installation.

Click the thumbnail above to view full-sized image.

When you have installed Oracle RAC and created a database, you may modify the CVM service group to implement control of other core cluster infrastructure components, such as the Oracle listener and Oracle binaries. Most of these choices are covered in the rest of this chapter.

 ^ Return to Top Previous  |  Next  >  
Product: Storage Foundation for Oracle RAC Guides  
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration  
VERITAS Software Corporation
www.veritas.com