2 Configuring Servers for Oracle Grid Infrastructure and Oracle RAC

This chapter describes the operating system tasks you must complete on your servers before you install Oracle Grid Infrastructure for a Cluster and Oracle Real Application Clusters (Oracle RAC). The values provided in this chapter are for installation minimums only. Oracle recommends that you configure production systems in accordance with planned system loads.

This chapter contains the following topics:

2.1 Checking Server Hardware and Memory Configuration

Run the following commands to gather your current system information:

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

    # /usr/sbin/lsattr -E -l sys0 -a realmem
    

    If the size of the physical RAM installed in the system is less than the required size, then you must install more memory before continuing.

  2. To determine the available RAM and swap space, enter the following command:

    # /usr/sbin/lsps -s
    

    Note:

    • Oracle recommends that you take multiple values for the available RAM and swap space before finalizing a value. This is because the available RAM and swap space keep changing depending on the user interactions with the computer.

    • Contact your operating system vendor for swap space allocation guidance for your server. The vendor guidelines supersede the swap space requirements listed in this guide.

  3. To determine the size of the configured swap space, enter the following command:

    # /usr/sbin/lsps -a
    

    If necessary, refer to your operating system documentation for information about how to configure additional swap space.

  4. To determine the amount of disk space available in the /tmp directory, enter the following command:

    # /usr/bin/df -k /tmp
    

    If there is less than 1 GB of disk space available in the /tmp directory, then complete one of the following steps:

    • Delete unnecessary files from the /tmp directory to make available the disk space required.

    • Set the TEMP and TMPDIR environment variables when setting the oracle user's environment.

    • Extend the file system that contains the /tmp directory. If necessary, contact your system administrator for information about extending file systems.

  5. To determine the amount of free disk space on the system, use one of the following commands, depending on where you intend to place Oracle Clusterware files:

    # df -g
    # df -m
    
  6. To determine if the system architecture can run the Oracle software, enter the following command:

    # /usr/bin/getconf HARDWARE_BITMODE
    

    The expected output of this command is 64. If you do not see the expected output, then you cannot install the software on this system.

  7. To verify the server runlevel, enter the following command:

    /usr/bin/who -r
    

    If the result of this command is run-level 2, this means the current runlevel is 2.

  8. To determine if the system is started in 64-bit mode, enter the following command:

    # /usr/sbin/bootinfo -K
    

    The result of this command should be 64, indicating that the 64-bit kernel is enabled.

    Verify that the processor architecture matches the Oracle software release to install. If you do not see the expected output, then you cannot install the software on this system.

Note:

For AIX-based systems, Oracle Grid Infrastruture supports 64-bit kernel and does not provide support for 32-bit kernel applications.

2.2 General Server Minimum Requirements

  • Select servers with the same instruction set architecture; running 32-bit and 64-bit Oracle software versions in the same cluster stack is not supported.

  • Ensure that the server is started with runlevel 2.

  • Ensure display cards provide at least 1024 x 768 display resolution, so that OUI displays correctly while performing a system console-based installation.

  • Ensure servers run the same operating system binary.

  • Oracle Grid Infrastructure installations and Oracle Real Application Clusters (Oracle RAC) support servers with different hardware in the same cluster. Your cluster can have nodes with CPUs of different speeds or sizes, but Oracle recommends that you use nodes with the same hardware configuration.

    Oracle recommends that if you configure clusters using different configuration, that you categorize cluster nodes into homogenous pools as part of your server categorization management policy.

    See Also:

    Oracle Clusterware Administration and Deployment Guide for more information about server state and configuration attributes, and about using server pools to manage resources and workloads

2.3 Server Storage Minimum Requirements for Oracle Grid Infrastructure

Ensure that your system meets the following minimum disk space requirements for installing Oracle Grid Infrastructure for a cluster:

  • 5 GB of space in the /tmp directory.

    If the free space available in the /tmp directory is less than what is required, then complete one of the following steps:

    • Delete unnecessary files from the /tmp directory to make available the space required.

    • Extend the file system that contains the /tmp directory. If necessary, contact your system administrator for information about extending file systems.

  • At least 15.5 GB of space for the Oracle Grid Infrastructure for a cluster home (Grid home). Oracle recommends that you allocate 100 GB to allow additional space for patches.

  • Upto 10 GB of additional space in the Oracle base directory of the Grid Infrastructure owner for diagnostic collections generated by Trace File Analyzer (TFA) Collector.

If you are installing Oracle Databases, and you plan to configure automated database backups, then you require additional space either in a file system or in an Oracle Automatic Storage Management disk group for the Fast Recovery Area.

See Also:

Oracle Database Backup and Recovery User's Guide for more information about Fast Recovery Area sizing

2.4 Server Memory Minimum Requirements

Ensure that your system meets the following minimum requirements, depending on your system architecture

Note:

If you encounter an OUI error indicating inadequate swap space size, but your swap space meets the requirements listed here, then you can ignore that error.

2.4.1 64-bit System Minimum Memory Requirements

Each system must meet the following minimum memory requirements:

  • At least 4GB GB of RAM for Oracle Grid Infrastructure for a Cluster installations, including installations where you plan to install Oracle RAC.

  • Swap space equivalent to the multiple of the available RAM, as indicated in the following table:

    Table 2-1 Swap Space Required for 64-bit AIX Systems

    Available RAM Swap Space Required

    Between 4 GB and 16 GB

    Equal to RAM

    More than 16 GB

    16 GB of RAM


    Note:

    32-bit systems are no longer supported.

2.4.2 Shared Memory Requirements

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 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 the size of the shared memory mount area after databases are installed on the cluster.