pack
and unpack
commands.In some WebLogic domains, if you want to run a Managed Server on a system that is remote from the Administration Server for the WebLogic domain, perform the following steps:
Create a Managed Server template by using the pack
command. By default, a Managed Server template contains only those files that are necessary to create a Managed Server on a remote system.
Create a Managed Server domain directory by copying and unpacking the Managed Server template on a remote system.
Start the Managed Server on the remote system.
This chapter includes the following sections:
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.unpack
command to create a WebLogic domain directory for Managed Servers, it contains a customized start script for each Managed Server that is targeted on the current remote system. You can use these customized scripts to start the associated Managed Server.You can 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.
To create a Managed Server template:
Before you create a Managed Server on a remote system, ensure that the IP address and port number of the remote system matches the definition of the Managed Servers that are specified in the Managed Server template.
When you use the unpack
command to create a WebLogic domain directory for Managed Servers, it contains a customized start script for each Managed Server that is targeted on the current remote system. You can use these customized scripts to start the associated Managed Server.
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 system m1
, when you create the Managed Server domain directory on system 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 Use Node Manager to Start a Managed Server in Administering Node Manager for Oracle WebLogic Server.