Using the SUMA command line interface

The suma command can be used to perform these operations on a SUMA task or policy.

  • Create
  • Edit
  • List
  • Schedule
  • Unschedule
  • Delete
An RqType parameter specifies the type of download that is being requested (such as Technology Level (TL), Service Pack(SP), Maintenance Level (ML), or Latest). A policy can be set up to retrieve the following types of fixes:
PTF
Specifies a request to download a PTF. An example is U813941. Only certain PTFs may be downloaded as an individual fileset. For example, PTFs containing the bos.rte.install, bos.alt_disk_install.rte, or PTFs that come out in between Service Packs. Otherwise, the TL or SP must be downloaded.
ML
Specifies a request to download a specific maintenance level (such as 5300-11).
TL
Specifies a request to download a specific technology level (such as 6100-03).
SP
Specifies a request to download a specific service pack (such as 6100-02-04).
Latest
Specifies a request to download the latest fixes. This RqType value returns the latest service pack of the TL specified in FilterML.

Several flag options can be used with the suma command to further specify your request. With these command options, you can perform the list, edit, create, schedule, unschedule, and delete operations on different tasks or policies.

For example, to create and schedule (-s) a task that downloads the latest fixes on the 15th day of every month at 2:30 a.m. (using cron format), and add a policy label through the DisplayName field (useful when listing policies through SMIT), type:

suma -s "30 2 15 * *" -a RqType=Latest \
-a DisplayName="Latest fixes - 15th Monthly"

The preceding example uses task defaults, which can be displayed by the suma -D command.

Type the following command to create and schedule a task that downloads the entire 6100-03 Technology Level into the /lppsrc/6103 directory on Monday at 11:00 p.m., runs an lppmgr clean operation after the download to remove any superseded updates, duplicates base levels, and conflicting updates:

suma -s "0 23 * * 1" -a Action=Clean -a RqType=ML -a RqName=6100-03 \
-a DLTarget=/lppsrc/6103 -a FilterSysFile=/dev/null
Note: Prior to running a task that specifies Action=Clean, you can run suma -c to verify the SUMA global configuration settings that will be used when running lppmgr. Setting REMOVE_SUPERSEDE, REMOVE_DUP_BASE_LEVELS, and REMOVE_CONFLICTING_UPDATES to yes will result in the intended action of the preceding example.

For a more complete listing of examples that detail the functionality of the suma command, refer to the suma command.