HP 9000 rp3410 Faq
HP 9000 rp3410 Faq

HP 9000 rp3410 Faq

Hp servers running hp-ux - getsysinfo.sh 9.19 data collection script readme and faq
Hide thumbs Also See for 9000 rp3410:

Quick Links

getsysinfo.sh (current version: 9.19, 24.09.2013 )
Latest revision of this document is also available on
getsysinfo.sh is a data collection shell (ksh) script for HP-UX (≥ 10.20) used by Hewlett Packard
hardware support for Business Critical Server (BCS).
It collects diagnostic data for hardware troubleshooting from a running
Server.
The script is optimized for small output and reliability even on systems with bad hardware. It not
only collects various log files, but also runs some common commands to obtain additional
troubleshooting information.
The result is a gzip`ed tar archive that can be viewed with WinZIP, tar/gzip or other tools. The
default output filename (can be changed with the -n option) is:
/tmp/sysinfo_hostname_timestamp.tgz
Some of the raw binary log files in the sysinfo.tgz archive need special viewers and can only be
analyzed by HP support.
New since Version 9.0 is the built in data collection from Onboard Administrators (option -oa) via
telnet. In addition to this getsysinfo.sh can now call the additional data collectors
hpmpl.285.jar - java tool to collect data from iLO Management Processors (MP) : option -mp
sd2collect.pl - perl script for data collection from Superdome 2 OA: option -sd2
sginfo
-shell script to obtain Service Guard related information.
Note that these additional tools have to be present in the local directory unless you have one of the
embedded getsysinfo versions (getsysinfo.sd2.sh, getsysinfo.mp.sh, getsysinfo.all.sh) which have
one or all tools embedded as a shar archive.
Syntax (run as root !)
ksh ./getsysinfo.sh [options]
default output will be written to /tmp/sysinfo_hostname_timestamp.tgz
Options (no option is needed unless HP support asks to use a specific option)
-a
: get all information except -diag (-h -f -san -xp -p -net -d)
-s
: secure, use only non hanging (script hangs) commands
-h
: get all files from /var/tombstones directory instead only those
: younger than 180 days.Collect SFM history and SAL records
-f
: do not truncate some of the logfiles to 1024 kB
-f "regexp" : filter syslog files with regexp (Example: "inetd|ftpd")
-sh
: make shell archive /tmp/sysinfo_hostname_timestamp.shar (ascii)
-u
: uuencoded tgz file => /tmp/sysinfo_hostname_timestamp.uu (ascii)
-n FN: explicitly set output filename to FN
-d
: bdf / diskinfo from all disks (scsimgr get_info on 11.31)
-san : capture fcddiag (or td-,fclp-,fcocdiag)
-net : capture netfmt /var/adm/nettl.LOG000
-p
: include information from print_manifest
-diag: capture additional data for diagnostics SW troubleshooting
-diag -diag: capture more diag data - Huge Output may be the result !!!
-sas : force running of sasmgr
-sw
: capture additional information needed for software support
-c [all] : run crashinfo on last or all crashdumps (<180 days)
-xp
: get information about XP diskarrays with xpinfo (may take long)
-oa
: capture show all etc. from onboard administrator (OA) via telnet
HP Support
Center.
HP 9000
or
Integrity
Table of Contents
loading

Summary of Contents for HP 9000 rp3410

  • Page 1 getsysinfo.sh (current version: 9.19, 24.09.2013 ) Latest revision of this document is also available on HP Support Center. getsysinfo.sh is a data collection shell (ksh) script for HP-UX (≥ 10.20) used by Hewlett Packard hardware support for Business Critical Server (BCS). It collects diagnostic data for hardware troubleshooting from a running HP 9000 Integrity...
  • Page 2: Table Of Contents

    Only if external script hpmpl.jar is in same dir or with getsysinfo.mp.sh or getsysinfo.all.sh: : run external mp collection java program hpmpl.285.jar -mpopt "options" - set additional options for hpmpl.285.jar Only if external script sd2collect.pl is in same dir or with getsysinfo.sd2.sh or getsysinfo.all.sh: -sd2 : capture Superdome 2 or C[37]000 OA logs with external sd2collect.pl -sd2opt "options"...
  • Page 3: How Long Does A Script Run Take

    (CTRL-C) and run ksh getsysinfo.sh -s Only if you want to collect more data than usual, you can add the options “-h” (also logfiles files older than 180 days are collected) “-f” (do not truncate large files to 1 MB) “-sw”...
  • Page 4: What Is Collected

    What is collected ? The /tmp/sysinfo.[shar|tgz|uu] file contains the following Files: bdf_swapinfo.txt Output of bdf and swapinfo -tam bootconf.txt lvlnboot -v, lifls of bootdisks, AUTO file(s), setboot, ll /stand/vmunix/* ccerrlog GSP Chassis codes (from /var/stm/logs/os, binary file, only PA-Risc Servers) config general information (uname, model, etc.) kernelconf.txt...
  • Page 5: How To Capture Additional Data From An Mp Or Oa With Hpmpl.jar

    rst.log RST event.log file /var/opt/resmon/log/rst.log sasdiag like information about SAS disks and cards connected to LSI SAS HBAs sas.txt (improved own script) sautil.txt information about Smartarray raid controllers service_guard.txt cmclview -v output (if Service Guard cmcld is running) sfmconfig.txt output of sfmconfig -w -q (system fault manager config) sfm_event.log /var/opt/sfm/log/event.log sfmlog.txt...
  • Page 6: How To Capture Additional Data From C-Class Or Superdome 2 Oa

    getsysinfo.sh -mp -mpopt “-ssh -oamp 12” List of all HPMPL options for use with -mpopt getsysinfo.sh -mp -mpopt “” HPMPL Options: -h host name set hostname -u username set username -p password set password -f outputfile set output filename -zip create ZIP archive instead of flat text file -port port...
  • Page 7: How To Capture Service Guard Related Information

    getsysinfo.sh -sd2 -sd2opt “-d MM/DD/YY” # get only data from after that date getsysinfo.sh -sd2 -sd2opt “hostname user password” Note: by default, sd2collect only captures data from the last 30 days unless getsysinfo.sh option -h or -a was given. How to capture Service Guard related information ? By giving either the -sw or -sginfo option the script sginfo is run.
  • Page 8: How To Transfer Data Via Ascii Terminal Applications With Cut&Paste

    MAXFILESIZE=1024 # Maximum size of some logfile in kbytes GETFIRSTLINES=2000 # if logfiles are truncated, also the first lines are saved MAXBACKDATE=180 # for some logfiles: get information less than 180 days old RUNCRASHINFO=0 #1=run crashinfo on last crash #2=run crashinfo for all crashes SAN=0 #do not capture fcddiag by default NET=0 #do not capture nettl and netstat logs by default diskjn=0 #do not query all disks with diskinfo or scsimgr by default...

Table of Contents