The minimum items for data capture are:
- Your enterprise server's System Directory,
%USERPROFILE%\Documents\Micro Focus User\Enterprise Developer\WORKAREA\ESName (Windows) or
/var/mfcobol/es/ESName (UNIX), contains:
- The console log:
console.log and
console.bak.
- The communications process log file or files; see the topic
Communications Process Log Files.
- The trace diagnostic datasets,
casauxta.rec and
casauxtb.rec.
- The system abend dump, if one exists (casdumpa.rec,
casdumpb.rec or
casdumpx.rec).
- The externally triggered dump (filenames as for the system abend dump).
Note: If your enterprise server is running under the Windows LocalService account, the directory might be hidden by Windows. See
System Directory for more information.
- A copy of the file
edver (Windows) or
cobver (UNIX), located in
%ProgramFiles(x86)%\Micro Focus\Enterprise Developer\etc (Windows) or
$COBDIR/etc (UNIX), and that holds the name and version of the product you are using.
- If it exists, the
mf-server.dat file is located in the
%ProgramFiles(x86)%\Micro Focus\Enterprise Developer\bin and
\bin64
(Windows) or
$COBDIR/etc (UNIX)
.
- The Directory Server configuration directory, usually under the
%ALLUSERS%\Micro Focus\Enterprise Developer\mfds (Windows) or
$COBDIR/etc/mfds (UNIX) directory.
- The Directory Server log file (usually under the
%ProgramData%\Micro Focus\Enterprise Developer (Windows) or
/var/mfcobol/logs (UNIX) directory); see the section
Directory Server Journal.
- Logs for other components that may be enabled such as Fileshare.
- A list of processes running on the machine. You should obtain two lists - one at the beginning of the data capture list, and
one at the end. You can obtain this
from the Windows Task Manager (Windows) or
by running the following command
(UNIX):
ps -ef
- A list of shared memory areas and semaphores. You can obtain this
using third-party tools such as Process Explorer (Windows) or
by running the following command
(UNIX):
ipcs -a
- A list of network connections and listening sockets, obtained by running the
netstat command.
Note: The syntax of this command differs between
UNIX
platforms.
- Optionally, a list of open files. You can obtain this
using third-party tools such as Process Explorer (Windows) or
by running the following command
(UNIX):
lsof
This command is available from third-party UNIX tool suppliers.
Note:
- The operating system tools that you can use to obtain information such as
Process Explorer (Windows) or
the
ipcs command (UNIX) provide a range of options. You can obtain advice on the most useful options from
Micro Focus technical support.
- Many of these items are held in the enterprise serve directory, so it's best to start by taking the whole directory
It is important that the data capture process is non-destructive, that is, does not damage a healthy system, and that it is
non-blocking, that is, does not wait on anything that may not complete in a sick system.