Sun Java System Portal Server 7.1 Configuration Guide

ProcedureTo Create a New Portal on WebLogic 8.1 Service Pack 5 Using the psadmin Command

Before You Begin

Ensure the following:

  1. Install Weblogic 8.1 Service Pack 5 and create a managed server.

  2. Start the administrator server and the managed server.

  3. Run the installer. Select Access Manager SDK and install it in the Configure Later mode.

  4. Edit the values in the amsamplesilent file.

    For Solaris, the amsamplesilent file is present in the /AccessManager_base/SUNWam/bin directory. For Linux, it is in the /AccessManager_base/sun/identity directory.

  5. Change the following values in the amsamplesilent file.

    • DEPLOY_LEVEL=4

    • SERVER_NAME=AccessManager_hostname without FQDN

    • SERVER_HOST=$SERVER_NAME.domain-name

    • SERVER_PORT=AccessManager_server_port

    • ADMIN_PORT=Admin port for the web container on which Access Manager resides

    • DS_HOST=DirectoryServer_hostname with FQDN

    • DS_DIRMGRPASSWD=Directory Manager Password

    • ROOT_SUFFIX=root suffix of Access Manager

    • ADMINPASSWD=AccessManager_password

    • AMLDAPUSERPASSWD=LDAP_password

    • COOKIE_DOMAIN=.domain-name

    • AM_ENC_PWD=any string

    • NEW_OWNER=root

    • NEW_GROUP=other

      This value is root for Solaris 10 and Linux, and other for Solaris 9.

    • PAM_SERVICE_NAME=other

    • WEB_CONTAINER=WL8

    • BASEDIR=Directory where Access Manager SDK is installed.

    • CONSOLE_HOST=FQDN of host where Portal needs to be installed

    • CONSOLE_PORT=Port where second Portal needs to be installed, which is the port of the managed server

    • CONSOLE_PROTOCOL=$SERVER_PROTOCOL

    • AM_REALM=disabled

    • WL8_HOME=/usr/local/bea

    • WL8_PROJECT_DIR=user_projects

    • WL8_DOMAIN=mydomain

    • WL8_CONFIG_LOCATION=$WL8_HOME/$WL8_PROJECT_DIR/domains

    • WL8_SERVER=myservername of the managed server on which second Portal needs to be installed

    • WL8_INSTANCE=$WL8_HOME/weblogic81

    • WL8_PROTOCOL=$SERVER_PROTOCOL

    • WL8_HOST=FQDN of the node on which second Portal needs to be installed

    • WL8_PORT=Port where the second Portal needs to be installed, which is the port of the managed server

    • WL8_SSLPORT=Weblogic ADMIN_PORT

    • WL8_ADMIN="weblogic"

    • WL8_PASSWORD=weblogic admin password

    • WL8_JDK_HOME=$WL8_HOME/jdk142_08

  6. Run the following command:

    AccessManager_base/SUNWam/bin/amconfig -s AccessManager_base/SUNWam/bin/amsamplesilent

    For Linux, the amsamplesilent utility is available in the /AccessManager_base/sun/identity directory.

  7. Run the installer and install portal in the Configure Later mode.

  8. Configure common agent container and Java DB.

    PortalServer_base/bin/psconfig --config example2.xml

  9. Verify that common agent container is functioning properly.

    PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password

  10. Edit the following properties in the secondportal.properties file.

    • Host=hostname.domain

    • Port=port on which second Portal needs to be installed

    • Scheme=http

    • WebContainerType=BEAWL8

    • WebContainerInstallDir=/usr/local/bea/weblogic81

    • WebContainerInstanceName=name of the managed server on which second Portal needs to be installed

    • WebContainerInstanceDir=/usr/local/bea/user_projects/domains/newdomain

    • WebContainerDocRoot=Leave Blank

    • WebContainerAdminHost=hostname.domain

    • WebContainerAdminPort=port of admin server

    • WebContainerAdminScheme=http

    • WebContainerAdminUid=admin userid

    • WebContainerAdminPassword=admin password

    • WebContainerJDKDir=/usr/local/bea/jdk142_08

    • WebContainerManagedServer=true

      false if new portal is installed on administrator server itself.

  11. Create the new portal.

    PortalServer_base/SUNWportal/bin/psadmin create-portal -u amadmin -f ps_password -p secondportal --uri /portal -w secondportal.properties

  12. Restart the web container.

  13. Verify that the new portal is created.

    PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password