Oracle CRS Upgrade on AIX 5.3 from 10.1.0.5 to 10.2.0.3
Node 2:
admin1@host2:/home/oracle/rootpre > /etc/init.crs stop
Shutting down Oracle Cluster Ready Services (CRS):
Waiting 30 seconds before stopping the CSS daemon.
Shutting down CRS daemon.
Shutting down EVM daemon.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
admin1@host2:/home/oracle/rootpre >
admin1@host2:/home/oracle/rootpre > /etc/init.cssd stop
Shutting down CRS daemon.
Shutting down EVM daemon.
Failure 3 at CSS context initialization
Shutdown has begun. The daemons should exit soon.
admin1@host2:/home/oracle/rootpre >
Node 1:
(oracle):/u01/crs/oracle/product/10/crs/bin> /etc/init.crs stop
Shutting down Oracle Cluster Ready Services (CRS):
Waiting 30 seconds before stopping the CSS daemon.
Shutting down CRS daemon.
Shutting down EVM daemon.
Shutting down CSS daemon.
Shutdown request successfully issued.
Shutdown has begun. The daemons should exit soon.
(oracle):/u01/crs/oracle/product/10/crs/bin>
(oracle):/u01/crs/oracle/product/10/crs/bin> /etc/init.cssd stop
Shutting down CRS daemon.
Shutting down EVM daemon.
Failure 3 at CSS context initialization
Shutdown has begun. The daemons should exit soon.
(oracle):/u01/crs/oracle/product/10/crs/bin>
rootpre (Only one time)
** Check release Notes ***
export ORACLE_HOME=/u01/crs/oracle/product/10/crs
cd /ora_backup/10gsoftware/CRS/10.2.0.1/Disk1/upgrade
./preupdate.sh -crshome /u01/crs/oracle/product/10/crs -crsuser oracle
This is MUST
/usr/sbin/slibclean
(oracle):/ora_backup/10gsoftware/crs/10.2/Disk1> ./runInstaller -ignoreSysPrereqs
SKIP_ROOTPRE environment variable is set, which means
rootpre.sh was already run as root.
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-06-18_12-56-04PM. Please wait ...(oracle):/ora_backup/10gsoftware/crs/10.2/Disk1> Oracle Universal Installer, Version 10.2.0.1.0 Production
Copyright (C) 1999, 2005, Oracle. All rights reserved.
Checking operating system requirements ...
Expected result: One of 5200.004,5300.002
Actual Result: 5300.002
Check complete. The overall result of this check is: Passed
=======================================================================
Checking operating system package requirements ...
Checking for bos.adt.base(0.0); found bos.adt.base(5.3.0.40). Passed
Checking for bos.adt.lib(0.0); found bos.adt.lib(5.3.0.40). Passed
Checking for bos.adt.libm(0.0); found bos.adt.libm(5.3.0.40). Passed
Checking for bos.perf.libperfstat(0.0); found bos.perf.libperfstat(5.3.0.30). Passed
Checking for bos.perf.perfstat(0.0); found bos.perf.perfstat(5.3.0.40). Passed
Checking for bos.perf.proctools(0.0); found bos.perf.proctools(5.3.0.30). Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking recommended operating system patches
Checking for IY59386(bos.rte.bind_cmds,5.3.0.1); found (bos.rte.bind_cmds,5.3.0.40). Passed
Checking for IY60930(bos.mp,5.3.0.1); found (bos.mp,5.3.0.43). Passed
Checking for IY60930(bos.mp64,5.3.0.1); found (bos.mp64,5.3.0.43). Passed
Checking for IY66513(bos.mp64,5.3.0.20); found (bos.mp64,5.3.0.43). Passed
Checking for IY66513(bos.mp,5.3.0.20); found (bos.mp,5.3.0.43). Passed
Checking for IY70159(bos.mp,5.3.0.22); found (bos.mp,5.3.0.43). Passed
Checking for IY70159(bos.mp64,5.3.0.22); found (bos.mp64,5.3.0.43). Passed
Checking for IY58143(bos.mp64,5.3.0.1); found (bos.mp64,5.3.0.43). Passed
Checking for IY58143(bos.acct,5.3.0.1); found (bos.acct,5.3.0.40). Passed
Checking for IY58143(bos.adt.include,5.3.0.1); found (bos.adt.include,5.3.0.42). Passed
Checking for IY58143(bos.adt.libm,5.3.0.1); found (bos.adt.libm,5.3.0.40). Passed
Checking for IY58143(bos.adt.prof,5.3.0.1); found Not found. Failed <<<<
Checking for IY58143(bos.alt_disk_install.rte,5.3.0.1); found (bos.alt_disk_install.rte,5.3.0.40). Passed
Checking for IY58143(bos.cifs_fs.rte,5.3.0.1); found Not found. Failed <<<<
Checking for IY58143(bos.diag.com,5.3.0.1); found (bos.diag.com,5.3.0.40). Passed
Checking for IY58143(bos.perf.libperfstat,5.3.0.1); found (bos.perf.libperfstat,5.3.0.30). Passed
Checking for IY58143(bos.perf.perfstat,5.3.0.1); found (bos.perf.perfstat,5.3.0.40). Passed
Checking for IY58143(bos.perf.tools,5.3.0.1); found (bos.perf.tools,5.3.0.43). Passed
Checking for IY58143(bos.rte.boot,5.3.0.1); found (bos.rte.boot,5.3.0.40). Passed
Checking for IY58143(bos.rte.archive,5.3.0.1); found (bos.rte.archive,5.3.0.41). Passed
Checking for IY58143(bos.rte.bind_cmds,5.3.0.1); found (bos.rte.bind_cmds,5.3.0.40). Passed
Checking for IY58143(bos.rte.control,5.3.0.1); found (bos.rte.control,5.3.0.41). Passed
Checking for IY58143(bos.rte.filesystem,5.3.0.1); found (bos.rte.filesystem,5.3.0.42). Passed
Checking for IY58143(bos.rte.install,5.3.0.1); found (bos.rte.install,5.3.0.55). Passed
Checking for IY58143(bos.rte.libc,5.3.0.1); found (bos.rte.libc,5.3.0.43). Passed
Checking for IY58143(bos.rte.lvm,5.3.0.1); found (bos.rte.lvm,5.3.0.43). Passed
Checking for IY58143(bos.rte.man,5.3.0.1); found (bos.rte.man,5.3.0.40). Passed
Checking for IY58143(bos.rte.methods,5.3.0.1); found (bos.rte.methods,5.3.0.40). Passed
Checking for IY58143(bos.rte.security,5.3.0.1); found (bos.rte.security,5.3.0.43). Passed
Checking for IY58143(bos.rte.serv_aid,5.3.0.1); found (bos.rte.serv_aid,5.3.0.41). Passed
Check complete. The overall result of this check is: Failed <<<<
Problem: Some recommended patches are missing (see above).
Recommendation: You may actually have installed patches which have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the readme to find out how to get the missing patches.
=======================================================================
Checking for Oracle Home incompatibilities ....
Actual Result: Cluster Ready Services 10.1.0.2.0
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking local Cluster Synchronization Services (CSS) status ...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Cluster Synchronization Services (CSS) status ...
Actual Result: CSS Stack is running on the following nodes : host1,host2.
Check complete. The overall result of this check is: Failed <<<<
Problem: The cluster is not in a state suitable for upgrade. One or more of the following conditions have not been met: The Cluster Synchronization Service (CSS) is running on one or more nodes in the cluster and/or appropriate directories within the Oracle Home are not writable.
Recommendation: To upgrade Oracle 10g Release 1 Cluster Ready Services (CRS), you must shutdown CSS on all nodes, and ensure that specific directories within the Oracle 10g Release 1 CRS Home are writable on all nodes. In the upgrade/ directory at the root of the Oracle Clusterware 10g Release 2 media there is a shell script 'preupdate.sh' that should be run as root on each node that you wish to upgrade prior to launching the installer. This script will shutdown the Oracle 10g Release1 CRS stack on that node and prepare the Oracle 10g Release 1 CRS Home such that the upgrade can take place. The script can be invoked using the following command: 'preupdate.sh -crshome <Oracle 10g Release 1 CRS Home location> -crsuser <Oracle 10g Release 1 CRS user name>'.
=======================================================================
Checking operating system requirements ...
Expected result: One of 5200.004,5300.002
Actual Result: 5300.002
Check complete. The overall result of this check is: Passed
=======================================================================
Checking operating system package requirements ...
Checking for bos.adt.base(0.0); found bos.adt.base(5.3.0.40). Passed
Checking for bos.adt.lib(0.0); found bos.adt.lib(5.3.0.40). Passed
Checking for bos.adt.libm(0.0); found bos.adt.libm(5.3.0.40). Passed
Checking for bos.perf.libperfstat(0.0); found bos.perf.libperfstat(5.3.0.30). Passed
Checking for bos.perf.perfstat(0.0); found bos.perf.perfstat(5.3.0.40). Passed
Checking for bos.perf.proctools(0.0); found bos.perf.proctools(5.3.0.30). Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking recommended operating system patches
Checking for IY59386(bos.rte.bind_cmds,5.3.0.1); found (bos.rte.bind_cmds,5.3.0.40). Passed
Checking for IY60930(bos.mp,5.3.0.1); found (bos.mp,5.3.0.43). Passed
Checking for IY60930(bos.mp64,5.3.0.1); found (bos.mp64,5.3.0.43). Passed
Checking for IY66513(bos.mp64,5.3.0.20); found (bos.mp64,5.3.0.43). Passed
Checking for IY66513(bos.mp,5.3.0.20); found (bos.mp,5.3.0.43). Passed
Checking for IY70159(bos.mp,5.3.0.22); found (bos.mp,5.3.0.43). Passed
Checking for IY70159(bos.mp64,5.3.0.22); found (bos.mp64,5.3.0.43). Passed
Checking for IY58143(bos.mp64,5.3.0.1); found (bos.mp64,5.3.0.43). Passed
Checking for IY58143(bos.acct,5.3.0.1); found (bos.acct,5.3.0.40). Passed
Checking for IY58143(bos.adt.include,5.3.0.1); found (bos.adt.include,5.3.0.42). Passed
Checking for IY58143(bos.adt.libm,5.3.0.1); found (bos.adt.libm,5.3.0.40). Passed
Checking for IY58143(bos.adt.prof,5.3.0.1); found Not found. Failed <<<<
Checking for IY58143(bos.alt_disk_install.rte,5.3.0.1); found (bos.alt_disk_install.rte,5.3.0.40). Passed
Checking for IY58143(bos.cifs_fs.rte,5.3.0.1); found Not found. Failed <<<<
Checking for IY58143(bos.diag.com,5.3.0.1); found (bos.diag.com,5.3.0.40). Passed
Checking for IY58143(bos.perf.libperfstat,5.3.0.1); found (bos.perf.libperfstat,5.3.0.30). Passed
Checking for IY58143(bos.perf.perfstat,5.3.0.1); found (bos.perf.perfstat,5.3.0.40). Passed
Checking for IY58143(bos.perf.tools,5.3.0.1); found (bos.perf.tools,5.3.0.43). Passed
Checking for IY58143(bos.rte.boot,5.3.0.1); found (bos.rte.boot,5.3.0.40). Passed
Checking for IY58143(bos.rte.archive,5.3.0.1); found (bos.rte.archive,5.3.0.41). Passed
Checking for IY58143(bos.rte.bind_cmds,5.3.0.1); found (bos.rte.bind_cmds,5.3.0.40). Passed
Checking for IY58143(bos.rte.control,5.3.0.1); found (bos.rte.control,5.3.0.41). Passed
Checking for IY58143(bos.rte.filesystem,5.3.0.1); found (bos.rte.filesystem,5.3.0.42). Passed
Checking for IY58143(bos.rte.install,5.3.0.1); found (bos.rte.install,5.3.0.55). Passed
Checking for IY58143(bos.rte.libc,5.3.0.1); found (bos.rte.libc,5.3.0.43). Passed
Checking for IY58143(bos.rte.lvm,5.3.0.1); found (bos.rte.lvm,5.3.0.43). Passed
Checking for IY58143(bos.rte.man,5.3.0.1); found (bos.rte.man,5.3.0.40). Passed
Checking for IY58143(bos.rte.methods,5.3.0.1); found (bos.rte.methods,5.3.0.40). Passed
Checking for IY58143(bos.rte.security,5.3.0.1); found (bos.rte.security,5.3.0.43). Passed
Checking for IY58143(bos.rte.serv_aid,5.3.0.1); found (bos.rte.serv_aid,5.3.0.41). Passed
Check complete. The overall result of this check is: Failed <<<<
Problem: Some recommended patches are missing (see above).
Recommendation: You may actually have installed patches which have obsoleted these, in which case you can successfully continue with the install. If you have not, it is recommended that you do not continue. Refer to the readme to find out how to get the missing patches.
=======================================================================
Checking for Oracle Home incompatibilities ....
Actual Result: Cluster Ready Services 10.1.0.2.0
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Oracle Home path for spaces...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking local Cluster Synchronization Services (CSS) status ...
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Cluster Synchronization Services (CSS) status ...
Check complete. The overall result of this check is: Passed
**
Run This on both Nodes:
./preupdate.sh -crshome /u01/crs/oracle/product/10/crs -crsuser oracle
We have copied install dir from Node 1 to Node 2:
$CRS_HOME/install
** Check whether install dir/files looks okay, othwerwise copy
(oracle):/home/oracle>
Rootupgrade succeeded,
Main Point was : Run Preupgrade.sh and then slibclean
(oracle):/u01/crs/oracle/product/10/crs/bin> /u01/crs/oracle/product/10/crs/install/rootupgrade
Checking to see if Oracle CRS stack is already up...
copying ONS config file to 10.2 CRS home
exec(): 0509-036 Cannot load program olsnodes.bin because of the following errors:
0509-130 Symbol resolution failed for
/u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o] because:
0509-136 Symbol sskgslocas (number 227) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libttsh10.a[shr_ttsh10.o].
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
exec(): 0509-036 Cannot load program ocrdump.bin because of the following errors:
0509-130 Symbol resolution failed for /u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o] because:
0509-136 Symbol sskgslocas (number 227) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libttsh10.a[shr_ttsh10.o].
0509-130 Symbol resolution failed for ocrdump.bin because:
0509-136 Symbol crswconfig (number 56) is not exported from
dependent module /u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o].
0509-136 Symbol clsdprintft (number 57) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o].
0509-136 Symbol clsdinit (number 65) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o].
0509-136 Symbol clsdcompreg (number 66) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o].
0509-136 Symbol clsdset_trcperm (number 67) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o].
0509-136 Symbol clsdset_logperm (number 68) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o].
0509-136 Symbol proudp_get_version (number 71) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libocrutl10.a[shr_ocrutl10.o].
0509-136 Symbol procr_init_ext2 (number 81) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libocr10.a[shr_ocr10.o].
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
WARNING: directory '/u01/crs/oracle/product/10' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
exec(): 0509-036 Cannot load program ocrconfig.bin because of the following errors:
0509-130 Symbol resolution failed for /u01/crs/oracle/product/10/crs/lib/libhasgen10.a[shr_hasgen10.o] because:
0509-136 Symbol sskgslocas (number 227) is not exported from
dependent module
/u01/crs/oracle/product/10/crs/lib/libttsh10.a[shr_ttsh10.o].
0509-130 Symbol resolution failed for ocrconfig.bin because:
0509-136 Symbol crswconfig (number 70) is not exported from
10.2.0.3 Patch :
** Take Backup first ***
Run slibclean as root
Make sure that you have shutdown CRS stack on all Nodes:
(oracle):/ora_backup/10gsoftware/10.2DB/patch/10203/Disk1> ./runInstaller -ignoreSysPrereqs
********************************************************************************
Your platform requires the root user to perform certain pre-installation
OS preparation. The root user should execute '/usr/sbin/slibclean' on all the nodes before
you proceed with Patchset Installation.
Answer 'y' if root has run '/usr/sbin/slibclean' so you can proceed with Oracle
Patchset installation.
Answer 'n' to abort installation and then ask root to run '/usr/sbin/slibclean'.
********************************************************************************
Has '/usr/sbin/slibclean' been run by root? [y/n] (n)
y
Starting Oracle Universal Installer...
Checking installer requirements...
Checking operating system version: must be 5200 or 5300
Passed
All installer requirements met.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2009-06-18_02-49-15PM. Please wait ...(oracle):/ora_backup/10gsoftware/10.2DB/patch/10203/Disk1> Oracle Universal Installer, Version 10.2.0.3.0 Production
Copyright (C) 1999, 2006, Oracle. All rights reserved.
Click YES
tributed across the following nodes:
host1
host2
Because the software consists of local identical copies distributed across each of the nodes in the cluster, it is possible to patch your CRS installation in a rolling manner, one node at a time.
To complete the installation of this patchset, you must perform the following tasks on each node:
1. Log in as the root user.
2. As the root user, perform the following tasks:
a. Shutdown the CRS daemons by issuing the following command:
/u01/crs/oracle/product/10/crs/bin/crsctl stop crs
b. Run the shell script located at:
/u01/crs/oracle/product/10/crs/install/root102.sh
This script will automatically start the CRS daemons on the
patched node upon completion.
3. After completing this procedure, proceed to the next node and repeat.
(oracle):/u01/crs/oracle/product/10/crs/install> id
uid=0(root) gid=0(system) groups=2(bin),3(sys),7(security),8(cron),10(audit),11(lp),14(mqm),205(dba)
(oracle):/u01/crs/oracle/product/10/crs/install> /u01/crs/oracle/product/10/crs/bin/crsctl stop crs
Stopping resources.
Error while stopping resources. Possible cause: CRSD is down.
Stopping CSSD.
Unable to communicate with the CSS daemon.
(oracle):/u01/crs/oracle/product/10/crs/install> /u01/crs/oracle/product/10/crs/install/root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
(oracle):/u01/crs/oracle/product/10/crs/install> /u01/crs/oracle/product/10/crs/bin/crsctl stop crs
Stopping resources.
Error while stopping resources. Possible cause: CRSD is down.
Stopping CSSD.
Unable to communicate with the CSS daemon.
(oracle):/u01/crs/oracle/product/10/crs/install> /u01/crs/oracle/product/10/crs/install/root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /u01/crs/oracle/product/10/crs
Relinking some shared libraries.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67184 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67184 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
Relinking of patched files is complete.
WARNING: directory '/u01/crs/oracle/product/10' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Adding daemons to inittab
Waiting for the patched CRS daemons to start.
This may take a while on some systems.
.
10203 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 1: host1 host1_priv host1
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
clscfg -upgrade completed successfully
(oracle):/u01/crs/oracle/product/10/crs/install>
**Note** Run on both Nodes:
oracle@host2:/u01/backup > /u01/crs/oracle/product/10/crs/bin/crsctl stop crs
Stopping resources.
Error while stopping resources. Possible cause: CRSD is down.
Stopping CSSD.
Unable to communicate with the CSS daemon.
oracle@host2:/u01/backup > /u01/crs/oracle/product/10/crs/install/root102.sh
Creating pre-patch directory for saving pre-patch clusterware files
Completed patching clusterware files to /u01/crs/oracle/product/10/crs
Relinking some shared libraries.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67184 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
ld: 0711-783 WARNING: TOC overflow. TOC size: 67184 Maximum size: 65536
Extra instructions are being generated for each reference to a TOC
symbol if the symbol is in the TOC overflow area.
Relinking of patched files is complete.
WARNING: directory '/u01/crs/oracle/product/10' is not owned by root
WARNING: directory '/u01/crs/oracle/product' is not owned by root
WARNING: directory '/u01/crs/oracle' is not owned by root
WARNING: directory '/u01/crs' is not owned by root
Preparing to recopy patched init and RC scripts.
Recopying init and RC scripts.
Startup will be queued to init within 30 seconds.
Starting up the CRS daemons.
Adding daemons to inittab
Waiting for the patched CRS daemons to start.
This may take a while on some systems.
.
10203 patch successfully applied.
clscfg: EXISTING configuration version 3 detected.
clscfg: version 3 is 10G Release 2.
Successfully accumulated necessary OCR keys.
Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897.
node <nodenumber>: <nodename> <private interconnect name> <hostname>
node 2: host2 host2_priv host2
Creating OCR keys for user 'root', privgrp 'system'..
Operation successful.
clscfg -upgrade completed successfully
oracle@host2:/u01/backup >
No comments:
Post a Comment