Professional Documents
Culture Documents
Planning Steps
Server name is sfo-saptrn (?), IP = 10.175.20.67. SID is TRN, a copy of PRD from 10:00 PM on 11-May-2011. Instance number is 00. Need to get the Oracle SYS user password in order to upgrade the database. Installation to be performed as user SAPBAK, as that user has the Windows administration privileges. Following documentation: Upgrade Guide, Upgrade to Oracle Databse 10g Release 2 (10.2): Windows, Document version 5.0, 25-Aug-2009. Oracle(R) Database Upgrade Guide 10g Release 2 (10.2), Oracle part number B14238-02, January 2008. Oracle 9i Patch Set Notes, Release 2 (9.2.0.6.0) Patch Set 5 for Windows (32-bit), 2004. Release Notes for Oracle Database Server Version 9206 patch 9, 28-July-2005. The systems are running Oracle 9.2.0.4, so they must be patched to Oracle 9.2.0.6 (or higher) before upgrading to Oracle 10.2.0.4. OSS Notes consulted: Note
134592 578683 720886 828268 830576 839182 839187 841728 868681 871735 948305 1137346 1431752 1547781 1548216
Title
Importing the SAPDBA role (sapdba_role.sql) Installation of Newest Patch Set for Oracle 9.2.0 Oracle Database 10g: Integration into the SAP environment Oracle Database 10g: New functions Parameter recommendations for Oracle 10g Installing patches using OPatch Oracle 10.2.0: Applying patch set/ patches/ patch collection 10.2: Solutions for installation and upgrade problems Note 868681 - Oracle Database 10g/11g: Database Release Check Current patch set for Oracle 10.2.0 Oracle Upgrade to 10g Release 2 (10.2) on Windows Oracle 10.2.0: Patches/patch collections for Oracle 10.2.0.4 Oracle 10.2.0: Patches/Patch Collections for 10.2.0.5 ClassNotFoundException w/Oracle JDBC 10.2.0.5.0, 11.2.0.1.0 OEM Database Control root certificate expired 31-Dec2010
Version
33 35 46 61 216 66 23 68 14 48 9 113 12 2 1
Vers. Date
14-Sep-2010 3-Jul-2006 26-Nov-2007 23-Jul-2009 12-Apr-2011 5-May-2011 31-Aug-2009 1-Feb-2011 16-Aug-2010 3-Dec-2010 19-Jun-2007 12-Apr-2011 12-May-2011 10-Feb-2011 12-Jan-2011
Comment
Runtime
Engine
version
1.4.2_19
into
C:\Program
Files
Used this to install SAP Download Manager. Downloaded the Java JDK 1.4.2: y In Internet Explorer, go to http://java.com/en/javaforbusiness/sap_download.jsp
Scroll down to the section Get Java for Business 1.4.2, and click download.
Accept the license agreement and download (right-click) the version for Windows x64
Click Install
Downloaded the JCE policy files for 1.4.2 according to OSS Note 1426759:
Scroll down to the section Java Cryptography Extension 1.4.2, and click download.
y y
Downloaded Oracle DVDs to folder J:\OracleSAPDVD: y y y y y y y y 51031678_1 51031678_2 51031678_3 51031678_4 51031678_5 51031787 51040057_3 51041000 ORACLE RDBMS 10.2 Windows 1 of 5 ORACLE RDBMS 10.2 Windows 2 of 5 ORACLE RDBMS 10.2 Windows 3 of 5 ORACLE RDBMS 10.2 Windows 4 of 5 ORACLE RDBMS 10.2 Windows 5 of 5 DVD Oracle 10.2 Rel. 2 Document. Library ORACLE RDBMS Patch 10.2.0.5 Windows Server on IA32 32bit ORACLE Client 10.2.0.5
Downloaded the current patch set for Oracle 9i and 10g using the same procedure described in the Solution Manager Installation Document y y y y y y y Oracle 9.2.0.6 Oracle 9.2.0.6 patch 9 Opatch for 10.2.0.5 mopatch for Oracle 10.2.0.5 Oracle 10.2.0.5 patch 8 Oracle patch 8350262 (OSS Note 1548216) Oracle patch 9843740 (OSS Note 1431752) J:\OracleDVD\Patchset_9206_NT J:\\OracleDVD\p4487801_9206_WINNT J:\\OracleDVD\ OPatch_10205_Generic_v0.zip J:\\OracleDVD\ mopatch-2_1_7.zip mopatch-2_1_7.zip J:\\OracleDVD\p12328268_10205_WINNT.zip J:\\OracleDVD\p8350262_10205_Generic.zip J:\\OracleDVD\p9843740_10205_Generic.zip
Apply the patch set: y y y y y y y In Windows Explorer, change directory to J:\OracleDVD\Patchset_9206_NT\Disk1\ Double-click on setup.exe. Click Next on the welcome screen. Enter J:\OracleDVD\Patchset_9206_NT\Disk1\stage\products.xml as the file location, and click Next. Enter E:\oracle\TRN\920 for the Oracle home directory and click Next. Click Install on the summary screen. Click Exit.
Perform Post-steps: y y y Ensure there is 10 MB of free space in the SYSTEM tablespace. Set the SHARED_POOL_SIZE parameter to at least 150 MB [page 15 of the 9.2.0.6 patch notes] Set the JAVA_POOL_SIZE parameter to at least 150 MB [page 15 of the 9.2.0.6 patch notes]
Upgrade the database: y y Start the Oracle listener Connect to the database as user SYS and migrate the database: E:> sqlplus /NOLOG SQL> CONNECT SYS/<password> AS SYSDBA SQL> STARTUP MIGRATE SQL> SPOOL patch.log SQL> E:\oracle\TRN\920\rdbms\admin\catpatch.sql SQL> SPOOL OFF y Review the patch.log file and rerun catpatch.sql if there are any errors. Then continue:
D. Preparation Steps
Windows Firewall as already disabled [Installation guide, page 47]: y Start Administrative Tools Windows Firewall with Advanced Security
Right click on Windows Firewall with Advanced Security and choose the Properties menu.
This means that we should not set it back ON after the installation as instructed in the guide.
We are using the single domain structure using the arysta domain, and confirmed with John Border that none of the SAP servers are the Windows domain controller [page 49]. Set the Windows 2008 R2 server to ensure performance [page 50]: y Start Control Panel Power Options
y y
Created the local transport directory C:\usr\sap\trans [ page 52]. Previously downloaded the JDK 1.4.2.
Previously downloaded the JCE 1.4.2. policy file archive. Checked the list of downloaded DVDs
Just click Next to install the Enterprise Edition. <missed screenshot> Just click Next to specify the installation location as C:\oracle and the Oracle home directory as C:\oracle\SOL\112.
After Oracle performs prerequisite checks (about 90 seconds), review the summary information and click Finish. The installation runs.
Log off the server, and back in again to ensure the environment variable is picked up. Install the downloaded version of Opatch: y y With Windows explorer, rename the directory C:\oracle\SOL\112\Opatch to C:\oracle\SOL\112|Opatch_as_installed. Copy the directory C:\SolManSAPDVD\Oracle11.2.0.1patches\Opatch_11201_Generic_v3\Opatch to C:\oracle\SOL\112\Opatch.
Using PowerShell, apply the Oracle patches with Opatch: y y Change the working directory to C:\oracle\SOL\112\Opatch Run .\opatch napply C:\SolManSAPDVD\Oracle11.2.0.1patches\to_apply
y to continue
y y