Sun Java System Access Manager Policy Agent 2.2 Guide for BEA WebLogic Server/Portal 10

Configuring Node Manager With Agent for WebLogic Server/Portal 10: Clustered Setup

You have the option of starting a cluster of Managed Servers using WebLogic Server/Portal 10 Node Manager.

ProcedureTo Configure Node Manager With Agent for WebLogic Server/Portal 10: Clustered Setup


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.


For the following task description, server-instance is a place holder that represents the Managed Server instance name entered during installation. For example, ManagedServer1.

  1. In the WebLogic Server/Portal 10 Administration Console, expand the Servers node.

  2. Select the node for the server you want to manage with Node Manager.

  3. Configure the agent classpath in Node Manager

    1. In the WebLogic Server/Portal 10 Administration Console, select the Configuration tab.

    2. Select the Server Start tab.

    3. Locate the agent classpath for the specific Managed Server as found in setAgentEnv_sever-instance.sh.

    4. Add the agent class path to the following Classpath text field:


      Note –

      A safe practice is to cut and paste agent classpath entries from the setAgentEnv_sever-instance.sh file to avoid any misconfiguration due to typographical errors.


      ${CLASSPATH}:PolicyAgent-base/lib/agent.jar:PolicyAgent-base/
      lib/amclientsdk.jar:PolicyAgent-base/locale:PolicyAgent-base/
      AgentInstance/config

      where AgentInstance represents an agent instance directory, such as Agent_001.

      For information about PolicyAgent-base, see WebLogic Server/Portal 10 Agent Directory Structure.

    5. To the same Classpath text field referred to in the preceding substep, prepend the following classpath entries:

      DeployContainer-base/BEA-Java-Home/lib/tools.jar:
      DeployContainer-base/wlserver_10.0/server/lib/weblogic.jar

      where:

      DeployContainer-base represents the directory in which WebLogic Server/Portal 10 was installed.

      BEA-Java-Home represents the directory that contains the JDK for the WebLogic Server/Portal 10 instance.

    6. Click Save.

    7. Click Activate Changes.

  4. Configure the agent Java options in Server Start.

    1. In the WebLogic Server/Portal 10 Administration Console, select the Configuration tab.

    2. Select the Server Start tab.

    3. Locate the Java options as found in setAgentEnv_sever-instance .sh for the specific Managed Server.

    4. Add the Java options to the Arguments text field as shown:


      Note –

      A safe practice is to cut and paste agent Java option entries from the setAgentEnv_sever-instance.sh file to avoid any misconfiguration due to typographical errors.


      -Djava.util.logging.config.file=PolicyAgent-base/config/
      AMAgentLogConfig.properties 
      -DLOG_COMPATMODE=Off
    5. Click Save.

    6. Click Activate Changes.