Checking Server Hardware and Memory Configuration
Checking Server Hardware and Memory Configuration
2. To determine the size of the configured swap space, enter the following command:
# grep SwapTotal /proc/meminfo
3. To determine the amount of space available in the /tmp directory, enter the
following command:
# df -h /tmp
4. To determine the amount of free RAM and disk swap space on the system, enter
the following command:
# free
5. To determine if the system architecture can run the software, enter the
following
command:
# uname -m
Verify that the processor architecture matches the Oracle software release to
install.
For example, you should see the following for a x86-64 bit system:
x86_64
If you do not see the expected output, then you cannot install the software on this
system.
Ensure the Oracle Linux Kernel version for both nodes is 2.6.32 or higher.
uname -r
6. Verify that shared memory (/dev/shm) is mounted properly with sufficient size
using the following command:
df -h /dev/shm
The df-h command displays the filesystem on which /dev/shm is mounted, and
also displays in GB the total size and free size of shared memory
If you intend to install Oracle Databases or Oracle RAC databases on the cluster,
be
aware that the size of the shared memory mount area (/dev/shm) on each server must
be greater than the system global area (SGA) and the program global area (PGA) of
the
databases on the servers. Review expected SGA and PGA sizes with database
administrators to ensure that you do not have to increase /dev/shm after databases
are
installed on the cluster.
===================================================================================
===============
As a minimum ensure RedHat has the following packages installed on all nodes.
Package
cvuqdisk (Distributed with the Oracle Binaries)
unzip (x86_64)
xorg-x11-utils-7.5-6.el6.x86_64
binutils-2.20.51.0.2-5.11.el6 (x86_64)
compat-libcap1-1.10-1 (x86_64)
compat-libstdc++-33-3.2.3-69.el6 (x86_64)
compat-libstdc++-33-3.2.3-69.el6 (i686)
gcc-4.4.4-13.el6 (x86_64)
gcc-c++-4.4.4-13.el6 (x86_64)
glibc-2.12-1.7.el6 (i686)
glibc-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6 (x86_64)
glibc-devel-2.12-1.7.el6 (i686)
ksh
libgcc-4.4.4-13.el6 (i686)
libgcc-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6 (x86_64)
libstdc++-4.4.4-13.el6 (i686)
libstdc++-devel-4.4.4-13.el6 (x86_64)
libstdc++-devel-4.4.4-13.el6 (i686)
libaio-0.3.107-10.el6 (x86_64)
libaio-0.3.107-10.el6 (i686)
libaio-devel-0.3.107-10.el6 (x86_64)
libaio-devel-0.3.107-10.el6 (i686)
libXext-1.1 (x86_64)
libXext-1.1 (i686)
libXtst-1.0.99.2 (x86_64)
libXtst-1.0.99.2 (i686)
libX11-1.3 (x86_64)
libX11-1.3 (i686)
libXau-1.0.5 (x86_64)
libXau-1.0.5 (i686)
libxcb-1.5 (x86_64)
libxcb-1.5 (i686)
libXi-1.3 (x86_64)
libXi-1.3 (i686)
make-3.81-19.el6
sysstat-9.0.4-11.el6 (x86_64)
===================================================================================
==========
Installing the cvuqdisk RPM for Linux
If you do not use an Oracle Preinstallation RPM, then you must install the cvuqdisk
RPM. Without cvuqdisk, Cluster Verification Utility cannot discover shared disks,
and
you receive the error message "Package cvuqdisk not installed" when you run Cluster
Verification Utility. Use the cvuqdisk rpm for your hardware (for example, x86_64).
To install the cvuqdisk RPM, complete the following procedure:
1. Locate the cvuqdisk RPM package, which is in the directory rpm on the Oracle
Grid Infrastructure installation media. If you have already installed Oracle Grid
Infrastructure, then it is located in the directory grid_home/cv/rpm.
2. Copy the cvuqdisk package to each node on the cluster. You should ensure that
each node is running the same version of Linux.
3. Log in as root.
4. Use the following command to find if you have an existing version of the
cvuqdisk package:
# rpm -qi cvuqdisk
If you have an existing version, then enter the following command to deinstall the
existing version:
# rpm -e cvuqdisk
5. Set the environment variable CVUQDISK_GRP to point to the group that will own
cvuqdisk, typically oinstall. For example:
# CVUQDISK_GRP=oinstall; export CVUQDISK_GRP
6. In the directory where you have saved the cvuqdisk rpm, use the following
command to install the cvuqdisk package:
# rpm -iv package
For example:
# rpm -iv cvuqdisk-1.0.9-1.rpm
===================================================================================
===========
To deactivate the NTP service, you must stop the existing ntpd service, disable it
from
the initialization sequences and remove the ntp.conf file. To complete these step
on
Oracle Linux, and Asianux systems, run the following commands as the root user
# /sbin/service ntpd stop
# chkconfig ntpd off
# mv /etc/ntp.conf /etc/ntp.conf.org
===================================================================================
=========
Add the following lines to the "/etc/pam.d/login" file, if it does not already
exist.
session required pam_limits.so
===================================================================================
============
SELinux can prevent to establish a correct SSH communication between two hosts, or
prevent the creation of ASM disks with the oracleasm tool. To disable SELinux, edit
the file /etc/selinux/config as follow:
Reboot the server and check if SELinux is down by using the following command:
# /usr/sbin/getenforce
Disabled