The following sections describe how to start and stop servers in a WebLogic Network Gatekeeper domain:
Note: | Network Gatekeeper start scripts use default values for many JVM parameters that affect performance. For example, JVM garbage collection and heap size parameters may be omitted, or may use values that are acceptable only for evaluation or development purposes. In a production system, you must rigorously profile your applications with different heap size and garbage collection settings in order to realize adequate performance. |
Because a typical WebLogic Network Gatekeeper domain contains multiple Access and Network Tier servers, with dependencies among the different server types, you should generally follow this sequence when starting up a domain:
Start the Administration Server in order to provide the initial configuration to Access and Network Tier servers in the domain. The Administration Server can also be used to monitor the startup/shutdown status of each Managed Server. You generally start the Administration Server by using either the startAdminServer
script installed with the Configuration Wizard, or a custom startup script.
The Access Tier cannot function until servers in the Network Tier are available.
WARNING: | All servers should be started and available before opening the system to production network traffic. |
You can start Network and Access Tier servers by using the startManagedWebLogic
script installed with the Configuration Wizard or a custom startup script.
To use the startManagedWebLogic
script, you must specify the name of the server to startup, as well as the URL of the Administration Server for the domain, as in:
startManagedWebLogic.sh networknode0-0 t3://adminhost:7001
Note: | By default, the servers are started in production mode. This means that user credentials must be provided. There are several ways to do this. See section Provide User Credentials to Start and Stop Server in Starting and Stopping Servers for more informations. |
You can also start Network and Access Tier servers by using the Management Console in conjunction with an instance of Node Manager running on each machine. There are many different ways to use Node Manager (see the Node Manager Administrator’s Guide for more information), but the easiest is to use the Java-based version, as follows:
Note: | These instructions assume UNIX or Linux. Equivalent Windows versions exist, but Windows is not supported for production servers. These steps must be followed on each of the managed servers. |
<bea_home>/wlng400/server/bin
directory. Run the ./startNodeManager.sh
script.<bea_home>/wlng400/common/nodemanager/nodemanager.domains
file. This file specifies the domains that a Node Manager instance controls. See
Step 4: Configuring nodemanager.domains File for more information. A sample entry:wlng-domain=/bea/user_projects/domains/wlng-domain
<bea_home>/wlng400/common/nodemanager/nodemanager.properties
file. Make sure that StartScriptEnabled=true
is set.<domain_home>
directory, create a file called startWeblogic.sh and add this line: ./bin/startManagedWebLogic.sh [SERVER_NAME] [ADMIN_HOST_PORT]
For example: ./bin/startManagedWebLogic.sh WLNG_NT1 192.168.1.42:7001
There are other numerous ways of starting and stopping servers: for more information see Starting and Stopping Servers: Quick Reference and Starting and Stopping Servers.