You are on page 1of 57

!!"#! %& !!"#' #() *+",-./ &0 1&2-,34 !!

!"#$%&' )!!* !+,")


-!.# "/0!#10' %2#%31& 456 4789
















#!3-1 %: 2%+#1+#.
reface ......................................................................................................................................................... 3
Upgrade ath ................................................................................................................................................ 3
Current Lnv|ronment .................................................................................................................................... 3
re-Upgrade Checks ...................................................................................................................................... 3
D|rector|es ................................................................................................................................................................ 3
Groups ..................................................................................................................................................................... 3
]etc]|n|ttab perm|ss|ons ........................................................................................................................................... 3
Software .................................................................................................................................................................. 4
GI ............................................................................................................................................................................. 4
ClusLer verlfy CuLpuL ..................................................................................................................................................... 4
lallures .......................................................................................................................................................................... 4
Shutdown 1argets .................................................................................................................................................... S
Insta|| GI Software ........................................................................................................................................ S
Issues wh||e runn|ng rootupgrade.sh ........................................................................................................... 13
Issue #1 ................................................................................................................................................................... 13
llx ................................................................................................................................................................................ 13
Issue #2 ................................................................................................................................................................... 13
llx ................................................................................................................................................................................ 14
Issue #3 ................................................................................................................................................................... 14
llx ................................................................................................................................................................................ 14
kootupgrade.sh ........................................................................................................................................... 14
SCLAkISkAC01 ........................................................................................................................................................ 14
SCLAkISkAC02 ........................................................................................................................................................ 1S
r|or to Upgrade ...................................................................................................................................................... 17
ost Upgrade ........................................................................................................................................................... 17
Upgrade ASM ............................................................................................................................................... 17
Upgrade ASM Manua||y ............................................................................................................................... 19
kD8MS ........................................................................................................................................................ 26
Software Insta|| ....................................................................................................................................................... 26
ost kD8MS Insta|| 1asks ............................................................................................................................. 33
Latest Catch Ut|||ty .................................................................................................................................... 33
Latest SU Insta||ed on 11gk2 Software ....................................................................................................... 34
keg|ster Serv|ces correct|y ........................................................................................................................... 37
Database Upgrade ....................................................................................................................................... 38
re-Upgrade 11gk2 Scr|pt ........................................................................................................................................ 38
I|xes ........................................................................................................................................................................ 40
Conf|gure 11.1 Database w|th 11.2 GI .......................................................................................................... 4S
re-Upgrade ................................................................................................................................................ 46
Upgrade Database ....................................................................................................................................... 47
Issue #1 ................................................................................................................................................................... S4
llx ................................................................................................................................................................................ 34
ost Upgrade ............................................................................................................................................... SS
8as|c Commands w|th 11Gr2 Gr|d Infrastructure .......................................................................................... S6
known Issues ............................................................................................................................................... S6


/&1:!21
1hls documenL descrlbed Lhe sLeps Lo upgrade an 11.1.0.7 8AC ClusLer Lo 11.2.0.3 on Solarls 11.
"/;&!01 /!#$

2"&&1+# 1+<=&%+)1+#
nost: Solarls 11 SA8C 64blL
CkS: 11.1.0.7
ASM: 11.1.0.7
kD8MS: 11.1.0.7
Software Cwner: oracle
/&1>"/;&!01 2$12?.
0=&12#%&=1.
# mkdir -p /u01/app/11.2.0.3/grid
# mkdir -p /u01/app/grid
# chown oracle:oinstall /u01/app/11.2.0.3/grid
# chown oracle:oinstall /u01/app/grid
# chown oracle:oinstall /u01/app
;&%"/.
# /usr/sbin/groupadd -g asmadmin
# /usr/sbin/groupadd -g asmdba
# /usr/sbin/groupadd -g asmoper
# /usr/sbin/groupadd -g oper
# usermod -g oinstall -G asmdba,asmadmin,asmoper,oper,dba,oinstall,oracle oracle
@1#2@=+=##!3 /1&)=..=%+.
As rooL, change Lhe permlsslons for /eLc/lnlLLab.
# chmod 644 /etc/inittab
CRS
ASM
RDBMS
CRS
ASM
RDBMS
Grid Infrastructure
LISTENER
LISTENER
11.1.0.7 11.2.0.3
.%:#A!&1
-rwxr-x--- 1 oracle oinstall 1.4G Sep 16 10:21 p10404530_112030_SOLARIS64_1of7.zip
-rwxr-x--- 1 oracle oinstall 1.1G Sep 16 10:22 p10404530_112030_SOLARIS64_2of7.zip
-rwxrwxrwx 1 oracle oinstall 978M Sep 16 10:23 p10404530_112030_SOLARIS64_3of7.zip
-rwxr-x--- 1 oracle oinstall 88M Sep 16 10:23 p16619892_112030_SOLARIS64.zip
;=
2-".#1& <1&=:B %"#/"#
./runcluvfy.sh stage -pre crsinst -upgrade -n solarisrac01,solarisrac02 -rolling -src_crshome
/u01/app/crs -dest_crshome /u01/app/grid/11.2.0.3/grid -dest_version 11.2.0.3.0 -fixup -fixupdir
/home/oracle/install -verbose
:!=-"&1.
1. CC8 lnLegrlLy check falled

ERROR:
PRVF-10037 : Failed to retrieve storage type for "/dev/ora/ocrV1" on node "solarisrac02"
Could not get the type of storage


ERROR:
PRVF-10037 : Failed to retrieve storage type for "/dev/ora/ocrV1" on node "solarisrac01"
Could not get the type of storage

Check for compatible storage device for OCR location "/dev/ora/ocrV2"...


ERROR:
PRVF-10037 : Failed to retrieve storage type for "/dev/ora/ocrV2" on node "solarisrac02"
Could not get the type of storage


ERROR:
PRVF-10037 : Failed to retrieve storage type for "/dev/ora/ocrV2" on node "solarisrac01"
Could not get the type of storage
lgnorable: ?es
8eference: CheckllsL for 8vl-10037 : lalled Lo reLrleve sLorage Lype for xx on node xx (uoc lu 1233303.1)
Check:
ORACLE_SID:RACDB042:>/u01/app/crs/bin/ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 1187236
Used space (kbytes) : 10636
Available space (kbytes) : 1176600
ID : 1945152965
Device/File Name : /dev/ora/ocrV1
Device/File integrity check succeeded
Device/File Name : /dev/ora/ocrV2
Device/File integrity check succeeded

Cluster registry integrity check succeeded

Logical corruption check bypassed due to non-privileged user
2. Swap space check falled
Check: Swap space
Node Name Available Required Status
------------ ------------------------ ------------------------ ----------
solarisrac02 12.0049GB (1.2588024E7KB) 16GB (1.6777216E7KB) failed
solarisrac01 12.0049GB (1.2588024E7KB) 16GB (1.6777216E7KB) failed
lgnorable: ?es
3. SofL llmlLs check falled for "maxlmum open flle descrlpLors"
Check: Soft limits for "maximum open file descriptors"
Node Name Type Available Required Status
---------------- ------------ ------------ ------------ ----------------
solarisrac02 soft 256 1024 failed
solarisrac01 soft 65536 1024 passed
lgnorable: no
4. Clock synchronlzaLlon check uslng neLwork 1lme roLocol(n1) falled
Starting Clock synchronization checks using Network Time Protocol(NTP)...

NTP Configuration file check started...
The NTP configuration file "/etc/inet/ntp.conf" is available on all nodes
NTP Configuration file check passed
No NTP Daemons or Services were found to be running
PRVF-5507 : NTP daemon or service is not running on any node but NTP configuration file exists on
the following node(s):
solarisrac02,solarisrac01
lgnorable: ?es
.$"#0%A+ #!&;1#.
All uaLabase lnsLances, as well as Lhe llsLener, musL be shuLdown gracefully prlor Lo Lhe C8S upgrade.
=+.#!-- ;= .%:#A!&1
ORACLE_SID:RACDB042:>echo $DISPLAY

solarisrac02{oracle}/home/oracle/install/11203/grid:
ORACLE_SID:RACDB042:>export $DISPLAY=10.167.17.162:0.0
ksh: =10.167.17.162:0.0: is not an identifier
solarisrac02{oracle}/home/oracle/install/11203/grid:
ORACLE_SID:RACDB042:>export DISPLAY=10.167.17.162:0.0
solarisrac02{oracle}/home/oracle/install/11203/grid:
ORACLE_SID:RACDB042:>./runInstaller
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 180 MB. Actual 8181 MB Passed
Checking swap space: must be greater than 150 MB. Actual 27944 MB Passed
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-09-16_10-51-40AM. Please
wait ...solarisrac02{oracle}/home/oracle/install/11203/grid:
ORACLE_SID:RACDB042:>You can find the log of this install session at:
/u01/app/oracle/oraInventory/logs/installActions2013-09-16_10-51-40AM.log



















=.."1. A$=-1 &"++=+; &%%#"/;&!01C.$
=.."1 D8
cannot access parent directories
cannot access parent directories
Run root.sh from a directory that has read/execute access to the grid owner 'oracle'
:=E
11.2 Crld lnfrasLrucLure rooL.sh lalled wlLh "error reLrlevlng currenL dlrecLory" (uoc lu 1114203.1)
8un rooLupgrade.sh from Lhe /u01/app/11.2.0.3/grld dlrecLory lnsLead.
=.."1 D4
root@solarisrac01: ./rootupgrade.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0.3/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
User ignored Prerequisites during installation
Could not open old init.cssd
/u01/app/11.2.0.3/grid/perl/bin/perl -I/u01/app/11.2.0.3/grid/perl/lib -
I/u01/app/11.2.0.3/grid/crs/install /u01/app/11.2.0.3/grid/crs/install/rootcrs.pl execution failed
lssue occurred because Lhe lnlL scrlpLs were removed by followlng Lhe deconflgure" recommended by Lhe MCS noLe ln
lssue #1.
:=E
8un Lhe root.sh from /u01/app/crs/ home. lL wlll reconflgure Lhe 11g81 C8S on Lhe node. AfLerwards, Lhe
rooLupgrade.sh for 11g82 execuLes wlLhouL an lssue.
=.."1 D9
root.sh from 11.1 home falled because lncorrecL voLlng and ocr dlsks were ldenLlfled.
:=E
LdlL Lhe /u01/app/crs/install/rootconfig flle and change Lhe parameLers below
SILENT=false
ORA_CRS_HOME=/u01/app/crs
CRS_ORACLE_OWNER=oracle
CRS_DBA_GROUP=oinstall
CRS_VNDR_CLUSTER=false
#CRS_OCR_LOCATIONS=/dev/ora/ocr1,/dev/ora/ocr2
CRS_OCR_LOCATIONS=/dev/ora/ocrV1,/dev/ora/ocrV2
CRS_CLUSTER_NAME=solarisra_cluster
CRS_HOST_NAME_LIST=solarisrac01,1,solarisrac02,2
CRS_NODE_NAME_LIST=solarisrac01,1,solarisrac02,2
CRS_PRIVATE_NAME_LIST=drac01-int,1,drac02-int,2
CRS_LANGUAGE_ID='AMERICAN_AMERICA.WE8ISO8859P1'
#CRS_VOTING_DISKS=/dev/ora/vote1,/dev/ora/vote2,/dev/ora/vote3
CRS_VOTING_DISKS=/dev/ora/voteV1,/dev/ora/voteV2,/dev/ora/voteV3
CRS_NODELIST=solarisrac01,solarisrac02
CRS_NODEVIPS='solarisrac01/solarisrac01-vip,solarisrac02/solarisrac02-vip
&%%#"/;&!01C.$
.%-!&=.&!278
root@solarisrac01: cd /u01/app/11.2.0.3/grid
root@solarisrac01: ./rootupgrade.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0.3/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
OLR initialization - successful
root wallet
root wallet cert
root cert export
peer wallet
profile reader wallet
pa wallet
peer wallet keys
pa wallet keys
peer cert request
pa cert request
peer cert
pa cert
peer root cert TP
profile reader root cert TP
pa root cert TP
peer pa cert TP
pa peer cert TP
profile reader pa cert TP
profile reader peer cert TP
peer user cert
pa user cert
Replacing Clusterware entries in inittab
clscfg: EXISTING configuration version 4 detected.
clscfg: version 4 is 11 Release 1.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Configure Oracle Grid Infrastructure for a Cluster ... succeeded
.%-!&=.&!274
root@solarisrac02: cd /u01/app/11.2.0.3/grid
root@solarisrac02: pwd
/u01/app/11.2.0.3/grid
root@solarisrac02: ./rootupgrade.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/11.2.0.3/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
OLR initialization - successful
Replacing Clusterware entries in inittab
clscfg: EXISTING configuration version 5 detected.
clscfg: version 5 is 11g Release 2.
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
Start upgrade invoked..
Started to upgrade the Oracle Clusterware. This operation may take a few minutes.
Started to upgrade the OCR.
Started to upgrade the CSS.
Started to upgrade the CRS.
The CRS was successfully upgraded.
Oracle Clusterware operating version was successfully set to 11.2.0.3.0
Configure Oracle Grid Infrastructure for a Cluster ... succeeded


/u01/app/oracle/oraInventory/logs/installActions2013-09-18_10-07-02AM.log


/&=%& #% "/;&!01
ORACLE_SID:RACDB041:>./crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.1.0.7.0]
/%.# "/;&!01
ORACLE_SID:RACDB041:>./crsctl query crs activeversion
Oracle Clusterware active version on the cluster is [11.2.0.3.0]
"/;&!01 !.)
ORACLE_SID::>export DISPLAY=10.167.17.162:0.0
solarisrac01{oracle}/u01/app/11.2.0.3/grid:
ORACLE_SID::>asmca

1. CreaLe ASMSnM user:
ORACLE_SID:+ASM1:>sqlplus / as sysdba

SQL*Plus: Release 11.1.0.7.0 - Production on Wed Sep 18 13:46:20 2013

Copyright (c) 1982, 2008, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, Real Application Clusters, OLAP, Data Mining
and Real Application Testing options

SQL> create user asmsnmp identified by <password>;

User created.

SQL> grant sysdba to asmsnmp;

Grant succeeded.

SQL> select * from v$pwfile_users;

USERNAME SYSDB SYSOP SYSAS
------------------------------ ----- ----- -----
SYS TRUE TRUE FALSE
ASMSNMP TRUE FALSE FALSE

SQL> show parameter pass

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
remote_login_passwordfile string EXCLUSIVE



"/;&!01 !.) )!+"!--B
ASM Upgrade fa||ed |n SCLAkISkAC, so we upgraded |t manua||y.
1. re-reqs
a. Check wheLher Lhe ASM resources are sLlll ln C8S. lf so, remove Lhem
crsctl delete resource ora.solarisrac01.ASM1.asm
crsctl delete resource ora.solarisrac02.ASM2.asm
crsctl delete resource ora.solarisrac01.ASM_SOLARISRAC01.lsnr
crsctl remove resource ora.solarisrac01.RACDB_SOLARISRAC01.lsnr
crsctl delete resource ora.solarisrac02.ASM2_SOLARISRAC02.lsnr
crsctl delete resource ora.solarisrac02.ASM_SOLARISRAC02.lsnr
2. Add ASM 8esource
ORACLE_SID:+ASM1:>srvctl add asm
solarisrac01{oracle}/u01/app/11.2.0.3/grid:
ORACLE_SID:+ASM1:>crsctl status res ora.asm
NAME=ora.asm
TYPE=ora.asm.type
TARGET=OFFLINE, OFFLINE
STATE=OFFLINE, OFFLINE
3. Make sure ASM lnsLances are shuLdown from CLu PCML!!!!!
4. CreaLe lnlLlallzaLlon parameLer for Lhe new +ASM lnsLance and place lL ln Lhe new home.
"/home/oracle/install/11203/init+ASM.ora" 27 lines, 975 characters
# Oracle init.ora parameter file generated by instance +ASM1 on 09/18/2013 14:50:35
*.asm_diskgroups='DVM_DISKGROUP_1'
*.asm_diskgroups='DVM_REDO_MULT'
*.asm_diskgroups='DVM_REDO'
*.asm_diskgroups='DVM_FRA_DISKGROUP'
*.asm_diskgroups='QVM_DISKGROUP_1'
*.asm_diskgroups='QVM_REDO'
*.asm_diskgroups='QVM_FRA_DISKGROUP'
*.asm_diskgroups='QVM_REDO_MULT'
*.asm_diskgroups='ARCH_LOGS'
*.asm_diskgroups='QRACDB_DISKGROUP_1'
*.asm_diskgroups='DRACDB_DISKGROUP_1'
*.asm_diskstring='/dev/rdsk*'
+ASM1.core_dump_dest='/u01/app/oracle/diag/asm/+asm/+ASM1/cdump'
+ASM2.core_dump_dest='/u01/app/oracle/diag/asm/+asm/+ASM2/cdump'
*.diagnostic_dest='/u01/app/oracle'
+ASM1.instance_number=1
+ASM2.instance_number=2
*.instance_type='asm'
*.large_pool_size=12M
*.memory_max_target=1G
*.memory_target=350M
*.lock_sga=false
3. SLarL Lhe new lnsLance ln nomounL sLaLe from nLW C8lu lnl8AS18uC1u8L PCML!!!
solarisrac01{oracle}/u01/app/11.2.0.3/grid:
ORACLE_SID:+ASM1:>sqlplus / as sysasm

SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 18 14:56:11 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup nomount pfile='/home/oracle/install/11203/init+ASM.ora';
ORA-32006: CLUSTER_DATABASE initialization parameter has been deprecated
ASM instance started

Total System Global Area 1069252608 bytes
Fixed Size 2166160 bytes
Variable Size 1041920624 bytes
ASM Cache 25165824 bytes
SQL> show parameter spfile

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string

6. CreaLe spflle from pflle
SQL> create spfile='/u01/app/11.2.0.3/grid/dbs/spfile+ASM1.ora' from
pfile='/home/oracle/install/11203/init+ASM.ora';

File created.
7. Make sure envlronmenL varlables (especlally CkA_CkS_nCML) are seL correcLly
ORACLE_SID:+ASM2:>env | grep ORA
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=+ASM2
ORACLE_SID:$ORACLE_SID:>
ORA_NLS33=/u01/app/oracle/product/11.1.0/db_1/ocommon/nls/admin/data
ORA_CRS_HOME=/u01/app/crs
ORACLE_HOME=/u01/app/11.2.0.3/grid
ORACLE_SQL=/u01/app/oracle/product/11.1.0/db_1/rdbms/admin
ORACLE_BIN=/u01/app/oracle/product/11.1.0/db_1/bin
solarisrac02{oracle}/u01/app/11.2.0.3/grid/dbs:
ORACLE_SID:+ASM2:>export ORA_CRS_HOME=/u01/app/11.2.0.3/grid
solarisrac02{oracle}/u01/app/11.2.0.3/grid/dbs:
ORACLE_SID:+ASM2:>env | grep ORA
ORACLE_BASE=/u01/app/oracle
ORACLE_SID=+ASM2
ORACLE_SID:$ORACLE_SID:>
ORA_NLS33=/u01/app/oracle/product/11.1.0/db_1/ocommon/nls/admin/data
ORA_CRS_HOME=/u01/app/11.2.0.3/grid
ORACLE_HOME=/u01/app/11.2.0.3/grid
ORACLE_SQL=/u01/app/oracle/product/11.1.0/db_1/rdbms/admin
ORACLE_BIN=/u01/app/oracle/product/11.1.0/db_1/bin
solarisrac02{oracle}/u01/app/11.2.0.3/grid/dbs:
ORACLE_SID:+ASM2:>sqlplus / as sysasm

SQL*Plus: Release 11.2.0.3.0 Production on Thu Oct 10 15:30:57 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> create spfile='+VM_DISKGROUP_1' from pfile;

File created.
8. ShuLdown and sLarLup wlLh newly creaLed spflle
SQL> shutdown
ORA-15100: invalid or missing diskgroup name


ORA-15100: invalid or missing diskgroup name


ASM instance shutdown
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for ASM instance
ASM instance started

Total System Global Area 1069252608 bytes
Fixed Size 2166160 bytes
Variable Size 1041920624 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled
SQL> show parameter spfile;

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /u01/app/11.2.0.3/grid/dbs/spf
ile+ASM1.ora
9. Check for ulsk Croups

SQL> select name, STATE, TYPE, TOTAL_MB, FREE_MB from v$asm_diskgroup;

NAME STATE TYPE TOTAL_MB FREE_MB
------------------------------ ----------- ------ ---------- ----------
ARCH_LOGS MOUNTED EXTERN 99545 92128
DRACDB_DISKGROUP_1 MOUNTED EXTERN 468720 44113
DVM_DISKGROUP_1 MOUNTED EXTERN 238908 135551
DVM_FRA_DISKGROUP MOUNTED EXTERN 19909 17342
DVM_REDO_MULT MOUNTED EXTERN 19909 15511
DVM_REDO MOUNTED EXTERN 19909 15511
QRACDB_DISKGROUP_1 MOUNTED EXTERN 286696 21494
QVM_DISKGROUP_1 MOUNTED EXTERN 298635 91270
QVM_FRA_DISKGROUP MOUNTED EXTERN 19909 19775
QVM_REDO_MULT MOUNTED EXTERN 19909 17050
QVM_REDO MOUNTED EXTERN 19909 17050

11 rows selected.

SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options
10. Check C8S 8esources for ASM
solarisrac01{oracle}/u01/app/11.2.0.3/grid:
ORACLE_SID:+ASM1:>crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ARCH_LOGS.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.DRACDB_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.DVM_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.DVM_FRA_DISKGROUP.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.DVM_REDO.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.DVM_REDO_MULT.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.LISTENER.lsnr
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.QRACDB_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.QVM_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.QVM_FRA_DISKGROUP.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.QVM_REDO.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.QVM_REDO_MULT.dg
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.asm
ONLINE ONLINE solarisrac01 Started <- ASM Started
only on NODE 1 for now
OFFLINE OFFLINE solarisrac02
ora.gsd
OFFLINE OFFLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.net1.network
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.ons
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.registry.acfs
ONLINE ONLINE solarisrac01
OFFLINE OFFLINE solarisrac02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.RACDB05.RACDB051.inst
1 OFFLINE OFFLINE
ora.RACDB05.RACDB052.inst
1 OFFLINE OFFLINE
ora.RACDB05.db
1 OFFLINE OFFLINE
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE solarisrac02
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE solarisrac01
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE solarisrac01
ora.RACDB06.RACDB061.inst
1 OFFLINE OFFLINE
ora.RACDB06.RACDB062.inst
1 OFFLINE OFFLINE
ora.RACDB06.db
1 ONLINE OFFLINE
ora.RACDB03.RACDB031.inst
1 OFFLINE OFFLINE
ora.RACDB03.RACDB032.inst
1 OFFLINE OFFLINE
ora.RACDB03.db
1 OFFLINE OFFLINE
ora.RACDB02.RACDB021.inst
1 OFFLINE OFFLINE
ora.RACDB02.RACDB022.inst
1 OFFLINE OFFLINE
ora.RACDB02.db
1 OFFLINE OFFLINE
ora.RACDB04.RACDB041.inst
1 OFFLINE OFFLINE
ora.RACDB04.RACDB042.inst
1 OFFLINE OFFLINE
ora.RACDB04.db
1 OFFLINE OFFLINE
ora.RACDB04.dr_read_only.RACDB041.srv
1 OFFLINE OFFLINE
ora.RACDB04.dr_read_only.cs
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_1QA.RACDB011.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_1QA.RACDB012.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_1QA.cs
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_2QA.RACDB011.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_2QA.RACDB012.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_2QA.cs
1 OFFLINE OFFLINE
ora.RACDB01.RACDB011.inst
1 OFFLINE OFFLINE
ora.RACDB01.RACDB012.inst
1 OFFLINE OFFLINE
ora.RACDB01.RACDB01C.RACDB011.srv
1 OFFLINE OFFLINE
ora.RACDB01.RACDB01C.RACDB012.srv
1 OFFLINE OFFLINE
ora.RACDB01.RACDB01C.cs
1 OFFLINE OFFLINE
ora.RACDB01.db
1 OFFLINE OFFLINE
ora.cvu
1 ONLINE ONLINE solarisrac02
ora.oc4j
1 ONLINE ONLINE solarisrac02
ora.solarisrac01.vip
1 ONLINE ONLINE solarisrac01
ora.solarisrac02.vip
1 ONLINE ONLINE solarisrac02
ora.scan1.vip
1 ONLINE ONLINE solarisrac02
ora.scan2.vip
1 ONLINE ONLINE solarisrac01
ora.scan3.vip
1 ONLINE ONLINE solarisrac01
solarisrac01{oracle}/u01/app/11.2.0.3/grid:
11. CreaLe spflle ln ASM from pfle
SQL> create spfile=+DATA from pfile='/tmp/asm.ora';

File created.
12. SLarLup lnsLance
solarisrac02{oracle}/u01/app/11.2.0.3/grid/dbs:
ORACLE_SID:+ASM2:>sqlplus / as sysasm

SQL*Plus: Release 11.2.0.3.0 Production on Wed Sep 18 15:10:38 2013

Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup
ASM instance started

Total System Global Area 1069252608 bytes
Fixed Size 2166160 bytes
Variable Size 1041920624 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled
SQL> select name, STATE, TYPE, TOTAL_MB, FREE_MB from v$asm_diskgroup;

NAME STATE TYPE TOTAL_MB FREE_MB
------------------------------ ----------- ------ ---------- ----------
ARCH_LOGS MOUNTED EXTERN 99545 92128
DRACDB_DISKGROUP_1 MOUNTED EXTERN 468720 44113
DVM_DISKGROUP_1 MOUNTED EXTERN 238908 135551
DVM_FRA_DISKGROUP MOUNTED EXTERN 19909 17342
DVM_REDO_MULT MOUNTED EXTERN 19909 15511
DVM_REDO MOUNTED EXTERN 19909 15511
QRACDB_DISKGROUP_1 MOUNTED EXTERN 286696 21494
QVM_DISKGROUP_1 MOUNTED EXTERN 298635 91270
QVM_FRA_DISKGROUP MOUNTED EXTERN 19909 19775
QVM_REDO_MULT MOUNTED EXTERN 19909 17050
QVM_REDO MOUNTED EXTERN 19909 17050

11 rows selected.
13. Check C8S resources
ORACLE_SID:+ASM2:>crsctl stat res -t
--------------------------------------------------------------------------------
NAME TARGET STATE SERVER STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.ARCH_LOGS.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.DRACDB_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.DVM_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.DVM_FRA_DISKGROUP.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.DVM_REDO.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.DVM_REDO_MULT.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.LISTENER.lsnr
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.QRACDB_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.QVM_DISKGROUP_1.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.QVM_FRA_DISKGROUP.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.QVM_REDO.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.QVM_REDO_MULT.dg
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.asm
ONLINE ONLINE solarisrac01 Started <-
ONLINE ONLINE solarisrac02 Started <- Both ASM
Instances are up and registered with CRS
ora.gsd
OFFLINE OFFLINE solarisrac01
OFFLINE OFFLINE solarisrac02
ora.net1.network
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.ons
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
ora.registry.acfs
ONLINE ONLINE solarisrac01
ONLINE ONLINE solarisrac02
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.RACDB05.RACDB051.inst
1 OFFLINE OFFLINE
ora.RACDB05.RACDB052.inst
1 OFFLINE OFFLINE
ora.RACDB05.db
1 OFFLINE OFFLINE
ora.LISTENER_SCAN1.lsnr
1 ONLINE ONLINE solarisrac02
ora.LISTENER_SCAN2.lsnr
1 ONLINE ONLINE solarisrac01
ora.LISTENER_SCAN3.lsnr
1 ONLINE ONLINE solarisrac01
ora.RACDB06.RACDB061.inst
1 OFFLINE OFFLINE
ora.RACDB06.RACDB062.inst
1 OFFLINE OFFLINE
ora.RACDB06.db
1 ONLINE OFFLINE
ora.RACDB03.RACDB031.inst
1 OFFLINE OFFLINE
ora.RACDB03.RACDB032.inst
1 OFFLINE OFFLINE
ora.RACDB03.db
1 OFFLINE OFFLINE
ora.RACDB02.RACDB021.inst
1 OFFLINE OFFLINE
ora.RACDB02.RACDB022.inst
1 OFFLINE OFFLINE
ora.RACDB02.db
1 OFFLINE OFFLINE
ora.RACDB04.RACDB041.inst
1 OFFLINE OFFLINE
ora.RACDB04.RACDB042.inst
1 OFFLINE OFFLINE
ora.RACDB04.db
1 OFFLINE OFFLINE
ora.RACDB04.dr_read_only.RACDB041.srv
1 OFFLINE OFFLINE
ora.RACDB04.dr_read_only.cs
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_1QA.RACDB011.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_1QA.RACDB012.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_1QA.cs
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_2QA.RACDB011.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_2QA.RACDB012.srv
1 OFFLINE OFFLINE
ora.RACDB01.SRVC_2QA.cs
1 OFFLINE OFFLINE
ora.RACDB01.RACDB011.inst
1 OFFLINE OFFLINE
ora.RACDB01.RACDB012.inst
1 OFFLINE OFFLINE
ora.RACDB01.RACDB01C.RACDB011.srv
1 OFFLINE OFFLINE
ora.RACDB01.RACDB01C.RACDB012.srv
1 OFFLINE OFFLINE
ora.RACDB01.RACDB01C.cs
1 OFFLINE OFFLINE
ora.RACDB01.db
1 OFFLINE OFFLINE
ora.cvu
1 ONLINE ONLINE solarisrac02
ora.oc4j
1 ONLINE ONLINE solarisrac02
ora.solarisrac01.vip
1 ONLINE ONLINE solarisrac01
ora.solarisrac02.vip
1 ONLINE ONLINE solarisrac02
ora.scan1.vip
1 ONLINE ONLINE solarisrac02
ora.scan2.vip
1 ONLINE ONLINE solarisrac01
ora.scan3.vip
1 ONLINE ONLINE solarisrac01
14. Change ulsk Croup CompaLlblllLy
SQL> select 'alter diskgroup ' || name || ' set attribute ''compatible.asm''=''11.2'';' from
v$asm_diskgroup;

'ALTERDISKGROUP'||NAME||'''COMPATIBLE.ASM''=''11.2'';'
-----------------------------------------------------------------------
alter diskgroup ARCH_LOGS set attribute 'compatible.asm'='11.2';
alter diskgroup DRACDB_DISKGROUP_1 set attribute 'compatible.asm'='11.2';
alter diskgroup DVM_DISKGROUP_1 set attribute 'compatible.asm'='11.2';
alter diskgroup DVM_FRA_DISKGROUP set attribute 'compatible.asm'='11.2';
alter diskgroup DVM_REDO_MULT set attribute 'compatible.asm'='11.2';
alter diskgroup DVM_REDO set attribute 'compatible.asm'='11.2';
alter diskgroup QRACDB_DISKGROUP_1 set attribute 'compatible.asm'='11.2';
alter diskgroup QVM_DISKGROUP_1 set attribute 'compatible.asm'='11.2';
alter diskgroup QVM_FRA_DISKGROUP set attribute 'compatible.asm'='11.2';
alter diskgroup QVM_REDO_MULT set attribute 'compatible.asm'='11.2';
alter diskgroup QVM_REDO set attribute 'compatible.asm'='11.2';

13. valldaLe dlskgroups
col COMPATIBILITY form a10
col DATABASE_COMPATIBILITY form a10
col NAME form a20
select group_number, name, compatibility, database_compatibility from v$asm_diskgroup;

GROUP_NUMBER NAME COMPATIBIL DATABASE_C
------------ -------------------- ---------- ----------
1 ARCH_LOGS 11.2.0.0.0 10.1.0.0.0
2 DRACDB_DISKGROUP_1 11.2.0.0.0 10.1.0.0.0
3 DVM_DISKGROUP_1 11.2.0.0.0 10.1.0.0.0
4 DVM_FRA_DISKGROUP 11.2.0.0.0 10.1.0.0.0
5 DVM_REDO_MULT 11.2.0.0.0 10.1.0.0.0
6 DVM_REDO 11.2.0.0.0 10.1.0.0.0
7 QRACDB_DISKGROUP_1 11.2.0.0.0 10.1.0.0.0
8 QVM_DISKGROUP_1 11.2.0.0.0 10.1.0.0.0
9 QVM_FRA_DISKGROUP 11.2.0.0.0 10.1.0.0.0
10 QVM_REDO_MULT 11.2.0.0.0 10.1.0.0.0
11 QVM_REDO 11.2.0.0.0 10.1.0.0.0

11 rows selected.
&03".
.%:#A!&1 =+.#!--















root@solarisrac02: cd /u01/app/oracle/product/11.2.0.3/dbhome_1
root@solarisrac02: ./root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0.3/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.
./root.sh: /u01/app/oracle/product/11.2.0.3/dbhome_1/rdbms/install/rootadd_rdbms.sh: not found
./root.sh: /u01/app/oracle/product/11.2.0.3/dbhome_1/rdbms/install/rootadd_filemap.sh: not found
root@solarisrac02: pwd
/u01/app/oracle/product/11.2.0.3/dbhome_1
root@solarisrac02: ./root.sh
Performing root user operation for Oracle 11g

The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/app/oracle/product/11.2.0.3/dbhome_1

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

Entries will be added to the /var/opt/oracle/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Finished product-specific root actions.


/%.# &03). =+.#!-- #!.?.
Copy 1nSnAMLS.C8A from old ASM Pome Lo 8u8MS Pome
# cp p /u01/app/asm/product/db_1/network/admin/tnsnames.ora
/u01/app/oracle/product/11.2.0.3/dbhome_1/network/admin
-!#1.# %/!#2$ "#=-=#B
CaLch paLch of verslon 11.2.0.3.3 for Cracle sofLware releases 11.2.0.x (A8lL 2013)
ORACLE_SID:+ASM2:>unzip /home/oracle/install/11203/patch/p6880880_112000_Solaris86-64.zip -d
/u01/app/oracle/product/11.2.0.3/dbhome_1
Archive: /home/oracle/install/11203/patch/p6880880_112000_Solaris86-64.zip
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/README.html
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/README.txt
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/oplan.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/oracle.oplan.classpath.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/automation.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/OsysModel.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/EMrepoDrivers.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/Validation.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/ValidationRules.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/osysmodel-utils.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/patchsdk.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/CRSProductDriver.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/JMXDrivers.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/OuiDriver.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/bundle.jar
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/apache-commons/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/apache-commons/commons-
cli-1.0.jar
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/jaxb/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/jaxb/activation.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/jaxb/jaxb-api.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/jaxb/jaxb-impl.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/jlib/jaxb/jsr173_1.0_api.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/oplan
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/oplan/oplan.bat
replace /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/docs/FAQ? [y]es, [n]o, [A]ll, [N]one,
[r]ename: A
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/docs/FAQ
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/docs/Users_Guide.txt
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/docs/Prereq_Users_Guide.txt
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/fa/
inflating:
/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/fa/oracle.opatch.fa.classpath.jar
inflating:
/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/fa/oracle.opatch.fa.classpath.unix.jar
inflating:
/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/fa/oracle.opatch.fa.classpath.windows.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/opatch.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/opatchsdk.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/oracle.opatch.classpath.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/oracle.opatch.classpath.unix.jar
inflating:
/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/jlib/oracle.opatch.classpath.windows.jar
inflating:
/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchprereqs/opatch/opatch_prereq.xml
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchprereqs/opatch/rulemap.xml
inflating:
/u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchprereqs/opatch/runtime_prereq.xml
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchprereqs/oui/knowledgesrc.xml
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchprereqs/prerequisite.properties
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/log/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/auto_patch.pl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/installPatch.excl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/patch112.pl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/patch11202.pl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/crs/patch11203.pl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatch
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatch.bat
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatch.pl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatch.ini
extracting: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/version.txt
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchdiag
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/opatchdiag.bat
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/emdpatch.pl
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/README.txt
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/bin/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/bin/emocmrsp
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/doc/
creating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/emocmclnt-14.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/emocmclnt.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/emocmcommon.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/http_client.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/jcert.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/jnet.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/jsse.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/log4j-core.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/osdt_core3.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/osdt_jce.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/regexp.jar
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/lib/xmlparserv2.jar
extracting: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/ocm.zip
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/OPatch/ocm/ocm_platforms.txt
inflating: /u01/app/oracle/product/11.2.0.3/dbhome_1/PatchSearch.xml
-!#1.# /." =+.#!--10 %+ 88;&4 .%:#A!&1
hLLps://updaLes.oracle.com/Crlon/Servlces/download?Lype=readme&aru=16398290
1. CeneraLe CCM llle for GI nome
ORACLE_SID:+ASM1:>$ORACLE_HOME/OPatch/ocm/bin/emocmrsp
OCM Installation Response Generator 10.3.4.0.0 - Production
Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved.

Provide your email address to be informed of security issues, install and
initiate Oracle Configuration Manager. Easier for you if you use your My
Oracle Support Email address/User Name.
Visit http://www.oracle.com/support/policies.html for details.
Email address/User Name:

You have not provided an email address for notification of security issues.
Do you wish to remain uninformed of security issues ([Y]es, [N]o) [N]: Y
The OCM configuration response file (ocm.rsp) was successfully created.
solarisrac01{oracle}/home/oracle:
ORACLE_SID:+ASM1:>ls lhtr
-rw-r--r-- 1 oracle oinstall 623 Sep 18 16:09 ocm.rsp
2. 8ename Lo gl_ocm.rsp and copy Lo second node
ORACLE_SID:+ASM1:>mv ocm.rsp gi_ocm.rsp
solarisrac01{oracle}/home/oracle:
ORACLE_SID:+ASM1:>scp gi_ocm.rsp solarisrac02:/home/oracle
gi_ocm.rsp 100% |**************************************************************| 623
00:00
3. unzlp aLch SeL
solarisrac02{oracle}/home/oracle/install/11203/patch:
ORACLE_SID:+ASM2:>unzip p16742216_112030_SOLARIS64.zip -d 112037
4. Apply aLch SeL Lo Cl Pome flrsL as rooL
root@solarisrac01: cd /u01/app/11.2.0.3/grid/OPatch
root@solarisrac01: ./opatch auto /home/oracle/install/11203/patch/112037 -oh /u01/app/11.2.0.3/grid
-ocmrf /home/oracle/gi_ocm.rsp
Executing /u01/app/11.2.0.3/grid/perl/bin/perl /u01/app/11.2.0.3/grid/OPatch/crs/patch11203.pl -
patchdir /home/oracle/install/11203/patch -patchn 112037 -oh /u01/app/11.2.0.3/grid -ocmrf
/home/oracle/gi_ocm.rsp -paramfile /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
/u01/app/11.2.0.3/grid/crs/install/crsconfig_params
/u01/app/11.2.0.3/grid/crs/install/s_crsconfig_defs

This is the main log file: /u01/app/11.2.0.3/grid/cfgtoollogs/opatchauto2013-09-19_08-57-39.log
This file will show your detected configuration and all the steps that opatchauto attempted to do
on your system: /u01/app/11.2.0.3/grid/cfgtoollogs/opatchauto2013-09-19_08-57-39.report.log

2013-09-19 08:57:39: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on
'solarisrac01'
CRS-2673: Attempting to stop 'ora.crsd' on 'solarisrac01'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.ARCH_LOGS.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.DRACDB_DISKGROUP_1.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.DVM_DISKGROUP_1.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.DVM_FRA_DISKGROUP.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.DVM_REDO.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.DVM_REDO_MULT.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.QRACDB_DISKGROUP_1.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.QVM_DISKGROUP_1.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.QVM_FRA_DISKGROUP.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.QVM_REDO.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.QVM_REDO_MULT.dg' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN3.lsnr' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN2.lsnr' on 'solarisrac01'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.solarisrac01.vip' on 'solarisrac01'
CRS-2677: Stop of 'ora.solarisrac01.vip' on 'solarisrac01' succeeded
CRS-2672: Attempting to start 'ora.solarisrac01.vip' on 'solarisrac02'
CRS-2677: Stop of 'ora.LISTENER_SCAN2.lsnr' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.scan2.vip' on 'solarisrac01'
CRS-2677: Stop of 'ora.scan2.vip' on 'solarisrac01' succeeded
CRS-2672: Attempting to start 'ora.scan2.vip' on 'solarisrac02'
CRS-2677: Stop of 'ora.LISTENER_SCAN3.lsnr' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.scan3.vip' on 'solarisrac01'
CRS-2677: Stop of 'ora.scan3.vip' on 'solarisrac01' succeeded
CRS-2672: Attempting to start 'ora.scan3.vip' on 'solarisrac02'
CRS-2677: Stop of 'ora.DVM_FRA_DISKGROUP.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.DRACDB_DISKGROUP_1.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.ARCH_LOGS.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.DVM_DISKGROUP_1.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.DVM_REDO.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.QRACDB_DISKGROUP_1.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.QVM_DISKGROUP_1.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.DVM_REDO_MULT.dg' on 'solarisrac01' succeeded
CRS-2676: Start of 'ora.scan2.vip' on 'solarisrac02' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN2.lsnr' on 'solarisrac02'
CRS-2676: Start of 'ora.scan3.vip' on 'solarisrac02' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN3.lsnr' on 'solarisrac02'
CRS-2676: Start of 'ora.solarisrac01.vip' on 'solarisrac02' succeeded
CRS-2677: Stop of 'ora.QVM_FRA_DISKGROUP.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.QVM_REDO.dg' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.QVM_REDO_MULT.dg' on 'solarisrac01' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN3.lsnr' on 'solarisrac02' succeeded
CRS-2676: Start of 'ora.LISTENER_SCAN2.lsnr' on 'solarisrac02' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'solarisrac01'
CRS-2677: Stop of 'ora.asm' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.ons' on 'solarisrac01'
CRS-2677: Stop of 'ora.ons' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'solarisrac01'
CRS-2677: Stop of 'ora.net1.network' on 'solarisrac01' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'solarisrac01' has completed
CRS-2677: Stop of 'ora.crsd' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.evmd' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.asm' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'solarisrac01'
CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'solarisrac01'
CRS-2677: Stop of 'ora.drivers.acfs' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.mdnsd' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.evmd' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'solarisrac01' succeeded
CRS-2677: Stop of 'ora.asm' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'solarisrac01'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'solarisrac01'
CRS-2677: Stop of 'ora.cssd' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.crf' on 'solarisrac01'
CRS-2677: Stop of 'ora.crf' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'solarisrac01'
CRS-2677: Stop of 'ora.gipcd' on 'solarisrac01' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'solarisrac01'
CRS-2677: Stop of 'ora.gpnpd' on 'solarisrac01' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'solarisrac01' has
completed
CRS-4133: Oracle High Availability Services has been stopped.
Successfully unlock /u01/app/11.2.0.3/grid
patch /home/oracle/install/11203/patch/112037/16619898 apply successful for
home /u01/app/11.2.0.3/grid
patch /home/oracle/install/11203/patch/112037/16619892 apply successful for
home /u01/app/11.2.0.3/grid
CRS-4123: Oracle High Availability Services has been started.
3. Apply aLch SeL Lo 8u8MS Pome as rooL
root@solarisrac01: cd /u01/app/11.2.0.3/grid/OPatch/
root@solarisrac01: ./opatch auto /home/oracle/install/11203/patch/112037 -oh
/u01/app/oracle/product/11.2.0.3/dbhome_1/ -ocmrf /home/oracle/g
Executing /u01/app/11.2.0.3/grid/perl/bin/perl /u01/app/11.2.0.3/grid/OPatch/crs/patch11203.pl -
patchdir /home/oracle/install/11203/patch -patchn 112037 -oh
/u01/app/oracle/product/11.2.0.3/dbhome_1/ -ocmrf /home/oracle/gi_ocm.rsp -paramfile
/u01/app/11.2.0.3/grid/crs/install/crsconfig_params
/u01/app/11.2.0.3/grid/crs/install/crsconfig_params
/u01/app/11.2.0.3/grid/crs/install/s_crsconfig_defs

This is the main log file: /u01/app/11.2.0.3/grid/cfgtoollogs/opatchauto2013-09-19_09-42-01.log
This file will show your detected configuration and all the steps that opatchauto attempted to do
on your system: /u01/app/11.2.0.3/grid/cfgtoollogs/opatchauto2013-09-19_09-42-01.report.log

2013-09-19 09:42:01: Starting Clusterware Patch Setup
Using configuration parameter file: /u01/app/11.2.0.3/grid/crs/install/crsconfig_params

Unable to determine if /u01/app/oracle/product/11.2.0.3/dbhome_1 is shared oracle home
Enter 'yes' if this is not a shared home or if the prerequiste actions are performed to patch this
shared home (yes/no):yes
patch /home/oracle/install/11203/patch/112037/16619898/custom/server/16619898 apply successful for
home /u01/app/oracle/product/11.2.0.3/dbhome_1
patch /home/oracle/install/11203/patch/112037/16619892 apply successful for
home /u01/app/oracle/product/11.2.0.3/dbhome_1
&1;=.#1& .1&<=21. 2%&&12#-B
lf Lhe daLabases do noL sLarLup auLomaLlcally vla server conLrol whlle Lhey are on 11.1, follow Lhe sLeps below.
1. Change Conflg:
ORACLE_SID:RACDB042:>srvctl modify database -d RACDB04 -p
'+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora'
2. valldaLe Conflg:
ORACLE_SID:RACDB042:>srvctl config database -d RACDB04 -a
solarisrac01 RACDB041 /u01/app/oracle/product/11.1.0/db_1
solarisrac02 RACDB042 /u01/app/oracle/product/11.1.0/db_1
DB_UNIQUE_NAME: RACDB04
DB_NAME: RACDB04
ORACLE_HOME: /u01/app/oracle/product/11.1.0/db_1
SPFILE: +DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora
DOMAIN: DATABASE.COM
DB_ROLE: null
START_OPTIONS: null
POLICY: AUTOMATIC
ENABLE FLAG: DB ENABLED
3. 1esL SLarLup/ShuLdown:
ORACLE_SID:RACDB041:>srvctl start database -d RACDB04
ORACLE_SID:RACDB041:>srvctl stop database -d RACDB04
SupporL 1lckeL noLes
Hi Maaz,

RESEARCH
==========

In the srvctl_config_database.txt:

ORACLE_SID:RACDB041:>srvctl config database -d RACDB04 -a
solarisrac01 RACDB041 /u01/app/oracle/product/11.1.0/db_1
solarisrac02 RACDB042 /u01/app/oracle/product/11.1.0/db_1
DB_UNIQUE_NAME: RACDB04
DB_NAME: RACDB04
ORACLE_HOME: /u01/app/oracle/product/11.1.0/db_1
SPFILE: null ========================> HERE
DOMAIN: DATABASE.COM
DB_ROLE: null
START_OPTIONS: null
POLICY: AUTOMATIC
ENABLE FLAG: DB ENABLED
**********************************************

In the instance_info.txt:

SQL> show parameter spfile

NAME TYPE
------------------------------------ --------------------------------
VALUE
------------------------------
spfile string
+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora ===> Lower Case ---> "RACDB04"
************************************************

In the initRACDB01.ora:

ORACLE_SID:RACDB041:>cat initRACDB041.ora
spfile='+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora' ===> Upper Case ---> "RACDB04"
*****************************************************

ACTION PLAN
===============

In the above output for srvctl_config_database.txt, the value for SPFILE is "null" so SPFILE is not set in the OCR.

Also, please Note the case of the specific spfile name, initRACDB041.ora references "spfileRACDB04.ora" -- the spfile name is UPPERCASE, so
the init.ora reference to an spfile name of "spfileRACDB04.ora" will fail.

If the spfile named in the init.ora and the actual spfile location differ only by case (uppercase vs lowercase), then it is likely that the case
matters on the platform and the init<SID>.ora should be edited to have the correct case in the spfile name.
The init.ora file must be edited to read:

SPFILE='+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora'

If the SPFILE values for the database show up as incorrect in the output of "srvctl config database -d <dbname> -a" (null), then they are
wrong in the OCR and srvctl must be used to correct them.

This is done with the "srvctl modify database" command:

$ srvctl config database -d RACDB04 -p '+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora'

Please also change the initRACDB041.ora and initRACDB042.ora, on each node, to point to +DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora

Thank you,
Judy

Ref: RAC: SRVCTL Cannot Start Database or Instances - ORA-01565 Encountered in pmon log (Doc ID 845895.1)
0!#!3!.1 "/;&!01
/&1>"/;&!01 88;&4 .2&=/#
SQL> @utlu112i_5.sql
Oracle Database 11.2 Pre-Upgrade Information Tool 09-17-2013 10:24:12
Script Version: 11.2.0.3.0 Build: 006
.
**********************************************************************
Database:
**********************************************************************
--> name: RACDB01
--> version: 11.1.0.7.0
--> compatible: 11.1.0.0.0
--> blocksize: 8192
--> platform: Solaris[tm] OE (64-bit)
--> timezone file: V4
.
**********************************************************************
Tablespaces: [make adjustments in the current environment]
**********************************************************************
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 1894 MB
--> UNDOTBS1 tablespace is adequate for the upgrade.
.... minimum required size: 400 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 2852 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 60 MB
.
**********************************************************************
Flashback: OFF
**********************************************************************
**********************************************************************
Update Parameters: [Update Oracle Database 11.2 init.ora or spfile]
Note: Pre-upgrade tool was run on a lower version 64-bit database.
**********************************************************************
--> If Target Oracle is 32-Bit, refer here for Update Parameters:
WARNING: --> "memory_target" needs to be increased to at least 3176 MB
.

--> If Target Oracle is 64-Bit, refer here for Update Parameters:
WARNING: --> "memory_target" needs to be increased to at least 3176 MB
.
**********************************************************************
Renamed Parameters: [Update Oracle Database 11.2 init.ora or spfile]
**********************************************************************
-- No renamed parameters found. No changes are required.
.
**********************************************************************
Obsolete/Deprecated Parameters: [Update Oracle Database 11.2 init.ora or spfile]
**********************************************************************
-- No obsolete parameters found. No changes are required
.

**********************************************************************
Components: [The following database components will be upgraded or installed]
**********************************************************************
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Real Application Clusters [upgrade] VALID
--> Oracle Workspace Manager [upgrade] VALID
--> OLAP Analytic Workspace [upgrade] VALID
--> OLAP Catalog [upgrade] VALID
--> EM Repository [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
--> Data Mining [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> Rule Manager [upgrade] VALID
--> Oracle OLAP API [upgrade] VALID
.
**********************************************************************
Miscellaneous Warnings
**********************************************************************
WARNING: --> The "cluster_database" parameter is currently "TRUE"
.... and must be set to "FALSE" prior to running a manual upgrade.
WARNING: --> Database is using a timezone file older than version 14.
.... After the release migration, it is recommended that DBMS_DST package
.... be used to upgrade the 11.1.0.7.0 database timezone version
.... to the latest version which comes with the new release.
WARNING: --> Database contains INVALID objects prior to upgrade.
.... The list of invalid SYS/SYSTEM objects was written to
.... registry$sys_inv_objs.
.... The list of non-SYS/SYSTEM objects was written to
.... registry$nonsys_inv_objs.
.... Use utluiobj.sql after the upgrade to identify any new invalid
.... objects due to the upgrade.
.... USER SRVC_2 has 3 INVALID objects.
.... USER HARVEST has 24 INVALID objects.
.... USER JIAMIRTHARAJ has 2 INVALID objects.
.... USER SHARMAP has 3 INVALID objects.
.... USER RACDB06 has 1 INVALID objects.
.... USER WCVM has 2 INVALID objects.
.... USER GHMUKKA has 3 INVALID objects.
WARNING: --> EM Database Control Repository exists in the database.
.... Direct downgrade of EM Database Control is not supported. Refer to the
.... Upgrade Guide for instructions to save the EM data prior to upgrade.
.
**********************************************************************
Recommendations
**********************************************************************
Oracle recommends gathering dictionary statistics prior to
upgrading the database.
To gather dictionary statistics execute the following command
while connected as SYSDBA:

EXECUTE dbms_stats.gather_dictionary_stats;

**********************************************************************
Oracle recommends removing all hidden parameters prior to upgrading.

To view existing hidden parameters execute the following command
while connected AS SYSDBA:

SELECT name,description from SYS.V$PARAMETER WHERE name
LIKE '\_%' ESCAPE '\'

Changes will need to be made in the init.ora or spfile.

**********************************************************************
Oracle recommends reviewing any defined events prior to upgrading.

To view existing non-default events execute the following commands
while connected AS SYSDBA:
Events:
SELECT (translate(value,chr(13)||chr(10),' ')) FROM sys.v$parameter2
WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'

Trace Events:
SELECT (translate(value,chr(13)||chr(10),' ')) from sys.v$parameter2
WHERE UPPER(name) = '_TRACE_EVENTS' AND isdefault='FALSE'

Changes will need to be made in the init.ora or spfile.

**********************************************************************
The DMSYS schema exists in the database. Prior to performing an
upgrade Oracle recommends that the DMSYS schema, and its associated
objects be removed from the database.

Refer to the Oracle Data Mining Administration Guide for the
instructions on how to perform this task.

**********************************************************************
Oracle recommends examining audit tables AUD$ and FGA_LOG$ before
upgrading the database.

This database has 2053263 rows in AUD$ and 1618 rows in FGA_LOG$ that
will be updated during the database upgrade from 11.1.0.7.0.

During this upgrade, null DBIDs in AUD$ and FGA_LOG$ will be updated
with non-null values.

The upgrade downtime could be affected if there are many rows to update.
If downtime is a concern, the audit update could be done manually prior
to upgrading the database.

Please refer to My Oracle Support Note 1329590.1 titled "How to
Pre-Process SYS.AUD$ Records Pre-Upgrade From 10.1 or Later to 11.2".

**********************************************************************
:=E1.
1. Check Memory 1argeL
SQL> show parameter memory_target

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
memory_target big integer 3168M

2. lnvalld Cb[ecLs
WARNING: --> Database contains INVALID objects prior to upgrade.
.... The list of invalid SYS/SYSTEM objects was written to
.... registry$sys_inv_objs.
.... The list of non-SYS/SYSTEM objects was written to
.... registry$nonsys_inv_objs.
.... Use utluiobj.sql after the upgrade to identify any new invalid
.... objects due to the upgrade.
.... USER SRVC_2 has 3 INVALID objects.
.... USER HARVEST has 24 INVALID objects.
.... USER JIAMIRTHARAJ has 2 INVALID objects.
.... USER SHARMAP has 3 INVALID objects.
.... USER RACDB06 has 1 INVALID objects.
.... USER WCVM has 2 INVALID objects.
.... USER GHMUKKA has 3 INVALID objects.

SQL> set lines 10000
SQL> select * from registry$sys_inv_objs;

no rows selected

Elapsed: 00:00:00.06
SQL> select * from registry$nonsys_inv_objs;

OWNER OBJECT_NAME
OBJECT_TYPE
------------------------------ --------------------------------------------------------------------
------------------------------------------------------------ -------------------
GHMUKKA TYP_T_OBJ
TYPE
GHMUKKA BATCH_SETTLEMENT_AI
TRIGGER
GHMUKKA BATCH_SETTLEMENT_BI
TRIGGER
HARVEST DA_SITE_SETUP
PACKAGE
HARVEST TAB_TXN_BI_DETAIL_BATCH
TYPE
HARVEST UDT_TXN_BI_DETAIL_BATCH
TYPE
HARVEST DA_VT_FORM
PACKAGE BODY
HARVEST DA_USER
PACKAGE BODY
HARVEST DA_TRANSACTION
PACKAGE BODY
HARVEST DA_TERMINAL
PACKAGE BODY
HARVEST DA_SITE_SETUP
PACKAGE BODY

OWNER OBJECT_NAME
OBJECT_TYPE
------------------------------ --------------------------------------------------------------------
------------------------------------------------------------ -------------------
HARVEST DA_PROCESS
PACKAGE BODY
HARVEST DA_LOGIN
PACKAGE BODY
HARVEST DA_COMMON
PACKAGE BODY
HARVEST DA_COMMON
PACKAGE
HARVEST DA_ACCOUNT
PACKAGE
HARVEST DA_AUDIT
PACKAGE
HARVEST DA_BATCH_VIEW
PACKAGE
HARVEST DA_LOGIN
PACKAGE
HARVEST DA_PROCESS
PACKAGE
HARVEST DA_TERMINAL
PACKAGE
HARVEST DA_TRANSACTION
PACKAGE

OWNER OBJECT_NAME
OBJECT_TYPE
------------------------------ --------------------------------------------------------------------
------------------------------------------------------------ -------------------
HARVEST DA_USER
PACKAGE
HARVEST DA_VT_FORM
PACKAGE
HARVEST DA_ACCOUNT
PACKAGE BODY
HARVEST DA_ARCHIVAL
PACKAGE BODY
HARVEST DA_BATCH_VIEW
PACKAGE BODY
JIAMIRTHARAJ DA_ARCHIVAL
PACKAGE
JIAMIRTHARAJ DA_TRANSACTION
PACKAGE BODY
SHARMAP DDLAUX
PACKAGE BODY
SHARMAP FILTERDDL
FUNCTION
SHARMAP DDLORA_GETLOBS
PROCEDURE
RACDB06 DA_VM_MAINTENANCE
PACKAGE BODY

OWNER OBJECT_NAME
OBJECT_TYPE
------------------------------ --------------------------------------------------------------------
------------------------------------------------------------ -------------------
SRVC_2 DA_BATCH_VIEW
PACKAGE BODY
SRVC_2 DA_TRANSACTION
PACKAGE BODY
SRVC_2 DA_PROCESS
PACKAGE BODY
WCVM DA_API_SETTLEMENT
PACKAGE BODY
WCVM DA_VM_MAINTENANCE
PACKAGE BODY

38 rows selected.
3. CaLher ulcLlonary SLaLs

SQL> set timing on
SQL> EXECUTE dbms_stats.gather_dictionary_stats;

PL/SQL procedure successfully completed.

Elapsed: 00:01:50.96
SQL>

4. Pldden arameLers
SQL> SELECT name,description from SYS.V$PARAMETER WHERE name
LIKE '\_%' ESCAPE '\'
2 3 ;

NAME
--------------------------------------------------------------------------------
DESCRIPTION
--------------------------------------------------------------------------------
_fix_control
bug fix control parameter

SQL> show parameter _fix_control;

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
_fix_control string 6329318:off

SQL> SELECT (translate(value,chr(13)||chr(10),' ')) FROM sys.v$parameter2
WHERE UPPER(name) ='EVENT' AND isdefault='FALSE'
2 3 ;

no rows selected

SQL> SELECT (translate(value,chr(13)||chr(10),' ')) from sys.v$parameter2
WHERE UPPER(name) = '_TRACE_EVENTS' AND isdefault='FALSE'
2 3 ;

no rows selected

3. uMS?S user

SQL> select username from dba_users where username like 'DM%';

USERNAME
------------------------------
DMSYS

SQL> Select parameter, value from v$option where parameter ='Data Mining';

PARAMETER
----------------------------------------------------------------
VALUE
----------------------------------------------------------------
Data Mining
TRUE

6. uropplng uMS?S user
hLLp://docs.oracle.com/cd/L18283_01/daLamlne.112/e16807/upgrade_odm.hLm

SQL> DROP USER dmsys CASCADE;

User dropped.

SQL> DELETE FROM sys.exppkgact$ WHERE schema = 'DMSYS';

3 rows deleted.

SQL> SELECT COUNT(*) FROM dba_synonyms WHERE table_owner = 'DMSYS';

COUNT(*)
----------
4

SQL> set head off
SQL> spool drop_dmsys_synonyms.sql
SQL> SELECT 'Drop public synonym ' ||'"'||SYNONYM_NAME||'";'
FROM DBA_SYNONYMS WHERE TABLE_OWNER = 'DMSYS'; 2

Drop public synonym "CLUSTER_RULE_TYPE";
Drop public synonym "CLUSTER_TYPE";
Drop public synonym "ODM_ATTRIBUTE_IMPORTANCE_MODEL";
Drop public synonym "ODM_NAIVE_BAYES_MODEL";

SQL> spool off
SQL>
SQL> @drop_dmsys_synonyms.sql
SP2-0734: unknown command beginning "SQL> SELEC..." - rest of line ignored.

Synonym dropped.


Synonym dropped.


Synonym dropped.


Synonym dropped.

SP2-0734: unknown command beginning "SQL> spool..." - rest of line ignored.
SQL> SELECT COUNT(*) FROM dba_synonyms WHERE table_owner = 'DMSYS';

0

7. Auu$ and lCA_LCC$ 1ables

This database has 2053263 rows in AUD$ and 1618 rows in FGA_LOG$ that
will be updated during the database upgrade from 11.1.0.7.0.

re rocess 8ecords or LruncaLe boLh Lables.

SQL> @Audit_Pre_Process.sql
SQL> set serveroutput on
SQL> set timing on
SQL>
SQL> create or replace procedure populate_dbid_audit(tab_owner VARCHAR2,
2 tab_name VARCHAR2)
3 as
4 cur_dbid number := 0;
5 type ctyp is ref cursor;
6 rowid_cur ctyp;
7 rowid_tab dbms_sql.urowid_table;
8 nrows number := 0;
9 rows_updated number := 0;
10 rows_not_updated number := 0;
11 counter number := 0;
12 current_time timestamp(6);
13 begin
14
15 execute immediate
16 'select count(*) from ' || tab_owner || '.' || tab_name ||
17 ' where dbid is null' into nrows;
18
19 counter := ceil(nrows/1000000);
20 dbms_output.put_line('.');
21 dbms_output.put_line('----------------------------------------------------------------------
---');
22 IF (counter = 0) THEN
23 dbms_output.put_line('There are not any null DBIDs in ' || tab_owner ||
24 '.' || tab_name || ' to update.');
25 dbms_output.put_line('--------------------------------------------------------------------
-----');
26 return;
27 ELSE
28 dbms_output.put_line('Will update at least ' || nrows || ' rows.');
29 select current_timestamp into current_time from dual;
30 dbms_output.put_line('Start DBID update in ' || tab_owner || '.' ||
31 tab_name || ' at: ' || current_time || '...');
32 END IF;
33
34 select dbid into cur_dbid from v$database;
35
36 -- Populate column DBID in audit table if NULL.
37
38 LOOP
39 IF (counter = 0) THEN
40 EXIT;
41 END IF;
42
43 OPEN rowid_cur FOR 'select rowid from ' || tab_owner || '.' || tab_name ||
44 ' where dbid is null and rownum <= 1000000';
45
46 FETCH rowid_cur bulk collect into rowid_tab limit 100000;
47
48 IF (rowid_tab.count = 0) THEN
49 EXIT;
50 END IF;
51
52 LOOP
53 FORALL i in 1..rowid_tab.count
54 execute immediate
55 'UPDATE ' || tab_owner || '.' || tab_name ||
56 ' SET dbid = ' || cur_dbid ||
57 ' WHERE dbid IS NULL and rowid = :1' using rowid_tab(i);
58 COMMIT;
59 IF (counter = 1 and nrows <= 100000) THEN
60 rows_updated := rows_updated + rowid_tab.count;
61 EXIT;
62 END IF;
63 nrows := nrows - 100000;
64 rows_updated := rows_updated + 100000;
65 FETCH rowid_cur bulk collect into rowid_tab limit 100000;
66 IF (rowid_tab.count = 0) THEN
67 EXIT;
68 END IF;
69 END LOOP;
70 counter := counter - 1;
71 END LOOP;
72 CLOSE rowid_cur;
73 COMMIT;
74
75 dbms_output.put_line('Rows in table just updated: ' || rows_updated);
76 execute immediate
77 'select count(*) from ' || tab_owner || '.' || tab_name ||
78 ' where dbid is null' into rows_not_updated;
79 dbms_output.put_line('Total rows in table not yet updated: ' || rows_not_updated);
80 select current_timestamp into current_time from dual;
81 dbms_output.put_line('End update at: ' || current_time || '.');
82 dbms_output.put_line('----------------------------------------------------------------------
---');
83
84 EXCEPTION
85 WHEN OTHERS THEN
86 rollback;
87 END;
88 /

Procedure created.

Elapsed: 00:00:00.78
SQL>
SQL> declare
2 schema varchar2(32);
3 begin
4 -- First, check where is AUD$ present
5 select u.name into schema from obj$ o, user$ u
6 where o.name = 'AUD$' and
7 o.type#=2 and
8 o.owner# = u.user# and
9 o.remoteowner is NULL and
10 o.linkname is NULL and
11 u.name in ('SYS', 'SYSTEM');
12
13 populate_dbid_audit(schema, 'AUD$');
14 populate_dbid_audit('SYS', 'FGA_LOG$');
15 end;
16 /
.
-------------------------------------------------------------------------
Will update at least 2053263 rows.
Start DBID update in SYS.AUD$ at: 17-SEP-13 10.54.42.496882 AM...
Rows in table just updated: 2053263
Total rows in table not yet updated: 0
End update at: 17-SEP-13 11.00.01.026882 AM.
-------------------------------------------------------------------------
.
-------------------------------------------------------------------------
Will update at least 1618 rows.
Start DBID update in SYS.FGA_LOG$ at: 17-SEP-13 11.00.01.039726 AM...
Rows in table just updated: 1618
Total rows in table not yet updated: 0
End update at: 17-SEP-13 11.00.01.242609 AM.
-------------------------------------------------------------------------

PL/SQL procedure successfully completed.

Elapsed: 00:05:35.52
SQL>
SQL> drop procedure populate_dbid_audit;

Procedure dropped.

Elapsed: 00:00:00.55
SQL>
SQL> Rem **********************************************************************
SQL>
SQL>

8. urge 8ecycle 8ln
SQL> PURGE DBA_RECYCLEBIN;

DBA Recyclebin purged.

SQL> PURGE RECYCLEBIN;

Recyclebin purged.
2%+:=;"&1 88C8 0!#!3!.1 A=#$ 88C4 ;=
1. Lnsure LhaL Lhe lnlL<Slu>.ora ln $C8ACLL_PCML/dbs does noL conLaln any lowercase Slu reference. lf so,
change Lhem accordlngly.
ORACLE_SID:RACDB042:>vi initRACDB042.ora
"initRACDB042.ora" 1 line, 52 characters
spfile='+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora'
2. ls CC8 ConflguraLlon correcL for Lhe lnsLance?
ORACLE_SID:RACDB041:>srvctl config database -d RACDB04 -a
solarisrac01 RACDB041 /u01/app/oracle/product/11.1.0/db_1
solarisrac02 RACDB042 /u01/app/oracle/product/11.1.0/db_1
DB_UNIQUE_NAME: RACDB04
DB_NAME: RACDB04
ORACLE_HOME: /u01/app/oracle/product/11.1.0/db_1
SPFILE: null ========================> HERE
DOMAIN: DATABASE.COM
DB_ROLE: null
START_OPTIONS: null
POLICY: AUTOMATIC
ENABLE FLAG: DB ENABLED
3. Change Lhe uaLabase ConflguraLlon Lo polnL Lo Lhe correcL SllLL
ORACLE_SID:RACDB042:>srvctl modify database -d RACDB04 -p
'+DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora'
4. valldaLe
ORACLE_SID:RACDB042:>srvctl config database -d RACDB04 -a
solarisrac01 RACDB041 /u01/app/oracle/product/11.1.0/db_1
solarisrac02 RACDB042 /u01/app/oracle/product/11.1.0/db_1
DB_UNIQUE_NAME: RACDB04
DB_NAME: RACDB04
ORACLE_HOME: /u01/app/oracle/product/11.1.0/db_1
SPFILE: +DVM_DISKGROUP_1/RACDB04/spfileRACDB04.ora
DOMAIN: DATABASE.COM
DB_ROLE: null
START_OPTIONS: null
POLICY: AUTOMATIC
ENABLE FLAG: DB ENABLED
3. SLarLup/ShuLdown daLabase.
ORACLE_SID:RACDB041:>srvctl start database -d RACDB04
ORACLE_SID:RACDB041:>srvctl stop database -d RACDB04
/&1>"/;&!01
1. CreaLe flashback resLore polnL
a. ShuLdown uaLabase
ORACLE_SID:upgdb2:>sqlplus / as sysdba

SQL*Plus: Release 11.1.0.7.0 - Production on Fri Sep 20 10:08:59 2013

Copyright (c) 1982, 2008, Oracle. All rights reserved.

Connected to an idle instance.

SQL> startup mount
ORACLE instance started.

Total System Global Area 1069252608 bytes
Fixed Size 2109352 bytes
Variable Size 599789656 bytes
Database Buffers 461373440 bytes
Redo Buffers 5980160 bytes
Database mounted.
b. Lnable llash8ack uaLabase
SQL> alter database flashback on;

Database altered.
c. CreaLe a resLore polnL
SQL> CREATE RESTORE POINT before_upgrade GUARANTEE FLASHBACK DATABASE;

Restore point created.
d. SLarLup clusLer daLabase
ORACLE_SID:RACDB041:>srvctl start database d RACDB04
2. ulsable uuL 1rlggers. 1hls had Lo be done because we used Lhls daLabase as a source for ColdenCaLe. lf Lhe
Lrlgger CCS_uuL_18lCCL8_8LlC8L" ls enabled, Lhe upgrade wlll fall.
set linesize 1000
column triggering_event format a45
column trigger_name format a45

select trigger_name,triggering_event,trigger_type,status from dba_triggers;

select trigger_name,triggering_event,trigger_type,status from dba_triggers where triggering_event
like '%DDL%';

TRIGGER_NAME TRIGGERING_EVENT
TRIGGER_TYPE STATUS
--------------------------------------------- --------------------------------------------- -------
--------- --------
SDO_GEOR_ADDL_TRIGGER DDL AFTER
EVENT ENABLED
SDO_GEOR_BDDL_TRIGGER DDL BEFORE
EVENT ENABLED
GGS_DDL_TRIGGER_BEFORE DDL BEFORE
EVENT ENABLED
LOGMNRGGC_TRIGGER DDL BEFORE
EVENT DISABLED

SQL> alter trigger GGS_DDL_TRIGGER_BEFORE disable;

Trigger altered.

"/;&!01 0!#!3!.1
repare envlronmenL varlables Lo sLarL upgrade.
ORACLE_SID:RACDB041:>export ORACLE_HOME=/u01/app/oracle/product/11.2.0.3/dbhome_1
ORACLE_SID:RACDB041:>unset ORACLE_SID
ORACLE_SID::>$ORACLE_HOME/bin/dbua

















=.."1 D8
Above error lndlcaLes Lhe lssue ln Lhe noLe below.
Post Upgrade Scripts - utlu112s.sql & catuppst.sql report many Errors after upgrading Database from
10.2.0.X to 11.2.0.X (Doc ID 1543850.1)
:=E
set linesize 1000
column triggering_event format a45
column trigger_name format a45

select trigger_name,triggering_event,trigger_type,status from dba_triggers;

select trigger_name,triggering_event,trigger_type,status from dba_triggers where triggering_event
like '%DDL%';

TRIGGER_NAME TRIGGERING_EVENT
TRIGGER_TYPE STATUS
--------------------------------------------- --------------------------------------------- -------
--------- --------
SDO_GEOR_ADDL_TRIGGER DDL AFTER
EVENT ENABLED
SDO_GEOR_BDDL_TRIGGER DDL BEFORE
EVENT ENABLED
GGS_DDL_TRIGGER_BEFORE DDL BEFORE
EVENT ENABLED
LOGMNRGGC_TRIGGER DDL BEFORE
EVENT DISABLED

SQL> alter trigger GGS_DDL_TRIGGER_BEFORE disable;

Trigger altered.
Lnable 1rlgger AfLer osL upgrade SLeps are compleLe.
SQL> alter trigger GGS_DDL_TRIGGER_BEFORE enable;

Trigger altered.

Slnce we had Lo sLop Lhe osL upgrade sLep, nelLher lL nor Lhe upgrade 1lmezone sLep compleLed. 1o remedy Lhls, l've
updaLed Lhe sLeps above Lo dlsable Lhe uuL Lrlggers. lf Lhe lssue does occur. SLop Lhe upgrade rocess and follow sLeps
below.
set linesize 1000
column triggering_event format a45
column trigger_name format a45

select trigger_name,triggering_event,trigger_type,status from dba_triggers;

select trigger_name,triggering_event,trigger_type,status from dba_triggers where triggering_event
like '%DDL%';

TRIGGER_NAME TRIGGERING_EVENT
TRIGGER_TYPE STATUS
--------------------------------------------- --------------------------------------------- -------
--------- --------
SDO_GEOR_ADDL_TRIGGER DDL AFTER
EVENT ENABLED
SDO_GEOR_BDDL_TRIGGER DDL BEFORE
EVENT ENABLED
GGS_DDL_TRIGGER_BEFORE DDL BEFORE
EVENT ENABLED
LOGMNRGGC_TRIGGER DDL BEFORE
EVENT DISABLED

SQL> alter trigger GGS_DDL_TRIGGER_BEFORE disable;

Trigger altered.
8un Lhe osL upgrade SLeps
SQL> @?/rdbms/admin/catuppst.sql
1hen, upgrade Llmezone as per sLeps 3 (a and b), and sLep 4.
Updating the RDBMS DST version in 11g Release 2 (11.2.0.1 and up) using DBMS_DST (Doc ID
977512.1)
/%.# "/;&!01
1. Lnable uuL 1rlgger
SQL> alter trigger GGS_DDL_TRIGGER_BEFORE enable;

Trigger altered.
2. Conflgure uaLabase wlLh new Cracle Pome, lf lLs reglsLered wlLh old home
a. 8emove from prevlous home
ORACLE_SID:RACDB011:>srvctl status database -d RACDB01
Instance RACDB011 is not running on node solarisrac01
Instance RACDB012 is not running on node solarisrac02
solarisrac01{oracle}/home/oracle:
ORACLE_SID:RACDB011:>srvctl remove database -d RACDB01
Remove the database RACDB01? (y/[n]) y
solarisrac01{oracle}/home/oracle:
ORACLE_SID:RACDB011:>
b. Add Lo new home
ORACLE_SID:RACDB041:>srvctl add database -d RACDB01 -o /u01/app/oracle/product/11.2.0.3/dbhome_1
ORACLE_SID:RACDB041:>srvctl add instance -d RACDB01 -i RACDB011 -n solarisrac01
ORACLE_SID:RACDB041:>srvctl add instance -d RACDB01 -i RACDB012 -n solarisrac02
ORACLE_SID:RACDB041:>srvctl modify database -d RACDB01 -p
"+QVM_DISKGROUP_1/RACDB01/spfileRACDB01.ora"
ORACLE_SID:RACDB041:>srvctl modify database -d RACDB01 -m "DATABASE.COM"
ORACLE_SID:RACDB041:>srvctl config database -d RACDB01 -a
Database unique name: RACDB01
Database name:
Oracle home: /u01/app/oracle/product/11.2.0.3/dbhome_1
Oracle user: oracle
Spfile: +QVM_DISKGROUP_1/RACDB01/spfileRACDB01.ora
Domain: DATABASE.COM
Start options: open
Stop options: immediate
Database role: PRIMARY
Management policy: AUTOMATIC
Server pools: RACDB01
Database instances: RACDB011,RACDB012
Disk Groups: QVM_REDO,QVM_REDO_MULT,QVM_DISKGROUP_1
Mount point paths:
Services:
Type: RAC
Database is enabled
Database is administrator managed
c. Add Servlces
ORACLE_SID:RACDB041:>srvctl add service -d RACDB01 -s RACDB01C -r RACDB011,RACDB012
ORACLE_SID:RACDB041:>srvctl add service -d RACDB01 -s SRVC_1QA -r RACDB011,RACDB012
ORACLE_SID:RACDB041:>srvctl add service -d RACDB01 -s SRVC_2QA -r RACDB011,RACDB012
ORACLE_SID:RACDB041:>srvctl status service -d RACDB01
Service SRVC_1QA is not running.
Service SRVC_2QA is not running.
Service RACDB01C is not running.
3!.=2 2%))!+0. A=#$ 88;&4 ;&=0 =+:&!.#&"2#"&1
SLarLup 8esources
# crsctl start resource <resource name>
lor example:
# csrctl start resource ora.scan1.vip

?+%A+ =.."1.
1. SCAn vl does noL sLarLup correcLly afLer rebooL.
lf any of Lhe SCAn vl resources show as ln1L8MLulA1L sLaLe wlLh a CPLCk 1lMLu Cu1 sLaLus as below, slmply sLop
and resLarL lL.
ora.scan1.vip
1 ONLINE INTERMEDIATE solarisrac01 CHECK TIMED OUT
SLop/SLarL
ORACLE_SID:+ASM1:>crsctl stop res ora.scan1.vip
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'solarisrac01'
CRS-2677: Stop of 'ora.scan1.vip' on 'solarisrac01' succeeded
ORACLE_SID:+ASM1:>crsctl stat res -t
. . .
ora.scan1.vip
1 OFFLINE OFFLINE
. . .
ORACLE_SID:+ASM1:>crsctl start res ora.scan1.vip
CRS-2672: Attempting to start 'ora.scan1.vip' on 'solarisrac02'
CRS-2676: Start of 'ora.scan1.vip' on 'solarisrac02' succeeded
CRS-2672: Attempting to start 'ora.LISTENER_SCAN1.lsnr' on 'solarisrac02'
CRS-2676: Start of 'ora.LISTENER_SCAN1.lsnr' on 'solarisrac02' succeeded
ORACLE_SID:+ASM1:>crsctl stat res -t
. . .
ora.scan1.vip
1 ONLINE ONLINE solarisrac02
. . .
2. uaLabase does noL sLarLup auLomaLlcally afLer node rebooL.
Change Lhe C8S conflguraLlon parameLer Au1C_S1A81 for Lhe daLabase resource Lo always"
ORACLE_SID:+ASM1:>crsctl modify res ora.RACDB03.db -attr "AUTO_START=always"
ORACLE_SID:+ASM1:>crsctl modify res ora.RACDB02.db -attr "AUTO_START=always"
ORACLE_SID:+ASM1:>crsctl modify res ora.RACDB04.db -attr "AUTO_START=always"
ORACLE_SID:+ASM1:>crsctl modify res ora.RACDB01.db -attr "AUTO_START=always"

You might also like