You can create a new Portal Server or an instance of a Portal Server using the same Access Manger and Directory Server that you used to create the first or existing Portal Server instance. Creating a new Portal Server helps you to create Portal Severs for different purposes, for example, for different departments of an organization. Creating a new Portal Server instance enables you to cluster portal instances so that the user can access other instances if one Portal Server instance is down.
When you create a new portal or Portal Server instance, you need to ensure that Portal Server, Access Manager, and Directory Server on the first installation are running.
This chapter contains the following sections:
A portal consists of one or more portal server instances that deliver the same content and are mapped to a single Uniform Resource Locator (URL). The content and services delivered by a portal are common to all its instances.
Multiple portals share the same user set. These portals can be deployed on one or more hosts, but they all share the same user repository — the same Access Manager and the Directory server.
Portals that use different Access Managers are not multiple portals. They are independent and unrelated portals, each with its own set of users.
Access Manger can be a collection of its own instances, all using the same set of Directory Server instances. Different Access Managers are two unrelated Access Managers, not different instances of the same Access Manager.
This section explains how to complete the following tasks:
You can view a list of Portal Servers that are already set up.
Login to the Portal Server Management Console by using http://hostname.domainname:port/psconsole.
Select the Portals tab.
The equivalent Portal Server administration command to list portals is psadmin list-portals -u amadmin -f ./ps_password_file. The ps_password_file file contains the amadmin password.
For more information on the psadmin list-portals subcommand, refer the psadmin list-portals in Sun Java System Portal Server 7.2 Command-Line Reference section in the Sun Java System Portal Server 7.2 Command-Line Reference guide.
During Portal Server installation, a default portal named portal1 is created. You can also create a new portal server using the Create Portal wizard.
Login to the Portal Server Management Console.
Select the Portals tab.
Click the New Portal button to launch the wizard.
Provide a unique name for the Portal Server, for example, portal5.
Type a URI that enables end users to access the Portal Server, for example, /portal.
(Optional) Change the default web container instance properties.
For information, see Creating a New Portal Using the CLI section in the Sun Java System Portal Server 7.2 Installation and Configuration Guide.
Verify the information you supplied.
Click Finish to create the new portal.
(Optional) View the log file to monitor the process.
For more information on the psadmin create-portal subcommand, refer the psadmin create-portal in Sun Java System Portal Server 7.2 Command-Line Reference section in the Sun Java System Portal Server 7.2 Command-Line Reference guide.
Templates for webcontainer.properties for supported web containers are in the portal-install-dir/template directory.
You can delete all existing instances of a portal on all hosts and clean up the portal's data in the Access Manager LDAP directory.
Login to the Portal Server Management Console.
Select the Portals tab.
From the list of portals, select the portal you want to remove, and click the Delete Portal button.
For more information on the psadmin delete-portal subcommand, refer the psadmin delete-portal in Sun Java System Portal Server 7.2 Command-Line Reference section in the Sun Java System Portal Server 7.2 Command-Line Reference guide.
You can archive the following portal data in a par file:
Data stored in the Access Manager directory
Desktop file system files, located by default in the /var/opt/SUNWportal/portals/portal-id/desktop directory
Desktop customized classes, located by default in the /var/opt/SUNWportal/portals/portal-id/desktop/classes directory
Portal Server web applications, located by default in the /var/opt/SUNWportal/portals/portal-id/war directory
Portal Server web source data, located by default in the /var/opt/SUNWportal/portals/portal-id/web-src directory
After you archive data, you can import the data to the same portal or to a different portal. To export a portal from psconsole:
Login to the Portal Server Management Console.
Select the Portals tab.
Select a portal from the table.
Click the Export button.
Specify the par file location on the Portal Server machine and what you want to export:
All Desktop data — the exported par includes file system data and display profile data
File system data only — the exported par file includes only the desktop file system data, which is data deployed into the portal desktop and portal web-src
Display profile data only — the exported par includes only display profile data
For more information on the psadmin export subcommand, refer the psadmin export in Sun Java System Portal Server 7.2 Command-Line Reference section in the Sun Java System Portal Server 7.2 Command-Line Reference guide.
This command does not support user data in the Directory Server.
You can import into any portal any portal data that you previously exported.
Login to the Portal Server Management Console.
Select the Portals tab.
Select a portal from the table.
The Import Desktop Data page appears.
Click the Import button and specify the following:
Redeploy the portal web applications.
Schedule a time to run the psadmin redeploy command.
Plan to do this step off hours or in system maintenance mode, when your system is not in production. This action redeploys the portal war file, and it logs out users who are running a Desktop, causing them to lose their work.
Run the psadmin redeploy command.
psadmin redeploy -u amadmin -f passwordfile -p portalID --allwebapps
For more information on the psadmin import subcommand, refer the psadmin import in Sun Java System Portal Server 7.2 Command-Line Reference section in the Sun Java System Portal Server 7.2 Command-Line Reference guide.
This command does not support user data in the Directory Server.
After creating a Portal Server installation on a node, you can create another Portal Server installation on the same node or different nodes using the same Access Manager and Directory Server. This new Portal Server installation is empty. You can use the sample portals provided to customize the portal for your specific needs. For example, you could create portals for different departments of an organization but still use the same Access Manager and Directory Server.
This section explains about creating a new portal installation on the same node or different node depending on your first Portal Server installation.
When you create a new portal on the same node where you have the first Portal Server installation, you need to create a web container instance. Then, you need to duplicate the Webcontainer.properties file that is available in the Portal Server installation directory and modify the Webcontainer.properties file to direct to the new web container instance. Finally, you can run the psadmin create-portal sub command to create the new portal.
Create a new domain, seconddomain, on port 8100.
/ApplicationServer_base/appserver/bin/asadmin create-domain --adminport 4850 --adminuser admin --instanceport 8100 seconddomain
Start the new domain.
/ApplicationServer_base/appserver/bin/asadmin start-domain --user admin seconddomain
Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.SJSAS91 file to a PortalServer_base/SUNWportal/bin/secondportal.properties file.
Edit the following properties in the secondportal.properties file.
Host=myhostname.mydomain
Port=8080
Scheme=http
WebContainerType=SJSAS91
WebContainerInstallDir=/opt/SUNWappserver/appserver
WebContainerInstanceName=server
WebContainerDomainName=seconddomain
WebContainerInstanceDir=/opt/SUNWappserver/appserver/domains/seconddomain
WebContainerDocRoot=/opt/SUNWappserver/appserver/domains/seconddomain/docroot
WebContainerAdminHost=myhostname.mydomain
WebContainerAdminPort=4850
WebContainerAdminScheme=https
WebContainerAdminUid=admin
WebContainerAdminPassword=Application Server admin password
WebContainerMasterPassword=Application Server master password
ClusterID=cluster id
Create the new portal.
PortalServer_base/SUNWportal/bin/psadmin create-portal -u amadmin -f ps_password -p -secondportal --uri /portal -w secondportal.properties
Restart the web container.
Verify that the new portal has been created.
PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password
This section explains how to create a new portal on a remote node. When you create a new portal on a remote node, you should install Access Manager SDK (AMSDK) and a compatible web container. When you install AMSDK, you need to provide the details of Access Manager and Identity Server that you installed for the Portal Server installation. You need to install Portal Server in the Configure Now or Configure Later mode. All the procedures that are explained in this section use the web container of the first portal installation for the second portal installation on a remote node.
When you install AMSDK, provide the same encryption key, am password, and LDAP password that are used for Access Manager on Node 1.
After you install AMSDK and the web container, you can use any one of the following options to create a new portal:
Using Portal Server in the Configure Now Mode: When you create a new portal in the Configure Now mode, you can create only one portal on a node. The installer prevents you from creating another portal on a node where you already have a portal.
Using Portal Server in the Configure Later Mode: When you create a new portal in the Configure Later mode, you can create several portals on the same node. You need to create web container instances and change the example files. You can create portals by running the psconfig command.
Using the psadmin command: Using the psadmin command, you can create several portals on the same node. You need to create web container instances, and run the psadmin create-portal sub command.
Ensure the following:
Portal Server, Access Manager, and Common Agent Container are up and running on the first node. Execute the following command on Node 1: PortalServer-base/SUNWportal/bin/psadmin list-portals -u user-name -f admin-password
Invoke the Portal Server 7.2 GUI installer and select Application Server 9.1, Access Manager SDK, and Portal Server and install them in the Configure Now mode.
Provide the Access Manager host and the Directory Server host information.
Change the name of the portal.
For example, first portal will be portal1. Change the second portal name to portal2.
Ensure the following:
Portal Server, Access Manager, and Common Agent Container are up and running on the first node. Execute the following command on Node 1: PortalServer-base/SUNWportal/bin/psadmin list-portals -u user-name -f admin-password
Install Access Manager SDK and Application Server 9.1 in the Configure Now mode using the Java ES installer.
Start the Application Server 9.1 Administration Server.
ApplicationServer_base/appserver/bin/asadmin start-domain --user admin_user --password admin_password domain-name
Install Portal Server in the Configure Later mode using the Portal Server 7.2 GUI installer.
Complete the Portal Server installation.
PortalServer_base/bin/psconfig --config example7.xml
Follow these steps when the Common Agent Container process is running as root and Portal Server is running as non-root. If the Common Agent Container process is running as the same non-root user as Portal Server, skip the following steps.
Edit the cacao.properties file.
On Solaris installation, you can find the cacao.properties file in the /etc/cacao/instances/default/private/ directory.
In the cacao.properties file, set the following system properties for Common Agent Container JVM.
-Dcom.sun.portal.non.root.user=user id
-Dcom.sun.portal.non.root.group=user group
where user id is the UNIX user id of the non-root user and user group is the UNIX group to which the non-root user belongs. For example, the system properties for Common Agent Container JVM looks like the following:
# Flags to pass to the Cacao VM java.flags=-Xms128M -Xmx256M -Dcom.sun.management.jmxremote -Dfile.encoding=utf-8 -Dcom.sun.portal.log.config.file=/etc/opt/SUNWportal/PSAdminLogConfig.properties -Djava.awt.headless=true -Dcom.sun.portal.non.root.user=xyz -Dcom.sun.portal.non.root.group=staff |
Restart the Common Agent Container.
Ensure the following:
Portal Server, Access Manager, and Common Agent Container are up and running on the first node. Execute the following command on Node 1: PortalServer-base/SUNWportal/bin/psadmin list-portals -u user-name -f admin-password
Install Access Manager SDK and Application Server 9.1 in the Configure Now mode using the Java ES installer.
Start the Application Server 9.1.
ApplicationServer_base/appserver/bin/asadmin start-domain --user admin_user --password admin_password domain-name
Run the installer and install Portal Server software in the Configure Later mode.
Configure Common Agent Container and Java DB.
PortalServer_base/bin/psconfig --config example2.xml
Verify that the Common Agent Container is working properly.
PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password
Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.SJSAS91 file to a PortalServer_base/SUNWportal/bin/secondportal.properties file.
Edit the following properties in the secondportal.properties file.
Host=hostname.domain
Port=8080
Scheme=http
WebContainerType=SJSAS91
WebContainerInstallDir=/opt/SUNWappserver/appserver
WebContainerInstanceName=server
WebContainerDomainName=domain1
WebContainerInstanceDir=/opt/SUNWappserver/appserver/domains/domain1
WebContainerDocRoot=/opt/SUNWappserver/appserver/domains/domain1/docroot
WebContainerAdminHost=hostname.domain
WebContainerAdminPort=4848
WebContainerAdminScheme=https
WebContainerAdminUid=admin id
WebContainerAdminPassword=ApplicationServer admin password
WebContainerMasterPassword=ApplicationServer master password
ClusterID=cluster id
Create the new portal.
PortalServer_base/SUNWportal/bin/psadmin create-portal -u amadmin -f ps_password -p secondportal --uri /portal -w secondportal.properties
Restart the web container.
Verify that the new portal has been created.
PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password
When you create a new portal, it does not have any sample portal deployed in it. However, you can deploy sample portals such as community sample, enterprise sample, and developer sample to the new portal.
Copy the /PortalServer-base/SUNWportal/samples/portals/shared/input.properties.template file to the /var/opt/SUNWportal/tmp/input.properties file.
In the Linux platform, copy to the /var/opt/sun/portal/tmp/input.properties file.
Edit the input.properties file that you created in the /var/opt/SUNWportal/tmp directory with the following values.
ps.config.location=%PS_CONFIG_LOCATION%
ps.portal.id=%PORTAL_ID%
ps.access.url=%PORTAL_ACCESS_URL%
ps.webapp.uri=%PORTAL_WEBAPP_URI%
search.access.url=%SEARCH_ACCESS_URL%
search.id=%SEARCH_ID%
am.admin.dn=%AM_ADMIN_DN%
default.org.dn=%DEFAULT_ORG_DN%
portlet.dn=%PORTLET_DN%
ps.profiler.email=%PROFILER_EMAIL%
ps.profiler.smtp.host=%PROFILER_SMTP_HOST%
Copy the /PortalServer-base/SUNWportal/samples/portals/shared/password.properties.template file to the /var/opt/SUNWportal/tmp/password.properties file.
In the Linux platform copy the file to the /var/opt/sun/portal/tmp/password.properties directory.
Edit the /var/opt/SUNWportal/tmp/password.properties file and set proper passwords.
amadminPassword=%AMADMIN_PASSWORD%
amldapuserPassword=%AMLDAPUSER_PASSWORD%
userManagementPassword=%USER_MANAGEMENT_PASSWORD%
You can ignore this value if you are not setting up Communication channels.
Run the following command.
export JAVA_HOME=/usr/jdk/entsys-j2se
Run the following command to deploy all the portals.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/build.xml -Dconfig.location=/var/opt/SUNWportal/tmp/ -logfile /var/opt/SUNWportal/tmp/log-file.txt
(Optional) Run the following command if you wish to deploy only the enterprise portal.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/build.xml -Dconfig.location=/var/opt/SUNWportal/tmp/ enterprise -logfile /var/opt/SUNWportal/tmp/log-file.txt
(Optional) Run the following command if you wish to deploy only the sand box portal.
/usr/sfw/bin/ant -buildfile /PortalServer-base/SUNWportal/samples/portals/build.xml -Dconfig.location=/var/opt/SUNWportal/tmp/ sandbox -logfile /var/opt/SUNWportal/tmp/log-file.txt
Restart the web container.
A Portal Server instance is a web application deployed to a web container. An instance uses a particular Portal Server context URI to serve requests on a specific network port. Each Portal Server instance is associated with a single Portal.
A server instance listens on a particular port, bound to either one IP address or any IP address of the host. For the Portal Server, a server instance corresponds to a deployment container process listening on a port and running a single Java™ Virtual Machine (JVM™ software).
This section explains how to complete the following tasks:
You can view a list of Portal Server instances that are already set up.
Login to the Portal Server Management Console.
Select the Portals tab.
Click the name of Portal Server from the table.
Select the Server Instances tab.
The table displays all the instances of the Portal Server you selected.
psadmin list-portals in Sun Java System Portal Server 7.2 Command-Line Reference
Start the Administration Server of the web container.
Create a new web container instance.
Start the web container instance that you have just created.
Login to the Portal Server Management Console.
Select the Portals tab.
Select the name of a Portal Server.
Select the Server Instances tab.
Click on the New Instance button to launch the wizard.
Provide the name of the portal identifier.
(Optional) Change the default web container instance properties.
For information, see Creating a Portal Instance on the Same Node section in the Sun Java System Portal Server 7.2 Installation and Configuration Guide.
Verify the information you supplied, and click Finish to create the new portal instance.
A progress bar displays the status of this procedure. When the procedure is complete, a results page is provided.
Click Finish to create your new portal instance.
psadmin create-instance in Sun Java System Portal Server 7.2 Command-Line Reference
You can delete an instance of a Portal Server.
Login to the Portal Server Management Console.
Select the Portals tab.
Select the name of a Portal Server.
Select the Server Instances tab.
From the table, select the instance you want to remove.
Click Delete Instance button.
psadmin delete-instance in Sun Java System Portal Server 7.2 Command-Line Reference
This section explains how to create a new instance of Portal Server. When you install Portal Server, it creates an instance of Portal Server on the default instance of the web container. For example, if you install Portal Server on Sun Java System Application Server 9.1, a Portal Server instance is created on the default instance of Application Server 9.1 that listens on port 8080. You can also create several instances of the web container and create instances of the Portal Server that are already installed. A new instance of Portal Server that you create will have all the portals that are deployed on your first Portal Server.
After creating instances of Portal Server, you can use clustering or load balancing to serve the users effectively. Portal Server instances can be created on a node where you installed Portal Server or on a remote node where you installed a web container, AMSDK, and Portal Server packages.
This section explains how to create a Portal Server instance on different web container instances or domains on the same node, where you installed Portal Server. When you create a Portal Server instance, you can create the instance on a new configuration or a new domain of the web container. You can also create a Portal Server instance on the existing configuration or domain of the web container where you have installed Portal Server.
This section explains the following:
Creating a Portal Instance on a New Domain of Application Server 9.1
Creating a Portal Instance on a New Instance of Application Server 9.1
Ensure the following:
Portal Server is installed on Application Server 9.1. Name of the first portal is portal1.
Access Manager is installed on Application Server 9.1.
Application Server 9.1 is installed in the default directory.
Create a domain, seconddomain, and a server instance on the port 8100.
/opt/SUNWappserver/appserver/bin/asadmin create-domain --adminport 4850 --adminuser admin --instance-port 8100 seconddomain
Start the new domain, seconddomain.
Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.SJSAS91 file to a PortalServer_base/SUNWportal/bin/secondinstance.properties file.
Edit the following properties in the secondinstance.properties file.
Host=hostname.domain
Port=8100
Scheme=http
WebContainerType=SJSAS91
WebContainerInstallDir=/opt/SUNWappserver/appserver
WebContainerInstanceName=server
WebContainerDomainName=domain1
WebContainerInstanceDir=/opt/SUNWappserver/domains/domain1
WebContainerDocRoot=/opt/SUNWappserver/domains/domain1/docroot
WebContainerAdminHost=hostname.domain
WebContainerAdminPort=4850
WebContainerAdminScheme=https
WebContainerAdminUid=admin id
WebContainerAdminPassword=Application Server Administrator password
WebContainerMasterPassword=Application Server master password
ClusterID=cluster id
Create the new Portal Server instance.
PortalServer_base/SUNWportal/bin/psadmin create-instance -u amadmin -f ps_password -p portal1 -w secondinstance.properties
Restart the web container.
Verify that the new portal has been created.
PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password
Access the new portal instance.
http://hostname.domain.com:8100/portal
Restart the Common Agent Container.
On the Solaris platform:
/usr/share/bin/cacaoadm stop /usr/share/bin/cacaoadm start |
On the Linux platform:
/opt/sun/cacao/bin/cacaoadm stop /opt/sun/cacao/bin/cacaoadm start |
Ensure the following:
Portal Server is installed on Application Server 9.1. Name of the first portal is portal1.
Access Manager is installed on Application Server 9.1.
Application Server 9.1 is installed in the default directory.
Create a node agent, nodeagent1, in the same domain in which the first Portal Server instance exists.
ApplicationServer_base/appserver/bin/asadmin create-node-agent --host hostname.domain --port 4848 --user ApplicationServer_admin_user --password ApplicationServer_admin_password nodeagent1 |
Create an instance in the node agent.
ApplicationServer_base/appserver/bin/asadmin create-instance --host hostname.domain --port 4848 --user ApplicationServer_admin_user --password ApplicationServer_admin_password --nodeagent nodeagent1 --systemproperties HTTP_LISTNER_PORT=3870 server2 |
Start the node agent and the instance.
ApplicationServer_base/appserver/bin/asadmin start-node-agent --user admin --password password nodeagent1 ApplicationServer_base/appserver/bin/asadmin start-instance --port 4848 --user admin --password password server2 |
When you start the instance after starting the node agent, the start-instance CLI may fail stating that the server instance is already started. In this case, ignore the message. This is due to the server instance being started while starting the node agent. This behavior is controlled by the start-servers-in-startup attribute, located in the domain.xml and if it is set to true, all the server instances which are not running are started during node-agent startup.
Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.SJSAS91 to a PortalServer_base/SUNWportal/bin/secondinstance.properties file.
Edit the following properties in the secondinstance.properties file.
Host=hostname.domain
Port=3870
Scheme=http
WebContainerType=SJSAS91
WebContainerInstallDir=/opt/SUNWappserver/appserver
WebContainerInstanceName=server
WebContainerDomainName=domain1
WebContainerInstanceDir=/opt/SUNWappserver/appserver/domains/domain1
WebContainerDocRoot=/opt/SUNWappserver/appserver/domains/domain1/docroot
WebContainerAdminHost=hostname.domain
WebContainerAdminPort=4848
WebContainerAdminScheme=https
WebContainerAdminUid=admin id
WebContainerAdminPassword=ApplicationServer admin password
WebContainerMasterPassword=ApplicationServer master password
ClusterID=cluster id
Create the new Portal Server instance.
PortalServer_base/SUNWportal/bin/psadmin create-instance -u amadmin -f ps_password -p portal1 -w secondinstance.properties
Restart the web container.
Verify that the new portal instance has been created.
PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password.
Access the new Portal Server instance.
http://hostname.domain.com:3870/portal
This section explains how to create a Portal Server instance on a remote node. In this scenario, you have Portal Server installed on a node. You are creating an instance of Portal Server on another node. You need to install Access Manager SDK, web container, and Portal Server packages on the node where you wish to install Portal Server instance. Then, you need to run the psadmin create-instance command to create a new Portal Server instance.
When you install Access Manager SDK, provide the same encryption key, am password, and LDAP password that are used for Access Manager on Node 1.
This section explains how to set up Portal Server Administration Console or command-line interface on a remote host. In this scenario, you can install Portal Server on a node and can set up Administration Console or command-line interface on another node. On the node where you set up Administration Console or command-line interface, you need to install a web container and Portal Server packages. You need to install Portal Server packages in the Configure Later mode.
The psconsole of Portal Server can be installed on Application Server 9.1. If you install Portal Server on any of the compatible web containers, such as BEA WebLogic or IBM WebSphere, you need to install Portal Server Console on Application Server 9.1.
Install Portal Server 7.2 on Node 1 in the Configure Now mode.
Install Application Server 9.1 on Node 2 in the Configure Now mode.
Install Portal Server in the Configure Later mode on Node 2.
Stop the Common Agent Container on node 2.
/usr/sbin/cacaoadm stop
Run the following command on Node 2:
/usr/sbin/cacaoadm create-keys -f
Start the Common Agent Container on Node 2 .
/usr/sbin/cacaoadm start
Create the following directory structure in your current directory.
mkdir -p WEB-INF/classes/
mkdir -p WEB-INF/lib/
Create a property file, WEB-INF/classes/pasconnect.properties, with the property value pair pas.host=node1.domain.com.
Copy the cacao_cacao.jar file into the WEB-INF/lib directory.
The cacao_cacao.jar file is located in the following directories:
For Solaris platform: /usr/lib/cacao/lib
For Linux platform: /cacao_base/sun/cacao/share/lib
In the psconsole.war file, add the following content.
jar -uvf /PortalServer_base/SUNWportal/admin/psconsole.war WEB-INF
Deploy the updated psconsole.war file to the Application Server 9.1 instance.
Add the following in the /domains/domain1/server.policy file.
grant { permission java.util.PropertyPermission "*","read,write"; permission java.lang.RuntimePermission "writeFileDescriptor"; permission java.lang.RuntimePermission "createClassLoader"; permission java.io.FilePermission "\${/}-", "read,write,execute,delete"; // Used by psconsole app permission java.security.SecurityPermission "insertProvider.SunSASL"; permission java.security.SecurityPermission "insertProvider.SunJSSE"; permission java.lang.RuntimePermission "getProtectionDomain"; }; |
Restart the Application Server 9.1 instance.
Step 12 is not required if the security manager is disabled for the Application Server 9.1 domain where psconsole is deployed. This is achieved by commenting out the following JVM option for security policy in the domain.xml file.
<jvm-options>-Djava.security.policy=${com.sun.aas.instanceRoot} /config/server.policy</jvm-options> |
Install the Portal Server 7.2 on Node 1 in the Configure Now mode.
Install Application Server 9.1 on Node 2 in the Configure Now mode.
Install Portal Server 7.2 on Node 2 in the Configure Later mode.
In the PortalServer_base/SUNWportal/samples/psconfig/example2.xml file, replace tokens with the node information for Node 2.
Run the following command:
PortalServer_base/SUNWportal/bin/psconfig --config example2.xml
In the pasconnect.properties file, change the property value as pas.host=node1.domain.com.
The pasconnect.properties file is located in the following directories:
For Solaris platform: /etc/opt/SUNWportal
For Linux platform: /etc/SUNWportal