Vous êtes sur la page 1sur 23

Oracle 11g Database Install Procedure.

HP

1.INTRODUCTION............................................................................................... 3 2.ORACLE 11G DATABASE SERVER HARDWARE SUMMARY....................................4 3.WINDOWS 2003R2 64BIT CONFIGURATION........................................................5 3.1 3.2 3.2 3.3 WINDOWS WINDOWS WINDOWS WINDOWS 2003R2 2003R2 2003R2 2003R2 64BIT64BIT64BIT64BITUSER ACCOUNTS.........................................................................5 PAGE FILE..................................................................................5 FOREGROUND OR BACKGROUND.....................................................5 DATABASE SERVER CONFIGURATION................................................5

4.ORACLE INSTALLATION PROCEDURE.................................................................7 6.1 ORACLE 11G SOFTWARE BINARY INSTALLATION ......................................................................7 6.2 LISTENER CONFIGURATION.................................................................................................. 10 6.3 ORACLE DATABASE CREATION............................................................................................. 12 5.ORACLE SOFTWARE CONFIGURATION ON THE SERVER.....................................22 5.1CASSML DATABASE.......................................................................................................... 22 5.2CLIENT SIDE TNSNAMES FILES FOR THE DATABASE................................................................22 6.ORACLE DATABASE BACKUP STRATEGY..........................................................23 6.1ORACLE DATABASE CASSML
BACKUP STRATEGY.....................................................................23

1. Introduction
This document has been prepared to detail the Oracle11g database server install procedure and architecture. The Oracle 11g database supports backend for applications including Curam, Requisite Pro and ClearQuest at HP-EDS facility.

The scope of this document includes the install procedure for Oracle 11g database, detailing the configuration of the Windows2003 64bit operating system, server hardware summary and database backup procedure.

2. Oracle 11g Database Server Hardware Summary


The server that hosts Oracle database is a HP Proliant DL380 server with following hardware specifications.

Model Host Name CPU RAM NICs Storage Drives Type of RAID RAID Sets RAID Set #1 Partitions

HP Proliant DL380 USLRSNJIP006 2 x 2.33GHz Quad-Core 72 GB 5 X GB NIC ONBOARD Internal 8 x 500GB RAID1 + RAID 5 2 2 x 500 GB RAID 1 C:\ 244 GB

RAID Set 4 x 500 GB RAID 5 #2 Partitions D:\ 221 GB E:\ 465 GB F:\ 1397 GB

3. Windows 2003R2 64bit Configuration


3.1 Windows 2003R2 64bit- User Accounts
The initial installation is performed using the local administrator account on the server. All future maintenance will be performed using a dedicated Oracle DBA Account. A DBA Account named ORACLE shell be created; this user account should be granted local administrator privileges.

3.2 Windows 2003R2 64bit- Page file


The recommended PAGEFILE size under Windows 2003 64bit is between 1.5 to 2 times physical memory. Microsoft recommends that the Windows Server PAGEFILE.SYS file(s) be set to 1.5 times the amount of physical RAM. Standard Oracle recommendation for PAGEFILE size is 2 times RAM, but because we have 72GB of RAM, the size of the PAGEFILE will be 8 GB. PAGEFILE = 8GB

3.2 Windows 2003R2 64bit- Foreground or Background


The Windows option to optimize the O/S for foreground or background processing should be set to background processing. BACKGROUND PROCESSING = YES

3.3 Windows 2003R2 64bit- Database Server Configuration


Based on the hardware configuration stated in section 3.0, the following standard logical drive configuration is recommended for all four database servers.
Drive C:\ Purpose Operating System Oracle Logs Oracle Software Size 244GB Storage Type Internal Configuration RAID 1 Set 1

D:\ E:\

221GB 465GB

Internal Internal

RAID 5 Set 1 RAID 5 Set 1

E:\

Oracle DB Files

1397G B

Internal

RAID 5 Set 1

4. Oracle Installation procedure


Oracle is installed using Graphical User Interface tool Oracle Installer.

6.1 Oracle 11g Software Binary Installation


1. Run the installer from downloaded Oracle software directory. Change Oracle base directory to E:\app\administrator. Press the Next Button.

2. Verify that all checks completed successfully.

Press Next Button

3. Review the summary and click Install.

4. Click Exit to complete the installation.

Oracle binaries installation is completed. Next steps will be to configure listener and to create the database.

6.2 Listener Configuration


1. Run E:\app\administrator\product\11.1.0\db_1\BIN\netca.bat to run Network Configuration Assistant

2. Select Add to create a listener.

10

3. Select default listener name LISTENER. Press Next button.

4. Review TCP/IP is selected protocol and press Next. At this point a listener will be created and started.

A listener is created and started. Next steps will be to create the database.

11

6.3 Oracle Database Creation


1. Run Database Configuration assistant by executing %ORACLE_HOME %/BIN/dbca.bat. Press Next button.

12

2. Select create database

3. Select Custom Database and press Next button

13

4. Enter cassml as global database name and press Next button.

5. Press Next button.

6. Select to use same password for all account, enter password and press Next button.

14

7. Select File System for database storage mechanism. Press Next Button.

8. Select User Common Location for all database file. Provide following path for database file location. F:\app\oracle\oradata\cassml

15

16

9. Specify E:\app\Administrator\flash_recovery_area as Flash Recovery Area destination and change the FRA size to 8GB. Check Enable Archiving and press Edit Archive Mode Parameter

Enter D:\app\oracle\archvie as Archive log destination. Press OK Button and then press Next button.

17

10. Uncheck everything except Enterprise Manager Repository and click Next button.

11. Enter 29486MB as Memory Size (SGA and PGA) and check Use Automatic Memory Management. Press Next button.

18

12. Select Keep the enhance 11g default security setting and press Next

13. Check Enable Automatic Maintenance and press Next button.

19

14. Select control file and change control file location to F:\APP\ORACLE\ORALOG\CASSML\CONTROL. Select Redo Log Group and change log file location to D:\app\oracle\archive\cassml Press Next Button

15. Select Create Database and press Finish button

20

16. At the end of the successful database creation process following message will appear.

Here the database creation is completed successfully.

21

5. Oracle Software Configuration on the Server


5.1 CASSML Database
SID: cassml

ORACLE_ BASE: E:\app\Administrator ORACLE_HOME: E:\app\Administrator\product\11.1.0\db_1

5.2

Client Side TNSNAMES Files for the database


# tnsnames.ora Network Configuration File # Generated by Oracle configuration tools. CASSML = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = uslrsnjip007) (PORT = 1521) ) ) (CONNECT_DATA = (SERVICE_NAME = cassml) ) )

22

6. Oracle Database Backup Strategy


Backup of CASSML Oracle database is performed using Oracles native utilities RMAN and Data Pump. Backup is taken on local disk. Upon completion of Oracle database backup operation, an OS server process copies back sets to tape drive using HPs tape backup utility.

6.1

Oracle Database CASSML backup strategy


The backup of the Oracle database is based on Daily RMAN backup and Daily DataPump export s for application schemas The backup configuration and execution files are in RMAN: E:\ oracle\product\11.1.0\admin\cassml\rman DataPump: E:\ oracle\product\11.1.0\admin\cassml\datapump The backup schedule is RMAN: Scheduled to run at 12:00 AM DataPump: Scheduled to run at 03:00 AM Backup Destination directories are RMAN: D:\ OracleBackups\cassml\rman DataPump: D:\ OracleBackups\cassml\datapump RMAN backups housekeeping is automatic with one day retention window and auto deletion of older files. DataPump backup is overwritten every night.

23

Vous aimerez peut-être aussi