+

Search Tips   |   Advanced Search


Deleting the realm on Linux

If you made changes to your WebSphere Portal and no longer require a realm that you created, you can delete the realm from the user registry.

In a single server environment the WebSphere_Portal and server1 servers can be either stopped or started.

In a clustered environment stop all appservers on the system including WebSphere_Portal and server1 and then start the nodeagent and deployment manager servers before starting the following task.

To delete the realm:

  1. Edit...

      profile_root/ConfigEngine/properties/wkplc.properties

  2. For deleteRealmName, type the name of the realm configuration you want to delete.

  3. Save changes to wkplc.properties.

  4. Run...

      ./ConfigEngine.sh wp-delete-realm -DWasPassword=password

    from the profile_root/ConfigEngine directory, to delete a realm configuration.

  5. Propagate the security changes:

    Option Description
    Standalone cd profile_root/bin
    ./stopServer.sh server1 -username admin_userid -password admin_password
    ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password
    ./startServer.sh server1
    ./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
    ./stopServer.sh WebSphere_Portal -username admin_userid -password admin_password
    cd dmgr_profile/bin
    ./startManager.sh
    cd profile_root/bin
    ./startNode.sh
    ./startServer.sh WebSphere_Portal

If you performed these steps after creating the clustered environment, run enable-jcr-security on the secondary node.


Parent topic:

Deleting the user registry configurations on Linux


Related tasks


Enable LDAP security after cluster creation