Red Hat ENTERPRISE LINUX 5.1 - LINUX ORACLE Guida di Installazione

Navigare online o scaricare Guida di Installazione per no Red Hat ENTERPRISE LINUX 5.1 - LINUX ORACLE. Red Hat ENTERPRISE LINUX 5.1 - LINUX ORACLE Installation guide Manuale Utente

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa

Sommario

Pagina 1 - Enterprise Linux

Oracle 10g Server on Red Hat® Enterprise Linux® 5Deployment RecommendationsVersion 1.2November 2008

Pagina 2 - 2

3776136 KB are free for other applications. Don't get confused by the first line which shows that 28160KB are free! Note that most of the memory

Pagina 3 - Revision History

too low (less than 100). Firstly, pdflush will work on is writing pages that have been dirty for longer than it deems acceptable. This is controlled

Pagina 4 - Table of Contents

database and each combination of database instances running on the same system are unique. The following settings proved useful for many Oracle datab

Pagina 5

RAM Swap SPace1GB - 2GB 1.5 * total RAM2GB - 4GB 1 * total RAM> 4GB 4GBChecking Swap Space Size and Usage The size and current usage of swap space

Pagina 6 - Introduction

If the server shows sporadic swap activity or swap activity for a short period time at certain intervals, either add more swap space or more RAM. If

Pagina 7 - Kernel Boot Parameters

 Contiguous pages are preallocated and cannot be used for anything else but for System V shared memo-ry (e.g. SGA)  Less kernel bookkeeping work for

Pagina 8 - I/O Scheduler

# sysctl -w vm.nr_hugepages=512To make the change permanent, append the following line to the /etc/sysctl.conf file as follows. This file is used du

Pagina 9 - Memory Usage and Page Cache

on this system would be 1048576 KB (512*1024*2). If memlock is too small, then no single page will be allo-cated when the Oracle database starts. For

Pagina 10 - Tuning Page Cache

Note that if you set SHMMAX to 4294967296 bytes (4*1024*1024*1024=4GB) on a 32-bit system, then SHMMAX will essentially be set to 0 bytes since it wra

Pagina 11

The default shared memory limit for SHMMNI can be changed in the proc file system without reboot: # echo 4096 > /proc/sys/kernel/shmmniAlternativel

Pagina 12 - Swap Space

Oracle 10g Server on Red Hat® Enterprise Linux® 5Deployment RecommendationsCopyright © 2008 by Red Hat, Inc.1801 Varsity DriveRaleigh NC 27606-2072 US

Pagina 13 - > 4GB 4GB

Removing Shared MemorySometimes after an instance crash you may have to remove Oracle's shared memory segment(s) manually. To see all shared memo

Pagina 14 - Huge Pages in RHEL5

Summary of Recommended Huge Pages & Shared Memory SettingsFor 64-bit systems with 64GB of RAM: kernel.shmmax=34359738368 kernel.shmmni=4096 ker

Pagina 15 - Sizing Huge Pages

Setting SemaphoresSemaphores can be described as counters which are used to provide synchronization between processes or be-tween threads within a pro

Pagina 16

Oracle recommends SEMMNS to be at least 32000 and uses this value in its validated configurations. This val-ue corresponds to SEMMSL * SEMMNI (250*128

Pagina 17 - Setting Shared Memory

accordingly. As shown in the The SEMMSL Parameter section above, the SEMMSL setting should be 10 plus the largest PROCESSES parameter of any Oracle da

Pagina 18 - Setting SHMMNI Parameter

# echo 65536 > /proc/sys/fs/file-maxAlternatively, you can use sysctl(8) to change it: # sysctl -w fs.file-max=65536To make the change permanent, a

Pagina 19 - Setting SHMALL Parameter

To make the change permanent, add the following lines to the /etc/sysctl.conf file, which is used during the boot process: net.core.rmem_default=262

Pagina 20 - Removing Shared Memory

Some drivers may require driver parameters in the /etc/modprobe.conf file. For example, the driver e1000 may be used with flow control parameter speci

Pagina 21

miimon=100 downdelay=300 updelay=300 primary=eth1Note that bond0 uses balance-alb mode and ARP-based monitoring, whereas bond1 calls for mode 1 (f

Pagina 22 - Setting Semaphores

/sbin/ethtool -K eth2 tso off; \ /sbin/modprobe -i bonding -o bond0 \ mode=active-backup miimon=100 downdelay=300 updelay=300 primary=eth0

Pagina 23 - Setting Semaphore Parameters

Revision HistoryVersion Date Summary of Changes Author1.0 22-SEP-2008 Original Report A. Brezhnev1.1 2-OCT-2008 Incorporated review input A. Brezhnev

Pagina 24 - Setting File Handles

oracle hard nofile 131072These are the recommended values used in Oracle validated configurations. The "soft limit"

Pagina 25 - Adjusting Network Settings

Enabling Asynchronous I/O and Direct I/O SupportAsynchronous I/O permits Oracle to continue processing after issuing I/Os requests, which leads to hig

Pagina 26

OCFS2 file systems.Checking Asynchronous I/O UsageTo verify whether $ORACLE_HOME/bin/oracle was linked with async I/O, you can use the Linux com-mands

Pagina 27 - Network Interface Bonding

71775 32434 45% 0.05K 957 75 3828K buffer_head 19460 15050 77% 0.27K 1390 14 5560K radix_tree_node 13090 13015

Pagina 28 - # ethtool eth0

the standalone and RAC configurations. The NFS file system is supported with certified NFS servers.The main difficulties with storage configuration a

Pagina 29

Configuring Storage Access with Device Mapper MultipathRed Hat Enterprise Linux supports large variety of storage devices with native Linux multipathi

Pagina 30

4. Optionally you can assign aliases in multipaths section. The value of WWID can be obtained with scsi_id utility. For example:# scsi_id -g -u -s /bl

Pagina 31

Because it supports larger volumes, parted is the recommended tool to create partitions on Red Hat Enter-prise Linux 5. The disk management utilities

Pagina 32

2. Obtain unique SCSI disk identifiers of the Clusterware devices:# for i in `awk '/sd/ {print $4}' /proc/partitions`; \ do echo "$i:

Pagina 33 - ● on raw devices

Check the raw device binding:# raw -qa3B. Creating persistent raw devices for multipath LUNsIt is assumed that the device-mapper-multipath package has

Pagina 34

Table of ContentsINTRODUCTION... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Pagina 35

The amendments in 39-oracle-multipath.rules file are highlighted:# multipath wants the devmaps presented as meaninglful device names # so name them af

Pagina 36

Oracle Bug 4679769: Failed to format OCR disk using CLSFMT.Oracle Note 414163.1: 10gR2 RAC Install issues on Oracle EL5 or Red Hat Enterprise Linux 5

Pagina 37

# multipath wants the devmaps presented as meaningful device names # so name them after their devmap name SUBSYSTEM!="block", GOTO="end

Pagina 38

ORACLEASM_SCANORDER=“dm-*”Configure ASMLib and create ASM volumes:# service oracleasm configureConfiguring the Oracle ASM library driver...# servic

Pagina 39

Appendix A. Sample oracle10g-platform.spec fileName: oracle10g-platform Version: 1.0 Release: 1%{?dist} Summary: Prepares system to be a platform for

Pagina 40

%ifarch x86_64 /usr/lib64/libdb.so.2 /usr/lib64/libdb.so.2.0.0 %endif %post # Checking Oracle user real uid and gid oracle_uid=$(id -ru oracle 2> /

Pagina 41 - Configuring Storage for ASM

memlock=32 fi cat >> /etc/sysctl.conf << __EOF__ ## Added by oracle10g-platformfs.aio-max-nr = 3145728 kernel.shmmax = ${shmmax} kern

Pagina 42 - Using ASM with ASMLib driver

# - nofile - max number of open files # - rss - max resident set size (KB) # - stack - max stack size (KB) # - cpu - max C

Pagina 43

Appendix B. Sample 39-oracle-multipath.conf# multipath wants the devmaps presented as meaninglful device names # so name them after their devmap name

Pagina 44 - 44

%build %install rm -rf %{buildroot} %{__mkdir_p} %{buildroot}%{oracle_base} cd %{buildroot}%{oracle_base} %{__tar} zxvf %{SOURCE0} oracle_home_version

Pagina 45

APPENDIX A. SAMPLE ORACLE10G-PLATFORM.SPEC FILE...44A

Pagina 46 - 46

ReferencesTuning and Optimizing Red Hat Enterprise Linux for Oracle 9i and 10g Databaseshttp://www.redhat.com/docs/manuals/enterprise/RHELTuningandOpt

Pagina 47

IntroductionThis document provides recommendations for running Oracle 10g R2 standalone and RAC databases on Red Hat Enterprise Linux (RHEL). The reco

Pagina 48 - 48

Packages Required for Oracle 10gR2 (10.2) InstallationInstall following Red Hat Enterprise Linux 5 RPMs to satisfy dependencies of Oracle software:# y

Pagina 49

I/O SchedulerStarting with the 2.6 kernel (Red Hat Enterprise Linux 4 and later) the I/O scheduler can be modified at boot time to control the manner

Pagina 50 - References

the noop scheduler for device /dev/sdd and verify the result:# echo noop > /sys/block/sdd/queue/scheduler# cat /sys/block/sdd/queue/scheduler[noop]

Commenti su questo manuale

Nessun commento