Step 4: Packing the WebLogic domain

To pack the WebLogic domain, use the pack.* and unpack.* scripts of the WebLogic Server.

For information on these scripts, see http://docs.oracle.com/cd/E23943_01/web.1111/e14144/tasks.htm.

To create the WebLogic domain template:

  1. Stop the WebLogic Server on the Admin Server. Use the Admin Console, or, on host1, go to $DOMAIN_HOME/bin, and run:
    stopWebLogic.sh
  2. On host1, run the pack.* script:
    $ORACLE_HOME/Middleware/wlserver_10.3/common/bin/pack.sh 
    -managed=true
    -domain=$DOMAIN_HOME
    -template=/tmp/endeca_server_template.jar 
    -template_name="Endeca Server"

    The script creates the WebLogic domain template.

You will use this template to unpack the WebLogic domain on host2 and host3.