Sun Java System Access Manager Policy Agent 2.2 Guide for BEA WebLogic Server 9.0/9.1

Installing Agent for BEA WebLogic Server 9.0/9.1 on a Managed Server

You can start Managed Servers in a clustered environment using command-line scripts or using BEA WebLogic Server 9.0/9.1 Administration Console, specifically using the Node Manager. Both options are supported by Agent for BEA WebLogic Server 9.0/9.1. This section describes installing and configuring the agent on a Managed Server to enable you to start a Managed Server with scripts. For information on installing and configuring Node Manager in order to start a Managed Server using Node Manager, see Configuring Node Manager With Agent for BEA WebLogic Server 9.0/9.1: Clustered Setup.

ProcedureTo Install Agent for BEA WebLogic Server 9.0/9.1 on a Managed Server


Note –

Throughout this guide scripting files apply to both UNIX platforms and Windows platforms even when the script for Windows platforms is not expressly mentioned. The difference is that scripts for UNIX platforms have the .sh extension while scripts for Windows platforms have the .cmd extension.


  1. Ensure that the BEA WebLogic Server 9.0/9.1 Managed Server is not running.

  2. Copy the startManagedWebLogic.sh script to an instance specific script on which the agent will be installed as illustrated by the following example:

    startManagedWebLogic.sh

    to

    start_new_Server_1.sh

  3. Edit the newly copied script by hard coding the following variables:

    • SERVER_NAME

    • ADMIN_URL

    The following is an example of these two variables hard coded:

    ADMIN_URL="http://example.company.com:7001"
    SERVER_NAME="new_Server_1"
  4. Install Agent for BEA WebLogic Server 9.0/9.1 as you would in a stand-alone environment, pointing the startup script location to the Managed Server script name. For example, start_new_Server_1.sh, start_new_Server_2.sh, and such.

    See Chapter 3, Installing Policy Agent 2.2 for BEA WebLogic Server 9.0/9.1 for detailed steps.

  5. Configure the agent classpath for the BEA WebLogic Server 9.0/9.1 Managed Server by following the steps outlined in Configuring BEA WebLogic Server 9.0/9.1 Instance With Agent Classpath and Agent Java Options.

  6. You can now start your Managed Server using the customized script.

    Alternatively, you can start the Managed Servers via the Node Manager. To configure the Node Manager for this purpose, follow the instructions in Configuring Node Manager With Agent for BEA WebLogic Server 9.0/9.1: Clustered Setup.