Creating an Oracle Database Listener Resource Creating an Oracle Database Resource

13-10 Oracle Fusion Middleware High Availability Guide

13.4.1.3 Creating an Oracle Database Listener Resource

The following information is required for creating an Oracle listener resource: ■ A valid Oracle database home ■ The listener name ■ The virtual IP resource name for the listen address ■ The disk resource name for the Oracle home Before creating the database listener resource, carefully check the following: ■ The database listener home is installed on a shared disk. A CRS resource has been created for the shared disk with an ascrsctl command, and the resource is started. ■ A CRS resource has been created for the virtual IP with an ascrsctl command, and the resource is started. ■ The listener Cold Failover Cluster CFC enabled. See Section 12.2.4, Transforming an Oracle Database for details. ■ Ensure that the listener name and Oracle home are valid database sid and database home. ASCRS does not do exhaustive validation on this type of information for this release. ■ On Windows, ensure that the start method of the listener Windows service is ’manual.’ Here is a syntax example for creating the resource: ascrsctl create -n mydblsnr -type dblsnr -loh cfcdb -ln LISTENER -disk ohdisk -vip myvip For online help information for creating an Oracle database listener resource, use the following command: ascrsctl help -c create -t dblsnr

13.4.1.4 Creating an Oracle Database Resource

A database resource is a resource of any one of the following: ■ Oracle database instance ■ Oracle Database Console dbconsole process ■ Oracle job scheduler process for the Windows platform ■ Oracle Volume Shadow Copy Service for the Windows platform Creating an Oracle database instance resource requires the following: ■ A valid Oracle database home ■ The database sid name ■ Disk resource name for the Oracle home ■ Disk resource names if data files reside on different shared disks ■ The listener resource name Before creating the Oracle database instance resource, carefully check the following: ■ On Windows, ensure the built-in user system is in DBA_GROUP and the start method of the corresponding Windows service is ’manual.’ Using Oracle Cluster Ready Services 13-11 ■ The database home is installed on a shared disk. The data files of this database are on the same or different shared disks. CRS resources have been created for all these shared disks with ascrsctl and started. ■ A CRS resource has been created for the database listener with an ascrsctl command, and the resource is started. ■ The database is CFC enabled. See Section 12.2.4, Transforming an Oracle Database for details. ■ Ensure the database sid and Oracle home are valid. ASCRS does not do extensive validation of this information for this release. The following is a syntax example for creating the database instance resource: ascrsctl create -n mydb -type db -oh cfcdb -lsnr mydblsnr -disk ohdisk datadisk Creating all the other database resources requires the following: ■ A valid Oracle database home. ■ The database SID name. ■ The disk resource name for the Oracle home. ■ A valid virtual IP resource name. This is required for the Oracle Database Console dbconsole database resource only. ■ The database is CFC enabled. For online help information for creating an Oracle database resource, use the following command: ascrsctl help -c create -t db

13.4.1.5 Creating a Middleware Resource