We will come across situations where we need to start the managed instances in a domain that are in same box(Server) with different Heap size..
If you want to give different heap size to each server that can be achieved by two methods
Method-1:
If you are using Node Manager then follow the option-1 in the above post for and do the same for every server you want to do.
Server-1
Login to AdminConsole–>Environments—.Servers—> ManagedServer-1 —>Configuration (TAB)—>ServerStart (SubTab)—> Arguments:(TextArea)
-Xms2048m -Xmx2048m
Server-2
Login to AdminConsole–>Environments—.Servers—> ManagedServer-2 —>Configuration (TAB)—>ServerStart (SubTab)—> Arguments:(TextArea)
-Xms1024m -Xmx1024m
Method-2
If you are not using Node Manager then make two diffrent startup scripts having diffrent heap sizes for each server like
startManagedweblogic-1.sh/cmd
set MEM_ARGS=-Xms2048m -Xmx2048m
startManagedweblogic-2.sh/cmd
set MEM_ARGS=-Xms512m -Xmx512m
If you want to give different heap size to each server that can be achieved by two methods
Method-1:
If you are using Node Manager then follow the option-1 in the above post for and do the same for every server you want to do.
Server-1
Login to AdminConsole–>Environments—.Servers—> ManagedServer-1 —>Configuration (TAB)—>ServerStart (SubTab)—> Arguments:(TextArea)
-Xms2048m -Xmx2048m
Server-2
Login to AdminConsole–>Environments—.Servers—> ManagedServer-2 —>Configuration (TAB)—>ServerStart (SubTab)—> Arguments:(TextArea)
-Xms1024m -Xmx1024m
Method-2
If you are not using Node Manager then make two diffrent startup scripts having diffrent heap sizes for each server like
startManagedweblogic-1.sh/cmd
set MEM_ARGS=-Xms2048m -Xmx2048m
startManagedweblogic-2.sh/cmd
set MEM_ARGS=-Xms512m -Xmx512m
No comments:
Post a Comment