[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 opetion, 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:
[Meaning of the symbols] Y: It extracts. N: It does not extract.
Type | File name when collected | Collected information | Minimum examination materials |
---|---|---|---|
System information: | etc/ | /etc/hosts | Y |
/etc/netmasks | Y | ||
/etc/nsswitch.conf | Y | ||
/etc/gateways | Y | ||
/etc/hostname* | Y | ||
/etc/defaultrouter | Y | ||
/etc/notrouter | Y | ||
/etc/mnttab | Y | ||
/etc/vfstab | Y | ||
etc/inet/ | /etc/inet/* | Y | |
etc/svc/volatile/ | /etc/svc/volatile/* | N | |
etc/ipf/ | /etc/ipf/* | Y | |
adm/ | /var/adm/messages* | N | |
var/svc/log/ | /var/svc/log/network-loopback:default.log | N | |
/var/svc/log/network-physical:default.log | N | ||
/var/svc/log/network-initial:default.log | N | ||
/var/svc/log/network-service:default.log | N | ||
/var/svc/log/system-zones:default.log | N | ||
/var/svc/log/network-inetd:default.log | N | ||
/var/svc/log/network-fjsvhanet:default.log | N | ||
/var/svc/log/network-fjsvhanet-poll:default.log | N | ||
/var/svc/log/system-filesystem-local:default.log | N | ||
uname_a | uname -a | Y | |
ifconfig_a | ifconfig -a | Y | |
netstat | netstat -na | Y | |
filelist_etc | ls -l /etc/hostname* | Y | |
ip_forward | /usr/sbin/ndd -get /dev/ip ip_forwarding | Y | |
ipcs_a | ipcs -a | Y | |
ipaddrsel | ipaddrsel | Y | |
ipfstat | ipfstat -io | Y | |
ps_ef | ps -ef | N | |
pstack | pstack pid | N | |
GLS information: | config/ | /etc/opt/FJSVhanet/config/* | Y |
log/ | /var/opt/FJSVhanet/log/* | Y | |
version | hanetconfig version | Y | |
patchinfo | patchadd -p | grep FJSVhanet | Y | |
filelist_tmp | ls -la /var/opt/FJSVhanet/tmp/* | Y | |
dsphanet | dsphanet | Y | |
dsppoll | dsppoll | Y | |
Cluster information (CRM): | version_clapi | pkgparam FJSVclapi VERSION | N |
clgettree | clgettree | N | |
clgettree_s | clgettree -s | N | |
Cluster information (RMS): | log/ | /var/opt/reliant/log/* | N |
hvdisp_a | hvdisp -a | N |
[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.Z.
Ex.) hostname031030084916.tar.Z
[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 /export/home/user1.
# /opt/FJSVhanet/usr/sbin/hanet_snap -s /export/home/user1 |