![]() |
< Previous | Next > |
Product: Storage Foundation for Oracle RAC Guides | |
Manual: Storage Foundation 4.1 for Oracle RAC Installation and Configuration |
Configuring CVM and Oracle Service GroupsThe CVM and Oracle service groups can be configured using the following two methods:
Configuring CVM and Oracle Service Groups ManuallyYou can edit the main.cf file directly to configure the CVM and Oracle service groups. If you would prefer to use the VCS RAC wizard to perform the configuration, see Configuring the Service Groups Using the Wizard.
Using vi or another text editor, edit the main.cf file and modify the cvm service group and create Oracle service groups using the guidelines in the following sections. Two example configuration are shown for modifying the CVM service group: Example 1: CVM Group with Oracle Binaries on CFS, shown below, and Example 2: CVM Group with Oracle Binaries Installed Locally. Adding the Oracle database service group is the same for either configuration. See Creating Oracle Service Group in the main.cf File Example 1: CVM Group with Oracle Binaries on CFSFor this example, you can refer to the illustration shown in CVM Group with Oracle Binaries and SRVM on CFS; Virtual IP. Modifying the CVM Service Group in the main.cf File The cvm service group is created during the installation of Storage Foundation for Oracle RAC. After installation, the main.cf file resembles the example shown in Sample main.cf: After SFRAC Installation and Before Oracle9i Installation. Because Oracle had not been installed, the cvm service group includes only resources for the CFSfsckd daemon and the CVMCluster resource. You must modify the cvm service group to add the Netlsnr, NIC, IP, CVMVolDg, and CFSMount resources to the configuration. You can refer to Sample Configuration Files to see a complete example of how a cvm group is configured.
Creating the Oracle Service Group and Adding Resources The procedure for adding Oracle database resources is identical for the two example configurations shown. See Creating Oracle Service Group in the main.cf File. Example 2: CVM Group with Oracle Binaries Installed LocallyFor this example, you can refer to the illustration shown in CVM Group with Oracle Installed Locally; SRVM on Shared File System; Host IP Used. Modifying the CVM Service Group in the main.cf File The cvm service group is created during the installation of Storage Foundation for Oracle RAC. After installation, the main.cf file resembles the example shown in Sample main.cf: After SFRAC Installation and Before Oracle9i Installation. Because Oracle had not been installed, the cvm service group includes only resources for the CFSfsckd daemon and CVMCluster resource. You must modify the cvm service group to add the Netlsnr, Mount, Disk Group, CVMVolDg, and CFSMount resources to the configuration. You can refer to Sample Configuration Files, Sample Configuration Files, to see a complete example of how a cvm group is configured.
Creating the Oracle Service Group and Adding Resources The procedure for adding Oracle database resources is identical for the two example configurations shown. See the next section, Creating Oracle Service Group in the main.cf File. Creating Oracle Service Group in the main.cf FileFor a complete description of the VCS Oracle enterprise agent, refer to the document, VERITAS Cluster Server Enterprise Agent for Oracle, Installation and Configuration Guide. That document includes instructions for configuring the Oracle and Netlsnr agents. The VCS Enterprise Agent for Oracle version 4.1 is installed when you run the installer script. When you refer to the VERITAS Cluster Server Enterprise Agent for Oracle Installation and Configuration Guide, ignore the steps described in the section "Installing the Agent Software."
See the Sample Configuration Files for a complete example. You can also find the complete file in /etc/VRTSvcs/conf/sample_rac/main.cf. When you complete editing the main.cf file, see the next section, Saving and Checking the Configuration. Saving and Checking the ConfigurationWhen you complete editing the main.cf file to configure the CVM and Oracle service groups, verify the new configuration.
Additional RAC Processes Monitored by the VCS Oracle AgentFor shallow monitoring, the VCS Oracle agent monitors the Oracle9i RAC processes ora_lmon and ora_lmd, in addition to the processes ora_dbw, ora_smon, ora_pmon, and ora_lgwr. Attributes of CVM, Oracle Groups Defined as LocalThe following table lists attributes that must be defined as local for the CVM and Oracle service groups (note that each attribute has string-scalar as the type and dimension).
If other attributes for the Oracle resource differ for various RAC instances, define them locally as well. These other attributes may include the Oracle resource attributes User, PWord, the CVMVolDg resource attribute CVMActivation, and others. Modifying the VCS ConfigurationFor additional information and instructions on modifying the VCS configuration, refer to the VERITAS Cluster Server User's Guide. Location of VCS and Oracle Agent Log FilesOn all cluster nodes, look at the following log files for any errors or status messages: /var/VRTSvcs/log/engine_A.log /var/VRTSvcs/log/Oracle_A.log /var/VRTSvcs/log/Netlsnr_A.log When large amounts of data are written, multiple log files may be required. For example, engine_B.log, engine_C.log, and so on, may be required. The engine_A.log contains the most recent data. Configuring the Service Groups Using the WizardYou can use a configuration wizard to configure the VCS service groups for Storage Foundation for Oracle RAC environment. The wizard enables you to create the service group for Oracle and modify the CVM service group. Creating Oracle Service Group - OverviewThe Oracle9i RAC configuration wizard guides you through the creation of an Oracle service group and the definition of the Oracle, CFSMount, and CVMVolDg resources. It adds the Netlsnr resources to the existing CVM group. If the listeners use the virtual IP, the wizard also adds the IP and NIC resources to the CVM group. The wizard configures the Oracle service group to depend on CVM group with an online-local-firm dependency. Before Starting the WizardBefore starting the Wizard, you can verify that your Oracle installation can be configured. Review the requirements listed below. Also, you need to provide the wizard information as it proceeds. Make sure you have that information at hand.
![]()
![]()
Information Required From the User
Establishing Graphical Access for the WizardThe configuration wizard requires graphical access to the VCS systems where you want to configure service groups. If your VCS systems do not have monitors, or if you want to run the wizards from a remote HP system, do the following: Establishing Graphical Access from a Remote System
Starting the Configuration WizardThe configuration wizard for Oracle 9i RAC is started at the command line.
The Welcome WindowThe RAC wizard starts with a Welcome window that highlights the prerequisites for configuration and the information required of the user to complete the configuration. If your configuration does not meet the configuration requirements, you can stop the wizard by pressing Cancel. Take the necessary steps to meet the requirements and start the wizard again (see Starting the Configuration Wizard above). The Wizard Discovers the RAC ConfigurationIf you are ready to configure Oracle service group, press Next on the Welcome screen. The wizard begins discovering the current Oracle RAC information before proceeding with the next screen. Click the thumbnail above to view full-sized image. If the wizard does not find all databases and listeners running on all systems in the cluster, it halts with an error, indicating the problem. Press Cancel, and start the wizard again after you correct the problem. The Wizard Options ScreenThe first configuration screen presents options to "Create RAC service group" or "Modify RAC service group." If you are using the Wizard to modify an existing service group, see Modifying the Oracle 9i RAC Service Group Configuration. Creating a RAC Service GroupTo create an Oracle RAC service group, click the corresponding button and provide a name for the Oracle service group. Guidelines for naming an Oracle service group are available by clicking Help ("?"). After entering a service group name, click Next. Click the thumbnail above to view full-sized image. Database Selection ScreenThe databases and their instances running on the cluster are listed on this screen. Highlight only one of the databases if more than one are listed. Click Next. Click the thumbnail above to view full-sized image. Instance Configuration ScreenConfigure the basic database instance information on the Instance Configuration screen. Click the thumbnail above to view full-sized image. Confirming Basic Database Instance Information For each database instance discovered, basic configuration information is displayed. If necessary, double click in a field to select and edit its contents.
Accept the displayed STARTUP option, or select an option from the drop-down menu. The startup options include starting in RESTRICTED, RECOVERDB, SRVCTLSTART, or CUSTOM modes. Accept the displayed IMMEDIATE option, or select an option from the drop-down menu. The stop options also include TRANSACTIONAL, SRVCTLSTOP, and CUSTOM. Check box for Detailed Monitoring On the Instance Configuration Screen, you can choose to enable Detail Monitoring. If you check Enable Detail Monitoring, be sure you have previously set up the database table, user, and password for the agent to use during monitoring. See Detail Monitoring Screen - Oracle Resource.If you are not set up for detail monitoring, do not select it. Check box for Advanced Options On the Instance Configuration Screen, you can choose to Specify Advanced Options. The advanced options include setting up an EnvFile (to define environment variables), Encoding, and an AutoEndBkup parameter. See Oracle Advanced Configuration Screen. Detail Monitoring Screen - Oracle ResourceThis screen is displayed if you have checked Detail Monitoring at the bottom of the Instance Configuration Screen. Click the thumbnail above to view full-sized image. For each database instance identified by its Sid, this screen displays fields for defining the attributes that enable detail monitoring of the Oracle database resource. You do not have to enable detail monitoring on all instances, but for each instance you check, all of the fields are required:
Oracle Advanced Configuration ScreenThis screen is displayed if you have checked Specify Advance Options at the bottom of the Instance Configuration Screen. Click the thumbnail above to view full-sized image. For each database instance identified by its Sid, this screen displays fields for configuring the advanced attributes of the Oracle service group. You may select which database instance you want to configure advance attributes for, and which attributes you want to define. The advance attributes include:
See the VERITAS Cluster Server Enterprise Agent for Oracle Installation and Configuration Guide for a complete description of the EnvFile, Encoding, and AutoEndBkup attributes. Database Configuration ScreenIf you have installed the database on a cluster file system, the wizard discovers the mount point and displays it on the Database Configuration screen. You can confirm the mount options displayed, or you can modify them. If the database exists on raw volumes, the wizard discovers the volumes. Click the thumbnail above to view full-sized image. Listener Configuration ScreenThe Listener Configuration screen displays the name of the listener corresponding to each database instance, as well as the IP address and device name used by each listener. Typically, you cannot change this information, only verify it. Click the thumbnail above to view full-sized image. Check boxes: Detail Monitoring, Advanced Listener Options You can choose to configure detail monitoring for the Netlsnr agent by clicking the "Enable detail monitoring" check box. The wizard uses the monitor script /opt/VRTSvcs/bin/Netlsnr/LsnrTest.p1 to monitor the listeners in detail. You can also choose to "Specify Advanced options," which include setting up an EnvFile (to define environment variables), Encoding, and LsnrPwd parameters. See Listener Advanced Configuration Screen that follows. If you have set up the listener to use the base, or host, IP address, the wizard displays the following message when you press Next on the Listener Configuration screen: Click the thumbnail above to view full-sized image. Listener Advanced Configuration Screen This screen displays if you have checked "Specify Advanced options at the bottom of the Listener Configuration Screen. Click the thumbnail above to view full-sized image. For each listener identified by name, this screen displays fields for defining the advanced attributes of the Netlsnr resource.
Service Group Summary ScreensAfter you have configured the database and listener resources, the wizard displays the configuration on a "Summary" screen. Click the thumbnail above to view full-sized image. You can click on a resource within the service group to highlight it and display its attributes and their values. For example, if you click on the name of the Oracle resource, Ora-racj1, the wizard displays details of the Oracle resource, as the following illustration shows. Click the thumbnail above to view full-sized image. The next illustration shows the attributes for the CFSMount resource. Note the dependencies listed at the bottom of the Attributes screen. Click the thumbnail above to view full-sized image. The NetLsnr resource is configured as part of the CVM service group. The CVM service group also contains other resources, but the wizard does not show them because the wizard does not control them. Click the thumbnail above to view full-sized image. Implementing the Configuration The wizard implements the configuration changes when you click Finish. The wizard creates the Oracle service group, adds the Netlsnr resource to the CVM the configuration. Modifying Oracle RAC Service Groups Using the WizardOnce an Oracle RAC service group is created on a system, the configuration wizard can be used to modify the service group's Oracle, Netlsnr, and CVM components. ![]()
Modifying the Oracle 9i RAC Service Group Configuration
|
^ 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 |