[Form]
/opt/FJSVhanet/usr/sbin/hanet_snap [-s] [save-directory]
[Detail of the function]
This command collects examination materials necessary for maintaining a Redundant Line Control Function.
In addition, only in the case of super-user authority, this command can be executed.
[Option]
It is possible to specify following options and parameters.
Specify -s to collect the minimum examination materials.
When omitted this option, all examination materials are collected.
Specify save-directory to store collected materials.
When omitted this parameter, materials are stored in "/tmp".
A list of the collected information is as follows:
Type | File name when collected | Collected information | Minimum examination materials |
---|---|---|---|
System information: | arp_n | arp -n | Y |
arptables_list | arptables --list | Y | |
BASP/ | /etc/basp | Y | |
chkconfig | chkconfig --list | Y | |
class_net_dev | /sys/class/net/*/carrier | Y | |
ctld_pinfo | /proc/XXX/cmdline | N | |
etc/ | /etc/fcoe | Y | |
etc/brctl | brctl show | Y | |
etc/class_net | ls -l /sys/class/net | Y | |
etc/class_net_dev | /sys/class/net/*/carrier | Y | |
etc/rc_list | ls /etc/rc.d/* | Y | |
etc/selinux | /etc/selinux/config | Y | |
/etc/selinux/targeted/contexts/files/file_contexts | N | ||
etc/virsh_dumpxml_<domain> | virsh dumpxml <domain> | Y | |
etc/virsh_list_all | virsh list --all | Y | |
etc/virsh_nodeinfo | virsh nodeinfo | Y | |
etc/virsh_version | virsh version | Y | |
etc/xen_store_ls | xenstore-ls | Y | |
etc/xm_dmesg.log | xm dmesg | N | |
etc/xm_info | xm info | Y | |
etc/xm_list_long | xm list --long | Y | |
ethdev_info | ethtool ethX | Y | |
free | free -bt | Y | |
fstab | /etc/fstab | Y | |
iANS/ | /etc/ians | Y | |
ifconfig_a | ifconfig -a | Y | |
include/ | /lib/modules/`uname -r`/build/include/linux/ | Y | |
ipcs_a | ipcs -a | Y | |
ip_info | ip link | Y | |
ip6tables-config | /etc/sysconfig/ip6tables-config | Y | |
iptables-config | /etc/sysconfig/iptables-config | Y | |
iptables_list | iptables --list | Y | |
log/ | /var/log/boot.log* | N | |
lsmod | lsmod | Y | |
lspci | lspci | Y | |
netstat | netstat -na | Y | |
proc_dev | /proc/devices | Y | |
proc_net/ | /proc/net/ | N | |
ps_ewfl | ps -ewfl | Y | |
sel_pinfo | /proc/XXX/cmdline | N | |
sysconfig/ | /etc/sysconfig/hwconf | Y | |
sysctl_a | sysctl -a | N | |
sys_info | /proc/cgroups | Y | |
uamlog | /var/opt/FJSVfupde/log/* | N | |
uname_a | uname -a | Y | |
uptime | uptime | Y | |
GLS information: | config/ | /etc/opt/FJSVhanet/config/ | Y |
dev_sha | ls -l /dev/sha | Y | |
dsp_conf | dsphanet | Y | |
filelist_tmp | ls -la/var/opt/FJSVhanet/tmp/ | Y | |
log/ | /var/opt/FJSVhanet/log/ | Y | |
modinfo | modinfo sha | Y | |
print_conf | hanetconfig print | Y | |
rpminfo | rpm -qi FJSVhanet | Y | |
script/ | /etc/opt/FJSVhanet/script/ | Y | |
sha.ko | /opt/FJSVhanet/usr/kernel/drv/sha.ko | Y | |
Cluster system information: | hvdisp_a | hvdisp -a | N |
log/ | /var/opt/reliant/log/ | N |
[Meaning of the symbols] Y: It extracts. N: It does not extract.
[Output form]
The collected materials are compressed and stored by tar and compress commands. A stored file name is "machine name" + "Date collected (YYMMDDhhmmss)".tar.gz.
Ex.) hostname040126093843.tar.gz
[Using example]
When collecting all examination materials under /tmp.
# /opt/FJSVhanet/usr/sbin/hanet_snap |
When collecting the minimum examination materials under /tmp.
# /opt/FJSVhanet/usr/sbin/hanet_snap -s |
When collecting the minimum examination materials under /home/user1.
# /opt/FJSVhanet/usr/sbin/hanet_snap -s /home/user1 |