Top
ETERNUS SF AdvancedCopy Manager V15.0 Operation Guide

1.8.3 Setting the volume lock error investigation function

This section explains how to set the investigation tool used by the volume lock error investigation function.

Point

For using Windows Server 2008 or Windows Server 2008 R2

Read the "1.7.2 Notes when using User Account Control (UAC)" above, before setting an investigation tool.


1.8.3.1 When to set an investigation tool

Since handle.exe does not reduce OS performance, it is recommended to enable this function before operations start (always leave it enabled), so that the the cause of "in-use lock errors" can be quickly identified.

And since openfiles.exe does cause OS performance deterioration, it is recommended to enable this function only when an "in-use lock error" has occurred.


1.8.3.2 Setting handle.exe

To use handle.exe, download it from the following URL and store it in <Work_directory>\var\HandleTool.

http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx

In a clustered environment, store handle.exe at all the cluster nodes.

Also after handle.exe is stored, perform the following tasks at all nodes where it is stored.
If the operating system environment is not Windows Server 2008 and Windows Server 2008 R2, it is not necessary to execute the step 7, 8, and 10.

  1. Log into Windows using the user account that executes AdvancedCopy Manager commands.

  2. At the command prompt, go to "<Work directory>\var\HandleTool".

  3. Type "handle.exe" and press Enter.

  4. If the "Handle License Agreement" dialog box is displayed, then click "Agree" if you agree with the conditions of use.

  5. Prepare the service name unused in the system.
    Execute the following command to confirm whether its service name is used or not.

    sc qc "service_name_to_confirm"

    Example

    How to confirm whether the service name "ACMHandle" is used or not:

    C:\>sc qc "ACMHandle"

    On later steps, the service name prepared in this step is called "Unused service name".

  6. Execute the following command.

    sc create "Unused_service_name" binPath= "cmd.exe /k <Work_directory>\var\HandleTool\handle.exe" type= own type= interact
    sc start "Unused_service_name"

    Example

    When the Unused service name is "ACMHandle" and the Work directory is "C:\Win32app\AdvancedCopyManager":

    C:\>sc create "ACMHandle" binPath= "cmd.exe /k C:\Win32app\AdvancedCopyManager\var\HandleTool\handle.exe" type= own type= interact
    C:\>sc start "ACMHandle"
  7. Please display the window by clicking the icon that appears on the task bar.

  8. Click the [Show me the message] or [View the message] button in the window.

  9. If the "Handle License Agreement" dialog box is displayed, then click "Agree" if you agree with the conditions of use.

  10. Click the [Return now] button.

  11. Execute the following command.

    sc delete "Unused_service_name"

    Example

    When the Unused service name is "ACMHandle":

    C:\>sc delete "ACMHandle"

Note

If the above tasks are not performed in advance, then commands stop responding when an "in-use lock error" occurs.
At this time, the "Handle License Agreement" dialog box is not displayed.
Use the Task Manager to forcibly end handle.exe processing.


1.8.3.3 Setting openfiles.exe

To use openfiles.exe to track information on files opened locally, the 'maintain objects list' option must be enabled. To do that, execute "openfiles /local on" from the command prompt, then restart the system.

If a cluster is operating, then execute the above command and restart the system at all nodes that comprise the cluster.

Next, if and only if one of the conditions below apply, copy %SYSTEMROOT%\system32\openfiles.exe to <Work directory>\var\Openfiles_WOW64 (usually %SYSTEMROOT% is C:\Windows):

In a clustered environment, then store openfiles.exe at all nodes that comprise the cluster.