Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.3Redundant Line Control Function

6.1.1 Command to collect materials

[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.


-s:

Specify -s to collect the minimum examination materials.
When omitted this option, all examination materials are collected.


save-directory:

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:

Table 6.1 Collected information

Type

File name when collected

Collected information

Minimum examination materials

System information:
OSInfo/

arp_n

arp -n

Y

arptables_list

arptables --list

Y

BASP/

/etc/basp
baspcfg show

Y

chkconfig

chkconfig --list

Y

class_net_dev

/sys/class/net/*/carrier
/sys/class/net/*/features
/sys/class/net/*/flags
/sys/class/net/*/iflink
/sys/class/net/*/type

Y

ctld_pinfo

/proc/XXX/cmdline
/proc/XXX/maps
/proc/XXX/fd
/proc/XXX/stat
/proc/XXX/statm
/proc/XXX/status

N

etc/

/etc/fcoe
/etc/gateways
/etc/hosts
/etc/iftab
/etc/iscsi
/etc/libvirt
/etc/mactab
/etc/modprobe.conf
/etc/NetworkManager
/etc/nsswitch.conf
/etc/quagga/
/etc/radvd.conf
/etc/rc.d/init.d
/etc/rc.d/rc.local
/etc/resolv.conf
/etc/rsyslog.conf
/etc/services
/etc/sysconfig/arptables
/etc/sysconfig/hwconf
/etc/sysctl.conf
/etc/syslog.conf
/etc/udev
/etc/xen
/etc/udev/rules.d

Y

etc/brctl

brctl show
brctl showmacs
brctl showstp

Y

etc/class_net

ls -l /sys/class/net

Y

etc/class_net_dev

/sys/class/net/*/carrier
/sys/class/net/*/features
/sys/class/net/*/flags
/sys/class/net/*/iflink
/sys/class/net/*/type

Y

etc/rc_list

ls /etc/rc.d/*

Y

etc/selinux

/etc/selinux/config
/usr/sbin/sestatus -v
/usr/sbin/semodule -lv

Y

/etc/selinux/targeted/contexts/files/file_contexts
/var/log/audit/audit.log
/sbin/ausearch -m AVC

N

etc/virsh_dumpxml_<domain>

virsh dumpxml <domain>
(domain information)
* <domain>: domain ID

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
ianscfg -s

Y

ifconfig_a

ifconfig -a

Y

include/

/lib/modules/`uname -r`/build/include/linux/
kernel.h
version.h
module.h
rhconfig.h
autoconf.h
/boot/kernel.h
/etc/redhat-release

Y

ipcs_a

ipcs -a
ipcs -t
ipcs -p
ipcs -c
ipcs -l
ipcs -u

Y

ip_info

ip link
ip addr
ip route
ip rule
ip neigh
ip tunnel
ip maddr
ip mroute

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*
/var/log/dmesg.log*
/var/log/libvirt/*
/var/log/messages*
/var/log/xen/xend.log*

N

lsmod

lsmod

Y

lspci

lspci

Y

netstat

netstat -na
netstat -ni
netstat -np
netstat -nr
netstat -na -A inet6
netstat -nr -A inet6
netstat -ng
netstat -ns

Y

proc_dev

/proc/devices

Y

proc_net/

/proc/net/

N

ps_ewfl

ps -ewfl

Y

sel_pinfo

/proc/XXX/cmdline
/proc/XXX/maps
/proc/XXX/fd
/proc/XXX/stat
/proc/XXX/statm
/proc/XXX/status

N

sysconfig/

/etc/sysconfig/hwconf
/etc/sysconfig/network
/etc/sysconfig/netdump
/etc/sysconfig/ntpd
/etc/sysconfig/static-routes
/etc/sysconfig/network-scripts/

Y

sysctl_a

sysctl -a

N

sys_info

/proc/cgroups
/proc/cpuinfo
/proc/interrupts
/proc/meminfo
/proc/iomem
/proc/ioports
/proc/slabinfo

Y

uamlog

/var/opt/FJSVfupde/log/*

N

uname_a

uname -a

Y

uptime

uptime

Y

GLS information:
hanetInfo/

config/

/etc/opt/FJSVhanet/config/

Y

dev_sha

ls -l /dev/sha

Y

dsp_conf

dsphanet
dsphanet -o
dsphanet -v
dspobserv
dspobserv -ddd
dsppathmon
dsppoll

Y

filelist_tmp

ls -la/var/opt/FJSVhanet/tmp/

Y

log/

/var/opt/FJSVhanet/log/

Y

modinfo

modinfo sha

Y

print_conf

hanetconfig print
hanetpathmon target
hanetpathmon param
hanetpoll print
hanetpoll devparam
hanetmask print
hanetparam print
hanetgw print
hanetobserv print
hanethvrsc print

Y

rpminfo

rpm -qi FJSVhanet
rpm -qi kmod-FJSVhanet-drv
rpm -qi kmod-FJSVhanet-drv-PAE
rpm -qi kmod-FJSVhanet-drv-xen

Y

script/

/etc/opt/FJSVhanet/script/

Y

sha.ko

/opt/FJSVhanet/usr/kernel/drv/sha.ko

Y

Cluster system information:
RCInfo/

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]