PRIMECLUSTER Global Link Services Configuration and Administration Guide: Redundant Line Control Function 4.1 (for Solaris(TM) Operating System)
Contents Index PreviousNext

Chapter 6 Maintenance> 6.1 Redundant Line Control function Troubleshooting Data to be Collected

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 opetion, 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:

[Meaning of the symbols] Y: It extracts. N: It does not extract.

Type

File name when collected

Collected information

minimum examination materials

System information:
OSInfo/

etc/

/etc/hosts

Y

/etc/netmasks

Y

/etc/nsswitch.conf

Y

/etc/gateways

Y

/etc/hostname*

Y

/etc/defaultrouter

Y

/etc/notrouter

Y

etc/inet

/etc/inet/*

Y

etc/svc/log

/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

uname_a

uname -a

Y

ifconfig_a

ifconfig -a

Y

netstat

netstat -na
netstat -ni
netstat -np
netstat -nr

Y

filelist_etc

ls -l /etc/defaultrouter
ls -l /etc/notrouter
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:
hanetInfo/

config/

/etc/opt/FJSVhanet/config/*

Y

log/

/var/opt/FJSVhanet/log/*

Y

version

hanetconfig version

Y

patchinfo

patchadd -p | grep FJSVhanet

Y

filelist_tmp

/var/opt/FJSVhanet/tmp/*

Y

dsphanet

dsphanet
dsphanet -o
dsphanet -c

Y

dsppoll

dsppoll
dsppoll -c

Y

SafeCLUSTER information:
SCInfo/

version_clapi

pkgparam FJSVclapi VERSION

N

clgettree

clgettree

N

clgettree_s

clgettree -s

N

PRIMECLUSTER information:
RCInfo/

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



Contents Index PreviousNext

All Rights Reserved, Copyright (C) FUJITSU LIMITED 2005