Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Automatic Job Management System 3 - Definition Assistant Description, Operator's Guide and Reference


3.1.7 Setting up the data collection tool

Organization of this subsection

(1) Procedure for setup

Set up the data collection tool for collecting log information when problems occur. JP1/AJS3 - Definition Assistant provides the data collection tool.

There are the following two types of data collection tools:

After JP1/AJS3 - Definition Assistant installation is completed, use this data collection tool (_04.bat) once you have copied it to another folder.

To set up the data collection tool (_04.bat):

  1. Use Explorer to copy the following data collection tool (_04.bat) to another folder:

    JP1/AJS3 - Definition-Assistant-installation-folder\tools\_04.bat
  2. Use a text editor to edit the copied data collection tool (_04.bat), and save it under another name.

    The following are default values used in the data collection tool (_04.bat). Edit these values as necessary to match your environment.

    • @set LOG_DIR_DRWTSN=%ALLUSERSPROFILE%\Documents\DrWatson#

      Specify the log path of Dr. Watson.

    • @set DIR_BACKLOG=%TEMP%\jp1ajs2\backlog

      Specifies the backup destination of information collected by the data collection tool.

    #

    Cannot be obtained for Windows Vista, Windows Server 2008, Windows 7, Windows Server 2012, Windows 8, and Windows 8.1.

If any problems occur, you may need a memory dump or crash dump. These are files to which debugging information is written when problems occur.

For Windows XP Professional and Windows Server 2003, you can obtain these dumps when a problem occurs by setting them to be output in advance, as shown below.

To set memory dumps to be output:
  1. From the Windows Control Panel, double-click System.

  2. In the Advanced tab, in the Startup and Recovery section, click the Settings button.

  3. In Write Debugging Information, select the Complete Memory Dump check box, and specify the output destination for the file in Dump File.

    Important note

    The size of the memory dump depends on the amount of actual memory. The more physical memory present, the larger the memory dump will be. Secure enough memory to collect the memory dump. For details, see the STOP error item in the Windows help.

To set crash dumps to be output:
  1. From the Windows Start menu, select Run.

    The Run dialog box appears.

  2. For Open, enter drwtsn32, and click the OK button.

    The Dr. Watson dialog box appears.

  3. In Crash Dump, specify the output file.

  4. In Options, select the Create Crash Dump File check box.

  5. Click the OK button.

    Important note

    The information output to the crash dump contains not only JP1 information, but also information about problems from other application programs. Since the amount of remaining disk capacity decreases whenever a crash dump is output, make sure sufficient disk capacity exists when crash dumps are set to be output.

Notes on collecting data in Windows Vista, Windows Server 2008, Windows 7, Windows Server 2012, Windows 8, and Windows 8.1

In Windows Vista, Windows Server 2008, Windows 7, Windows Server 2012, Windows 8, and Windows 8.1, Dr. Watson logs cannot be obtained. Also, because crash dumps and memory dumps cannot be obtained automatically, you need to collect the information corresponding to them separately. For details about how to collect the information, see 6.3.1(4) Collecting user dumps (For Windows Vista, Windows Server 2008, Windows 7, Windows Server 2012, Windows 8, and Windows 8.1) and 6.3.1(5) Collecting problem reports (only for Windows Vista, Windows Server 2008, Windows 7, Windows Server 2012, Windows 8, and Windows 8.1).

Notes on collecting data in a 64-bit version of Windows

When you use a 64-bit version of Windows and use the JP1/AJS data collection tool in a Windows-on-Windows 64 environment to collect data, you need to modify the sample batch file. Use the following procedure to modify the file:

  1. Copy the sample batch file to any folder.

  2. Use a text editor to edit the copied batch file as follows, and then save it with the desired file name.

    Before change:

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1BASE\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2V\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2V

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2C\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2C

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2CM\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2WOA\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2WOA

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2DA\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2DA

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2CFM\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2CFM

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\HITACHI\JP1AJS2RP\PathName

    @set REG_NAME=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1

    @set REG_NAME_BASE=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1BASE

    @set REG_NAME_MANAGER=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2

    @set REG_NAME_VIEW=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2V

    @set REG_NAME_CLIENT=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2C

    @set REG_NAME_AJS2CONSOLE=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2CM

    @set REG_NAME_WOA=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2WOA

    @set REG_NAME_DA=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2DA

    @set REG_NAME_CFM=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2CFM

    @set REG_NAME_REPLI=HKEY_LOCAL_MACHINE\SOFTWARE\Hitachi\JP1AJS2RP

    After change:

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1BASE\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2V\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2V

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2C\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2C

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2CM\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2WOA\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2WOA

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2DA\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2DA

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2CFM\PathName

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2CFM

    @regedit /e "%reg_temp%" HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\HITACHI\JP1AJS2RP\PathName

    @set REG_NAME=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1

    @set REG_NAME_BASE=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1BASE

    @set REG_NAME_MANAGER=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2

    @set REG_NAME_VIEW=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2V

    @set REG_NAME_CLIENT=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2C

    @set REG_NAME_AJS2CONSOLE=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2CM

    @set REG_NAME_WOA=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2WOA

    @set REG_NAME_DA=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2DA

    @set REG_NAME_CFM=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2CFM

    @set REG_NAME_REPLI=HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Hitachi\JP1AJS2RP