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

ProcedureTo Configure Access Manager SDK on sra1

Because Access Manager SDK was installed using the Configure Later option, you need to configure Access Manager SDK by modifying Access Manager configuration files. The standard approach for making these modifications is to run the amconfig command with an input file.

  1. Change to the directory that contains the amconfig input file template, amsamplesilent.

    # cd /opt/SUNWam/bin

  2. Copy the template to a new file.

    # cp amsamplesilent amconfigsra

  3. In a text editor, edit the amconfigsra file to set the Access Manager SDK configuration parameters.

    Locate the configuration parameters that are listed in the following table, and change their values to the values shown in the table.

    Parameter 

    Value 

    DEPLOY_LEVEL 

    3

    SERVER_HOST 

    am.pstest.com

    SERVER_PORT 

    80

    DS_HOST 

    ds.pstest.com

    DS_DIRMGRPASSWD 

    directory-manager-password

    ROOT_SUFFIX 

    "dc=pstest,dc=com"

    SM_CONFIG_BASEDN 

    $ROOT_SUFFIX

    ADMINPASSWD 

    access-manager-admin-password

    AMLDAPUSERPASSWD 

    access-manager-LDAP-password

    COOKIE_DOMAIN 

    pstest.com

    AM_ENC_PWD 

    password-enc-key

  4. Run the amconfig command with the input file you modified in Step 3.

    # /opt/SUNWam/bin/amconfig -s amconfigsra

  5. Verify that the Access Manager SDK is properly configured.

    # /opt/SUNWam/bin/amadmin —u amadmin —m http://am.pstest.com:80

    The output should show current session information.