Friday, March 7

How to install domain in multiple Linux boxes ?

Install weblogic and create domain in one box.
After that using pack and unpack commands to install domain in multiple boxes.

To pack domain
Execute Following command under $WL_HOME/common/bin

pack.sh –managed=true –domain=<domain name-template=<domain_name.jar> -template_name=”<description>

For example if you want to pack domain mydomain ,
pack.sh –managed=true –domain=mydomain -template=mydomain.jar -template_name=”mydomain template”

Now copy the jar file under some location in another machine where we have to unpack it. 

For unpacking 
Execute following command under $WL_HOME/common/bin

unpack.sh –domain=<domain name> -template=<jar file name>

For example if you want to unpack domain mydomain :-
unpack.sh –domain=mydomain -template=mydomain.jar

No comments:

Post a Comment