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

ProcedureTo Tune the Application Server Instance for Portal Server on ps1

Tuning the Application Server instances that host Portal Server is performed by using the perftune utility. This utility runs the amtune utility and also performs some tuning of Portal Server thread usage. For additional information about amtune, see Part I, Basic Performance Tuning, in Sun Java System Access Manager 7.1 Performance Tuning and Troubleshooting Guide.

  1. On ps1, 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_TUNE_WEB_CONTAINER=false
    AMTUNE_MODE=REVIEW

    Also, change all variables that are named CONTAINER_* to point to the as-cluster-inst-ps1 instance:

    CONTAINER_*=/var/opt/SUNWappserver/nodeagents/ps1.pstest.com/as-cluster-inst-ps1


    Note –

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


  4. Run the perftune utility.

    # /opt/SUNWportal/bin/perftune directory-manager-password app-server-admin-password

    The utility proposes suggested changes.

  5. Review the 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 changes.


    AMTUNE_MODE=CHANGE
  7. Repeat Step 4.

    The utility will make all the changes proposed in Step 4.

  8. Restart the computer.

    Restarting the computer will affect changes to the operating system.

  9. Start the Portal Server instance.

    Starting Portal Server will affect changes made to the web container. You start Portal Server by starting the Application Server instance in which it is deployed.

    # /opt/SUNWappserver/sbin/asadmin start-instance --user admin as-cluster-inst-ps1

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

    The response should indicate that you successfully started the instance:

    Command start-instance executed successfully.