Install Portal Server and Directory Server on Node 1 in the Configure Now mode.
Install AMSDK on Node 2 in the Configure Now mode using the Java ES installer.
Use the same password encryption key on both the nodes.
Install Gateway on Node 2 in the Configure Later mode using the Java ES installer.
Enable Gateway profile on Node 1.
PortalServer_base/SUNWportal/bin provision-sra -u admin_user -f password_file --gateway-profile gateway_profile --enable
Modify the example10.xml file.
The example10.xml file is located in the PortalServer_base/SUNWportal/samples/psconfig directory.
Configure common agent container.
PortalServer_base/SUNWportal/bin/psconfig --config example10.xml
Start the Gateway.
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