Please login or register. August 18, 2019, 01:44:52 AM

Author Topic: AIX 6.1-03 - suma  (Read 9205 times)

0 Members and 1 Guest are viewing this topic.

MikeVanHoff

  • Jr. Member
  • **
  • Posts: 5
  • Karma: +0/-0
AIX 6.1-03 - suma
« on: November 02, 2009, 07:19:51 PM »
I have a Power6 with a number of LPARs configured including a NIM Server.  I have just come accross references to SUMA, as an option for keeping fixes etc up to date.  However; I am having problems.
I want the protocol to be ftp as I have a carte-blanc access rule through our firewall from my NIM server.
however the url from the suma -c command does not seem to exist any longer.  My reference guide is from - NIM from A to Z in AIX5L
############
        FIXSERVER_PROTOCOL=http
        DOWNLOAD_PROTOCOL=ftp
        DL_TIMEOUT_SEC=180
        DL_RETRY=1
        MAX_CONCURRENT_DOWNLOADS=5
        HTTP_PROXY=
        HTTPS_PROXY=
        FTP_PROXY=
        SCREEN_VERBOSE=LVL_INFO
        NOTIFY_VERBOSE=LVL_INFO
        LOGFILE_VERBOSE=LVL_VERBOSE
        MAXLOGSIZE_MB=1
        REMOVE_CONFLICTING_UPDATES=yes
        REMOVE_DUP_BASE_LEVELS=yes
        REMOVE_SUPERSEDE=yes
        TMPDIR=/var/suma/tmp
        FIXSERVER_URL=www14.software.ibm.com/webapp/set2/fixget

###############
can anyone point me to better reference material, or the correct url for the FIXSERVER_URL entry?
Thanks in Advance

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1139
  • Karma: +0/-0
Re: AIX 6.1-03 - suma
« Reply #1 on: November 06, 2009, 12:17:02 PM »
The URL is correct, but that is not yet - ftp - that is http or https:

Pasting www14.software.ibm.com/webapp/set2/fixget into firefox I got:

http://www14.software.ibm.com/webapp/set2/fixget
Quote
Usage:
fixget?get=status -- returns current server status
fixget?get=usage -- returns usage with several examples
-or-
fixget?parameter=value&parameter=value&...

Required parameters:
t  - [A|P|M|K|S|C|L|F] fix type designator
           [A]PAR(s)
           [P]TF(s)
           [F]ileset
           [M]aintenance level - OS level is determined from 'ml'
           [K] - treated the same as [M] - used by suma command.
           [ S]ecurity fixes - OS level is determined from 'ml'
           [C]ritical fixes - OS level is determined from 'ml'
           [L]atest fixes - OS level is determined from 'ml'
             (unsupported for AIX 4.3)

For fix types A and P, parameter 'fl' is required:
fl - a colon-separated list of APAR or PTF numbers

For fix type F, parameter 'fl' is required:
fl - a fileset:V.R.M.F (ie, bos.rte.install:5:2:0:10)
     special instance - VRMF can be 'latest'  (unsupported for AIX 4.3)

For fix type M, parameter 'fl' is required:
fl - a single maintenance level/technology level/service pack
     Currently supported:
       V520001
       V520002
....
       V610004
       V61000401

     special instance - latest - for latest ML/TL/SP
     [in this case, current maintenance level is taken from ml parameter
      ie, t=M&fl=latest&ml=V530004 would get the latest 53 ML/SP]

For fix types S, C, and L, parameter 'fl' is NOT required and will be ignored

Optional parameters:
i  - [y|n] flag for ifrequisite processing - Default is [n]o
p  - [y|n] flag for PE resolution - Default is [n]o
s  - [y|n] flag for supersede - Default is [n]o
r  - [y|n] flag for pre/corequisites - Default is [n]o
   NOTE: if p=y, r will be set to 'y' automatically
         if t=M or t=C, r will be set to 'y' automatically
pr - [h|f|s] flag for protocol - [h]ttp, [f]tp, or http[s ] - Default is [f]

of - output flags - combine letters for each section desired:
    m == include memo to user section (Note: HTML formatted)
    w == include warnings about PEs
    o == include listing of options used in packaging
    i == include links to .info files
  special - of=clean, ONLY actual fileset links in output
 default setting for 'of' is of=mwo

....

So, check if you can do a curl-like get of the query, or just telnet www14.software.ibm.com 80

as in:
Quote
michael@x054:[/]telnet www14.software.ibm.com 80
Trying...
Connected to dispsd-42-www14.boulder.ibm.com.
Escape character is '^]'.
GET webapp/set2/fixget
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
<p>Your browser sent a request that this server could not understand.

</p>

<address>IBM_HTTP_Server Server at www14.software.ibm.com Port 80</address>
</body></html>
Connection closed.

to determine whether you can do the basic query that returns a list of files to download via ftp. Maybe https://www14.software.ibm.com will work for you instead?