This article will show an installation of Oracle Grid Infrastructure 12cR1 in silent mode.
The Oracle Grid Infrastructure is the Oracle software that provides system support for Oracle Automatic Storage Management (Oracle ASM), Oracle Restart (for Standalone server only) and Clusterware (for Cluster only). You must install Oracle Grid Infrastructure before installing your database.
New version ...
Grid Infrastructure 12.2 is now available.
It's recommended to install new version instead (check Install Oracle Grid Infrastructure 12cR2).
In this article ...
... root access is needed
... at least 8GB free disk space
You will need:
- Oracle Linux 7 installed (see oel7 installation here)
- Oracle Grid Infrastructure installation files (here)
Users and groups
Create minimal required groups and users with the following commands as root:
To improve the performance, you can increase the shell limits for the oracle user by adding the following lines to
Make sure, the following lines is in
session required pam_limits.so
Make sure oracle user's default shell is Bourne, Bash, or Korn shell.
Then add the following lines to the end of
/etc/selinux/config config file and set SELINUX to "disabled" or "permissive":
And execute the following commands as root to immediately disable SELinux:
Mountpoint with dedicated filesystem
It is advised to create a mountpoint with a dedicated filesystem which will store oracle GI binaries for several reasons:
- to not to fill up root filesystem
- to increase this specific filesystem only if needed
- to be able to move disk and filesystems to an other server
Execute theses commands as root for a new
Choose to install prerequisite packages manually or with the special oracle preinstall package
Install Oracle Grid Infrastructure
Unpack installation files
Check prerequisite verification report
Here is a simple script you can update for your needs
Check script output below
Make sure you check log file for error other than non-critical prerequisites.
Check this article here if you encounter some errors
Configure for standalone server
As you can see in
root.sh script log output, the following command line need to be executed as root user to configure as a standalone server:
Configure for cluster
Add to the
~/.bash_profile if use bash or
~/.profile if use ksh as shell login
List status ressources
What's next ...
Please leave comments and suggestions,
Grid Infrastructure Installation Guide (oracle.com)
Enjoyed this article? Please like it or share it.