
27
Principled Technologies, Inc.: Dell PowerVault MD3000i high-availability testing on
Windows Server 2008 R2 and Hyper-V
Backing up the mail database
On the test server, once you have set up LoadGen and created its initial mail database, you need to back up that
database so you can have clean copies for each test. Use this process to back up that database:
1. Select StartÆAll ProgramsÆMicrosoft Exchange Server 2007ÆExchange Management Console in the
mail server.
2. In the left pane, under Server Configuration, click Mailbox.
3. In the right pane, right-click Mailbox Database, and select Dismount Database from the menu.
4. On the Do you want to continue? pop-up message, click Yes.
5. Right-click Public Folder Database, and select Dismount Database from the menu.
6. On the Do you want to continue? pop-up message, click Yes. The red arrow appears when you have
dismounted the Public Folder Store.
7. Using Windows Explorer, create a new folder: E:\backup\.
8. With Windows Explorer, copy all files from E: \DATA\ to E:\backup\DATA. This process may take several
minutes.
9. Close Windows Explorer.
10. In Exchange Management Console, right-click Mailbox Database, and select Mount Database from the
menu.
11. Right-click the Public Folder Database, and select Mount Database from the menu.
12. Close Exchange System Manager.
Disabling Windows Firewall
1. Click Start, and click Control Panel.
2. Double-click Windows Firewall.
3. Click Turn Windows Firewall on or off.
4. Select Off.
5. Click OK.
Installing and setting up DVD Store on the test server
1. Copy the ds2 folder containing the DVD Store executables to C:\ds2.
2. Double-click the folder.
3. Create a file named DS2_1.bat that contains the following DVD Store run command line:
c:\ds2run\ds2sqlserverdriver --target=localhost --ramp_rate=10 --run_time=20 --n_threads=32 --
db_size_str=W --think_time=0 --database_name=DS2_1
4. Run DS2_1.bat for 10 seconds to create the DVD Store testing counters.
5. Open My Computer.
6. Double-click Drive E.
7. Create a new folder named SQLData
8. Right-click that folder, and select Properties.
9. Select the Security tab.
10. Click Add.
11. In the Object Names box, type SQLLocalUser
12. Click OK.
13. For full access, check the box beside Allow.
Generating the datasets
We built the database schema using the scripts included in the DS2 distribution package, though we made a few
minor modifications. The DS2 stress tool provides options to generate 10MB, 1GB, or 100GB datasets. To get the
tool to generate the 250GB of user data we used in this test, we had to make a few straightforward changes to the
source code and to the DVD Store application’s scripts. Note: We created our test data on a Linux system.
Editing the ds2_create_orders.c module
The module ds2_create_orders.c defines constants that define the maximum values for the customer ID and the
product ID. The constants for the 250GB database size did not exist. We added the constants for this size.
Kommentare zu diesen Handbüchern