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.