We have recently installed a OBIEE 12c on RHEL 7 server. As part of initial test we have done multiple restarts of the server using the default scripts start.sh and stop.sh. The thing that I observed is its taking very long time in doing the start and stop operations. I did some investigation on this and to my surprise I found an interesting update in OBIEE 12c.
As we are already aware that we no longer have the OPMN to monitor the system components, I was under the impression that they are monitored by Admin server. To my surprise I learnt that Node Manager is the one looking after these BI System Components. From this it’s clear that we have the delay because of the Node Manager and to fix this we need to increase the JVM Heap size.
We will do this using MEM_ARGS parameter which is a variable used to override the standard memory arguments passed to java.
Let’s see how we can do that in 12c
- Locate the file “commBaseEnv.sh” in below location
[ORACLE_HOME]/oracle_common/common/bin
- Open the file and Make the change for below line. Below shows the default values. Set some higher values, be sure to check your free memory and do the changes accordingly.
.....
case $JAVA_VENDOR in
Oracle)
if [ "${VM_TYPE}" = "JRockit" ]; then
JAVA_VM=-jrockit
MEM_ARGS="-Xms128m -Xmx256m"
UTILS_MEM_ARGS="-Xms32m -Xmx1024m"
else
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m"
UTILS_MEM_ARGS="-Xms32m -Xmx1024m"
fi
....
...
...
else
case $JAVA_VENDOR in
Oracle)
if [ "${VM_TYPE}" = "JRockit" ]; then
JAVA_VM=-jrockit
MEM_ARGS="-Xms128m -Xmx256m"
UTILS_MEM_ARGS="-Xms32m -Xmx1024m"
else
JAVA_VM=-server
MEM_ARGS="-Xms32m -Xmx200m"
UTILS_MEM_ARGS="-Xms32m -Xmx1024m"
fi
VERIFY_NONE="-Xverify:none"
- Restart the services using the start.sh and stop.sh as usual. This should resolve the slow start and stop issue.
No comments:
Post a Comment