3.1.8 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:
-
jajs_log.bat
Used if you have not changed the output destination for the log file or the like from the default, or if you do not need to collect other information.
You cannot customize this tool.
-
_04.bat
Used if you have changed the output destination for the log file or the like, or if you want to collect other information.
When using this tool, you can customize the output destination for log files or the like and where to store other collected information.
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):
-
Use Explorer to copy the following data collection tool (_04.bat) to another folder:
JP1/AJS3 - Definition-Assistant-installation-folder\tools\_04.bat
-
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 DIR_BACKLOG=%TEMP%\jp1ajs2\backlog
Specifies the backup destination of information collected by the data collection tool.
-
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.
Because the data collection tool cannot obtain crash dumps and memory dumps automatically, you need to collect the information corresponding to them separately. For details about how to collect the information, see 6.3.1(3) Collecting user dumps and 6.3.1(4) Collecting problem reports.
- Notes on collecting data in a 64-bit version of Windows
-
- The sample batch file (_04.bat) of 09-10 or later do not require the following modification:
-
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 (_04.bat). Use the following procedure to modify the file:
-
Copy the sample batch file to any folder.
-
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