Вы находитесь на странице: 1из 74

Table of Contents

0 DOCUMENT CONTROL..............................................................................................................................................2
0.1 REVISION HISTORY..........................................................................................................................................................2
0.2 DOCUMENT DISTRIBUTION ...............................................................................................................................................2
0.3 DOCUMENT REFERENCES..................................................................................................................................................2
0.4 DOCUMENT ACCESS CONTROL...........................................................................................................................................2
1 INTRODUCTION...........................................................................................................................................................3

2 INSTALLATION STEPS................................................................................................................................................4

3 CLUSTER READY SERVICE (10.1.0.2) INSTALLATION.......................................................................................5

4 DATABASE (10.1.0.2) INSTALLATION....................................................................................................................15

5 COMPANIONS (10.1.0.2) INSTALLATION..............................................................................................................23

6 APPLY CLUSTER READY SERVICE 10.1.0.4.........................................................................................................28

7 APPLY DATABASE 10.1.0.4........................................................................................................................................33

8 APPLY CPU PATCH (4751928)...................................................................................................................................36

APPENDIX A – DATABASE AND SERVICE..............................................................................................................38

APPENDIX B – DATABASE LISTENER.....................................................................................................................41

APPENDIX C – CRS RESOURCE................................................................................................................................42

APPENDIX D - /ETC/HOSTS........................................................................................................................................46

APPENDIX E – DATABASE SQLNET PARAMETER FILES..................................................................................47

APPENDIX F – ENTERPRISE MANAGER................................................................................................................53

APPENDIX G – CREATE NEW DATABASE..............................................................................................................55

APPENDIX H – DATABASE LINK..............................................................................................................................62

APPENDIX I – VCS CONFIGURATION FILE..........................................................................................................63

APPENDIX J – TEST TABLE FOR VCS ORACLE AGENT....................................................................................72

APPENDIX K – SETUP RSH FOR ORACLE INSTALLATION..............................................................................73

METALINK REFERENCE............................................................................................................................................74
0 Document Control

0.1 Revision History


Version Author Review Reason For Issue Date
1.0A Eric Chan 1 Version
st
3 Apr 2006
rd

0.2 Document Distribution

Copy Owner Location / Address


1

0.3 Document References


Ref Referenced Item
1

0.4 Document Access Control

Section Access Restrictions


1 Introduction

This document is the installation guide of Oracle RAC installation project for the
XXXX (HK) Limited.

XXXX is working on a project called “A.P.P.L.I.E.S” with Immigration Department of


HKSAR Government as the enduser. The following is the environments in this
project:

1. System Test Environment (“SIT”) which includes


l Environment B (“Maintenance SIT”)
l Environment F (“Development SIT”)

2. Integrated User Acceptance Test Environment (IUAT) which includes


l Environment G (“IUAT”)
l Environment C (“Maintenance UAT”)

3. Production Environment (“PROD”) (with Resilience Centre (“RC”) site)

The Service provides the XXXX with the installation and the configuration of Oracle
10g RAC for its Development SIT only (ie. Environment F)
2 Installation Steps

This section describes the overall steps to install Oracle 10g RAC database. The installation process divides
into three parts; Oracle 10gR1 CRS, Oracle 10gR1 database and Oracle 10gR1 Companions. The following is
the overall installation procedure:

Task Reference
Pre-Installation OS packages (** XXXXWlibCx package is missing Design and Build Specification
in the design the build specification, refer to latest
design and build specification)
OS patches
Kernel parameter
/tmp space
SWAP space
Node time
Verify Veritas Storage Foundation for Oracle RAC
Network setting /etc/hosts
Setup rsh (** ssh is not configured) Appendix K
Installation Oracle CRS Section 3
Oracle Database Section 4
Oracle Companions Section 5
Apply CRS patch Section 6
Apply Database patch Section 7
Apply CPU patch Section 8
Post-Installation Database creation Appendix G
Create database service Appendix A
Modify CRS resource parameter Appendix C
Modify database listener and register remote Appendix B
listener
Database connection setting Appendix E
Enable Enterprise Manager Appendix F
Create/Modify VCS service group and configuration Appendix I
Create test table for VCS Oracle agent Appendix J
Disable automatic startup and shutdown of Oracle Remove /etc/rc3.d/S96init.crs
CRS and database and /etc/rc3.dK96init.crs
Modify VCS shutdown sequence Move /etc/rc0.d/K10vcs to
/etc/rc3.d/K10vcs
Create database link Appendix H
Create and register remote listener
3 Cluster Ready Service (10.1.0.2) Installation

1. Run ‘runInstaller’ from Oracle Cluster Ready Service installation CD.

2. A Welcome screen is displayed, click ‘Next’ button.

3. Enter full path of inventory directory (/opt/oracle/oraInventory) and specify operation system group for inventory dir-
ectory
4. An OUI window is prompted, run ‘/opt/oracle/oraInventory/orainstRoot.sh’ and click ‘Continue’ button after orainst-
Root.sh complete.
5. Specify CRS installation path.

l Name – OraCr10g_home
l Path - /opt/crs/oracle/product/10.1.0/crs

6. Specify ‘English’ as CRS language.


7. Enter CRS cluster name.

l Cluster Name – csdevuaedbs1

8. Specify the interfaces to uses as private and public interconnect.

Interface Name Subnet Interface Type


ce0 10.26.102.192 Public
ce2 20.20.30.0 Private
9. Specify OCR location.

l OCR Location – /crs/CRS_OCR/ocr1


10. Specify voting disk file name.

l Voting disk – /crs/VOTE-disk/vdisk1

11. An OUI window is prompted, run ‘/opt/oracle/oraInventory/orainstRoot.sh’ and click ‘Continue’ button after orainst-
Root.sh complete.
12. A summary window is displayed, click ‘Install’ button to continuous.

13. An installation process window is displayed.


14. An OUI window is prompted, run ‘/opt/crs/oracle/product/10.1.0/crs/root.sh’ on each cluster nodes (eg. devuaedb-
s11 and devuaedbs12) and click ‘OK’ button after root.sh complete.

Before run ‘/opt/crs/oracle/product/10.1.0/crs/root.sh’, apply Veritas SFRAC point patch.

Run the following commands to apply the Veritas SFRAC point patch:

l Login to first cluster node (eg. devuaedbs11) as root

l Copy init.cssd.patch file included in this point patch to <CRS_HOME>/admin/css/ directory.

# cp init.cssd.patch <CRS_HOME>/css/admin/

l Make a backup copy of <CRS_HOME>css/admin/init.cssd

# cd <CRS_HOME>/css/admin/
# cp init.cssd init.cssd.orig

l Apply patch to init.cssd file.

# patch init.cssd < init.cssd.patch

l Verify the differences

# diff –c init.cssd.orig init.cssd

l Repeat the procedure on another cluster node (eg. devuaebs12)


l Run ‘/opt/crs/oracle/product/10.1.0/crs/root.sh’ at devuaedbs11

l Run ‘/opt/crs/oracle/product/10.1.0/crs/root.sh’ at devuaedbs12

15. A configuration assistant window is displayed. An Oracle Notification Configuration Assistant and Oracle Private In-
terconnection Assistant are configured.
16. The ‘End of Installation’ is displayed means Oracle Cluster Ready Service is installed successfully.
4 Database (10.1.0.2) Installation
1. Run ‘runInstaller’ from Oracle Database installation CD.

2. Specify Database installation path.

l Name – OraDb10g_home1
l Path – /opt/oracle/product/10.1.0/db_1

3. Specify cluster nodes (devuaedbs11 and devuaedbs12) to installation database.


4. Specify Custom installation type.

5. OUI checks operation system requirement and installation path.


6. Specify database components to be installed.

l Oracle Real Application Clusters 10.1.0.2.0


l Oracle Partitioning 10.1.0.2.0

7. Specify Database Administrator Group and Database Operator Group.


8. Do not create database during installation.

9. A summary window is displayed, click ‘Install’ button to continuous.


10. An OUI window is prompted, run ‘/opt/oracle/product/10.1.0/db_1/root.sh’ on each cluster nodes (eg. devuaedbs11
and devuaedbs12) and click ‘Continue’ button after root.sh complete.

11. VIP Configuration Assistant window is displayed. Select all network interface for public network. (all interface within
same IPMP group, eg, ce0 and ce1).
12. The VIP Configuration Assistant Process Dialog is displayed.
13. The Oracle Net Configuration Assistant window is displayed. Specify typical configuration and click ‘Next’ button.
14. The ‘End of Installation’ is displayed means Oracle Database is installed successfully

15. Copy the IPC and VCSMM libraries on all nodes where Oracle 10g database binaries are installed.

l Logon to devuaedbs11 as oracle10 user.


l Run ‘cp /opt/VRTSvcs/rac/lib/libskgxp10_64.so $ORACLE_HOME/lib/libskgxp10.so’ at command prompt

l Logon to devuaedbs12 as oracle10 user.


l Run ‘cp /opt/VRTSvcs/rac/lib/libskgxp10_64.so $ORACLE_HOME/lib/libskgxp10.so’ at command prompt
5 Companions (10.1.0.2) Installation

1. Run ‘runInstaller’ from Oracle Companions installation CD.

2. Specify Companions installation path.

3. Select all cluster nodes and click ‘Next’ button.

4. Select ‘Oracle Database 10g Products 10.1.0.2.0’ and click ‘Next’ button.
5. A summary window is displayed, click ‘Install’ button to continuous.

6. An installation process window is displayed.


7. An OUI window is prompted, run ‘/opt/oracle/product/10.1.0/db_1/root.sh’ on each cluster nodes (eg. devuaedbs11
and devuaedbs12) and click ‘OK’ button after root.sh complete.

l Run ‘/opt/oracle/product/10.1.0/db_1/root.sh’ at devuaedbs11.


l Run ‘/opt/oracle/product/10.1.0/db_1/root.sh’ at devuaedbs12.

8. The ‘End of Installation’ is displayed means Oracle Companions is installed successfully.


6 Apply Cluster Ready Service 10.1.0.4

1. Logon to devuaedbs11 as oracle10 user.

2. Run ‘$ORACLE_HOME/OPatch/opatch apply’ and response the question as prompted. This step is used to apply
patch p3671865.

devuaedbs11 >$ORACLE_HOME/OPatch/opatch apply

Oracle Interim Patch Installer version 1.0.0.0.55


Copyright (c) 2006 Oracle Corporation. All Rights Reserved..

We recommend you refer to the OPatch documentation under OPatch/docs for usage
reference. We also recommend using the latest OPatch version. For the latest OPatch
version and other support related issues, please refer to document 293369.1 which is
viewable from metalink.oracle.com

Oracle Home = /opt/oracle/product/10.1.0/db_1


Location of Oracle Universal Installer components = /opt/oracle/product/10.1.0/db_1/oui
Location of OraInstaller.jar = "/opt/oracle/product/10.1.0/db_1/oui/jlib"
Oracle Universal Installer shared library =
/opt/oracle/product/10.1.0/db_1/oui/lib/solaris/liboraInstaller.so
Location of Oracle Inventory Pointer = /var/opt/oracle/oraInst.loc
Location of Oracle Inventory = /opt/oracle/product/10.1.0/db_1/inventory
Path to Java = /opt/oracle/product/10.1.0/db_1/jre/1.4.2/bin/java
Log file = /opt/oracle/product/10.1.0/db_1/.patch_storage/<patch ID>/*.log

Creating log file


"/opt/oracle/product/10.1.0/db_1/.patch_storage/3671865/Apply_3671865_03-16-2006_15-
47-25.log"

Invoking fuser to check for active processes.

Backing up comps.xml ...

OPatch detected the node list and the local node from the inventory. OPatch will patch the
local system then propagate the patch to the remote nodes.

This node is part of an Oracle Real Application Cluster.


Local node is "devuaedbs11"
Nodes are: devuaedbs11 devuaedbs12
(patching mode = rolling)
Please shut down Oracle instances running out of this ORACLE_HOME on this node.
(Oracle Home = /opt/oracle/product/10.1.0/db_1)
Is this node ready for updating?
Please respond Y|N >
Y
Applying patch 3671865...

Patching copy files...

Inventory is good and does not have any dangling patches.

The local instance has been updated and can be


restarted before answering the next question.
The nodes left to update are: "devuaedbs12".
Do you want to continue patching?
Please respond Y|N >
Y
Creating file to hold list of files to propagate:
"/opt/oracle/product/10.1.0/db_1/.patch_storage/3671865/opatch_files_to_propagate.lst"

Unpatched nodes are "devuaedbs12"


Which is the next node to be updated?
(if there are no more nodes, just press <enter>)
devuaedbs12

Please shut down Oracle instances on node:


"devuaedbs12"
running out of ORACLE_HOME
(Oracle Home = /opt/oracle/product/10.1.0/db_1)
Is the node ready for updating (are the instances down)?
Please respond Y|N >
Y
Propagating the patch...

Files for the interim patch 3671865 have been propagated to devuaedbs12.

Node "devuaedbs12" has been updated.


You can now restart Oracle instance on it.

Updating inventory...

Verifying patch...
Verifying that patch ID is in Oracle Home inventory.

Verifying copy files.

OPATCH_VERIFY_OK: Patch has been applied.

Backing up comps.xml ...

OPatch succeeded.
devuaedbs11 >

devuaedbs11 >sh ./custom/post_patch.sh $ORACLE_HOME/bin/racgwrap.sbs


patching racgwrap succeed!
original racgwrap saved in /opt/oracle/product/10.1.0/db_1/bin/racgwrap.original
devuaedbs11 >

devuaedbs12 >sh ./custom/post_patch.sh $ORACLE_HOME/bin/racgwrap.sbs


patching racgwrap succeed!
original racgwrap saved in /opt/oracle/product/10.1.0/db_1/bin/racgwrap.original
devuaedbs12 >

3. Run ‘runInstaller’ from Oracle 10.1.0.4 patch (patch number 416362).


4. Specify Cluster Ready Service name (eg. OraCr10g_home)

5. Select all cluster nodes and click ‘Next’ button to continuous.


6. A summary window is displayed, click ‘Install’ button to continuous.

7. An installation process window is displayed.


8. The ‘End of Installation’ is displayed and run the scripts as prompted.

l Run /etc/init.d/init.crs stop and /opt/crs/oracle/product/10.1.0/crs/install/root10104.sh at all cluster nodes.


7 Apply Database 10.1.0.4

1. Run ‘runInstaller’ from Oracle 10.1.0.4 patch (patch number 4163362)

2. Specify Database name (eg. OraDb10g_home1)

3. Select all cluster nodes and click ‘Next’ button to continuous.

4. A summary window is displayed, click ‘Install’ button to continuous.


5. An installation process window is displayed.

6. The ‘End of Installation’ is displayed.


8 Apply CPU Patch (4751928)

1. Logon to devuaedbs11 as oracle10 user.

2. Change to patch 4751928 directory

3. Run ‘$ORACLE_HOME/OPatch/opatch apply’

** instructions noted in the Readme accompanying this patch, have been **


** successfully completed. **
** **
********************************************************************************
********************************************************************************
Executing the Apply post-patch script (/opt/oracle/admin/patch/4751928/custom/scripts/post)...
***************************************************************
OPatch invoked the following commands
on the remote nodes to relink Oracle binaries.
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//rdbms/lib; /usr/ccs/bin/make -f
ins_rdbms.mk client_sharedlib
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//rdbms/lib/; /usr/ccs/bin/make -f
ins_rdbms.mk ioracle
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//network/lib; /usr/ccs/bin/make -f
ins_net_server.mk itnslsnr
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//sysman/lib; /usr/ccs/bin/make -f
ins_sysman.mk libnmuc
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//sysman/lib; /usr/ccs/bin/make -f
ins_sysman.mk libnmemso
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//rdbms/lib; /usr/ccs/bin/make -f
ins_rdbms.mk iexp
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//rdbms/lib; /usr/ccs/bin/make -f
ins_rdbms.mk iimp
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//rdbms/lib; /usr/ccs/bin/make -f
ins_rdbms.mk iexpdp
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//rdbms/lib; /usr/ccs/bin/make -f
ins_rdbms.mk iimpdp
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr
rsh -n devuaedbs12 " cd /opt/oracle/product/10.1.0/db_1//ctx/lib; /usr/ccs/bin/make -f ins_ctx.mk
ictxload
LD_LIBRARY_PATH="/opt/oracle/product/10.1.0/db_1/oui/lib:/opt/oracle/product/10.1.0/db_1/lib32"
ORACLE_HOME="/opt/oracle/product/10.1.0/db_1""
2>/opt/oracle/product/10.1.0/db_1/.patch_storage/4751928/make_devuaedbs12.stderr

Please check the binaries' timestamp and size


to make sure they are relinked correctly.
***************************************************************

OPatch succeeded.
devuaedbs11 >
Appendix A – Database and Service

This section describes the procedure to create database service. The following procedure creates services for TIAEAF
database.

1. Logon to devuaedbs11 as oracle10 user.

2. Run $ORACLE_HOME/bin/dbca

3. Specify ‘Services Management’ radio button.

4. Specify ‘TIAEAF’ database.

5. Click Add button to create TIAEAF_IM.dev.immd.hksarg service. Specify TIAEAF01 as ‘Available’ instance and
TIAEAF02 as ‘Preferred’ instance.

6. Click Add button to create TIAEAF_WL01.dev.immd.hksarg service. Specify TIAEAF01 as ‘Preferred’ instance and
TIAEAF02 as ‘Not Used’ instance.
7. Click Add button to create TIAEAF_WL02.dev.immd.hksarg service. Specify TIAEAF02 as ‘Not Used’ instance and
TIAEAF02 as ‘Preferred’ instance.

The following table shows the service for TIAEAF, TIAEEF and TIAEDF databases.

Database Name Hostname Instance


TIAEAF devuaedbs11 TIAEAF01
devuaedbs12 TIAEAF02
TIAEEF devuaedbs11 TIAEEF01
devuaedbs12 TIAEEF02
TIAEDF devuaedbs11 TIAEDF01
devuaedbs12 TIAEDF02

Service Name Instances


TIAEAF Database
TIAEAF_WL01 ** Preferred Instance – TIAEAF01
Not Used Instance – TIAEAF02
TIAEAF_WL02 ** Preferred Instance – TIAEAF02
Not Used Instance – TIAEAF01
TIAEAF_GE Preferred Instances – TIAEAF01 & TIAEAF02
TIAEAF_IM Preferred Instance – TIAEAF02
Availability Instance – TIAEAF01
TIAEEF Database
TIAEEF_WL01 ** Preferred Instance – TIAEEF01
Not Used Instance – TIAEEF02
TIAEEF_WL02 ** Preferred Instance – TIAEEF02
Not Used Instance – TIAEEF01
TIAEEF_GE Preferred Instances – TIAEEF01 & TIAEEF02
TIAEEF_IM Preferred Instance – TIAEEF02
Availability Instance – TIAEEF01
TIAEDF Database
TIAEDF_WL01 ** Preferred Instance – TIAEDF01
Not Used Instance – TIAEDF02
TIAEDF_WL02 ** Preferred Instance – TIAEDF02
Not Used Instance – TIAEDF01
TIAEDF_GE Preferred Instances – TIAEDF01 & TIAEDF02

** TIAEAF_WL01, TIAEAF_WL02, TIAEEF_WL01, TIAEEF_WL02, TIAEDF_WL01 and TIAEDF_WL02 are not startup
automatically when its preferred instance starts. VCS trigger function (/opt/VRTSvcs/bin/triggers/resstatechange) is
responsible to start the services when its preferred instance is startup.
Appendix B – Database Listener

Database Listener List

The following table shows the listeners for TIAEAF, TIAEEF and TIAEDF databases.

Listener Name Host Port Listening Instance


TIAEAF Database
LISTENER_TIAEAF_DEVUAEDBS11 devuaedbs11 1525 Local Listener of TIAEAF01
Remote Listener of TIAEAF02
LISTENER_TIAEAF_DEVUAEDBS12 devuaedbs12 1525 Local Listener of TIAEAF02
Remote Listener of TIAEAF01
TIAEEF Database
LISTENER_TIAEEF_DEVUAEDBS11 devuaedbs11 1526 Local Listener of TIAEEF01
Remote Listener of TIAEEF02
LISTENER_TIAEEF_DEVUAEDBS12 devuaedbs12 1526 Local Listener of TIAEEF02
Remote Listener of TIAEEF01
TIAEDF Database
LISTENER_TIAEDF_DEVUAEDBS11 devuaedbs11 1527 Local Listener of TIAEDF01
Remote Listener of TIAEDF02
LISTENER_TIAEDF_DEVUAEDBS12 devuaedbs12 1527 Local Listener of TIAEDF02
Remote Listener of TIAEDF01

Register Remote Listener

The following procedure describes the step to register instance (ie. TIAEAF01 and TIAEAF02)to the remote listener.

1. Logon to devuaedbs11 server as oracle10 user.

2. Execute sqlplus and logon to TIAEAF01 instance as sysdba user.

3. At sqlplus prompt, run ‘alter system set remote_listener=LISTENER_TIAEAF_DEVUAEDBS12 scope=both’

4. Logon to devuaedbs12 server as oracle10 user.

5. Execute sqlplus and logon to TIAEAF01 instance as sysdba user.

6. At sqlplus prompt, run ‘alter system set remote_listener=LISTENER_TIAEAF_DEVUAEDBS11 scope=both’


Appendix C – CRS Resource

CRS Resource List

This section shows the CRS resource list.

Resource Type Resource Name


Database ora.TIAEAF.db.cap
ora.TIAEDF.db.cap
ora.TIAEEF.db.cap
Instance ora.TIAEAF.TIAEAF01.inst.cap
ora.TIAEAF.TIAEAF02.inst.cap
ora.TIAEDF.TIAEDF01.inst.cap
ora.TIAEDF.TIAEDF02.inst.cap
ora.TIAEEF.TIAEEF01.inst.cap
ora.TIAEEF.TIAEEF02.inst.cap
Listener ora.devuaedbs11.LISTENER_TIAEAF_DEVUAEDBS11.lsnr.cap
ora.devuaedbs12.LISTENER_TIAEAF_DEVUAEDBS12.lsnr.cap
ora.devuaedbs11.LISTENER_TIAEDF_DEVUAEDBS11.lsnr.cap
ora.devuaedbs12.LISTENER_TIAEDF_DEVUAEDBS12.lsnr.cap
ora.devuaedbs11.LISTENER_TIAEEF_DEVUAEDBS11.lsnr.cap
ora.devuaedbs12.LISTENER_TIAEEF_DEVUAEDBS12.lsnr.cap
VIP ora.devuaedbs11.vip.cap
ora.devuaedbs12.vip.cap

Add CRS Resource

This section describes the procedure to add the CRS resource. VIP and listener resource are register automatically but
database and instance resource are required to register manually. The following step shows the procedure to register an
instances and database (eg. TIAEAF) to the Oracle Cluster Register.

l Register instances with the following command:

- Logon to devuaedbs11 as oracle user


- srvctl add instance –d TIAEAF –i TIAEAF01 –n devuaedbs11
- srvctl add instance –d TIAEAF –i TIAEAF02 –n devuaedbs12

l Register instances with the following command:

- Logon to devuaedbs11 as oracle user


- srvctl add database –d TIAEAF –o <ORACLE_HOME>

Modify CRS Resource

This section describes the procedure to modify the CRS resource.

1. Generate the resource profile file by issuing the following command:


crs_stat –p <resource_name> $ORACLE_HOME/crs/public/<resource_name>.cap

2. Update desired attributes by editing the file create in the previous step

3. Commit the updates made as a part of the previous step by issuing the following command:
crs_register –u <resource_name>

4. Verify the updates have been committed by issuing the following command:
crs_stat –p <resource_name>

The following are the modified CRS resource value:

** Parameter values other than the list are default values.


l Instance Resource

Resource name Value


ora.TIAEAF.TIAEAF01.inst.cap Original Value AUTO_START=1
RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs11.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.TIAEAF.TIAEAF02.inst.cap Original Value AUTO_START=1
RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs12.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.TIAEDF.TIAEDF01.inst.cap Original Value AUTO_START=1
RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs11.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.TIAEDF.TIAEDF02.inst.cap Original Value AUTO_START=1
RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs12.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.TIAEEF.TIAEEF01.inst.cap Original Value AUTO_START=1
RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs11.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.TIAEEF.TIAEEF02.inst.cap Original Value AUTO_START=1
RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs12.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=

l Listener Resource

Resource name Value


LISTENER_TIAEAF_DEVUAEDBS Original Value AUTO_START=1
11.lsnr.cap RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs11.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.devuaedbs12.LISTENER_TIAE Original Value AUTO_START=1
AF_DEVUAEDBS12.lsnr.cap RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs12.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.devuaedbs11.LISTENER_TIAE Original Value AUTO_START=1
DF_DEVUAEDBS11.lsnr.cap RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs11.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.devuaedbs12.LISTENER_TIAE Original Value AUTO_START=1
DF_DEVUAEDBS12.lsnr.cap RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs12.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.devuaedbs11.LISTENER_TIAE Original Value AUTO_START=1
EF_DEVUAEDBS11.lsnr.cap RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs11.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=
ora.devuaedbs12.LISTENER_TIAE Original Value AUTO_START=1
EF_DEVUAEDBS12.lsnr.cap RESTART_ATTEMPTS=5
REQUIRED_RESOURCES=ora.devuaed
bs12.vip
Modified Value AUTO_START=2
RESTART_ATTEMPTS=0
REQUIRED_RESOURCES=

l VIP Resource

Resource name Value


ora.devuaedbs11.vip.cap Original Value CHECK_INTERVAL=60
RESTART_ATTEMPTS=1
SCRIPT_TIMEOUT=60
Modified Value CHECK_INTERVAL=20
RESTART_ATTEMPTS=3
SCRIPT_TIMEOUT=20
ora.devuaedbs12.vip.cap Original Value CHECK_INTERVAL=60
RESTART_ATTEMPTS=1
SCRIPT_TIMEOUT=60
Modified Value CHECK_INTERVAL=20
RESTART_ATTEMPTS=3
SCRIPT_TIMEOUT=20

**
AUTO_START - A flag indicating whether Oracle Clusterware should automatically start a resource after a cluster restart,
regardless of whether the resource was running prior to the cluster restart. When set to 0, Oracle Clusterware starts the
resource only if it had been running before the restart. When set to 1, Oracle Clusterware always starts the resource
after a restart.

RESTART_ATTEMPTS –The number of times that Oracle Clusterware attempts to restart a resource on a single cluster
node before attempting to relocate the resource. A value of 1 means that Oracle Clusterware only attempts to restart the
resource once on a node. A second failure causes an attempt to relocate the resource.

REQUIRED_RESOURCES - An ordered list of resource names separated by blank spaces that this resource depends
on. Each resource to be used as a required resource in this profile must be registered with Oracle Clusterware or the re-
source’s profile registration will fail.

CHECK_INTERVAL - The time interval, in seconds, between repeated executions of the check entry point of a resource's
action program. There can be some overhead associated if you set the check interval to a low value and enable frequent
checks.

SCRIPT_TIMEOUT - The maximum time, in second, that an action program may require to complete before an error is
returned. This attribute specifies the time out value for the "check" action of the action script. If the check action does not
return before this time, Oracle Clusterware will consider the action failed.
Appendix D - /etc/hosts

This section is the network setting for the Oracle RAC database.

#
# Internet host table
#
127.0.0.1 localhost

10.26.102.196 devuaedbs11.dev.immd.hksarg loghost devuaedbs11


10.26.102.198 devuaedbs12.dev.immd.hksarg devuaedbs12

# Virtual IP
10.26.102.197 devuaedbs11-vip.dev.immd.hksarg devuaedbs11-vip
10.26.102.211 devuaedbs12-vip.dev.immd.hksarg devuaedbs12-vip

172.32.17.1 devuaedbs11-ipmp1.dev.immd.hksarg devuaedbs11-ipmp1


172.32.17.2 devuaedbs11-ipmp2.dev.immd.hksarg devuaedbs11-ipmp2

172.32.17.3 devuaedbs11-defaultrouter1
172.32.17.5 devuaedbs11-defaultrouter1
172.32.17.7 devuaedbs11-defaultrouter1

172.32.17.4 devuaedbs11-defaultrouter2
172.32.17.6 devuaedbs11-defaultrouter2
172.32.17.8 devuaedbs11-defaultrouter2

20.20.20.1 devuaedbs11-heartbeat1.dev.immd.hksarg devuaedbs11-heartbeat1


20.20.21.1 devuaedbs11-heartbeat2.dev.immd.hksarg devuaedbs11-heartbeat2
20.20.30.1 devuaedbs11-heartbeat.dev.immd.hksarg devuaedbs11-heartbeat

20.20.20.2 devuaedbs12-heartbeat1.dev.immd.hksarg devuaedbs12-heartbeat1


20.20.21.2 devuaedbs12-heartbeat2.dev.immd.hksarg devuaedbs12-heartbeat2
20.20.30.2 devuaedbs12-heartbeat.dev.immd.hksarg devuaedbs12-heartbeat

#
172.32.17.100 devuafdbs-clusteradm.dev.immd.hksarg devuafdbs-clusteradm
#
10.26.102.198 devuaedbs12.dev.immd.hksarg devuaedbs12

# for NBU
10.26.144.147 devuaebms41 # NBU Server 41 Hostname
10.26.144.150 devuaebms42 # NBU Server 42 Hostname
10.26.144.153 devuaebms # NBU Virtual Hostname
Appendix E – Database SQLNet Parameter Files
tnsnames.ora

# tnsnames.ora Network Configuration File: /opt/oracle/product/10.1.0/db_1/network/admin/tnsnames.ora


# Generated by Oracle configuration tools.

TIAEEFTAF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1526))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12-vip)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME = TIAEEF.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

TIAEAF_IM_TAF =
(DESCRIPTION =
(LOAD_BALANCE = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12-vip)(PORT = 1525))
(CONNECT_DATA =
(SERVICE_NAME = TIAEAF_IM.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

TIAEDFTAF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1527))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12-vip)(PORT = 1527))
(CONNECT_DATA =
(SERVICE_NAME = TIAEDF.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

TIAEAFTAF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12-vip)(PORT = 1525))
(CONNECT_DATA =
(SERVICE_NAME = TIAEAF.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

TIAEDF_WL02.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs12-vip.dev.immd.hksarg)(PORT = 1527))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEDF_WL02.dev.immd.hksarg)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)

TIAEDF_WL01.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg)(PORT = 1527))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEDF_WL01.dev.immd.hksarg)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)

LLSNR_TIAEAF_DEVUAEDBS11_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1525))
)
)
)

LLSNR_TIAEEF_DEVUAEDBS11_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1526))
)
)
)

RLSNR_TIAEAF_DEVUAEDBS12_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1525))
)
)
)

RLSNR_TIAEEF_DEVUAEDBS12_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1526))
)
)
)

TIAEEF_IM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg)(PORT = 1526))
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs12-vip.dev.immd.hksarg)(PORT = 1526))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEEF_IM.dev.immd.hksarg)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)

LLSNR_TIAEDF_DEVUAEDBS12_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1527))
)
)
)

TIAEAF_IM =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg)(PORT = 1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs12-vip.dev.immd.hksarg)(PORT = 1525))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEAF_IM.dev.immd.hksarg)
)
)

TIAEAF_SLB_TAF =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1535))
(CONNECT_DATA =
(SERVICE_NAME = TIAEAF.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

RLSNR_TIAEDF_DEVUAEDBS11_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1527))
)
)
)

TIAEDFTAF_GE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1527))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12-vip)(PORT = 1527))
(CONNECT_DATA =
(SERVICE_NAME = TIAEDF_GE.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

TIAEAF =
(DESCRIPTION =
(LOAD_BALANCE = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1525))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEAF.dev.immd.hksarg)
)
)
)

TIAEEF =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1526))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1526))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEEF.dev.immd.hksarg)
)
)

TIAEAF1 =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1535))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1535))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEAF.dev.immd.hksarg)
)
)

TIAEAF_GE.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg)(PORT = 1525))
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs12-vip.dev.immd.hksarg)(PORT = 1525))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEAF_GE.dev.immd.hksarg)
)
)

TIAEEF_WL02.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs12-vip.dev.immd.hksarg)(PORT = 1527))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEEF_WL02.dev.immd.hksarg)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)
TIAEEF_WL01.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg)(PORT = 1527))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEEF_WL01.dev.immd.hksarg)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)

TIAEAF_WL02.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs12-vip.dev.immd.hksarg)(PORT = 1525))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEAF_WL02.dev.immd.hksarg)
(FAILOVER_MODE =
(TYPE = SELECT)
(METHOD = BASIC)
(RETRIES = 180)
(DELAY = 5)
)
)
)
LLSNR_TIAEAF_DEVUAEDBS12_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1525))
)
)
)

TIAEAF_WL01.DEV.IMMD.HKSARG =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg)(PORT = 1525))
(LOAD_BALANCE = yes)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEAF_WL01.dev.immd.hksarg)
)
)

LLSNR_TIAEEF_DEVUAEDBS12_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1526))
)
)
)

RLSNR_TIAEAF_DEVUAEDBS11_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1525))
)
)
)

RLSNR_TIAEEF_DEVUAEDBS11_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1526))
)
)
)

TIAEDF =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1527))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12)(PORT = 1527))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TIAEDF.dev.immd.hksarg)
)
)
LLSNR_TIAEDF_DEVUAEDBS11_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1527))
)
)
)

TIAEEF_IM_TAF =
(DESCRIPTION =
(LOAD_BALANCE = on)
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11-vip)(PORT = 1526))
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS12-vip)(PORT = 1526))
(CONNECT_DATA =
(SERVICE_NAME = TIAEEF_IM.dev.immd.hksarg)
(SERVER = DEDICATED)
(FAILOVER_MODE =
(TYPE = select)
(METHOD = basic)
)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

RLSNR_TIAEDF_DEVUAEDBS12_ALIAS =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = DEVUAEDBS11)(PORT = 1527))
)
)
)

listener.ora

# listener.ora.devuaedbs11 Network Configuration File: /opt/oracle/produ


ct/10.1.0/db_1/network/admin/listener.ora.devuaedbs11
# Generated by Oracle configuration tools.
prefer_least_loaded_node_=off
SID_LIST_LISTENER_DEVUAEDBS11 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
)
)

SID_LIST_LISTENER_TIAEDF_DEVUAEDBS11 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
)
)

LISTENER_DEVUAEDBS11 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg
)(PORT = 1521))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.26.102.196)(PORT = 1521))
)
)

LISTENER_TIAEAF_DEVUAEDBS11 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg
)(PORT = 1525))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.26.102.196)(PORT = 1525))
)
)

LISTENER_TIAEEF_DEVUAEDBS11 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg
)(PORT = 1526))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.26.102.196)(PORT = 1526))
)
)

LISTENER_TIAEDF_DEVUAEDBS11 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = devuaedbs11-vip.dev.immd.hksarg
)(PORT = 1527))
)
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 10.26.102.196)(PORT = 1527))
)
)

SID_LIST_LISTENER_TIAEAF_DEVUAEDBS11 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
)
)

SID_LIST_LISTENER_TIAEEF_DEVUAEDBS11 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /opt/oracle/product/10.1.0/db_1)
(PROGRAM = extproc)
)
)

sqlnet.ora

# sqlnet.ora.devuaedbs11 Network Configuration File: /opt/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora.devuaedbs11


# Generated by Oracle configuration tools.

NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)


Appendix F – Enterprise Manager

The following section describes the procedure to enable the Enterprise Manager.

l Logon to any cluster node as oracle10 user.

l Run ‘emca –r’ at command prompt and answer the prompted question (shown in bold font). The following is the
screen dump:

devuaedbs11 >emca –r

STARTED EMCA at Mon Mar 20 21:46:33 HKT 2006


Enter the following information about the database to be configured
Listener port number: 1525
Database SID: TIAEAF01
Service name: TIAEAF.dev.immd.hksarg
Email address for notification:
Email gateway for notification:
Password for dbsnmp:
Password for sysman:
Password for sys:

-----------------------------------------------------------------

You have specified the following settings

Database ORACLE_HOME ................ /opt/oracle/product/10.1.0/db_1


Enterprise Manager ORACLE_HOME ................ /opt/oracle/product/10.1.0/db_1

Database host name ................ devuaedbs11.dev.immd.hksarg


Listener port number ................ 1525
Database SID ................ TIAEAF01
Service name ................ TIAEAF.dev.immd.hksarg
Email address for notification ...............
Email gateway for notification ...............

-----------------------------------------------------------------
Do you wish to continue? [yes/no]: yes
Mar 20, 2006 9:47:05 PM oracle.sysman.emcp.EMConfig getProperties
WARNING: Error reading file /opt/oracle/product/10.1.0/db_1/sysman/config/emd.properties
Mar 20, 2006 9:47:06 PM oracle.sysman.emcp.EMConfig updateReposVars
INFO: Updating file /opt/oracle/product/10.1.0/db_1/sysman/emdrep/config/repository.variables ...
Mar 20, 2006 9:47:17 PM oracle.sysman.emcp.EMConfig addPortEntries
INFO: Updating file /opt/oracle/product/10.1.0/db_1/install/portlist.ini ...
Mar 20, 2006 9:47:17 PM oracle.sysman.emcp.EMConfig updateEmdProps
INFO: Updating file /opt/oracle/product/10.1.0/db_1/sysman/config/emd.properties ...
Mar 20, 2006 9:47:18 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: targets.xml file is updated successfully
Mar 20, 2006 9:47:18 PM oracle.sysman.emcp.EMConfig updateEmomsProps
INFO: Updating file /opt/oracle/product/10.1.0/db_1/sysman/config/emoms.properties ...
Mar 20, 2006 9:47:18 PM oracle.sysman.emcp.EMConfig updateConfigFiles
INFO: emoms.properties file is updated successfully
Mar 20, 2006 9:47:19 PM oracle.sysman.emcp.EMConfig startOMS
INFO: Starting the DBConsole ...
Mar 20, 2006 9:48:58 PM oracle.sysman.emcp.EMConfig perform
INFO: DBConsole is started successfully
Mar 20, 2006 9:48:58 PM oracle.sysman.emcp.EMConfig perform
INFO: >>>>>>>>>>> The Enterprise Manager URL is http://devuaedbs11.dev.immd.hksarg:5500/em <<<<<<<<<<<
Enterprise Manager configuration is completed successfully
FINISHED EMCA at Mon Mar 20 21:48:58 HKT 2006
devuaedbs11 >

The following is the Enterprise Manager URL of the databases.


Database Name Enterprise Manager URL
http://devuaedbs11.dev.immd.hksarg:5500/em
TIAEAF
http://devuaedbs12.dev.immd.hksarg:5500/em
http://devuaedbs11.dev.immd.hksarg:5501/em
TIAEDF
http://devuaedbs12.dev.immd.hksarg:5501/em
http://devuaedbs11.dev.immd.hksarg:5502/em
TIAEEF
http://devuaedbs12.dev.immd.hksarg:5502/em
Appendix G – Create New Database

This section describes procedure to create a database creation script.

1. Logon to devuaedbs11 as oracle10 user.

2. Run $ORACLE_HOME/bin/dbca.

3. Specify ‘Create a Database’ radio button.

4. Select all cluster nodes, eg. devuaedbs11 and devuaedbs12, and click Next.

5. Select ‘Custom Database’ template and click Next.


6. Specify ‘Global Database Name’ and ‘SID Prefix’. DBCA restricts 5 characters for SID prefix thus ‘TIAEA’ can be
entered. The SID name should be corrected manually in the database creation scripts.

7. Keep default setting and click Next.


8. Specify password for default database user.

9. Select ‘Cluster File System’ as the storage mechanism and click Next.
10. Select ‘Use Database File Location from Template’.

11. Enable automatic archiving and specify file format of archived log.
12. Enable Flash Recovery Area, specify flash recovery area destination and flash recovery size.

13. Specify ‘Enterprise Manager Repository’ component to be created.


14. Keep default setting and click Finish.

15. Save the database creation script to a directory.

16. Modify the database creation script if any.

17. Run modified database creation script to create the database.

18. It is required to modify the database creation script to suit your environment (eg. instance name).

19. Enable the RAC database by issue ‘alter system set CLUSTER_DATABASE=TRUE scope=BOTH’.

20. Register database instance to the local and remote listener, eg. register TIAEAF01 and TIAEAF02

- Logon to TIAEAF01 instance as sysdba user


- Run ‘alter system set local_listener=LLSNR_TIAEAF_DEVUAEDBS11_ALIAS scope=BOTH’
- Run ‘alter system set remote_listener=RLSNR_TIAEAF_DEVUAEDBS12_ALIAS scope=BOTH’
Appendix H – Database Link

This section describes procedure to create a database link.

1. Run sqlplus and logon to database (eg. TIAEEF database) as sysdba user.

2. Run the following command at sqlplus prompt to create a database link

create database link <database link name> connect to <user> identified by <password> using '<tns connection ali-
as>';

For example,

create database link lnk_tiaeaf connect to testia01 identified by tia01 using 'tiaeaftaf';
Appendix I – VCS Configuration File

The following is the VCS configuration file, main.cf.

include "types.cf"
include "CFSTypes.cf"
include "CVMTypes.cf"
include "OracleTypes.cf"
include "PrivNIC.cf"

cluster devuaedbs (
UserNames = { admin = bIJbIDiFJeJJhRJdIG }
Administrators = { admin }
CredRenewFrequency = 0
UseFence = SCSI3
HacliUserLevel = COMMANDROOT
CounterInterval = 5
)

system devuaedbs11 (
)

system devuaedbs12 (
)

group cvm (
SystemList = { devuaedbs11 = 0, devuaedbs12 = 1 }
AutoFailOver = 0
Parallel = 1
AutoStartList = { devuaedbs11, devuaedbs12 }
)

Application cssd (
StartProgram = "/opt/VRTSvcs/rac/bin/cssd-online"
StopProgram = "/opt/VRTSvcs/rac/bin/cssd-offline"
CleanProgram = "/opt/VRTSvcs/rac/bin/cssd-clean"
MonitorProgram = "/opt/VRTSvcs/rac/bin/cssd-monitor"
OnlineRetryLimit = 20
)

CFSMount crs_Mnt_crs (
MountPoint = "/crs"
BlockDevice = "/dev/vx/dsk/crs_dg/crs_vol"
)

CFSQlogckd qlogckd (
)

CFSfsckd vxfsckd (
)

CVMCluster cvm_clus (
CVMClustName = devuaedbs
CVMNodeId = { devuaedbs11 = 0, devuaedbs12 = 1 }
CVMTransport = gab
CVMTimeout = 200
)

CVMVolDg diskgroup_crsdg (
CVMDiskGroup = crs_dg
CVMVolume = { crs_vol }
CVMActivation = sw
)

CVMVxconfigd cvm_vxconfigd (
CVMVxconfigdArgs = { syslog }
)

PrivNIC Ora_PrivNIC (
Device = { ce2 = 0, ce5 = 1 }
Address @devuaedbs11 = "20.20.30.1"
Address @devuaedbs12 = "20.20.30.2"
NetMask = "255.255.255.0"
)

crs_Mnt_crs requires diskgroup_crsdg


cssd requires Ora_PrivNIC
cssd requires crs_Mnt_crs
cvm_clus requires cvm_vxconfigd
diskgroup_crsdg requires Ora_PrivNIC
diskgroup_crsdg requires vxfsckd
qlogckd requires cvm_clus
vxfsckd requires qlogckd

// resource dependency tree


//
// group cvm
// {
// Application cssd
// {
// PrivNIC Ora_PrivNIC
// CFSMount crs_Mnt_crs
// {
// CVMVolDg diskgroup_crsdg
// {
// PrivNIC Ora_PrivNIC
// CFSfsckd vxfsckd
// {
// CFSQlogckd qlogckd
// {
// CVMCluster cvm_clus
// {
// CVMVxconfigd cvm_vxconfigd
// }
// }
// }
// }
// }
// }
// }

group oraclerac_db1 (
SystemList = { devuaedbs11 = 0, devuaedbs12 = 1 }
Parallel = 1
AutoStartList = { devuaedbs11, devuaedbs12 }
TriggerResStateChange = 1
)

CFSMount Ora_Mnt_db1_a01 (
MountPoint = "/db1/a01"
BlockDevice = "/dev/vx/dsk/db1_datadg/db1_a01_vol"
)

CFSMount Ora_Mnt_db1_d01 (
MountPoint = "/db1/d01"
BlockDevice = "/dev/vx/dsk/db1_datadg/db1_d01_vol"
)

CFSMount Ora_Mnt_db1_d02 (
MountPoint = "/db1/d02"
BlockDevice = "/dev/vx/dsk/db1_datadg/db1_d02_vol"
)

CFSMount Ora_Mnt_db1_d03 (
MountPoint = "/db1/d03"
BlockDevice = "/dev/vx/dsk/db1_datadg/db1_d03_vol"
)

CFSMount Ora_Mnt_db1_r01 (
MountPoint = "/db1/r01"
BlockDevice = "/dev/vx/dsk/db1_datadg/db1_r01_vol"
)

CVMVolDg diskgroup_db1 (
CVMDiskGroup = db1_datadg
CVMVolume = { db1_d01_vol, db1_d02_vol, db1_d03_vol,
db1_a01_vol,
db1_r01_vol }
CVMActivation = sw
)

MultiNICB mNICB_db1 (
UseMpathd = 1
MpathdCommand = "/usr/lib/inet/in.mpathd -a"
Device = { ce0 = "", ce1 = "" }
)

Netlsnr Lsnr_LISTENER_TIAEAF (
Critical = 0
Owner = oracle10
Home = "/opt/oracle/product/10.1.0/db_1"
TnsAdmin = "/opt/oracle/product/10.1.0/db_1/network/admin"
Listener @devuaedbs11 = LISTENER_TIAEAF_devuaedbs11
Listener @devuaedbs12 = LISTENER_TIAEAF_devuaedbs12
MonScript = "./bin/Netlsnr/LsnrTest.pl"
)

Oracle Ora_Inst_TIAEAF (
Sid @devuaedbs11 = TIAEAF01
Sid @devuaedbs12 = TIAEAF02
Owner = oracle10
Home = "/opt/oracle/product/10.1.0/db_1"
Pfile @devuaedbs11 = "/opt/oracle/product/10.1.0/db_1/initTIAEAF01.ora"
Pfile @devuaedbs12 = "/opt/oracle/product/10.1.0/db_1/initTIAEAF02.ora"
DetailMonitor = 1
MonScript = "./bin/Oracle/SqlTest.pl"
User = vcsctl
Pword = BPBnCPePEpINqPDnF
Table @devuaedbs11 = vcsctl_TIAEAF01
Table @devuaedbs12 = vcsctl_TIAEAF02
)

requires group cvm online local firm


Lsnr_LISTENER_TIAEAF requires Ora_Mnt_db1_a01
Lsnr_LISTENER_TIAEAF requires Ora_Mnt_db1_d01
Lsnr_LISTENER_TIAEAF requires Ora_Mnt_db1_d02
Lsnr_LISTENER_TIAEAF requires Ora_Mnt_db1_d03
Lsnr_LISTENER_TIAEAF requires Ora_Mnt_db1_r01
Ora_Inst_TIAEAF requires Ora_Mnt_db1_a01
Ora_Inst_TIAEAF requires Ora_Mnt_db1_d01
Ora_Inst_TIAEAF requires Ora_Mnt_db1_d02
Ora_Inst_TIAEAF requires Ora_Mnt_db1_d03
Ora_Inst_TIAEAF requires Ora_Mnt_db1_r01
Ora_Mnt_db1_a01 requires diskgroup_db1
Ora_Mnt_db1_d01 requires diskgroup_db1
Ora_Mnt_db1_d02 requires diskgroup_db1
Ora_Mnt_db1_d03 requires diskgroup_db1
Ora_Mnt_db1_r01 requires diskgroup_db1
diskgroup_db1 requires mNICB_db1

// resource dependency tree


//
// group oraclerac_db1
// {
// Netlsnr Lsnr_LISTENER_TIAEAF
// {
// CFSMount Ora_Mnt_db1_a01
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_d01
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_d02
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_d03
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_r01
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// }
// Oracle Ora_Inst_TIAEAF
// {
// CFSMount Ora_Mnt_db1_a01
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_d01
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_d02
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_d03
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// CFSMount Ora_Mnt_db1_r01
// {
// CVMVolDg diskgroup_db1
// {
// MultiNICB mNICB_db1
// }
// }
// }
// }
group oraclerac_db2 (
SystemList = { devuaedbs11 = 0, devuaedbs12 = 1 }
Parallel = 1
AutoStartList = { devuaedbs11, devuaedbs12 }
TriggerResStateChange = 1
)

CFSMount Ora_Mnt_db2_a01 (
MountPoint = "/db2/a01"
BlockDevice = "/dev/vx/dsk/db2_datadg/db2_a01_vol"
)

CFSMount Ora_Mnt_db2_d01 (
MountPoint = "/db2/d01"
BlockDevice = "/dev/vx/dsk/db2_datadg/db2_d01_vol"
)

CFSMount Ora_Mnt_db2_d02 (
MountPoint = "/db2/d02"
BlockDevice = "/dev/vx/dsk/db2_datadg/db2_d02_vol"
)

CFSMount Ora_Mnt_db2_d03 (
MountPoint = "/db2/d03"
BlockDevice = "/dev/vx/dsk/db2_datadg/db2_d03_vol"
)

CFSMount Ora_Mnt_db2_r01 (
MountPoint = "/db2/r01"
BlockDevice = "/dev/vx/dsk/db2_datadg/db2_r01_vol"
)

CVMVolDg diskgroup_db2 (
CVMDiskGroup = db2_datadg
CVMVolume = { db2_d01_vol, db2_d02_vol, db2_d03_vol,
db2_a01_vol,
db2_r01_vol }
CVMActivation = sw
)

Netlsnr Lsnr_LISTENER_TIAEEF (
Critical = 0
Owner = oracle10
Home = "/opt/oracle/product/10.1.0/db_1"
TnsAdmin = "/opt/oracle/product/10.1.0/db_1/network/admin"
Listener @devuaedbs11 = LISTENER_TIAEEF_devuaedbs11
Listener @devuaedbs12 = LISTENER_TIAEEF_devuaedbs12
MonScript = "./bin/Netlsnr/LsnrTest.pl"
)

Oracle Ora_Inst_TIAEEF (
Sid @devuaedbs11 = TIAEEF01
Sid @devuaedbs12 = TIAEEF02
Owner = oracle10
Home = "/opt/oracle/product/10.1.0/db_1"
Pfile @devuaedbs11 = "/opt/oracle/product/10.1.0/db_1/initTIAEEF01.ora"
Pfile @devuaedbs12 = "/opt/oracle/product/10.1.0/db_1/initTIAEEF02.ora"
DetailMonitor = 1
MonScript = "./bin/Oracle/SqlTest.pl"
User = vcsctl
Pword = DRDpERgRGrKPsRFpH
Table @devuaedbs11 = vcsctl_TIAEEF01
Table @devuaedbs12 = vcsctl_TIAEEF02
)

Proxy mNICB_db2 (
TargetResName = mNICB_db1
)

requires group cvm online local firm


Lsnr_LISTENER_TIAEEF requires Ora_Mnt_db2_a01
Lsnr_LISTENER_TIAEEF requires Ora_Mnt_db2_d01
Lsnr_LISTENER_TIAEEF requires Ora_Mnt_db2_d02
Lsnr_LISTENER_TIAEEF requires Ora_Mnt_db2_d03
Lsnr_LISTENER_TIAEEF requires Ora_Mnt_db2_r01
Ora_Inst_TIAEEF requires Ora_Mnt_db2_a01
Ora_Inst_TIAEEF requires Ora_Mnt_db2_d01
Ora_Inst_TIAEEF requires Ora_Mnt_db2_d02
Ora_Inst_TIAEEF requires Ora_Mnt_db2_d03
Ora_Inst_TIAEEF requires Ora_Mnt_db2_r01
Ora_Mnt_db2_a01 requires diskgroup_db2
Ora_Mnt_db2_d01 requires diskgroup_db2
Ora_Mnt_db2_d02 requires diskgroup_db2
Ora_Mnt_db2_d03 requires diskgroup_db2
Ora_Mnt_db2_r01 requires diskgroup_db2
diskgroup_db2 requires mNICB_db2

// resource dependency tree


//
// group oraclerac_db2
// {
// Netlsnr Lsnr_LISTENER_TIAEEF
// {
// CFSMount Ora_Mnt_db2_a01
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_d01
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_d02
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_d03
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_r01
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// }
// Oracle Ora_Inst_TIAEEF
// {
// CFSMount Ora_Mnt_db2_a01
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_d01
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_d02
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_d03
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// CFSMount Ora_Mnt_db2_r01
// {
// CVMVolDg diskgroup_db2
// {
// Proxy mNICB_db2
// }
// }
// }
// }

group oraclerac_db3 (
SystemList = { devuaedbs11 = 0, devuaedbs12 = 1 }
Parallel = 1
AutoStartList = { devuaedbs11, devuaedbs12 }
TriggerResStateChange = 1
)

CFSMount Ora_Mnt_db3_a01 (
MountPoint = "/db3/a01"
BlockDevice = "/dev/vx/dsk/db3_datadg/db3_a01_vol"
)

CFSMount Ora_Mnt_db3_d01 (
MountPoint = "/db3/d01"
BlockDevice = "/dev/vx/dsk/db3_datadg/db3_d01_vol"
)

CFSMount Ora_Mnt_db3_d02 (
MountPoint = "/db3/d02"
BlockDevice = "/dev/vx/dsk/db3_datadg/db3_d02_vol"
)

CFSMount Ora_Mnt_db3_d03 (
MountPoint = "/db3/d03"
BlockDevice = "/dev/vx/dsk/db3_datadg/db3_d03_vol"
)

CFSMount Ora_Mnt_db3_r01 (
MountPoint = "/db3/r01"
BlockDevice = "/dev/vx/dsk/db3_datadg/db3_r01_vol"
)

CVMVolDg diskgroup_db3 (
CVMDiskGroup = db3_datadg
CVMVolume = { db3_d01_vol, db3_d02_vol, db3_d03_vol,
db3_a01_vol,
db3_r01_vol }
CVMActivation = sw
)

Netlsnr Lsnr_LISTENER_TIAEDF (
Critical = 0
Owner = oracle10
Home = "/opt/oracle/product/10.1.0/db_1"
TnsAdmin = "/opt/oracle/product/10.1.0/db_1/network/admin"
Listener @devuaedbs11 = LISTENER_TIAEDF_devuaedbs11
Listener @devuaedbs12 = LISTENER_TIAEDF_devuaedbs12
MonScript = "./bin/Netlsnr/LsnrTest.pl"
)

Oracle Ora_Inst_TIAEDF (
Sid @devuaedbs11 = TIAEDF01
Sid @devuaedbs12 = TIAEDF02
Owner = oracle10
Home = "/opt/oracle/product/10.1.0/db_1"
Pfile @devuaedbs11 = "/opt/oracle/product/10.1.0/db_1/initTIAEDF01.ora"
Pfile @devuaedbs12 = "/opt/oracle/product/10.1.0/db_1/initTIAEDF02.ora"
DetailMonitor = 1
MonScript = "./bin/Oracle/SqlTest.pl"
User = vcsctl
Pword = gugShuJujUnsVuiSk
Table @devuaedbs11 = vcsctl_TIAEDF01
Table @devuaedbs12 = vcsctl_TIAEDF02
)

Proxy mNICB_db3 (
TargetResName = mNICB_db1
)

requires group cvm online local firm


Lsnr_LISTENER_TIAEDF requires Ora_Mnt_db3_a01
Lsnr_LISTENER_TIAEDF requires Ora_Mnt_db3_d01
Lsnr_LISTENER_TIAEDF requires Ora_Mnt_db3_d02
Lsnr_LISTENER_TIAEDF requires Ora_Mnt_db3_d03
Lsnr_LISTENER_TIAEDF requires Ora_Mnt_db3_r01
Ora_Inst_TIAEDF requires Ora_Mnt_db3_a01
Ora_Inst_TIAEDF requires Ora_Mnt_db3_d01
Ora_Inst_TIAEDF requires Ora_Mnt_db3_d02
Ora_Inst_TIAEDF requires Ora_Mnt_db3_d03
Ora_Inst_TIAEDF requires Ora_Mnt_db3_r01
Ora_Mnt_db3_a01 requires diskgroup_db3
Ora_Mnt_db3_d01 requires diskgroup_db3
Ora_Mnt_db3_d02 requires diskgroup_db3
Ora_Mnt_db3_d03 requires diskgroup_db3
Ora_Mnt_db3_r01 requires diskgroup_db3
diskgroup_db3 requires mNICB_db3

// resource dependency tree


//
// group oraclerac_db3
// {
// Netlsnr Lsnr_LISTENER_TIAEDF
// {
// CFSMount Ora_Mnt_db3_a01
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_d01
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_d02
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_d03
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_r01
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// }
// Oracle Ora_Inst_TIAEDF
// {
// CFSMount Ora_Mnt_db3_a01
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_d01
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_d02
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_d03
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// CFSMount Ora_Mnt_db3_r01
// {
// CVMVolDg diskgroup_db3
// {
// Proxy mNICB_db3
// }
// }
// }
// }
Appendix J – Test Table for VCS Oracle Agent

This section describes procedure to create a VCS Oracle agent test table for database.
** It is required to create a VCS Oracle agent test table for each instance of each database. The following procedures
create two test tables, one for TIAEAF01 instance and another one for TIAEAF02 instance, for TIAEAF database.

1. Logon to any cluster node (eg. devuaedbs11) as oracle10.

2. Issue ‘export ORACLE_SID=TIAEAF01’ to setup environment variable.

3. Issue the following statements at the sqlplus prompt to create the VCS Oracle Agent test table.

conn / as sysdba;

create user vcsctl identified by <PASSWORD> default tablespace users temporary tablespace temp quota 100k
on users
grant create session to vcsctl;

create table vcsctl.vcsctl_TIAEAF01 (tstamp data);


insert into vcsctl.vcsctl_TIAEAF01 (tstamp) values (sysdate);

create table vcsctl.vcsctl_TIAEAF02 (tstamp data);


insert into vcsctl.vcsctl_TIAEAF02 (tstamp) values (sysdate);
Appendix K – Setup rsh for Oracle Installation

This section describes procedure to setup rsh for Oracle CRS and database installation.

If ssh (SSH client) is configured for the cluster nodes, the Oracle OUI installation program can install Oracle CRS and
database as long as ssh commands between nodes can execute without password prompting and confirmation.

Is ssh is not configured, enable each node to have remove rsh access to the other nodes during Oracle CRS and
database installation. On each node, placing a “+” character in the first line of / .rhosts file gives remote access to the
oracle10 user.

Remove the remote rsh access permission after Oracle CRS and database installation.
Metalink Reference

Metalink Doc ID / TAR Description


5253956.992 Database link cannot failover
5286834.992 Database link and TAF supported
298073.1 How to remove CRS auto start and restart for a RAC instance
300903.1 Load balancing with RAC
69906.1 Configuring Transparent Application Failover
240052.1 10g manual database creation in oracle (single instance and RAC)
97926.1 Failover issues and limitations [Connect-time failover and TAF]
226880.1 Configuration of load balancing and transparent application failover
283107.1 Solaris IP Multipathing
239888.1 DB_NAME maximum length restriction when using DBCA

Вам также может понравиться