462 IBM WebSphere Portal for Multiplatforms V5 Handbook
Running the configuration task
Complete the following steps to run the configuration task:
1. Log in as
root on machine 2.
2. Change the working directory.
# cd /opt/WebSphere/PortalServer/config
3. Run the following command:
./WPSconfig.sh validate-ldap
Results should be as follows:
action-propogate-properties:
BUILD SUCCESSFUL
Total time: 10 seconds
Checking the result and correcting any errors
If there is an error and the configuration task cannot finish successfully, you
should check the log, ConfigTrace.log. which is located in
/opt/WebSphere/PortalServer/log. You can correct the error and then run the
configuration task again until you are successful.
8.9.3 Enabling security
Now that we have configured the LDAP, we can enable security for the
WebSphere Application Server and Portal.
Advanced LDAP
configuration
LDAPSuffix o=itao.ral.ibm.com
LDAPUserPrefix uid
LDAPUserSuffix ou=People
LDAPGroupPrefix cn
LDAPGroupSuffix ou=Group
LDAPUserObjectClass inetOrgPerson
LDAPGroupObjectClass groupOfUniqueNames
LDAPGroupMember uniqueMember
LDAPsslEnabled false
Section Property Value we used
Chapter 8. WebSphere Portal: Sun Solaris 8.0 installation 463
Perform the following steps:
1. Log in as
root on machine 2.
2. Change the working directory.
# cd /opt/WebSphere/PortalServer/config
3. Run the following command to enable security:
# ./WPSconfig.sh enable-security-ldap
Results should be as follows:
action-finalize-config:
action-propogate-properties:
BUILD SUCCESSFUL
Total time: 10 minutes 3 seconds
Again, if there is an error and the configuration task does not finish
successfully, you can check the log, ConfigTrace.log located in
/opt/WebSphere/PortalServer/log. You can correct the error and then run the
configuration task again until it is successful.
4. Change the working directory to check the status of the application servers.
# cd /opt/WebSphere/AppServer/bin
# ./serverStatus.sh -all
You will find the status of WebSphere Portal cannot be displayed because it
requires a password; run the following command.
# ./serverStatus.sh -all -username wpsbind -password wpsbind
This time, the two application servers are displayed and started.
5. Restart the application servers.
# ./stopServer.sh WebSphere_Portal -username wpsbind -password wpsbind
# ./stopServer.sh server1 -username wpsbind -password wpsbind
# ./startServer.sh server1 -username wpsbind -password wpsbind
# ./startServer.sh WebSphere_Portal -username wpsbind -password wpsbind
6. Start a Web browser and access the admin console of the WebSphere
Application by using the URL http://sun2.itso.ral.ibm.com:9090/admin/.
This time, we need to key in the user ID and password to log in to the admin
console of the WebSphere Application Server (Figure 8-67 on page 464). We
used wpsbind as the user ID and password to log in.

Get IBM WebSphere Portal for Multiplatforms V5 Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.