pack
and unpack
command.In some WebLogic domains, you may want to run a Managed Server on a machine that is remote from the Administration Server for the WebLogic domain. You can do this by performing the following steps:
Create a Managed Server template by using the pack
command. A Managed Server template, by default, contains only those files that are necessary for creating a Managed Server on a remote machine.
For more information, see Creating a Managed Server Template.
Create a Managed Server domain directory by copying and unpacking the Managed Server template on a remote machine.
For more information, see Creating a Managed Server on a Remote Machine.
Start the Managed Server on the remote machine.
For more information, see Starting Managed Servers on a Remote Machine.
You create a Managed Server template by executing the pack
command on an existing WebLogic domain that includes the definition of one or more Managed Servers and contains Managed Server definitions in the config.xml
file.
When you create a WebLogic domain directory for Managed Servers by using the unpack
command, it contains a customized start script for each Managed Server targeted to the current remote machine.
For example, if you create a WebLogic domain that contains two Managed Servers, my_managed_server1
and my_managed_server2
, and you target the servers to machine m1
, when you create the Managed Server domain directory on machine m1
, four custom start scripts are created: startmy_managed_server1.cmd
, startmy_managed_server1.sh
, startmy_managed_server2.cmd
, and startmy_managed_server2.sh
. You can use these scripts to start the corresponding Managed Servers. Alternatively, you can use the startManagedWebLogic
script with the required parameters.
Note:
You can also start Managed Servers by using Node Manager. For more information, see Administering Node Manager for Oracle WebLogic Server.