From Wiki-UX.info

Wiki-UX / How to use SysInfo to collect HP-UX System Information
Jump to: navigation, search

How to use SysInfo to collect HP-UX System Information

Abstract

The following article present an overview of the utilization of Michael Shapiro's SysInfo data collection tool. Sysinfo provides detailed information on key HP-UX configuration elements, usefull to gather system information when beginning problem profiling.

No tool will resolve an issue just by data gathering. Analysis and judgment is required at every step. Nonetheless, the command goes a good millage to have a first eagle-eye overview of a system configuration.

Contents


Obtain SysInfo distribution depot

The latest version of SysInfo is available at The "Official" SysInfo Page. The tool is continuously updated, review often to ensure that a current version of the tool is been used. Using a current version ensures that the different personalities of the Operating System environments are taking into account when gathering data.

Installing Sysinfo Product

1. Upload the distribution depot to a temporary directory (/var/tmp) and uncompress it.

Sysinfo is provided as a Software Distributor (SD-UX) depot. Standard installation command allows to install the product.

# ls -l /var/tmp/Sys*
-rw-r--r--   1 root       sys         877240 Oct 16 13:01 /var/tmp/SysInfo.6.21.depot.gz
 
# /usr/contrib/bin/gunzip /var/tmp/SysInfo.6.21.depot.gz


2. Verify the depot content and install SysInfo product.

# swlist -s /var/tmp/SysInfo.6.21.depot
# Initializing...
# Contacting target "delta"...
#
# Target:  delta:/var/tmp/SysInfo.6.21.depot
#
 
#
# No Bundle(s) on delta:/var/tmp/SysInfo.6.21.depot
# Product(s):
#
 
  SysInfo       A.06.21        HPUX system data collector
# swinstall -s /var/tmp/SysInfo.6.21.depot SysInfo
 
=======  10/16/09 13:03:57 CDT  BEGIN swinstall SESSION
         (non-interactive) (jobid=delta-0009)
 
       * Session started for user "root@delta".
 
       * Beginning Selection
       * Target connection succeeded for "delta:/".
       * Source:                 /var/tmp/SysInfo.6.21.depot
       * Targets:                delta:/
       * Software selections:
             SysInfo.SYS-INFO,r=A.06.21,v=HP
       * Selection succeeded.
 
 
       * Beginning Analysis and Execution
       * Session selections have been saved in the file
         "/root/.sw/sessions/swinstall.last".
       * The analysis phase succeeded for "delta:/".
       * The execution phase succeeded for "delta:/".
       * Analysis and Execution succeeded.
 
 
NOTE:    More information may be found in the agent logfile using the
         command "swjob -a log delta-0009 @ delta:/".
 
=======  10/16/09 13:04:07 CDT  END swinstall SESSION (non-interactive)
         (jobid=delta-0009)


3. Check the product state.

# swlist -a state SysInfo
# Initializing...
# Contacting target "delta"...
#
# Target:  delta:/
#
 
# SysInfo
  SysInfo.SYS-INFO      configured

Collecting configuration data with SysInfo

For complete details on the usage of SysInfo review the product manpage SysInfo(1). The data can be collected and storage as a text file using the following command.

# SysInfo -bo /tmp/$(hostname).sysinfo.txt

Command execution will take a while to complete. On the user session, an output similar to the following will be displayed while running.

# SysInfo -bo /tmp/$(hostname).sysinfo.out
 
 @@@@             @@@@@
@                   @
@     @   @  @@@    @   @@   @ @@@@  @@@@
 @@@@  @ @  @       @   @ @  @ @    @    @
     @  @    @@@    @   @  @ @ @@@  @    @
     @  @       @   @   @   @@ @    @    @
 @@@@   @    @@@  @@@@@ @    @ @     @@@@
 
Copyright 1999-2009 Hewlett-Packard Company.
All rights reserved.
 
SysInfo 6.21 by HP Services
 
Configuration data for delta
Collected on Fri Oct 16 13:20:09 CDT 2009
 
 
Output file is /tmp/delta.sysinfo.txt
Gathering lvlnboot data...
Running HPUX 11.31
This is a PA-RISC system
Volume Manager(s): Logical Volume Manager (LVM)
 
Checking for config file - system_db
  Found config file = /usr/bin/system_db
Checking for serial number...USE4619LLX
Launching ioscan
Finished ioscan
Gathering bdf information...OK...
Launching LVM scan; this could take a while...
  Processing Volume Groups...
  Processing logical volumes.............
  Processing physical volumes........
Finished LVM scan
Checking to see if we're running in a partition; Not in partition
Checking cstm daemon....diagmond daemon is running.
Checking cstm version.................cstm timed out...skipping...
Collecting system data...
  Gathering system memory information...
  Gathering system uptime information...
  Gathering last patch information...
  Looking for the Root Volume Group.../dev/vg00
  Looking for the root dump device.../dev/vg00/lvol2
  Checking to see if the system is a Trusted System...No
  Determining kernel size...
  Gathering dump data...
    SAVECRASH is undefined
    CRASHCONF_ENABLED is enabled
Collecting H/W partitionable complex information.../usr/sbin/parstatus not found
Collecting Virtual Partition information......no VPAR's found
Collecting kernel information....please wait....
Collecting /stand/bootconf data...
Scanning network cards...
Scanning filesystems...........
Retrieving io_scan data
Checking for the Device File System (DevFS)...DevFS is not mounted...
Collecting ICOD/ICAP information...iCOD not supported
Collecting SCSI bus data using mptconfig.....
Collecting Fibre Channel device information..
Collecting Secure Path information...not supported on HPUX 11.31...
Collecting SmartArray RAID card data...No SmartArray devices found...
Collecting online addition/replacement of PCI IO cards...
Retrieving io_scan data
Scanning physical disks...Processing 6 disks.........
Getting lvlnboot data
Getting physical disks that are not in a VG........
Getting persisent device attributes.........
Checking for EVA Information...No EVA Luns discovered...
Checking for XP Disk Array Information......Cannot find any XP disks...
Retrieving lvm_scan data
Scanning volume groups......
Scanning VG configuration backup files...
Generating map files for all volume groups....
Checking volume group configuration backups...
Checking for inactive volume groups....
Checking for volume groups that don't exist in the /etc/lvmtab file....
Verifying that /, /stand, /opt, /tmp, /usr, /var, and /home are in /dev/vg00...
Generating LIF listing for boot disks.
Retrieving lvm_scan data
Scanning logical volumes.............
Generating VG to physical disk mappings....
Generating LVOL to physical disk mappings..........
Collecting software data
Collecting registered software depots
Checking for incompletely installed software
Checking system security
Checking system diagnostics ..
Checking Ignite-UX.
Collecting ISEE data
Checking to see if ServiceGuard is installed.
Checking to see if Omniback/Data Protector is installed and running...not installed...
Collecting NNM information
  NNM is not installed
Collecting OVO information
  OVO is not installed
Collecting Glance/MeasureWare/Perfview information.
Checking system logfiles
Errors and/or Warnings were found. Please check output file /tmp/delta.sysinfo.out
 
End SysInfo 6.21

Configuration Files:

If the -s option is used, SysInfo will gather the systems configuration files and put them in a tar'ed and gzip'ed file. The file name is the SysInfo output file name with "_config_files.tar" appended to it. The following files will be gathered:

  1. All ASCII files under /etc
  2. /stand/bootconf
  3. /stand/system (if it exists)
  4. /stand/current/system (if it exists)
  5. /var/adm/inetd.sec -
  6. Printer information from the /usr/sam/lbin/lpmgr command

Detailed SysInfo Output Examples

1. ASCII output file:

# SysInfo -sbo /tmp/delta.sysinfo.txt

2. HTML (-H) output file:

# SysInfo -sHbo /tmp/delta.sysinfo.htm

3. System Configuration Files: In both examples, the -s option was used to generate delta.sysinfo.htm_config_files.tar.gz file.

Reference

Authors

This page was last modified on 16 October 2009, at 17:32. This page has been accessed 7,909 times.