How to disable a container not to ping and display in EM or at server .
How to disable a container not to ping and display in em or at server .
1) stop the application server by using
opmnctl @cluster stopproc
2) go to $OH/opmn/conf file
3) open opmn.xml file and find below :-
--/process-set--
--/process-type--
--/ias-component--
--ias-component id="group_xyz" status="enabled"--
--process-type id="xyz" module-id="OC4J" status="enabled"--
--module-data--
--category id="start-parameters"--
--data id="java-options" value="-server -Dcom.sun.management.jmxremote -mx1792M -ms1792M -XX:MaxPermSize=300M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/xyz/c
onfig/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Xbootclasspath^/p $OH/j2ee/xyz/applib/jtds-1.2.2.jar -XX:PermSize=300m -Duser.tim
ezone=GMT+4 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseParallelGC -XX:ParallelGCThreads=4 -XX:SurvivorRatio=32"/--
--/category--
--category id="stop-parameters"--
--data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/xyz/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/--
--/category--
--/module-data--
--start timeout="600" retry="2"/--
--stop timeout="120"/--
4) change below to "disabled"
--ias-component id="group_xyz" status="disabled"--
--process-type id="xyz" module-id="OC4J" status="disabled"--
4) Change in both nodes and reload
opmnctl reload
5) start application server
opmnctl @cluster startproc
1) stop the application server by using
opmnctl @cluster stopproc
2) go to $OH/opmn/conf file
3) open opmn.xml file and find below :-
--/process-set--
--/process-type--
--/ias-component--
--ias-component id="group_xyz" status="enabled"--
--process-type id="xyz" module-id="OC4J" status="enabled"--
--module-data--
--category id="start-parameters"--
--data id="java-options" value="-server -Dcom.sun.management.jmxremote -mx1792M -ms1792M -XX:MaxPermSize=300M -XX:AppendRatio=3 -Djava.security.policy=$ORACLE_HOME/j2ee/xyz/c
onfig/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -Xbootclasspath^/p $OH/j2ee/xyz/applib/jtds-1.2.2.jar -XX:PermSize=300m -Duser.tim
ezone=GMT+4 -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+UseParallelGC -XX:ParallelGCThreads=4 -XX:SurvivorRatio=32"/--
--/category--
--category id="stop-parameters"--
--data id="java-options" value="-Djava.security.policy=$ORACLE_HOME/j2ee/xyz/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false"/--
--/category--
--/module-data--
--start timeout="600" retry="2"/--
--stop timeout="120"/--
4) change below to "disabled"
--ias-component id="group_xyz" status="disabled"--
--process-type id="xyz" module-id="OC4J" status="disabled"--
4) Change in both nodes and reload
opmnctl reload
5) start application server
opmnctl @cluster startproc
Comments