
|
 |
IMPORTANT INSTALLATION INSTRUCTIONS
CDA Technical Support Release
09/20/05. |
 |
|
[ Click
Here for Printer Friendly Version ] |
|
|
|
The following information is provided to address record
locking problems running CDA Service Manager Windows version 8.4 and
higher using Windows NT / Windows 2000 / XP and Windows98 workstations. |
|
|
|
Microsoft introduced an operation system feature in
Windows NT that caches file handles called RFCB Caching. This was done
in order to increase the file handling performance of specific kinds of
windows based applications. This feature was found to cause problems
with some client/server based applications such as the CDA Service
Manager. |
|
|
|
The technical explanation of this is as follows: NT
service cache file handles (RFCBs) associated with files it has opened
on behalf of a client (workstation) request. Although write requests
proceed normally, close requests that are acknowledged by the server,
but buffered from the file system. This is intended to optimize response
time to repeated open/close operations performed by clients (which the
CDA Service Manager program does a great deal of). Additionally,
Opportunistic Locking (Oplock) is an optimization that is a logical
extension of the way a client caches its own file close request and
relies on the server to arbitrate future requests for file access by
other clients, rather than allowing the application to actually close
it's own file handles. In many situations, Oplocks must also be disabled
for compatibility purposes. Because of opportunistic Locking
relationship with file closes, RFCB Caching and Opportunistic Locking go
hand-in-hand. |
|
|
|
THE FOLLOWING PROCEDURE SHOULD ONLY BE PERFORMED BY A QUALIFIED
NETWORK ADMINISTRATOR!! |
|
Be sure to export and save you current registry before making any
changes. |
|
|
|
To disengage both opportunistic locking and RFCB Caching,
make the following modifications using the Registry editor. . . |
|
|
|
For NT Server - Windows 2000 - Windows 2003 Servers |
|
|
|
REGEDIT |
|
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters] |
|
"EnableOpLocks"=dword:00000000 |
|
"EnableOpLockForceClose"=dword:00000001 |
|
"CachedOpenLimit"=dword:0000001 |
|
|
|
Example |
|
Step 1 |
|
Choose: Hkey_Local_Machine-> |
|
System-> |
|
Current Control Set-> |
|
Services-> |
|
LanmanServer-> |
|
Parameters-> |
|
|
|
If the value EnableOpLockForceClose exists |
|
Double-click on it to enter the MODIFY mode. |
|
With the Hex selected, enter the value 1 |
|
Or, if the value EnableOpLockForceClose does NOT exist |
|
Pull Down "Edit" and choose NEW-> DWORD VALUE -> |
|
Enter the Value name: EnableOpLockForceClose-> |
|
(This is case sensitive) |
|
Then, double click on the DWORD entry to enter the MODIFY mode. |
|
Change the Value Data to 1 |
|
|
|
Step 2 |
|
Repeat the above steps for the DWORD EnableOpLocks |
|
Setting the Value Data to 0 |
|
|
|
Step 3 |
|
Repeat the above steps for the DWORD CachedOpenLimit |
|
Setting the Value Data to 1 |
|
Next, click on Registry then Exit to save the changes. |
|
These changes will not take effect until you re-start the server |
|
|
|
For Windows 2000 and XP Workstations |
|
REGEDIT |
|
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MRXSmb\Parameters] |
|
"OplocksDisabled"=dword:1 |
|
|
|
Example |
|
Step 1 |
|
Choose: Hkey_Local_Machine-> |
|
System-> |
|
Current Control Set-> |
|
Services-> |
|
MRXsmb-> |
|
Parameters-> |
|
|
|
If the value OpLocksDisabled exists, |
|
Double-click on it to enter the MODIFY mode. |
|
Change the Value Data to 1 |
|
|
|
Or, if the value OpLocksDisabled does NOT exist, |
|
Pull Down "Edit" and choose NEW-> DWORD VALUE -> |
|
Enter the Value name: OpLocksDisabled-> |
|
(This is case sensitive) |
|
Then, double click on the new DWORD entry to enter the MODIFY mode. |
|
Change the Value Data to 1 |
|
Next, click on Registry then Exit to save the changes. |
|
These changes will not take effect until you re-start the server |
|
|
|
It is very important that you ensure you have applied all the current
service packs from Microsoft for NT or 2000 Servers. |
|
Microsoft maintains a free download site at
http://www.microsoft.com/msdownload/default.htm. |
|
|
|
Concerning Windows98 workstations |
|
Disable the write-behind-cache. |
|
|
|
Steps: |
|
Start Button-> |
|
Settings-> |
|
Control Panel-> |
|
System-> |
|
Performance-> |
|
File System-> |
|
Troubleshooting-> |
|
Select Disable write-behind caching for all drives-> |
|
Apply-> |
|
Ok-> |
|
You must re-boot the work station after making these changes. |
|
|
|
Important Notice: |
|
CDA Service Manager does not support the Windows95 or
Windows ME operating systems. |
|
Version 8.7 or higher will no longer support Windows98 |
|
|
|
|