0% found this document useful (0 votes)
11 views13 pages

PARVDB14 - OracleInstallationPatching and DR Setup

The document provides steps to install Oracle 11g database software and create a database called FSPROD9 on the PARVDB14 server. It also describes how to patch the existing Oracle 11g installation and rebuild the FINPROD9 standby database on PARVDB14. Key steps include running the Oracle installation wizard to configure directories, memory settings and sample schemas. It also covers applying patches, creating a standby database using archived redo logs, and enabling jobs to maintain the standby database.

Uploaded by

SRINIVAS KOTTE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views13 pages

PARVDB14 - OracleInstallationPatching and DR Setup

The document provides steps to install Oracle 11g database software and create a database called FSPROD9 on the PARVDB14 server. It also describes how to patch the existing Oracle 11g installation and rebuild the FINPROD9 standby database on PARVDB14. Key steps include running the Oracle installation wizard to configure directories, memory settings and sample schemas. It also covers applying patches, creating a standby database using archived redo logs, and enabling jobs to maintain the standby database.

Uploaded by

SRINIVAS KOTTE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

FSPROD9 Database on PARVDB14 server Build

Oracle 11.2.0.4 Database server Installation Steps:


 Add HSI\TUXADM account to local admin group.

 Copy the Oracle software folder p13390677_112040_MSWIN-x86-64_1_2_of7 from Software


shared location \\crpsfs08\Software\Windows_Servers\Oracle\Oracle11.2.0.4.
 Create folder D:\Oradata, D:\Oracle
 Run Setup from C:\Software\Oracle11.2.0.4_x64-Server\
Oracle_Server_x64_p13390677_112040_MSWIN-x86-64_1_2_of7\database folder.
 Uncheck to receive Security updates and Skip Software updates.

 Select Create and Configure database.

 Select Server class.


 Single instance database installation.

 Advanced Install.

 Select/Keep English as language.


 Leave Enterprise edition selected.

 Choose the following file locations


o Oracle Base D:\Oracle
o Software location D:\Oracle\product\11.2.0\dbhome_1
o
 Select database as General purpose.

 Leave Global database name as default orcl.hsi.corp .

 Set Allocate memory to 10%, Enable Automatic Memory management, Leave character set and
other tabs default. Check to create database under sample Schemas tab.
 Use OEM database control for management.

 Specify Database File location to D:\Oradata


 Don’t enable automatic backup.

 Use same password for all accounts.

 Select Allow access for Java prompts.


 Add DBA team to ora_dba server group.
 Request HCL team to open the Oracle ports 1158, 1521 in Windows firewall.
 Launch the enclosed URL to manage the database install.
https://parvdb14.hsi.corp:1158/em

Patching:
Installing Opatch Update

 Backup the contents in D:\Oracle\product\11.2.0\dbhome_1\OPatch folder


 Delete the contents in D:\Oracle\product\11.2.0\dbhome_1\OPatch. Don’t delete Opatch
folder.
 Extract p6880880_112000_MSWIN-x86-64
 Copy the contents from the Opatch folder in above extract to D:\Oracle\product\11.2.0\
dbhome_1\OPatch folder

Installing Oracle Patch (11.2.0.4.12):

 Shutdown databases & Stop All Oracle Related Services.


 Backup the Oracle Home folder and databases.
 Extract the patch p20127071_112040_MSWIN-x86-64
 Launch dos prompt run as Administrator
 Set Windows system Environment variable ORACLE_HOME to D:\Oracle\product\11.2.0\
dbhome_1
o SET ORACLE_HOME=D:\Oracle\product\11.2.0\dbhome_1
 go to Extracted folder D:\Software\OraclePatch11.2.0.4.12\p20127071_112040_MSWIN-x86-
64\20127071
 Run the command %ORACLE_HOME%\opatch\opatch apply.
 It will prompt for your email address for Oracle support ID and the password. Enter email and
ignore error.
 Type Y for databases are shutdown ready for patching prompt.
 Patching will happen and you will get message at the end Opatch Succeeded.
 Start all the Oracle services set as automatic startup type
 Reboot the Server and check the Oracle DB.
 Open windows Firewall ports for 1158, 1521.

Database creation on PARVDB14:

Logon to 11g DB server to create the new database using Oracle tools DBCA with enclosed options.

 Launch Database configuration Assistant.


 Create database and select Custom database, Configure Enterprise manager.
 Use same administrative account for all accounts. Enter password from excel sheet.
 Use common Location for data files, E:\ORADATA.
 Uncheck Fast recovery and enable Archiving. Specify Archive log destination as H:\Oradata\
FSPROD9.
 For Database components select only two components, Oracle Enterprise Manager Repository,
Oracle extensions for .NET. Deselect Oracle Text, OLAP, Spatial. Make sure to choose all check
boxes in Standard components.
 Choose SGA 3GB for Demo and 60GB (40960MB) for Prod. Use Automatic Memory
management. Increase processes to 300 and go to all initialization parameters and set open
cursor to 1000. Leave Character set and connection mode to dedicated server mode.
 Go to next screen and make sure to have 3 control files on three different locations. Increase the
redo log file size to 100MB. Add three groups’ two members to each group. Split the log files
members to diff disks. 01A on E: and 01B on F:
 Save the template as FSPROD9 and Scripts. Database creation will happen and Save the Oracle
OEM URL
 Take database backup.

Rebuilding FINPROD9 Standby database on PARVDB14:

Complete rebuild process happens on PARVDB14. During rebuild process never remote in to production
server. Accidentally you may delete production files.

 Logon to PARVDB14
 Disable the Windows Scheduler job RecoverStandby.bat
 Shutdown the exiting database and delete the data files.
o Make sure you are on PARVDB14, go to dos prompt.
o Export ORACLE_SID=FINPROD9
o Sqlplus /nolog
o Connect / as sysdba
o Shutdown abort;
o Go to Windows Explorer and delete the files in G:\ORADATA\FINPROD9.
 Copy the FINPROD9 hot backup from the server CRPSDB14
o Copy the files all the sub folders in \\crpsdb11\Backup\HOT to G:\ORADATA\FINPROD9.

 Create standby control file.


o Connect the CRPSDB14 server FINPROD9 database in SQL + using system account.
o ALTER DATABASE CREATE STANDBY CONTROLFILE AS 'G:\Backup\standbycf.ctl';
o This will create standby control file on production server on 'G:\Backup' folder.
o Copy standby control file standbycf.ctl from G:\Backup as control01.ctl, control02.ctl,
control03.ctl on to PARVDB14 G:\ORADATA\FSPROD9 folder.
 Run the script D:\Scripts\Standby\RecoverStandby.bat. This should copy the Archive logs and
run the recovery. Check the log file Recover.log
 Once this scripts finishes, you can run CheckStandby.bat to check the row count and compare
that with CRPSDB14 server FINPROD9 database. They should be fairly close.
 Enable the Windows Scheduler job D:\Scripts\Standby\RecoverStandby to run hourly.

You might also like