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

  1. Install the .ear file for adding properties...

    Option Description
    Standalone cd profile_root/ConfigEngine
    ./ConfigEngine.sh wp-la-install-ear -DWasPassword=password
    Cluster

    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

  2. Propagate the security changes:

    Option Description
    Standalone

    1. cd profile_root/bin
      ./stopServer.sh server1 -username admin_userid -password admin_password

    2. cd profile_root/bin
      ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password

    3. cd profile_root/bin
      ./startServer.sh server1

    4. cd profile_root/bin
      ./startServer.sh WebSphere_Portal

    Cluster

    1. cd dmgr_profile/bin
      ./stopManager.sh-username admin_userid -password admin_password

    2. cd profile_root/bin
      ./stopNode.sh -username admin_userid -password admin_password

    3. cd profile_root/bin
      ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password

    4. cd dmgr_profile/bin
      ./startManager.sh

    5. cd profile_root/bin
      ./startNode.sh

    6. cd profile_root/bin
      ./startServer.sh WebSphere_Portal

  3. Edit...

      profile_root/ConfigEngine/properties/wkplc.properties

  4. Enter a value for the following parameters under the VMM Property Extension Properties heading:

  5. Save changes to wkplc.properties.

  6. 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.

  7. Propagate the security changes:

    Option Description
    Standalone

    1. cd profile_root/bin
      ./stopServer.sh server1 -username admin_userid -password admin_password

    2. cd profile_root/bin
      ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password

    3. cd profile_root/bin
      ./startServer.sh server1

    4. cd profile_root/bin
      ./startServer.sh WebSphere_Portal

    Cluster

    1. cd dmgr_profile/bin
      ./stopManager.sh-username admin_userid -password admin_password

    2. ./stopNode.sh -username admin_userid -password admin_password

      ...from...

        profile_root/bin

    3. cd profile_root/bin
      ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password

    4. cd dmgr_profile/bin
      ./startManager.sh

    5. ./startNode.sh

      ...from...

        profile_root/bin

    6. cd profile_root/bin
      ./startServer.sh WebSphere_Portal

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