InfoScale™ 9.0 Cluster Server Implementation Guide for Oracle - Windows
- Introducing the VCS agents for Oracle and NetApp
- Installing and configuring VCS
- Installing and configuring Oracle
- Prerequisites for installing Oracle
- Managing storage using Windows Logical Disk Manager
- Managing storage using NetApp filer
- Configuring Oracle on the first node
- Associating the database with the listener
- Configuring the Oracle database
- Configuring the Oracle service group
- Administering the Oracle service group
- Troubleshooting
- Appendix A. Resource type definitions
- Appendix B. Sample configuration
- Appendix C. Oracle Enterprise Manager 10g Grid Control with VCS
- Making the additional agent highly available
Prerequisites to associate the databases with the listeners
Ensure that the initialization parameter file contains the following entries:
SERVICE_NAMES (the name of the database service)
INSTANCE_NAME (the name of the database instance)
These parameters are created during installation or database creation.
To associate the database with the listener
- Configure a new attribute listener_alias. The listener_alias value should be unique; it should be different from the listener name.
Run the following SQL commands.
Set the SID name.
Type the following on the command prompt:
C:\>set ORACLE_SID=<SID NAME>
Log on to the Oracle database as an administrator.
Type the following on the command prompt:
C:\>sqlplus "/nolog" C:\>sqlplus "/as sysdba"
Configure listener_alias.
Type the following on the command prompt:
SQL> ALTER SYSTEM SET LOCAL_LISTENER='<listener_alias>' scope=spfile;
If you are using a pfile, add the following entry to the initialization parameter file (pfile):
LOCAL_LISTENER = <listener_alias>
- Define the parameter listener_alias. If your Oracle configuration uses the file tnsnames.ora, edit the file as instructed below. The default location of tnsnames.ora is <ORACLE_HOME>\NETWORK\ADMIN.
Add the following to tnsnames.ora file:
<listener_alias>= (DESCRIPTION = (ADDRESS=(Protocol=TCP)(HOST=virtual_IP_address)(Port=port)) )
Here, virtual IP address is the IP address you assigned to the IP resource in the temporary service group and port is the port number you specified while creating the listener. You can check the listener.ora file to find out the port number used. The default value is 1521.
- Stop and restart the database.
The listener_alias parameter gets appended by the default domain name specified in the file sqlnet.ora.