To configure shared memory for the Oracle RAC software in a zone cluster, perform the following steps:
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.
Perform the similar steps in each zone cluster.
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.
Perform the following steps, if you want to limit the memory used for the zone cluster.
Become superuser on the global cluster node that hosts the zone cluster.
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 |
Specifies the physical memory size.
Specifies the swap memory size.
Specifies the limit of the shared memory segment size that the Oracle RAC database processes can request to lock in memory.
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).
Reboot the zone cluster.
#clzonecluster reboot zoneclustername |
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.