supportconfig for Linux

0 Likes

Description


Table of Contents

 

 

 

 



The updateSupportutils command compares the current versions of supportutils and its plugins to those installed on your server. Those that are outdated or missing are automatically downloaded and installed. Only those plugins that apply to your server are installed. The command supports creating a weekly or monthly cron entry to automatically check and update the supportutils package and its plugins. Click here to see a list of the current supportutils and plugin packages. The updateSupportutils command help screen follows:

################################################################
# Supportutils Auto Update Client
################################################################

Usage: updateSupportutils [OPTION]

Description
Makes sure the supportutils and supportutils plugin packages are
installed and current.

Options
-m Install a monthly cron for updateSupportutils
-w Install a weekly cron for updateSupportutils
-d Delete all installed cron entries for updateSupportutils
-l List all cron entries for updateSupportutils
-u Force RPM update on applicable packages
-p Exclude supportutils plugin packages
-v Verbose mode
-h This screen


Note: Detailed system information and logs are collected and organized in a manner that helps reduce service request resolution times. Private system information can be disclosed when using this tool. If this is a concern, please prune private data from the log files. Several startup options are available to exclude more sensitive information. Refer to the supportconfig(8) man page to see these options.

Update Instructions


Run updateSupportutils as root.

If you do not already have the supportutils-plugin-updater package installed, refer to the Installation Instructions below. If your server does not have network connectivity to http://download.opensuse.org, then install using the Option B (Manual) method.

Installation Instructions


Option A (Automated)

    1. Download the supportutils-plugin-updater

 

    1. Login as root

 

    1. Install the updater package# rpm -Uvh supportutils-plugin-updater-*.noarch.rpm

 

    1. Run updateSupportutils as root# updateSupportutils



Option B (Manual)

    1. Download the supportutils and any applicable supportutils plugin packages for your server. Click here for the SLES10 repository.

 

    1. Login as root

 

    1. Install the supportutils-X.XX-XX.XX.noarch.rpm# rpm -Uvh supportutils-X.XX-XX.XX.noarch.rpm

 

    1. Install the supportutils-plugin-*-X.X-X.X.norarch.rpm packages you want# rpm -Uvh supportutils-plugin-*-X.X-X.X.norarch.rpm



Using Supportconfig


To upload a supportconfig to Novell, run supportconfig -ur $srnum; where $srnum is your 11 digit service request number. You can also just run supportconfig for local use. By default, supportconfig saves its information in /var/log/nts_hostname_date_time.tbz.

Reporting Bugs


Updates to Supportconfig Version 3.0-40:

    • Fixed X and SYSFS looping issue with /sys/class/drm

 

    • Added kGraft detection in updates.txt

 

    • Updated xen.txt with SLE12 grub2 and systemd information

 

    • Fixed plugin detection

 

    • Added journalctl to boot.txt

 

    • Added /proc/device-tree under ppc64 directory

 

    • Added perl-Bootloader log to y2log.txt



Updates to Supportconfig Version 3.0-26:

    • Support for the upcoming SLE12 added

 

    • Limited mcelog to VAR_OPTION_LINE_COUNT

 

 

    • Fixed LVM processing

 

    • Added OPTION_OES to activate other OES components

 

    • Fixed ipv6 flush permission error

 

    • Env gets sysctl config files

 

    • Fixed duplicate snapshot listings

 

    • Scanning base_reachable_time excluded

 

    • Corrected man page headers

 

    • Fixed drm configuration commands

 

    • novell-nss.txt captures VolumeInfo.xml file

 

    • Added novell-ncs-resource*.txt files

 

    • Included NCS parsed log information

 

    • Compatible with SLE10-SLE12

 

Labels:

Collateral
How To-Best Practice
Comment List
Anonymous
  • SR numbers are now 12 digits long and supportconfig can no longer transmit them to Micro Focus.
  • No, just run supportconfig with the -r and it will save locally. Copy the supportconfig off and upload it manually to ftp.novell.com or anywhere else.
  • Is proxy authentication supported? Our server is behind a squid proxy with eDirectory authentication.
  • Some servers don't like newer version, they don't output correctly. Once uninstalling older version can't go back. Can we have a ZIP download that includes older versions?

    Example, update.txt:

    echo $$ > /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.pid
    /usr/lib/zypp/zypp-query-pool products >> /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.out 2>&1
    echo $? > /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.returncode
    if [ -e /var/log/nts_SERVER1_120426_1150/updates.txt ]; then
    sed -i -e "$(grep -n /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.out /var/log/nts_SERVER1_120426_1150/updates.txt | cut -d: -f1)r /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.out" /var/log/nts_SERVER1_120426_1150/updates.txt 2>/dev/null
    sed -i -e "/$(basename /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.out)/d" /var/log/nts_SERVER1_120426_1150/updates.txt 2>/dev/null
    rm -f /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE.out
    fi
    rm -f /var/log/nts_SERVER1_120426_1150/updates.txt.zypp-query-pool.1335434122.SEMAPHORE
  • This is very useful tool for data collection. we have found this very useful for database administration, when database hits with problem of operating system we use this tool for data collection.
  • That is the current distributed version. I will be starting the patch process soon to update all the distributions with the current supportutils package available on Cool Solutions.
  • supportconfig, chkbin, schealth

    These seem now part of supportutils in sle11 :-)

    BTW self is one of the "Technically Challenged" !



    localhost:/home/paulparker # zypper se supportconfig
    Refreshing service 'nu_novell_com'.
    Loading repository data...
    Reading installed packages...
    No packages found.

    localhost:/home/paulparker # zypper se supportutils
    Refreshing service 'nu_novell_com'.
    Loading repository data...
    Reading installed packages...

    S | Name | Summary | Type
    --+----------------------+----------------------------------+-----------
    i | sledsp1-supportutils | Security update for supportutils | patch
    i | supportutils | Support Troubleshooting Tools | package
    | supportutils | Support Troubleshooting Tools | srcpackage
    localhost:/home/paulparker #



    www.novell.com/.../

    In this document find : Administration Guide
    open, then find : Support and Common Tasks
    open, then find : Gathering System Information for Support
    open, then find : Using Supportconfig



    Current details from my system:

    localhost:/home/paulparker # zypper info supportutils
    Refreshing service 'nu_novell_com'.
    Loading repository data...
    Reading installed packages...


    Information for package supportutils:

    Repository: SLED11-SP1-Updates
    Name: supportutils
    Version: 1.20-0.10.1
    Arch: noarch
    Vendor: SUSE LINUX Products GmbH, Nuernberg, Germany
    Support Level: Level 3
    Installed: Yes
    Status: up-to-date
    Installed Size: 198.0 KiB
    Summary: Support Troubleshooting Tools
    Description:
    A package containing troubleshooting tools. This package contains the
    following: supportconfig, chkbin, schealth
    localhost:/home/paulparker #
    localhost:/home/paulparker # supportconfig --help

    =============================================================================
    Support Utilities - Supportconfig
    Script Version: 2.25-237
    Script Date: 2010 10 25
    =============================================================================

    ----deleted----
    localhost:/home/paulparker # chkbin --help

    ####################################################################
    Binary Check Tool, v1.01-25
    Date: 07/15/11, 17:21:21
    Kernel: 2.6.32.36-0.5-default, Hardware: x86_64
    ####################################################################
    ----deleted----
    localhost:/home/paulparker # schealth --help
    ----deleted----
    ####################################################
    Supportconfig Health Check Report Tool v1.00-5
    Date Checked: 07/15/11 17:22:01
    ####################################################
    ----deleted----




    Paul.
  • Sweet! You certainly manage to get these fixed fast!
  • Perfect, that did the trick ;-) Many thanks
  • I printed my output above in my post. The archive is tarred and compressed. Run the following:
    1. cd /var/log
    2. tar jxvf nts_ejma_110316_1044.tbz
    3. cd nts_ejma_110316_1044
    4. cat basic-health-check.txt

    NOTE: You are running a old version of supportconfig. Please update per the instructions above and retest.
Related Discussions
Recommended