Add attributes on Linux in a clustered environment
To ensure proper communication between WebSphere Portal and your LDAP server, you may need to add new attributes to your configuration so that you can map the attributes between WebSphere Portal and the user registry.
Add new attributes to the user registry
- Install the .ear file for adding properties...
Option Description Standalone cd profile_root/ConfigEngine
./ConfigEngine.sh wp-la-install-ear -DWasPassword=passwordCluster From the primary node, run...
cd profile_root/ConfigEngine
./ConfigEngine.sh wp-la-install-ear -DWasPassword=dmgr_password -DServerName=dmgr_server_name -DNodeName=node_name
To look up the dmgr name, from the admin console...
System administrator | Deployment Manager | Configuration tab | General Properties | Name
To look up the node name...
System administrator | Deployment Manager | Runtime tab | General Properties | Node Name
- Propagate the security changes:
Option Description Standalone
- cd profile_root/bin
./stopServer.sh server1 -username admin_userid -password admin_password- cd profile_root/bin
./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password- cd profile_root/bin
./startServer.sh server1- cd profile_root/bin
./startServer.sh WebSphere_Portal
Cluster
- cd dmgr_profile/bin
./stopManager.sh-username admin_userid -password admin_password- cd profile_root/bin
./stopNode.sh -username admin_userid -password admin_password- cd profile_root/bin
./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password- cd dmgr_profile/bin
./startManager.sh- cd profile_root/bin
./startNode.sh- cd profile_root/bin
./startServer.sh WebSphere_Portal
- Edit...
profile_root/ConfigEngine/properties/wkplc.properties
- Enter a value for the following parameters under the VMM Property Extension Properties heading:
- Save changes to wkplc.properties.
- Add the attribute to the user registry...
./ConfigEngine.sh wp-add-property -DWasPassword=password
This task performs an EJB call to WAS, which must authenticate against WAS. Depending on the configuration in sas.client.props, you may receive a popup window or a command line prompt asking for user identity and password. Enter the WAS user ID and password.
If you have multiple properties to add, repeat all steps, except for the wp-la-install-ear task, until all new attributes are added.
- Propagate the security changes:
If you performed these steps after creating the clustered environment, run enable-jcr-security on the secondary node.
Parent topic:
Adapting the attribute configuration
Previous topic:
Query defined attributes on Linux
Next topic:
Mapping attributes on Linux in a clustered environment
Related tasks
Enable LDAP security after cluster creation