This procedure requires two nodes: Node 1 and Node 2.
Install Portal Server and Directory Server in the Configure Now mode on Node 1.
Select Enable SRA for Portal while installing the Portal Server.
(Optional) Set SRA status to Enabled on Node 1, if the Enable SRA for Portal is not selected while installing.
PortalServer_base/SUNWportal/bin/psadmin switch-sra-status -u admin_user -f password_file on
Start the Java ES installer and install Access Manager SDK and Gateway on Node 2 in the Configure Now mode.
Use the same password encryption key on both the nodes.
Enable Gateway profile on Node 1.
PortalServer_base/SUNWportal/bin/psadmin provision-sra -u admin_user -f password_file --gateway-profile gateway_profile --enable
Start the SRA instance on Node 2.
PortalServer_base/SUNWportal/bin/psadmin switch-sra-status -u admin-user-name -f password-file on
PortalServer_base/SUNWportal/bin/psadmin provision-sra -u admin-user-name -f password-file --gateway-profile gateway_profile --enable
PortalServer_base/SUNWportal/bin/psadmin start-sra-instance -u admin-user-name -f password-file -N default -t gateway