HP 9000 Superdome SX1000 HP Servers running HP-UX - getsysinfo.sh 9.19 data co - Page 6

List of all HPMPL options for use with -mpopt

Page 6 highlights

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 Port used for telnet (default 23) or ssh (default 22) -t timeout timeout in seconds (in case a transaction would time out with the default timeout) -nocl disable capture of all console logs -nosl disable capture of all event/chassis logs -nocm disable commands in cm> mode (for MPs) -nocr Disable checkrevs collection for SD2 -maxfpl N max number of FPL logs to capture (50000) -maxmca N max number of MCA logs to capture for SD2 (5) -oamp [bays] collect MP logs via Onboard Administrator (OA) bays is by default 12345678 (all blade bays) -oavc [user pass] collect VC data via OA (login req.) collect VC connect support dump and save it to the FTP server specified by the FTPURL. -vcdumpurl FTPURL FTPURL must be of the form ftp://user:pass@IP . No subdir or filename can be specified on the FTP server. -oadiag capture additional diagnostic data for OA debug (++diag--, DBGLOG, DBGERR, N_STATS) -repeat N run log capture N times -sleep N wait N seconds (default 86400) between captures -zdt run zdtcrt and zdtpmt on iLO3 to get post mortem traces -v print debug info. -v -v logs all incoming input. How to capture additional data from C-Class or Superdome 2 OA ? With -mp option (see previous chapter on page 5) ksh getsysinfo.all.sh -mp With built in -oa option (no hpmpl.jar or sd2collect.pl needed) Getsysinfo.sh can capture the "show all" output from Onboard Administrators of C7000, C3000 and Superdome 2 Onboard Administrators by connecting with the HP-UX telnet to the OA. You see the whole output from the telnet session. In case of problems, press CTRL-C. The output will go into a file show_all.hostname.txt in the sysinfo.tgz . With sd2collect.pl With the "-sd2" option, getsysinfo.sh automatically calls the perl script sd2collect.pl which have to be in the same directory as getsysinfo.sh unless you use the embedded versions getsysinfo.sd2.sh or getsysinfo.ms.sh. The output will go into a subdirectory sd2collect in the sysinfo.tgz archive. getsysinfo.sh -sd2 #sd2collect.pl will ask for login data to OA getsysinfo.sh -sd2 -sd2opt "-s" # get less data to save time getsysinfo.sh -sd2 -sd2opt "-a" # get all data (output may be huge)

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

getsysinfo.sh -mp -mpopt “-ssh -oamp 12”
List of all HPMPL options for use with -mpopt
getsysinfo.sh -mp -mpopt “<list of options>”
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
Port used for telnet (default 23) or ssh (default 22)
-t timeout
timeout in seconds (in case a transaction would time out with the default timeout)
-nocl
disable capture of all console logs
-nosl
disable capture of all event/chassis logs
-nocm
disable commands in cm> mode (for MPs)
-nocr
Disable checkrevs collection for SD2
-maxfpl N
max number of FPL logs to capture (50000)
-maxmca N
max number of MCA logs to capture for SD2 (5)
-oamp [bays]
collect MP logs via Onboard Administrator (OA)
bays is by default 12345678 (all blade bays)
-oavc [user pass]
collect VC data via OA (login req.)
-vcdumpurl FTPURL
collect VC connect support dump and save it to the FTP server specified by the FTPURL.
FTPURL must be of the form
ftp://user:pass@IP
.
No subdir or filename can be specified on the FTP server.
-oadiag
capture additional diagnostic data for OA debug (++diag--, DBGLOG, DBGERR, N_STATS)
-repeat N
run log capture N times
-sleep N
wait N seconds (default 86400) between captures
-zdt
run zdtcrt and zdtpmt on iLO3 to get post mortem traces
-v
print debug info. -v -v logs all incoming input.
How to capture additional data from C-Class or Superdome 2 OA ?
With -mp option (see previous chapter on page 5)
ksh getsysinfo.all.sh -mp
With built in -oa option
(no hpmpl.jar or sd2collect.pl needed)
Getsysinfo.sh can capture the “show all” output from Onboard Administrators of C7000, C3000 and
Superdome 2 Onboard Administrators by connecting with the HP-UX telnet
to the OA. You see the
whole output from the telnet session. In case of problems, press CTRL-C.
The output will go into a file show_all.hostname.txt in the sysinfo.tgz .
With sd2collect.pl
With the “-sd2” option, getsysinfo.sh automatically calls the perl script sd2collect.pl which have to
be in the same directory as getsysinfo.sh unless you use the embedded versions getsysinfo.sd2.sh or
getsysinfo.ms.sh.
The output will go into a subdirectory sd2collect in the sysinfo.tgz archive.
getsysinfo.sh -sd2
#sd2collect.pl will ask for login data to OA
getsysinfo.sh -sd2 -sd2opt “-s”
# get less data to save time
getsysinfo.sh -sd2 -sd2opt “-a”
# get all data (output may be huge)