Sun Java System Reference Configuration Series: Portal Service on Application Server Cluster

Tuning Access Manager Instances

Access Manager performs best when the web container in which it runs is tuned to optimize Access Manager performance. So, you should tune the Application Server instances that host Access Manager. In this module, Access Manager runs in the Application Server's DAS instance.

In the portal service reference configuration, no other component or application besides Access Manager runs in the Application Server's DAS instance. However, if you run other components or applications in the same Application Server instance, then be aware that optimizing the Application Server instance for Access Manager might negatively impact the performance of other components.

ProcedureTo Tune Application Server Instances for Access Manager

Tuning the Application Server instances that host Access Manager is performed by using the amtune utility. For additional information about amtune, see Part I, Basic Performance Tuning, in Sun Java System Access Manager 7.1 Performance Tuning and Troubleshooting Guide.

Perform the following procedure on both am1 and am2..

  1. Change to the following directory:

    # cd /opt/SUNWam/bin/amtune

  2. Open the amtune-env file in a text editor.

  3. Confirm, or if necessary, modify the following values and save the changes.


    WEB_CONTAINER=AS8
    ASADMIN_PORT=80
    DOMAIN_NAME=pstest.com
    AMTUNE_PCT_MEMORY_TO_USE=100
    AMTUNEAMTU_MIN_PERM_SIZE_AS8=128
    AMTUNE_MODE=REVIEW

    Note –

    In a Solaris zones deployment, also set AMTUNE_TUNE_OS=false.


  4. Run the amtune utility.

    # ./amtune directory-manager-password app-server-admin-password

    The utility proposes changes to optimize Access Manager performance.

  5. Review any suggested changes.

    If no undesired changes are proposed, continue to the next step.

  6. Modify the amtune-env file with the following value and save the change.


    AMTUNE_MODE=CHANGE
  7. Repeat Step 4.

    The utility runs a second time, but makes all the changes proposed in Step 4.

  8. Restart the computer.

    Restarting the computer will affect changes to the operating system.

  9. Start the Access Manager instance.

    # /opt/SUNWappserver/appserver/bin/asadmin start-domain --user admin domain1

    When prompted, type the app-server-admin-password.