First we need to create base weblogic installation using wls12**.jar
After this steps completed, we need to go back and get template(basic folder structurs and related modules) from your domain,which you will get from pack.sh command.
Pack.sh --> This command locates under MW_HOME/common/bin directory.
on your Admin server, you need to create template of your domain using pack command.
ex:
./pack.sh
-managed=true
-domain=/root/Oracle/Middlewre/user_projects/domains/testdomain -template=/root/Oracle/mydomain_template.jar -template_name="My Managed Server Domain"
now you need to copy this template jar into your remote machine using scp command.
scp mydomain_template.jar root@192.168.12.13:/root/Oracle .
next step you need to create domain directory structure using unpack command.
./unpack.sh -domain=/root/Oracle/Middleware/user_projects/domains/testdomain
-template=/root/Oracle/mydomain_managed.jar
that's it.From next step onwards you can startnodemanager script on remote machine and you can create managed server using remote server.