[ Pobierz całość w formacie PDF ]

setarch-1.3-1
libaio-0.3.96-3
libaio-devel-0.3.96-3
To check if you are running the AMD64 or Intel 64(x86-64) kernel on an AMD64 or Intel 64 platform,
run:
# uname -mi
x86_64 x86_64
To check the RPMs, run:
rpm -q --qf '%{NAME}-%{VERSION}-%{RELEASE} (%{ARCH})\n' \
make gcc glibc glibc-devel compat-db compat-gcc compat-gcc-c++ \
compat-libstdc++ compat-libstdc++-devel gnome-libs openmotif21 setarch \
libaio libaio-devel
It is important to have the right x86 and x86-64 RPMs installed. The above command will list the
architecture of each binary package. And as you can see in the above list, glibc-devel and other RPMs
are listed twice. This means that you have to install packages for both architectures, x86 and x86-64.
For Oracle 10g R1 (32 bit) on Red Hat Enterprise Linux 3 x86, the document Oracle Database
Installation Guide 10g Release 1 (10.1) for UNIX Systems lists the following required package
versions or higher:
make-3.79.1
gcc-3.2.3-34
glibc-2.3.2-95.20
compat-db-4.0.14-5
compat-gcc-7.3-2.96.128
compat-gcc-c++-7.3-2.96.128
compat-libstdc++-7.3-2.96.128
compat-libstdc++-devel-7.3-2.96.128
openmotif21-2.1.30-8
setarch-1.3-1
To check the RPMs, run:
rpm -q make gcc glibc compat-db compat-gcc compat-gcc-c++ compat-libstdc++ \
compat-libstdc++-devel openmotif21 setarch
For Oracle 10g R1 (32 bit) on Red Hat Enterprise Linux 2.1, the document Oracle Database
Installation Guide 10g Release 1 (10.1) for UNIX Systems lists the following required package
versions or higher:
make-3.79.1
glibc-2.2.4-32
gcc-2.96-128
gcc-c++-2.96-128
libstdc++-2.96-128
openmotif-2.1.30-11
70
Verifying Kernel Parameters
To check these RPMs, run:
rpm -q make glibc gcc gcc-c++ libstdc++ openmotif
For Red Hat Enterprise Linux 3 and 2.1 it is also important to have binutils-2.11.90.0.8-12 or a
newer version installed. Make sure you have the
binutils
RPM installed on Red Hat Enterprise Linux 4 and 5 as well:
rpm -q binutils
Important
OUI for x86 will also complain if the openmotif package is missing (do not confuse it
with the openmotif21 package). Red Hat changed the version naming schema from
openmotif-2.2.2-16 in the original release to openmotif-2.2.3-5.RHEL3.2
in Red Hat Enterprise Linux 3 Update 5. This seems to confuse OUI in Red Hat
Enterprise Linux3 U5 since it complaining that it can not find the right openmotif
version. You can ignore this. The openmotif-2.2.3-5.RHEL3.2 is just a newer version of
openmotif-2.2.2-16 which should work fine and should not cause any problems. To
check the RPM, run:
rpm -q openmotif
Also, make sure the redhat-release package is installed. Earlier versions of Red Hat Enterprise Linux
may not install it by default when you selected a minimum system installation:
rpm -q redhat-release
The setarch utility is new in Red Hat Enterprise Linux 3 and 4. It is used to tell the kernel to report a
different architecture than the current one. It is also used to emulate a 3GB virtual address space for
applications that do not run properly with a larger virtual address space. To check the RPM, run:
rpm -q setarch
19.4. Verifying Kernel Parameters
To see all kernel parameters, execute:
su - root
sysctl -a
For Oracle 10g, the following kernel parameters have to be set to values greater than or equal to the
recommended values which can be changed in the proc file system:
To verify shmmax, execute:
cat /proc/sys/kernel/shmmax
shmmax = 2147483648
71
Chapter 19. Pre-Installation Preparation and Verification
To verify shmmni, execute:
cat /proc/sys/kernel/shmmni
shmmni = 4096
To verify the shmall parameter, execute the command below. shmall is used in 10g R1.
cat /proc/sys/kernel/shmall
shmall = 2097152
To verify shmmin, execute:
ipcs -lm |grep "min seg size"
shmmin = 1
Note that shmseg is hardcoded in the kernel, the default is much higher.
shmseg = 10
To verify semmsl, execute:
cat /proc/sys/kernel/sem | awk '{print $1}'
semmsl = 250
To verify semmns, execute:
cat /proc/sys/kernel/sem | awk '{print $2}'
semmns = 32000
To verify semopm, execute:
cat /proc/sys/kernel/sem | awk '{print $3}'
semopm = 100
To verify semmni, execute:
cat /proc/sys/kernel/sem | awk '{print $4}'
semmni = 128
To verify file-max, execute:
cat /proc/sys/fs/file-max
file-max = 65536
To verify ip_local_port_range, execute:
cat /proc/sys/net/ipv4/ip_local_port_range
ip_local_port_range = 1024 65000
Note
Do not change the value of any kernel parameter on a system where it is already higher
than listed as minimum requirement.
72
Verifying Kernel Parameters
On the following versions of Red Hat Enterprise Linux 4 x86, 3 U5 x86, 3 U5 x86-64, and 2.1; you
may have to increase the kernel parameters shmmax, semopm, and filemax to meet the minimum
requirement. On Red Hat Enterprise Linux 4 x86-64 you may have to increase shmmax and semopm.
Oracle also recommends to set the local port range ip_local_port_range for outgoing messages
to "1024 65000" which is needed for high usage systems. This kernel parameter defines the local port
range for TCP and UDP traffic to choose from.
In order to meet these requirements, you may have to add the following lines to the /etc/
sysctl.conf file which are read during the boot process:
kernel.shmmax=2147483648
kernel.sem=250 32000 100 128
fs.file-max=65536
net.ipv4.ip_local_port_range=1024 65000
Adding these lines to the /etc/sysctl.conf file will cause the system to change these kernel
parameters after each boot using the /etc/rc.d/rc.sysinit script which is invoked by /etc/
inittab. But in order that these new added lines or settings in /etc/sysctl.conf become
effective immediately, execute the following command:
su - root
sysctl -p
For more information on shmmax, shmmni, shmmin, shmseg, and shmall, see Chapter 7, Setting
Shared Memory. For more information on semmsl, semmni, semmns, and semopm, see Chapter 24,
Creating Oracle Directories. For more information on filemax, see Chapter 9, Setting File Handles.
Starting with 10g R2 some network settings must be adjusted as well which is checked by OUI. Oracle
recommends the default and maximum send buffer size (SO_SNDBUF socket option) and receive
buffer size (SO_RCVBUF socket option) to be set to 256 KB. The receive buffers are used by TCP
and UDP to hold the received data for the application until it is read. This buffer cannot overflow
because the sending party is not allowed to send data beyond the buffer size window. This means
that datagrams will be discarded if they do not fit in the receive buffer. This could cause the sender to
overwhelm the receiver.
The default and maximum window size can be changed in the proc file system without reboot by
running the following commands: The default setting in bytes of the socket receive buffer.
# sysctl -w net.core.rmem_default=262144
The default setting in bytes of the socket send buffer.
# sysctl -w net.core.wmem_default=262144
The maximum socket receive buffer size which may be set by using the SO_RCVBUF socket option.
# sysctl -w net.core.rmem_max=262144
The maximum socket send buffer size which may be set by using the SO_SNDBUF socket option.
# sysctl -w net.core.wmem_max=262144
73
Chapter 19. Pre-Installation Preparation and Verification
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=262144
net.core.wmem_default=262144
net.core.rmem_max=262144
net.core.wmem_max=262144
74
Chapter 20.
Installing Required Software Packages
The following sections provide a detailed set of instructions for installing the required software
packages(RPMs) before you install your Oracle Database 10g (R1 and R2). These sections include
the following possible configurations:
" 10g R2 on Red Hat Enterprise Linux 4 and 5 (x86-64),
" 10g R2 on Red Hat Enterprise Linux 4 and 5 (x86),
" 10g R1 on Red Hat Enterprise Linux 4 and 5 (x86-64),
" 10g R1 on Red Hat Enterprise Linux 4 and 5 (x86),
" 10g R1 and R2 on Red Hat Enterprise Linux 3 (x86),
" 10g R1 on Red Hat Enterprise Linux 3 (x86-64), and
" 10g R1 on Red Hat Enterprise Linux 2.1 (x86). [ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • forum-gsm.htw.pl