TUNING


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:


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:


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

1. Run R6IMAPINIT to create the mail databases.

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

1. Make sure that you have already set up clients and servers for Server.Load.

2. 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:


3. On the Domino Administrator client, start Server.Load.

4. In the Test Type field, choose Built-In, and then choose R6 IMAP Initialization Workload from the list.

5. Click the Script Variables tab, and enter these values:


6. Start the IMAP task on the server.

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

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

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

10. Optional: Click the Stop Conditions tab to set a stop condition.

11. Click Execute.

12. Optional: Select metrics to monitor.

13. Optional: In the Server to receive console commands field, enter the name of the SUT.

14. Click Start Test.

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

16. Complete the procedure to run the R6IMAP workload.

Related concepts
Setting up clients and servers for Server.Load
Running the built-in Server.Load workloads

Related tasks
Setting a Server.Load stop condition
Monitoring Server.Load metrics
R6IMAP workload
Tips for running a Server.Load test
Running a custom Server.Load script