Configuring Operating Systems for Oracle Grid Infrastructure On Linux
Guidelines for Linux Operating System Installation
Before installing Oracle software, complete the required Linux operating system configuration, hardware checks, and security reviews, following the supported distribution guidance and vendor security practices.
Read More: Guidelines for Linux Operating System Installation
Completing a Minimal or Default Linux Installation
Install either a minimal or default Linux configuration. Minimal installations require the Oracle Linux preinstallation RPM or manual package installation, while default installations provide most dependencies and are recommended when the preinstallation RPM is not used; avoid customizing default package selections.
Read More: Completing a Minimal or Default Linux Installation
About Oracle Linux with the Unbreakable Enterprise Kernel
Oracle recommends the Unbreakable Enterprise Kernel (UEK) for Oracle Linux because it provides enterprise optimizations, stability, and performance, and is the standard kernel used for Oracle products, Exadata, benchmarks, and preinstallation tooling. A RHEL-compatible kernel remains available when strict compatibility is required, and Ksplice can update kernels without restarting.
Read More: About Oracle Linux with the Unbreakable Enterprise Kernel
Restrictions for HugePages and Transparent HugePages Configurations
Use standard HugePages for Oracle databases and configure Transparent HugePages as madvise on UEK7 and later rather than disabling them. The preinstallation RPM applies this setting automatically; account for non-swappable HugePages memory when calculating available RAM and swap.
Read More: Restrictions for HugePages and Transparent HugePages Configurations
Configuring HugePages on Linux
Linux HugePages can improve Oracle performance by reducing page-management overhead and increasing TLB hit rates. Reserve at least 30% of RAM for standard pages and no more than 70% for HugePages, then configure kernel support, Oracle user memlock limits, the Oracle group’s shared-memory permission, and persistent HugePages settings; calculate capacity after databases are created and verify allocation after restarting instances.
Read More: Configuring HugePages on Linux
Setting Transparent HugePages to madvise
Configure Transparent HugePages to madvise by adding the parameter to the GRUB kernel command line, regenerating the appropriate GRUB configuration, and restarting the system or applying the setting immediately through the kernel interface. Verify the active setting shows madvise as selected.
Read More: Setting Transparent HugePages to madvise
Reviewing Operating System and Software Upgrade Best Practices
Before upgrades, record current versions, patches, and configuration, review the applicable upgrade documentation, and back up databases. Oracle ASM supports rolling upgrades for RAC with restrictions, while operating system migrations can use manual file and control-file procedures or Data Pump export and import; for Oracle AI Database 26ai, AutoUpgrade and Replay Upgrade are the supported upgrade methods.
Read More: Reviewing Operating System and Software Upgrade Best Practices
About Installation Fixup Scripts
Oracle Universal Installer can generate runfixup.sh scripts to correct certain missing prerequisites, including kernel parameters, inventory permissions, group memberships, and shell limits, without requiring a restart. Fixup scripts do not replace complete prerequisite verification, and CVU can perform additional automated or manual checks for Grid Infrastructure and RAC installations.
Read More: About Installation Fixup Scripts
About Automatic Self Correction
Automatic Self Correction uses CVU to identify and correct fixable Oracle Clusterware configuration issues across applicable nodes without user intervention. Enable it during Grid Infrastructure installation; any correction requiring a reboot is recorded in the CRS alert log.
Read More: About Automatic Self Correction
Additional Drivers and Software Packages for Linux
Optional Linux components include the latest Linux-PAM library for external scheduler authentication, OCFS2 for supported Oracle Linux shared-disk deployments, required Messaging Gateway fixes when applicable, unixODBC 2.3.4 or later for ODBC, LDAP packages for LDAP-dependent utilities, and platform-specific Java, compiler, COBOL, archive, and browser requirements. OCFS2 and Messaging Gateway are not supported on Linux for Arm, and the JDBC OCI Type 2 driver is deprecated in Oracle AI Database 26ai.
Read More: Additional Drivers and Software Packages for Linux
Checking Kernel and Package Requirements for Linux
Verify the installed Linux distribution, kernel release, and required RPM packages using release-information, uname, and RPM query commands. Compare versions with Oracle’s minimum requirements and install missing or outdated packages from the Linux distributor before proceeding.
Read More: Checking Kernel and Package Requirements for Linux
Setting Clock Source for VMs on Linux x86-64
For Linux x86-64 virtual machines, Oracle recommends using the tsc clock source when available. Check supported sources, select tsc, verify it is active, and add clocksource=tsc to the GRUB kernel command line so the setting persists across reboots.
Read More: Setting Clock Source for VMs on Linux x86-64
Installing the cvuqdisk RPM for Linux
Install the hardware-appropriate cvuqdisk RPM on every cluster node so CVU can discover shared disks. Remove any older version, set CVUQDISK_GRP to the owning group such as oinstall, and install the package as root from the Grid Infrastructure home’s cv/rpm directory.
Read More: Installing the cvuqdisk RPM for Linux
Enabling the Name Service Cache Daemon
Enable and start the Name Service Cache Daemon to improve Oracle Clusterware tolerance of network failures involving NAS devices or NFS mounts. Configure it to start at the required run levels, start or restart the service, and verify its active status with the applicable service-management command.
Read More: Enabling the Name Service Cache Daemon
Using Automatic SSH Configuration During Installation
Configure passwordless SSH and SFTP between all cluster nodes because Oracle Universal Installer, configuration assistants, and Enterprise Manager require noninteractive remote access. OUI can configure SSH automatically after profile commands that produce login output are removed; if necessary, set LoginGraceTime 0 in the SSH daemon configuration to prevent remote connection closures during installation.
Read More: Using Automatic SSH Configuration During Installation
Verifying the Disk Input Output Scheduler on Linux 8 and Later Systems
Check the disk I/O scheduler on every cluster node and consult the storage vendor for the appropriate configuration. Oracle generally recommends mq-deadline for rotational disks and none for SSDs and NVMe devices when using Oracle ASM on supported Linux distributions.
Read More: Verifying the Disk Input Output Scheduler on Linux 8 and Later Systems
Setting Network Time Protocol for Cluster Time Synchronization
Synchronize all cluster nodes with an operating-system time service such as chronyd or ntpd, because CTSS is desupported in Oracle AI Database 26ai. Ensure clocks and time-zone settings are consistent, verify synchronization with CVU, and stop and disable NTP services only when the installation procedure specifically requires their deactivation.
Read More: Setting Network Time Protocol for Cluster Time Synchronization
Verifying Digital Signature and Integrity of Installation Archive Files
Oracle AI Database 26ai installation archives are digitally signed and should be verified before extraction or deployment. Use Java jarsigner -verify for a quick check, or add verbose and certificate options to inspect signer, certificate, timestamp, digest, and signature details; successful validation reports that the archive is verified.
Read More: Verifying Digital Signature and Integrity of Installation Archive Files