|
How to Implement the tempdb Solution on a Machine that Is Part of a Cluster
Preliminary considerations on installing Ramdisk for Microsoft Cluster Servers:
- Examine the size of the tempdb file and the amount of available free memory. If the tempdb file is 100 MB or less, a RAM disk is unlikely to improve performance. If the tempdb file is greater than available physical memory, add more RAM to the system.
- Determine which unassigned drive letter to reserve for the RAM disk.
- Determine which NTFS volume on a cluster-shared physical disk will host the folder that will serve as a mount point for the RAM disk, and the folder's name.
- Consider the impact of reallocating system memory to the RAM disk. Sufficient memory resources must be available for SQL and other processes.
- On a production machine, determine a convenient time when SQL Server can be stopped. SQL must be stopped to configure cluster dependencies, change the tempdb path, and, possibly, to reduce its memory allocation limit.
Instructions:
- Install RamDisk or RamDisk Plus (version 8.0.3 or greater) on each cluster node. To install successfully, the cluster service must be running on the node.
- Stop SQL Server.
- Add a local RAM disk to each cluster node. (Use the same parameters on each node.)
- Select a size large enough to contain the tempdb file.
- Select an appropriate drive letter.
- Select "NTFS" file system, without compression.
With RamDisk Plus:
- Use the default image location.
- Do not enable "Save at system shutdown" or "Reserve space for full disk".
- Create a folder on a shared cluster disk to serve as the mount point for the local RAM disk.
- Create a RAM Disk cluster resource.
- On the first page of the "New Resource" wizard, enter the name of the new RAM Disk resource and select the cluster group to which it will belong.
- Navigate through the wizard, setting the appropriate dependencies, etc. Be sure to set the RAM Disk resource as dependent on the physical disk resource which contains the folder to be used as a mount point.
- On the last wizard page "RAM Disk Cluster Resource Parameters", enter the fully-qualified path to the folder previously created in step 4. The path must include a trailing backslash (\).
- Test the RAM Disk cluster resource. (If necessary, create a test group and place the physical disk resource and RAM Disk resource in the group. Once complete, place the resources in their original group.)
- Bring the RAM Disk cluster resource online.
- Move the group containing the RAM Disk cluster resource to another node.
- If both these actions are successful, continue with installation. Otherwise, troubleshoot the problem.
- Configure SQL Server to work with the RAM Disk cluster resource.
- Configure the SQL Server cluster application to be dependent on the RAM Disk cluster resource.
- Configure SQL Server to place its temporary data in the folder which serves as the RAM disk's mount point.
- If necessary, reduce the SQL Server's system memory allocation limit..
- Start SQL Server.
- Test SQL Server with its RAM Disk cluster resource.
- Move the SQL group, while SQL is running, to another node.
- Restart a node that is available to host SQL. After restarting, move SQL, while running, to that node.
- If both these actions are successful, the installation is complete. Otherwise, troubleshoot the problem.
|
|
|
|
Copyright © 2001 - 2010 AMT Software. All rights reserved. All trademarks are property of their respective owners. Information subject to change without notice. Revised 18/3/2010 |
|