0% found this document useful (0 votes)
57 views

Checking Server Hardware and Memory Configuration

This document provides instructions for gathering system information and ensuring minimum software requirements are met for an Oracle Grid Infrastructure installation. The key steps include: 1. Running commands such as grep, df, and free to determine RAM, swap space, /tmp space, and available memory. 2. Verifying the system architecture and kernel version match Oracle software requirements. 3. Ensuring specific packages are installed, shared memory is properly mounted, and user limits and other prerequisites are in place. 4. Disabling SELinux and stopping NTP to allow the Oracle installer to configure time synchronization.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
57 views

Checking Server Hardware and Memory Configuration

This document provides instructions for gathering system information and ensuring minimum software requirements are met for an Oracle Grid Infrastructure installation. The key steps include: 1. Running commands such as grep, df, and free to determine RAM, swap space, /tmp space, and available memory. 2. Verifying the system architecture and kernel version match Oracle software requirements. 3. Ensuring specific packages are installed, shared memory is properly mounted, and user limits and other prerequisites are in place. 4. Disabling SELinux and stopping NTP to allow the Oracle installer to configure time synchronization.
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 4

Run the following commands to gather your current system information:

1. To determine the physical RAM size, enter the following command:


# grep MemTotal /proc/meminfo

At least 4 GB of RAM for Oracle Grid Infrastructure for a Cluster installations,


including installations where you plan to install Oracle RAC.

2. To determine the size of the configured swap space, enter the following command:
# grep SwapTotal /proc/meminfo

Available RAM Swap Space Required


Between 4 GB and 16 GB Equal to RAM
More than 16 GB 16 GB of RAM

3. To determine the amount of space available in the /tmp directory, enter the
following command:
# df -h /tmp

1 GB of space in the /tmp directory

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

Also remove the following file:


/var/run/ntpd.pid

This file maintains the pid for the NTP daemon.


When the installer finds that the NTP protocol is not active, the Cluster Time
Synchronization Service is installed in active mode and synchronizes the time
across
the nodes. If NTP is found configured, then the Cluster Time Synchronization
Service
is started in observer mode, and no active time synchronization is performed by
Oracle Clusterware within the cluster.

===================================================================================
=========

Creating the Oracle Home and Oracle Base Directory


Oracle recommends that you create Oracle Grid Infrastructure Grid home and Oracle
base homes manually, particularly if you have separate Oracle Grid Infrastructure
for a
cluster and Oracle Database software owners, so that you can separate log files for
the
Oracle Grid Infrastructure installation owner in a separate Oracle base, and
prevent
accidental placement of the Grid home under an Oracle base path.
For example:
# mkdir -p /u01/app/12.1.0/grid
# mkdir -p /u01/app/grid
# mkdir -p /u01/app/oracle
# chown -R grid:oinstall /u01
# chown oracle:oinstall /u01/app/oracle
# chmod -R 775 /u01/
===================================================================================
=========

Add the following lines to the "/etc/security/limits.conf" file.


oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536
oracle soft stack 10240
oracle hard stack 32768

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:

# This file controls the state of SELinux on the system.


# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
SELINUX=disabled
# SELINUXTYPE= can take one of these two values:
# targeted - Targeted processes are protected,
# mls - Multi Level Security protection.
SELINUXTYPE=targeted

Reboot the server and check if SELinux is down by using the following command:

# /usr/sbin/getenforce
Disabled

SELinux has to be disabled for both 11g and 12c installations.

You might also like