ShowTable of Contents
Introduction
As part of our regular Quality Assurance control, the IBM® Sametime® United Telephony (SUT) Systems Verification Test (SVT) team executes reliability tests on SUT environments. This article describes the process used internally within IBM to generate test users for reliability test cases.
We describe how to provision 15,000 users for a SUT workload. These users need to be created in the LDAP after which the IBM Tivoli® Directory Integrator (TDI) process is used to generate importFiles which are used in the SUT Common Management Portal (CMP) console.
Adding users in LDAP
Generate users DN
For this example we are using Tivoli Directory Server 6.2 as our LDAP server.
1. First, we need to create the base DN (domain name) where users' data will be stored; in this case, the ldif file 852_819OC_DN.ldif was created (see figure 1).
Figure 1. ldif file with users' DN
2. Use the following command to generate a DN:
ldifde -a cn=myLDAPUser myLDAPpassword -s ldapFQDN -i -f "852_819OC_DN.ldif"
3. Look for the following log messages to confirm that the import operation completed successfully:
Importing directory from file "852_819OC_DN.ldif"
Lazy commit support not available on the server, lazy commit will be disabled.
Loading entries......
5 entries modified successfully.
The command has completed successfully
The LDAP GUI reflects that new records were created (see figure 2).
Figure 2. Users' DN in LDAP GUI

Generating ldif file with users' details
1. Using your preferred tool/script, create an ldif file similar to the one illustrated below (with 15,000 users); entries should be of the format:
dn: uid=testUser8190000,cn=testUsers 819,l=Dublin,c=IE,ou=SUT,o=My Test Org,dc=ibm,dc=com
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
givenname: testUser8190000
sn: testUser8190000
cn: testUser8190000
uid: testUser8190000
mail: testUser8190000@ie.ibm.com
telephoneNumber: +35318190000
homePhone: +35316030000
userPassword: {SHA}...
dn: uid=testUser8190001,cn=testUsers 819,l=Dublin,c=IE,ou=SUT,o=My Test Org,dc=ibm,dc=com
objectclass: inetOrgPerson
objectclass: organizationalPerson
objectclass: person
objectclass: top
givenname: testUser8190001
sn: testUser8190001
cn: testUser8190001
uid: testUser8190001
mail: testUser8190001@ie.ibm.com
telephoneNumber: +35318190001
homePhone: +35316030001
userPassword: {SHA}...
...
2. When the file is ready, execute the following command to begin the import:
ldifde -a cn=myLDAPUser myLDAPpassword -s ldapFQDN -i -f "852_819OC_users.ldif"
The following messages confirm that the import was successful:
10000 entries modified successfully.
The command has completed successfully
This can also be confirmed in the LDAP GUI (see figure 3).
Figure 3. LDAP users created

Create a group
The next step is to create a group in the LDAP:
1. First prepare the ldif file as shown in the example in figure 4.
Figure 4. Sample ldif for group creation
2. When the file is ready, execute the following command for the import:
ldifde -a cn=myLDAPUser myLDAPpassword -s ldapFQDN -i -f "groupFile.ldif"
Figure 5 shows the group created in the LDAP GUI.
Figure 5. Group in LDAP GUI

Confirm users in the IBM Sametime Connect client
We should now be able to log in to the IBM Sametime Connect client using one of the imported users, as shown in figure 6.
Figure 6. User logged in to Lotus Sametime Connect
We are ready now to provision SUT subscribers.