3 Creating and Starting a Managed Server on a Remote System
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 steps described in this chapter.
This chapter includes the following sections:
- Creating a Managed Server Template
You can create a Managed Server template by executing thepack
command on an existing WebLogic domain that includes the definition of one or more Managed Servers and contains Managed Server definitions in theconfig.xml
file. - Creating a Managed Server on a Remote System
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. - Starting Managed Servers on a Remote System
When you use theunpack
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.
Creating a Managed Server Template
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:
Creating a Managed Server on a Remote System
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.
Starting Managed Servers on a Remote System
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.
The custom start scripts are generated for the servers that either have no machine
name assigned or the machine name of the server matches the host name or IP address
of the machine where unpack
is run. 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
,
with none of the servers targeted to a machine, and then when you create the Managed
Server domain, four custom start scripts are created:
startmy_managed_server1.cmd
startmy_managed_server1.sh
startmy_managed_server2.cmd
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 as described in Use Node Manager to Start a Managed Server in Administering Node Manager for Oracle WebLogic Server.