Softpanorama

May the source be with you, but remember the KISS principle ;-)
Home Switchboard Unix Administration Red Hat TCP/IP Networks Neoliberalism Toxic Managers
(slightly skeptical) Educational society promoting "Back to basics" movement against IT overcomplexity and  bastardization of classic Unix

Suma

Update your AIX system with SUMA

Shiv Dutta [email protected]), Technical Consultant, IBM Steven Molis, Software Engineer, IBM

Summary:  Learn how the Service Update Management Assistant (SUMA), a feature first introduced in AIX 5L™ Version 5.3, automates the update process for AIX® systems. We'll also examine issues surrounding AIX updates and how to implement specific steps to overcome them.

Date:  17 Nov 2006 (Published 10 Feb 2005)
 

Introduction

There are several articles on IBM sites devoted to SUMA.

With the release of AIX 5L™ Version 5.3, the Service Update Management Assistant (SUMA), a new feature, now allows you to automate the update process.

This Service Strategy also introduced the concepts of Service Pack (SP) and Concluding Service Pack (CSP). For detailed descriptions of these terminologies, refer to the AIX 5L Service Strategy and Best Practices document.

Where do I find the latest AIX fixes?
You can get the latest AIX fixes through SUMA. However, we do not recommend that you install the latest fixes. Instead, we recommend that you install the latest TL or SP, since these are tested as a unit and they go through a longer test cycle.
Can I get a list of fixes released after the latest maintenance package?
Yes. The suma  command can generate a list or download the filesets automatically. For example, you wish to generate a list of filesets that have been released since ML 5200-08. In addition, you want to run the suma  command on your AIX 5L Version 5.3 system. To make it work, you might run the following suma  command, making sure to set the option FilterSysFile=/dev/null, so that it won't filter against the software inventory of the system that you are running on. In this example, if the suma  command were run with the FilterSysFile  field having its default value of localhost, no Version 5.2 fixes would be reported, because the suma  command would see that the system was already at the Version 5.3 level.
 suma -x -a Action=Preview  -a RqType=Latest  -a FilterML=5200-08 \
            -a FilterSysFile=/dev/null

 
How do I create and schedule a task that downloads the latest security fixes monthly (for example, on the 15th of every month at 2:30 AM)?
You might type the following command:
suma -s "30 2 15 * *"  -a RqType=Security \
            -a DisplayName="Security fixes - 15th Monthly"

The scheduling information is in crontab format. For more information on the crontab  command, please refer to the crontab command reference. The system returns a task ID for this newly created task. This example utilizes the SUMA task defaults, as displayed by suma -D. For example, the installp images download into the /usr/sys/inst.images/installp/ppc directory when the task default is DLTarget=/usr/sys/inst.images.
How do I create and schedule a task that checks for a specific authorized program analysis report (APAR) once a week (for example, every Thursday at 3:00 AM), download it when it becomes available, and send e-mail notifications to users on a remote system?
You might type the following command:
 suma -s "0 3 * * 4" -a RqType=APAR -a RqName=IY12345 \
             -a  NotifyEmail="bob.smith@host2,ann@host2" -a Repeats=y

You need to set the Repeats field to y in order for the system to make weekly checks for an APAR. After the system finds the APAR, the system deletes the task. If Repeats=n, only a single check would occur before deleting the task.
How do I create and schedule a task that would check monthly for a TL release (for example, on the 15th of every month at 2:30 AM)?
You might type the following command:
suma –s "30 2 15 * *" –a Action=Preview –a RqType=ML –a RqName=5300-04 \
	  –a FilterML=5300-03 –a NotifyEmail="bob.smith@host3"

An email notification will be sent with the results of the check.

This command performs a Preview (no download will occur) to check if TL 5300-04 has been released. The FilterML setting specifies that the client already has filesets in the 5300-03 level.

If 5300-04 has been released, the notification email will contain the list of filesets in TL 5300-04 that would be available for preview. If 5300-04 is not yet available, the email notification will contain a message similar to "Invalid requested ML level:V530004".

You might elect to automatically download the filesets in this TL by setting Action equal to "Download" instead of "Preview". In this case, the filesets will only be downloaded, and no installation will occur.

How do I create and schedule a task that would check weekly for a new SP release (for example, every Thursday at 3:00 AM)?
You might type the following command:
suma –s "0 3 * * 4" –a Action=Download –a RqType=SP –a RqName=5300-04-01 \  
            –a FilterML=5300-04 –a NotifyEmail="bob.smith@host3"

 

An email notification indicating whether a new SP has been released will be sent.

This command will automatically download Technology Level 5300-04, Service Pack 1, when it becomes available. The FilterML setting specifies that the client already has filesets in the 5300-04 level.

How do I create and schedule a task that would check monthly for a CSP release (for example, on the 15th of every month at 2:30 AM)?
You might type the following command:
suma –s "30 2 15 * *" –a Action=Preview –a RqType=SP –a RqName=5300-04-CSP \
             –a FilterML=5300-04 –a NotifyEmail="bob.smith@host3" –a \
             DLTarget=/tmp/530004

 

An email notification will be sent with the results of the check.

You might elect to automatically download the filesets in this CSP by setting Action equal to "Download'" instead of "Preview". In this case, the filesets will only be downloaded, and no installation will occur.

The above suma  command will return a SUMA task ID that might later be used to perform an immediate download of a schedule task. For example, the following command could be used to immediately download the 5300-04-CSP that had the Preview action scheduled above to check for its release. (Assumes task ID of 4 was returned.)

suma –x –a Action=Download 4

 
The following SUMA features have been implemented in the 5300-05 Technology Level, released in August, 2006:
SUMA and compare_report with NIM lpp_source
suma -a FilterDir=<value>
suma -a DLTarget=<value>

 

When running on a NIM master, <value> can be an lpp_source name. SUMA will filter and download only fixes that are not existent in the lpp_source. The functionality is the same as before. It is now integrated to the NIM lpp_source lexicon.

compare_report -i <FixDir>

 

When running on a NIM master, <FixDir> can be an lpp_source name. compare_report will consider the installation images in the lpp_source when doing comparisons.

What does /usr/sbin/geninv do?
The geninv  ("generic inventory") command gathers software and hardware installation version inventory from systems.

Software invetory coverage:

  1. Installp
  2. RPM (RedHat Package Manager)
  3. ISMP (Install Shield Multi-Platform)
  4. Emergency and interim fixes

 

Hardware inventory coverage:

  1. System Firmware
  2. Adapter/Component Microcode that can be upgraded

 

What does /usr/sbin/niminv do?
The niminv  command gathers, compares and conglomerates software and, if applicable, hardware installation version inventory from NIM objects. It also downloads fixes based on the conglomerated Inventory.

NIM Object coverage:

  1. master and standalone (hardware and software)
  2. mksysb (software only)
  3. SPOT (software only)
  4. lpp_source (software only)

 

This command is accessible through the SMIT NIM subpanel "Installation Inventory" (fastpath: smit nim_inventory).

How do I find out more about the suma command?
SUMA moves you away from the manual task of retrieving maintenance updates from the Web. It's included in the AIX 5L Version 5.3 operating system. It's also available for AIX 5L Version 5.1 as APAR IY61456 and AIX 5L Version 5.2 as APAR IY64254. SUMA provides you with flexible, policy-based options, allowing you to perform unattended downloads of all AIX 5L updates from the Quick links for AIX fixes Web site. It also automates common tasks, such as downloading a specific APAR when it becomes available, downloading the latest security updates, or downloading an entire maintenance level. You can utilize a scheduling module that runs policies at various intervals in order to conform to your particular maintenance window. You can run SUMA policies without extensive configuration. Filtering options allow comparisons against current software inventory, a fix repository, or a maintenance level to ensure you only download desired fixes. SUMA provides the option to send an e-mail notification containing a list of what's available for download, as well as detailed summary statistics of a download. It supports HTTP, HTTPS, and FTP transfer protocols and proxy servers.

The technology offered by SUMA assists in moving clients toward an autonomic maintenance strategy by automating the download of software maintenance updates, which allows clients to take advantage of the increased security and reliability benefits of having current fixes, and the cost benefits which result from spending less time on system administration.

Recommended Links

IBM AIX - Service Update Management Assistant (SUMA) on AIX 5L



Etc

Society

Groupthink : Two Party System as Polyarchy : Corruption of Regulators : Bureaucracies : Understanding Micromanagers and Control Freaks : Toxic Managers :   Harvard Mafia : Diplomatic Communication : Surviving a Bad Performance Review : Insufficient Retirement Funds as Immanent Problem of Neoliberal Regime : PseudoScience : Who Rules America : Neoliberalism  : The Iron Law of Oligarchy : Libertarian Philosophy

Quotes

War and Peace : Skeptical Finance : John Kenneth Galbraith :Talleyrand : Oscar Wilde : Otto Von Bismarck : Keynes : George Carlin : Skeptics : Propaganda  : SE quotes : Language Design and Programming Quotes : Random IT-related quotesSomerset Maugham : Marcus Aurelius : Kurt Vonnegut : Eric Hoffer : Winston Churchill : Napoleon Bonaparte : Ambrose BierceBernard Shaw : Mark Twain Quotes

Bulletin:

Vol 25, No.12 (December, 2013) Rational Fools vs. Efficient Crooks The efficient markets hypothesis : Political Skeptic Bulletin, 2013 : Unemployment Bulletin, 2010 :  Vol 23, No.10 (October, 2011) An observation about corporate security departments : Slightly Skeptical Euromaydan Chronicles, June 2014 : Greenspan legacy bulletin, 2008 : Vol 25, No.10 (October, 2013) Cryptolocker Trojan (Win32/Crilock.A) : Vol 25, No.08 (August, 2013) Cloud providers as intelligence collection hubs : Financial Humor Bulletin, 2010 : Inequality Bulletin, 2009 : Financial Humor Bulletin, 2008 : Copyleft Problems Bulletin, 2004 : Financial Humor Bulletin, 2011 : Energy Bulletin, 2010 : Malware Protection Bulletin, 2010 : Vol 26, No.1 (January, 2013) Object-Oriented Cult : Political Skeptic Bulletin, 2011 : Vol 23, No.11 (November, 2011) Softpanorama classification of sysadmin horror stories : Vol 25, No.05 (May, 2013) Corporate bullshit as a communication method  : Vol 25, No.06 (June, 2013) A Note on the Relationship of Brooks Law and Conway Law

History:

Fifty glorious years (1950-2000): the triumph of the US computer engineering : Donald Knuth : TAoCP and its Influence of Computer Science : Richard Stallman : Linus Torvalds  : Larry Wall  : John K. Ousterhout : CTSS : Multix OS Unix History : Unix shell history : VI editor : History of pipes concept : Solaris : MS DOSProgramming Languages History : PL/1 : Simula 67 : C : History of GCC developmentScripting Languages : Perl history   : OS History : Mail : DNS : SSH : CPU Instruction Sets : SPARC systems 1987-2006 : Norton Commander : Norton Utilities : Norton Ghost : Frontpage history : Malware Defense History : GNU Screen : OSS early history

Classic books:

The Peter Principle : Parkinson Law : 1984 : The Mythical Man-MonthHow to Solve It by George Polya : The Art of Computer Programming : The Elements of Programming Style : The Unix Hater’s Handbook : The Jargon file : The True Believer : Programming Pearls : The Good Soldier Svejk : The Power Elite

Most popular humor pages:

Manifest of the Softpanorama IT Slacker Society : Ten Commandments of the IT Slackers Society : Computer Humor Collection : BSD Logo Story : The Cuckoo's Egg : IT Slang : C++ Humor : ARE YOU A BBS ADDICT? : The Perl Purity Test : Object oriented programmers of all nations : Financial Humor : Financial Humor Bulletin, 2008 : Financial Humor Bulletin, 2010 : The Most Comprehensive Collection of Editor-related Humor : Programming Language Humor : Goldman Sachs related humor : Greenspan humor : C Humor : Scripting Humor : Real Programmers Humor : Web Humor : GPL-related Humor : OFM Humor : Politically Incorrect Humor : IDS Humor : "Linux Sucks" Humor : Russian Musical Humor : Best Russian Programmer Humor : Microsoft plans to buy Catholic Church : Richard Stallman Related Humor : Admin Humor : Perl-related Humor : Linus Torvalds Related humor : PseudoScience Related Humor : Networking Humor : Shell Humor : Financial Humor Bulletin, 2011 : Financial Humor Bulletin, 2012 : Financial Humor Bulletin, 2013 : Java Humor : Software Engineering Humor : Sun Solaris Related Humor : Education Humor : IBM Humor : Assembler-related Humor : VIM Humor : Computer Viruses Humor : Bright tomorrow is rescheduled to a day after tomorrow : Classic Computer Humor

The Last but not Least Technology is dominated by two types of people: those who understand what they do not manage and those who manage what they do not understand ~Archibald Putt. Ph.D


Copyright © 1996-2021 by Softpanorama Society. www.softpanorama.org was initially created as a service to the (now defunct) UN Sustainable Development Networking Programme (SDNP) without any remuneration. This document is an industrial compilation designed and created exclusively for educational use and is distributed under the Softpanorama Content License. Original materials copyright belong to respective owners. Quotes are made for educational purposes only in compliance with the fair use doctrine.

FAIR USE NOTICE This site contains copyrighted material the use of which has not always been specifically authorized by the copyright owner. We are making such material available to advance understanding of computer science, IT technology, economic, scientific, and social issues. We believe this constitutes a 'fair use' of any such copyrighted material as provided by section 107 of the US Copyright Law according to which such material can be distributed without profit exclusively for research and educational purposes.

This is a Spartan WHYFF (We Help You For Free) site written by people for whom English is not a native language. Grammar and spelling errors should be expected. The site contain some broken links as it develops like a living tree...

You can use PayPal to to buy a cup of coffee for authors of this site

Disclaimer:

The statements, views and opinions presented on this web page are those of the author (or referenced source) and are not endorsed by, nor do they necessarily reflect, the opinions of the Softpanorama society. We do not warrant the correctness of the information provided or its fitness for any purpose. The site uses AdSense so you need to be aware of Google privacy policy. You you do not want to be tracked by Google please disable Javascript for this site. This site is perfectly usable without Javascript.

Last modified: March 12, 2019