System Administrator’s Guide

     Previous  Next    Open TOC in new window    View as PDF - New Window  Get Adobe Reader - New Window
Content starts here

Starting and Stopping Servers

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:

  1. Start the Administration Server for the domain.
  2. 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.

  3. Start Network Tier servers in each partition.
  4. The Access Tier cannot function until servers in the Network Tier are available.

  5. Start Access Tier servers in each partition.
WARNING: All servers should be started and available before opening the system to production network traffic.

Using Scripts

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.

Using Node Manager

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.
  1. Start the node manager. Best practice is to have this as part of the normal machine boot up sequence. To do it manually, login into the server and change to the <bea_home>/wlng400/server/bin directory. Run the ./startNodeManager.sh script.
  2. Edit the <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
  3. Edit the <bea_home>/wlng400/common/nodemanager/nodemanager.properties file. Make sure that StartScriptEnabled=true is set.
  4. Restart the node manager, using Step 1 above.
  5. Create a startup script. In the <domain_home> directory, create a file called startWeblogic.sh and add this line:
    ./bin/startManagedWebLogic.sh [SERVER_NAME] [ADMIN_HOST_PORT]
  6. For example: ./bin/startManagedWebLogic.sh WLNG_NT1 192.168.1.42:7001

  7. Make sure that ‘Listen Address’ is configured in the Console. In Domain Structure, click Environment -> Machines -> <machine_name>->Node Manager. You must use Lock & Edit to any make any changes.
  8. Once everything is set up, to use the Node Manager to start Network Gatekeeper servers, go to the domain's Administration Console. Under Environment, select the managed servers you want to start.

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.


  Back to Top       Previous  Next