Go to main content

Oracle® Solaris Cluster Data Service for Oracle Real Application Clusters Guide

Exit Print View

Updated: April 2016
 
 

How to Configure Shared Memory for Support for Oracle RAC Software in a Zone Cluster

To configure shared memory for the Support for Oracle RAC software in a zone cluster, perform the following task.

Before You Begin

Ensure that shared memory is configured in the global cluster. See How to Configure Shared Memory for Support for Oracle RAC Software in the Global Cluster.

  1. Configure shared memory in each zone cluster.

    For the minimum required value of each parameter and the procedures to set the values, see your Oracle Clusterware and Oracle Database documentation.


    Note -  These steps do not affect the actual shared memory control for the zone cluster. You perform these steps to help the Oracle dbca utility enable you to set the database memory allocation. If the Oracle dbca utility is not used for Support for Oracle RAC database creation, you can skip these steps in the zone cluster.
  2. Perform the following steps, if you want to limit the memory used for the zone cluster.
    1. Assume the root role on the global cluster node that hosts the zone cluster.
    2. Configure the capped-memory property attributes physical, swap, and locked by using the clzonecluster command.
      #clzonecluster configure zcname
      clzonecluster:zcname> add capped-memory
      clzonecluster:cz1-2n:capped-memory> set physical=memsize
      clzonecluster:cz1-2n:capped-memory> set swap=memsize
      clzonecluster:cz1-2n:capped-memory> set locked=memsize
      clzonecluster:cz1-2n:capped-memory> end
      clzonecluster:cz1-2n>commit
      Physical=memsize

      Specifies the physical memory size.

      swap=memsize

      Specifies the swap memory size.

      locked=memsize

      Specifies the limit of the shared memory segment size that the Support for Oracle RAC database processes can request to lock in memory.


      Note -  In addition to the locked attribute of the capped-memory property, you can use the max-shm-memory property to directly configure the limit of the shared memory segment in a zone cluster. See also the zonecfg(1M) man page.
    3. Reboot the zone cluster.
      #clzonecluster reboot zcname

      Note -  You can perform the step to configure the capped-memory property attributes as part of the zone cluster creation. If you configure the capped-memory property attributes as part of the zone cluster creation, the memory-related properties immediately take effect after the first zone cluster boot. See How to Create a Zone Cluster (clsetup) in Oracle Solaris Cluster 4.3 Software Installation Guide .

Next Steps

Go to How to Set the Necessary Privileges for Support for Oracle RAC Software in a Zone Cluster.