In this Document
|
|
Symptoms |
|
|
Cause |
|
|
Solution |
| Community Discussions |
|
|
References |
1) ASM 11.2.0.3/11.2.0.4 configuration on Solaris SPARC T4-4 Server with 128 CPUs & RAM = 128 GB.
2) If the 128 CPUs are enabled, then ASM instance is unable to start due to the next errors:
3) But if only 64 CPUs are enabled, then ASM instance starts without problems.
5) And so, the SGA in the ASM instance has the same value (900 MB):
2) Restart the ASM instances to apply the changes.
3) Then enable all the CPUs (e.g. total = 128) in your system:
Important Note 1:
In 11.2.0.3/11.2.0.4, we increase the default PROCESSES based on the
number of CPU cores, and the default MEMORY_TARGET is based on
PROCESSES. If in 11.2.0.2, customers explicitly set MEMORY_TARGET to
some value that may not be big enough for 11.2.0.3/11.2.0.4, when they
upgrade to 11.2.0.3/11.2.0.4, ASM will fail to start with error
"memory_target is too small". We should add additional check for
MEMORY_TARGET during the upgrade prerequisite check.
You can
unset MEMORY_TARGET so that ASM can use the default value, but if
MEMORY_TARGET is explicitly set, please make sure it's large enough,
following the next rules:
1) If PROCESSES parameter is explicitly set:
The MEMORY_TARGET should be set to no less than:
256M + PROCESSES * 132K (64bit)
or
256M + PROCESSES * 120K (32bit)
2) If PROCESSES parameter is not set:
The MEMORY_TARGET should be set to no less than:
256M + (available_cpu_cores * 80 + 40) * 132K (64bit)
or
256M + (available_cpu_cores * 80 + 40) * 120K (32bit)
Important Note 2:
If this problem (ORA-4031 error) is occurring during a brand new ASM
(11.2.0.3 or 11.2.0.4) installation/configuration (e.g. when running
root.sh to start the ASM instance) and many CPUs/Cores are enabled
(above 4), then temporally disable most of them and leave just few
enabled (about 2 or 4), as the following example (64 CPUs are present
and enabled):
1) Ask your SA to disable 62 CPUs and leave enable only 2 of 64.
2) Verify only 2 CPUs were/are enabled using the next commands:
3) Run root.sh again to start the ASM services/instances and complete the installation.
4)
Once the ASM instances are created and running, then increase the SGA
(AMM) in the ASM instances as follows (exact same values below):
5) Restart the ASM instances and check the AMM values:
6) Ask your SA to enable back the other 62 CPUs.
7) Restart CRS or HAS and make sure the ASM instances start.
关于这个问题,还可以参考另外一篇文档,说的比较详细:ASM & Shared Pool (ORA-4031) (文档 ID 437924.1)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/28811352/viewspace-1763883/ ,如需转载,请注明出处,否则将追究法律责任。