R6IMAP Initialization workload
The R6IMAP Initialization workload opens a mail database on the server and populates the mail database. The template that is used to create the mail databases should be specified in the NOTES.INI variable MailTemplate.
About this task
The template is named MAILn.NTF
,
where n is the current release number. The mail
file is converted for IMAP use. The mail databases are populated
with the number of notes (messages) specified in the NOTES.INI variable
NumMailNotesPerUser.
The R6IMAP Initialization workload automatically creates and sets up the mail databases and establishes the following settings:
- Database ACL settings
- Default user is provided with Manager access
- Anonymous user is provided with Manager access
- Owner set = mail#
The MAILINIT workload opens a mail database on the server, populates the mail database, opens a discussion database, and then populates the discussion database with a number of notes scaled to the SUT.
Prerequisites are as follows:
- The mail template,
MAILn.NTF
, must exist on the driver. - All user passwords must be set to NotesBench because authenticated users are required.
Using the Create NotesBench Mail Persons Documents Agent
About this task
The agent that you use to create Person documents is in NAMAGENT.NSF.
Procedure
- Run R6IMAPINIT to create the mail databases.
- Use the Create NotesBench Mail Person Documents NAMAGENT.NSF agent on any platform to create Person documents that use the R6IMAPINIT mail*.nsf files on the SUT as the users' mail files. Copy NAMAGENT.NSF to the Domino® Directory and run it from there.
Running the R6IMAP Initialization workload
About this task
The R6IMAP Initialization workload creates and populates the IMAP mail file with SMTP messages, initializes the mail file, and then converts it to IMAP.
Procedure
- Make sure that you have already set up clients and servers for Server.Load.
- Run the Create NotesBench Mail Person Documents agent
to create the desired number of Person documents in the Domino® Directory. When prompted, set these
variables:
Table 1. Variables and settings Variable
Setting
Message storage format
2 (MIME)
Mail system
6 (POP3/IMAP)
- On the Domino® Administrator client, start Server.Load.
- In the Test Type field, choose Built-In, and then choose R6 IMAP Initialization Workload from the list.
- Click the Script Variables tab, and enter these values:
Table 2. Script variables Variable
Action
MailServer
Enter the canonical name of the mail server -- for example, CN=MailServer1/O=Acme.
MailTemplate
Enter the name of the mail file template -- for example, MAIL8.5.NTF if the current release is Domino® 8.5.
nb_dbdir
Enter the directory used to store mail files, relative to the data directory.
NormalMessageSize
Enter the size of the body of the message. Recommended value is 10000.
MessageLineSize
Enter the number of characters per line. Recommended value is 80.
RecipientDomain
Enter the name of the domain containing the intended recipients -- for example, acme.com.
SMTPHost
Enter the fully qualified domain name of the Domino® server that is running the SMTP Listener task -- for example, server1.acme.com
ClientHost
Enter the fully qualified domain name of the client -- for example, client1.acme.com
NumMailNotesPerUser
Enter the number of documents to populate the mail file when it is created. Recommended value is 100.
- Start the IMAP task on the server.
- In the Build Recipient List using Name and Address
Book field, enter the name of the SUT and its Domino® Directory in the format
servername/org!!dominodirectory.NSF
-- for example,Server1/Acme!!NAMES.NSF
. - Verify that the client and server experience no errors while creating mail files. If a mail file has not been created, the test script creates the mail file during the first test iteration, but this adds overhead on the server back end. As a rule, CPU on the client and SUT should not exceed 75%, and the percentage of Disk Time on the Domino® Server Data directory should not be a factor.
- Click the Test Parameters tab. If you are running the test on multiple clients, increment the value of the Starting Thread No. parameter when you run the test on each client.
- Optional: Click the Stop Conditions tab to set a stop condition.
- Click Execute.
- Optional: Select metrics to monitor.
- Optional: In the Server to receive console commands field, enter the name of the SUT.
- Click Start Test.
- Verify that the correct number of test mail files were
created in the data directory. Each mail file is named
MAILn.NSF
, where n is a number. - Complete the procedure to run the R6IMAP workload.