Ensure the following:
Portal Server is installed on WebLogic. Name of the first Portal is portal1.
Access Manager is installed on WebLogic.
WebLogic is installed in the default directory.
Create a new WebLogic Server instance, 7022server, on the port 7022.
Go to the WebLogic_base/user_projects/domains/seconddomain directory and run the following scripts:
./startWeblogic.sh
./startManagedWeblogic.sh 7022server
(Optional) You can also follow these steps to create a new portal instance on WebLogic 8.1 Service Pack 5:
Start the WebLogic Administrator Server.
Start the WebLogic node manager with the IP address of the host as the first argument and the port number on which you want the node manager to run as the second argument.
Add the IP address of the node in the /bea_install/weblogic81/common/nodemanager/nodemanager.hosts file.
Log in to the WebLogic administrator console.
Click Machines.
Click Configure a New Machine.
Specify a machine name and click Create.
Click the Node Manager tab.
Specify the IP Address of the host in the listen address and specify the port on which the Node Manager is running.
Click on Servers in the left pane to create a new managed server.
Click on configure a new server.
Specify the server name and Listen Port of the managed server.
Start the managed server from the console.
Copy the PortalServer_base/SUNWportal/template/Webcontainer.properties.BEAWL8 file to a PortalServer-base/SUNWportal/bin/secondinstance.properties file.
Edit the following properties in the secondinstance.properties file.
Host=hostname.domain
Port=7022
Scheme=http
WebContainerType=BEAWL8
WebContainerInstallDir=/usr/local/bea/weblogic81
WebContainerInstanceName=7022server
WebContainerInstanceDir=/usr/local/bea/user_projects/domains/seconddomain
WebContainerDocRoot=LEAVE BLANK
WebContainerAdminHost=hostname.domain
WebContainerAdminPort=7002
WebContainerAdminScheme=http
WebContainerAdminUid=admin userid
WebContainerAdminPassword=admin passwd
WebContainerJDKDir=/usr/local/bea/jdk142_08
WebContainerManagedServer=true
The value is false if new Portal is installed on administrator server itself.
Create the new Portal instance.
PortalServer_base/SUNWportal/bin/psadmin create-instance -u amadmin -f ps_password -p portal1 -w secondinstance.properties
If Portal Server is on the same port as Access Manager, then the Dcom.iplanet.am.serverMode in startWeblogic.sh or startManagedWeblogic.sh should be true, else it should be false. Before restarting the web container, edit the startWeblogic.sh or startManagedWeblogic.sh appropriately.
Restart the web container.
Verify that the new portal instance.
PortalServer_base/SUNWportal/bin/psadmin list-portals -u amadmin -f ps_password.
Access the new Portal Server instance.
http://hostname.domain.com:instance-port/portal