Sun Cluster Data Service for Oracle RAC Guide for Solaris OS

ProcedureHow to Configure Shared Memory for the Oracle RAC Software in a Zone Cluster

To configure shared memory for the Oracle RAC software in a zone cluster, perform the following steps:

  1. Perform the steps to configure the shared memory in a global cluster.

    For detailed instructions on configuring the shared memory in a global cluster, see How to Configure Shared Memory for the Oracle RAC Software in the Global Cluster.

  2. Perform the similar steps in each zone cluster.


    Note –

    These steps do not affect the actual shared memory control for the zone cluster. You perform these steps to help Oracle dbca utility enables you to set the database memory allocation. If the Oracle dbca utility is not used for RAC database creation, you can skip these steps in the zone cluster.


  3. Perform the following steps, if you want to limit the memory used for the zone cluster.

    1. Become superuser 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 zoneclustername
      clzonecluster:zoneclustername> 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 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 Solaris man page zonecfg(1M).


    3. Reboot the zone cluster.


      #clzonecluster reboot zoneclustername
      

      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 in Sun Cluster Software Installation Guide for Solaris OS.