Top
PRIMECLUSTER Global Link Services Configuration and AdministrationGuide 4.6Redundant Line Control Function
FUJITSU Software

6.1.1 Command to collect materials

[Form]

/opt/FJSVhanet/usr/sbin/hanet_snap [-s] [save-directory]

[Detail of the function]

This command collects the investigation material 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 investigation material.
When omitted this option, all the investigation material is 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. If the target command or the file does not exist in the system, the execution result of the command or the file is not collected.

[Meaning] Y: Collected N: Not collected

Type

File name when collected

Collected information

Minimum investigation material

System
information:
OSInfo/

arp_n

arp -n

Y

arptables_list

arptables --list

Y

BASP/

/etc/basp
baspcfg show

Y

chkconfig

chkconfig --list

Y

ctld_pinfo

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

N

dmidecode_sysinfo

dmidecode -s system-manufacturer
dmidecode -s system-product-name
dmidecode -s system-version

Y

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/bridge_info

bridge fdb show
bridge link show
bridge mdb show
bridge vlan show
ip -d link show master <bridge_name>
* <bridge_name>: bridge name

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/firewalld/firewall_cmd_info

firewall-cmd --state
firewall-cmd --list-all-zones
firewall-cmd --list-lockdown-whitelist-commands
firewall-cmd --list-lockdown-whitelist-contexts
firewall-cmd --list-lockdown-whitelist-uids
firewall-cmd --list-lockdown-whitelist-users

Y

etc/firewalld/firewalld.conf

/etc/firewalld/firewalld.conf

Y

etc/firewalld/icmptypes/

/etc/firewalld/icmptypes/*.xml

Y

etc/firewalld/services/

/etc/firewalld/services/*.xml

Y

etc/firewalld/zones/

/etc/firewalld/zones/*.xml

Y

etc/frr

/etc/frr/*

Y

etc/fstab

/etc/fstab

Y

etc/rc_list

ls /etc/rc.d/*

Y

etc/routel

routel

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

N

etc/sysctl.d/

/etc/sysctl.d/*

Y

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

etc/NetworkManager/nmcli_info

/usr/bin/nmcli c
/usr/bin/nmcli d
/usr/bin/nmcli g
/usr/bin/nmcli n

Y

etc/NetworkManager/nmcli_devices_details

nmcli d show

Y

etc/NetworkManager/nmcli_connections_details/<connection_name>

nmcli c show <connection_name>
* <connection_name>: connection profile name

Y

ethdev_info

ethtool ethX

Y

free

free -bt

Y

iANS/

/etc/ians
ianscfg -s

Y

ifconfig_a

ifconfig -a

Y

ifstat_ae

ifstat -ae

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
ip mrule
ip netns list
ip tcp_metrics
ip tuntap
ip -f inet6 route
ip -s 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*
/var/log/dmesg.log*
/var/log/libvirt/*
/var/log/messages*
/var/log/xen/xend.log*

N

log/journal_log

journalctl --all --full

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

nft_list_ruleset

nft list ruleset

Y

nftables.conf

/etc/sysconfig/nftables.conf

Y

nstat_az

nstat -az

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

ss

ss -f inet6 -na
ss -na
ss -np

Y

sysconfig/

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

Y

sysconfig/chronyd

/etc/sysconfig/chronyd

Y

sysctl_a

sysctl -a

N

systemd/systemctl_list

systemctl list-dependencies --full
systemctl list-units --all --full
systemctl list-unit-files --all --full

N

systemd/systemctl_fjsvhanet_info

systemctl show fjsvhanet.service --all --full
systemctl status fjsvhanet.service --full

Y

systemd/systemd_analyze_plot.svg

systemd-analyze plot

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

usr/lib/sysctl.d/

/usr/lib/sysctl.d/*

Y

GLS information:
hanetInfo/

config/

/etc/opt/FJSVhanet/config/

Y

dev_sha

ls -l /dev/sha

Y

dsp_conf

dsphanet
dsphanet -o
dsphanet -v
dsppathmon
dspobserv
dspobserv -ddd
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-xen
rpm -qi kmod-FJSVhanet-drv-PAE

Y

script/

/etc/opt/FJSVhanet/script/

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.

(*) /proc/net/rpc cannot be obtained.

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