Oracle9i Real Application Clusters Installation and Configuration
Release 1 (9.0.1)

Part Number A89868-02
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback

Go to previous page Go to next page

B
Oracle Enterprise Manager in Real Application Clusters Reference

Appendix B describes service discovery problems for Oracle Enterprise Manager in Real Application Clusters environments. Specific topics covered in this appendix are:

Resolving Service Discovery Failures

Discovery of nodes and objects by Oracle Enterprise Manager is robust and rarely fails once a correct configuration is established. Failures typically occur because the Oracle Intelligent Agent was not starting on the node or the configuration is incorrect. If starting the Oracle Intelligent Agent does not resolve the problem, the discovery failure could be due to a more serious configuration issue.

This section covers the following topics:

Understanding Discovery

To understand proper configuration, it is important to understand how discovery works. During discovery, a services.ora file on the managed nodes is created in the $ORACLE_HOME/network/agent directory on UNIX operating systems and %ORACLE_HOME%\network\admin directory on Windows NT or Windows 2000 operating systems. This file contains information about the nodes and their services (databases, instances and listeners) discovered.


Note:

Oracle8i and Oracle9i databases can co-exist on the same node. Refer to Oracle8i documentation for information on Oracle8i Discovery. 


This file is created from the Real Application Clusters configuration information in the shared raw device (or shared cluster file system file maintained by the SRVCTL Utility) and the following sources on the managed nodes:

You must accurately configure each of these components so that discovery succeeds.


Note:

The following Discovery descriptions apply only to Release 9.0.1 and later. If you are running an earlier version, please refer to the corresponding editions of Real Application Clusters documentation. 


oratab on UNIX and Registry on Windows NT/Windows 2000

Discovery first determines the Real Application Clusters database name and the nodes associated with the database. How it accomplishes this depends on the operating system that the managed system is running on as described under the following headings:

UNIX and oratab

On UNIX operating systems, discovery uses information in the oratab entry for the name of the cluster. The oratab entry is found in /etc/oratab or /var/opt/oracle/oratab. It contains entries of the form:

db_name:$ORACLE_HOME:N


Where db_name is the database name and $ORACLE_HOME is the Oracle home given to your database. From this entry, the database name is acquired.

Next, discovery executes the following command:

srvctl config -p db_name

Where db_name was retrieved from oratab,

On some operating systems, such as Sun Solaris, node_list defaults to the entire cluster and this parameter does not need to be explicitly set. The configuration file must exist even if it has no entries.

The Windows Registry and listener.ora

On Windows operating systems, discovery locates the listener and instance names for a node with the listener.ora file, located in $ORACLE_HOME/network/admin on UNIX operating systems and %ORACLE_HOME%\network\admin on Windows NT or Windows 2000 on the discovered nodes.

Discovery requires the following entries:

The listener.ora file created after installation typically contains the configuration for discovery.

See Also:

Oracle9i Real Application Clusters Administration for more information on the listener.ora file. 

tnsnames.ora

The tnsnames.ora file, located in $ORACLE_HOME/network/admin on UNIX operating systems and %ORACLE_HOME%\network\admin on Windows NT or Windows 2000 on the discovered nodes, is read by the discovery process to determine names and address information for the database and instances on a node.

Discovery requires the following entries:

Discovery Results

Discovery results in the creation of:

Troubleshooting Discovery


Note:

Oracle Intelligent Agent must be running, and the Global Services Daemon (GSD) must be started before Discovery will function properly. Also note that the Agent must be in the same Oracle Home in which the database resides. 


If the services.ora file contains an ORACLE_DATABASE entry instead of ops_database and ops_instance entries, discovery has failed. To resolve this:

  1. Check that the database is defined correctly:

    On UNIX:

    1. Verify that oratab file is configured correctly.

    2. Run the following command to verify proper setup:

      srvctl config -p db_name -n node_name
      
      

    On Windows NT or Windows 2000:

    1. Check the registry entries associated with the database.

    2. Run the following command to verify proper setup:

      SRVCTL config -p db_name -n node 
      
      
      

    On Unix, Windows NT, or Windows 2000, SRVCTL displays the name of the node and the instance for the node. The following example shows a node named NODE1 running an instance named DB1 with a listener named LISTENER_NODE1.

    node1 op1
    
  2. Inspect the listener.ora and tnsnames.ora file entries to ensure that the required entries are present.

    See Also:

    Oracle9i Real Application Clusters Administration for information on troubleshooting with Oracle Enterprise Manager Thread Trace Files, and how to contact Oracle Worldwide Customer Support 


Go to previous page Go to next page
Oracle
Copyright © 1996-2001, Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Home
Go To Product List
Book List
Go To Table Of Contents
Contents
Go To Index
Index

Master Index

Feedback