Synchronizing users who are available in the IBM BPM database
This feature requires the latest service level and fixes for your version of IBM BPM.
To synchronize users, run the syncExistingUsers script. It is in the profile_root/bin directory and is available for both Windows and Linux environments:
- syncExistingUsers.[bat|sh] [options...]
- Synchronizes all users in the database.
The output of the command contains the number of synchronized users.
- -?, -help
- Displays the syntax of the command
- -u <username>, -username <username>
- The name of the admin user
- -p <password>, -password <password>
- The password of the user (unencrypted)
- -host <host>
- The host name of the AppTarget cluster member on which the admin task should be executed (must be used with port)
- -port <port>
- The SOAP port of the AppTarget cluster member on which the admin task should be executed
- If federated repositories are not configured for WebSphere Application Server security, the WebSphere Application Server user registry interface is used to run the script.
- If federated repositories are configured for WebSphere Application Server security, the federated repositories API instead of the general user registry API is accessed, which results in significantly better performance. Because of this, consider using federated repositories.
If federated repositories are configured along with Lightweight Directory Access Protocol (LDAP) directories, and more than 1000 users are in the IBM BPM database, tune your LDAP configuration in the wimconfig.xml file so that all the users can be retrieved in one VMM query. Refer to the VMM tuning documents. Select an appropriate setting for configurationProvider->maxSearchResults and consider adapting the value for ldapServers->connectTimeout and attributesCache->cacheSize as needed.
The wimconfig.xml file is located in the profile_root/config/cells/cell/wim/config/wimconfig.xml directory. In a cluster, it is located on the deployment manager for each server of the cluster.