18.3.2 In UNIX
- Organization of this subsection
(1) OS system information
You need to collect the following log information about the OS. You can use the data collection tool to collect this information.
Type of information |
Required data |
File name#1 |
---|---|---|
Date and time collected |
Execution result of date |
jp1_default_base_1st.tar.Z, date.log |
System log (syslog) |
/var/adm/syslog/syslog.log (HP-UX)#2 /var/adm/messages (Solaris)#2 /var/adm/messages (AIX)#2 /var/log/messages (Linux)#2#3 |
jp1_default_base_1st.tar.Z, syslog.log |
Host names set on the machine |
/etc/hosts |
jp1_default_base_1st.tar.Z, hosts |
Service ports set on the machine |
/etc/services |
jp1_default_base_1st.tar.Z, services |
List of users registered on the machine |
/etc/passwd |
jp1_default_base_1st.tar.Z, passwd |
NICs installed |
Execution result of netstat -in |
jp1_default_base_1st.tar.Z, netstat_in.log |
List of processes |
Execution result of ps -elfa |
jp1_default_base_1st.tar.Z, ps.log |
Machine environment variable |
Execution result of env |
jp1_default_base_1st.tar.Z, env.log |
Kernel parameter information |
|
jp1_default_base_1st.tar.Z
|
Page size information |
Execution result of dmesg (HP-UX) Execution result of pagesize (Solaris and AIX) Not collected in Linux |
jp1_default_base_1st.tar.Z, pagesize.log |
Shared memory information |
Execution result of ipcs -a |
jp1_default_base_1st.tar.Z, ipcs.log |
Memory information |
Execution result of swapinfo -t (HP-UX) Execution result of swap -l (Solaris) Execution result of lsps -s (AIX) cat /proc/meminfo (Linux) |
jp1_default_base_1st.tar.Z, swapinfo.log |
Disk information |
Execution result of bdf (HP-UX) Execution result of df -k (OS other than HP-UX) |
jp1_default_base_1st.tar.Z, df.log |
System diagnostics |
Execution result of /etc/dmesg (HP-UX) Execution result of /usr/sbin/dmesg (Solaris) Execution result of /usr/bin/alog -o -t boot (AIX) #3 Execution result of /bin/dmesg (Linux) |
jp1_default_base_1st.tar.Z, sys_info.log |
OS patches implemented |
|
jp1_default_base_1st.tar.Z, patch_info.log |
OS version information |
Execution result of uname -a |
jp1_default_base_1st.tar.Z, uname_a.log |
Installed Hitachi products |
/etc/.hitachi/pplistd/pplistd |
jp1_default_base_1st.tar.Z, pplistd |
Host name for resolving the network address |
Execution result of jbsgethostbyname |
jp1_default_base_1st.tar.Z, jbsgethostbyname.log |
Linux release information |
/etc/redhat-release (Linux) |
jp1_default_base_1st.tar.Z, redhat-release |
Name service settings file |
/etc/nsswitch.conf |
jp1_default_base_1st.tar.Z, nsswitch.conf |
DNS server settings file |
/etc/resolv.conf |
jp1_default_base_1st.tar.Z, resolv.conf |
Network interface settings |
Execution result of ifconfig -a |
jp1_default_base_1st.tar.Z, ifconfig.log |
#1: Names of the compressed file and expanded file after execution of the data collection tool (listed in that order). In Linux, the extension is gz.
#2: The syslog file might have a different name.
#3: The data collection tool does not have sufficient rights to collect this information when executed by a user with JP1/Base administrator privileges.
(2) JP1/Base information
You need to collect the following information about JP1/Base. You can use the data collection tool to collect this information. If a problem occurs while the machine is connected to the network, you also need to collect the files on the remote machine.
Type of information |
Collected information |
File name |
---|---|---|
Environment settings |
All files in /etc/opt/jp1base/conf/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
All files in /etc/opt/jp1base/default/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
|
All files in /opt/jp1base/plugin/conf/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
|
All files in shared-directory/jp1base/conf#1 |
logical-host-name_1st.tar.Z, same as the name of the file from which data is collected |
|
Common definition information |
/opt/jp1/hcclibcnf/ (can also be checked from the jbsgetcnf command execution result) |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
All files in /etc/opt/jp1base/default/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
|
Log information |
All files in /var/opt/jp1base/log/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
shared-directory/jp1base/log#1#2 |
logical-host-name_base_1st.tar.Z, same as the name of the file from which data is collected |
|
Log of installation |
/tmp/HITACHI_JP1_INST_LOG/jp1base_inst{1|2|3|4|5}.log |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
Service operating information |
All files in /var/opt/jp1base/sys/OPI/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
All files in shared-directory/jp1base/sys/OPI/ |
logical-host-name_base_1st.tar.Z, same as the name of the file from which data is collected |
|
Event service settings |
All files in /var/opt/jp1base/sys/tmp/event/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
All files in shared-directory/event/#1 |
logical-host-name_base_1st.tar.Z, same as the name of the file from which data is collected |
|
Event database |
All files in /var/opt/jp1base/sys/event/ |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
All files in shared-directory/event/#1 |
logical-host-name_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
JP1/SES-related log data |
All files in /var/tmp/jp1_ses/ |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
All files in /var/opt/jp1_ses/log/ (or under HP-UX symbolic link /usr/lib/jp1_ses/log/) |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
All files in /usr/lib/jp1_ses/log/ (for OS other than HP-UX) |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
All files in /usr/lib/jp1_ses/sys/ |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
All files in /usr/tmp/jp1_ses/ |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
/usr/bin/jp1_ses/jp* |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
/tmp/.JP1_SES* |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
Command execution log |
All files in /var/opt/jp1base/log/COMMAND |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
All files in shared-directory/jp1base/log/COMMAND |
jp1_default_base_2nd.tar.Z, same as the name of the file from which data is collected |
|
Process operating status (except event service) |
Execution result of jbs_spmd_status |
jp1_default_base_1st.tar.Z, jbs_spmd_status.log |
Execution result of jbs_spmd_status -h logical-host-name#1 |
jp1_default_base_1st.tar.Z, jbs_spmd_status_logical-host-name.log |
|
Process operating status of event service |
Execution result of jevstat command |
jp1_default_base_1st.tar.Z, jevstat.log |
Execution result of jevstat logical-host-name#1 |
jp1_default_base_1st.tar.Z, jevstat_logical-host-name.log |
|
Integrated trace log file |
/var/opt/hitachi/HNTRLib2/spool/hntr2*.log |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
ISAM maintenance information |
Execution result of Jischk command Physical host specified: /var/opt/jp1base/log/COMMAND Logical host specified: shared-directory/jp1base/log/COMMAND |
Physical host specified: jp1_default_base_1st.tar.Z, com.jischk, log Logical host specified: jp1_default_base_1st.tar.Z, com.jischk_logical-host-name.log |
Core file diagnostics#3 |
Execution result of car command (results of analyzing core files in /var/opt/jp1base/ and /opt/jp1base/) |
jp1_default_base_2nd.tar.Z, core_module-name.log jp1_default_base_2nd.tar.Z, core_module-name_cat.tar.Z |
File list |
Execution result of ls command ls -lRa /opt/jp1base ls -lRa /etc/opt/jp1base ls -lRa /var/opt/jp1base |
jp1_default_base_1st.tar.Z, inst_dir.log |
Execution result of ls command#1 ls -lRa shared-directory/jp1base ls -lRa shared-directory/event |
jp1_default_base_1st.tar.Z, share_dir.log |
|
Patch log |
/opt/jp1base/PatchInfo |
jp1_default_base_1st.tar.Z, PatchInfo |
Patch log information |
/opt/jp1base/PatchLog |
jp1_default_base_1st.tar.Z, PatchLog |
JP1/Base binding status |
Execution result of netstat -nap (in Linux OS) Execution result of netstat -na (OSs other than Linux) |
jp1_default_base_1st.tar.Z, netstat_na.log |
jp1hosts2 information |
All files in /var/opt/jp1base/sys/jp1hosts2/ |
jp1_default_base_1st.tar.Z, same as the name of the file from which data is collected |
All files in shared-directory/jp1base/sys/jp1hosts2/#1 |
logical-host-name_base_1st.tar.Z, same as the name of the file from which data is collected |
|
Execution result of jbshosts2export |
jp1_default_base_1st.tar.Z, jbshosts2export_JP1_DEFAULT.log |
|
Execution result of jbshosts2export -h logical-host-name#1 |
logical-host-name_base_1st.tar.Z, jbshosts2export_logical-host-name.log |
|
JP1/Base administrator settings#4 |
Execution result of jbssetadmingrp -v |
jp1_default_base_1st.tar.Z, jbssetadmin.log |
Exclusive control type of the integrated trace log |
Execution result of hntr2getconf -t |
hntr2getconf_t.log |
Output destination of the integrated trace log |
Execution result of hntr2getconf -f |
hntr2getconf_f.log |
Note: When you specify a different path in the event server index file (index), or change the destination for the integrated trace log, you must specify the following option in the data collection tool in order to collect information from either the specified path or the changed destination.
jbs_log.sh (any-option) [directory-specified-in-the-index-file]
jbs_log.sh (any-option) [destination-directory-for-the-integrated-trace-log]
#1: Output when data about the logical host (cluster environment) is collected.
#2: Extra disk space might be required to collect large files of data from the event database and command execution log. Make sure that you check the file size before you collect data.
#3: Note the following when using Linux:
In Linux, the maximum size for core file dumps will sometimes be set to 0 by default. In this case, the system will not output a core dump file. To avoid this issue, the jbs_start and jbs_start.cluster scripts contain the following standard setting:
if [ 'uname' = Linux ]; then
ulimit -c unlimited
fi
If this setting contravenes the security policy of the system on which the script is executed, comment it out by placing a hash mark (#) at the beginning of each line. This invalidates the setting. However, it also means that the system will not create a core dump file when an event such as a segmentation fault or bus error that would usually trigger a core dump occurs in the JP1/Base process, denying you information you might use to investigate the cause.
#if [ 'uname' = Linux ]; then
#ulimit -c unlimited
#fi
#4: The data collection tool does not have sufficient rights to collect this information when executed by a user with JP1/Base administrator privileges.
(3) Operation data
If an error occurs, you need to collect the following operational information:
-
Details of the operation
-
Time the error occurred
-
Machine configuration (version of each OS, host name, configuration of JP1/IM - Manager)
-
Whether the error occurs repeatedly under the same conditions
-
User name used to log in from JP1/IM - View
(4) Error information on the screen
Collect hard copies of the following:
-
The error dialog boxes (In addition, copy the contents of the details if the dialog box contains a Details button.)