Go to primary content
Oracle® Communications Patch Audit, Inventory, and Reporting (PAIR) User's Guide
Release 6.6
E91177
Go To Table Of Contents
Contents

Previous
Previous

Generating a Patch Report for a Specific Type of Server

This procedure generates a report that displays the cached patch state data for all servers of a given application type.

To understand what applications are available from your PMAC, view the Software Inventory page accessible from the PMAC GUI. TPD is not considered an application and should not be used in the argument.

As with other PAIR reporting features, executing the commands in this procedure does not connect with the target servers and retrieve patch information. The report output is cached patch state data and is only as current as the last refresh. To retrieve the latest patch information from a given server, or all servers, see Refresh Patch Information.

  1. PAIR Server: Login using admusr credentials.
    SSH into the PAIR server and authenticate using admusr credentials.
    login as: admusr [Enter]
    admusr@10.75.152.79's password: <admusr_password> [Enter]
    Last login: Mon Jun  6 10:35:36 2016 from 10.75.7.157
    [admusr@myPairServer ~]$
  2. PAIR Server: Display cached patch information.
    Execute the following command to display the latest cached patching information for all servers of a given application type:
    [admusr@myPairServer ~]$ pair getStatus --type <app_type> [Enter]
    This example demonstrates the use of the command using application type TVOE for the option argument:
    [admusr@myPairServer ~]$ pair getStatus --type TVOE [Enter]
    Report: Servers of product type TVOE:
    
    Generated at: 10/18/2016 06:15:18 UTC
    Generated on: myPairServer
    Generated as: admusr
    --------------------------------------------
    
    Hostname: tvoe-lab1
    Address: 1.2.3.8
    Product: TVOE
    Version: 3.2.0.0.0_88.17.0
    Data retrieved on: 10/18/2016 06:14:09 UTC
    
    Patches:
    ---
    
    Hostname: tvoe-lab1
    Address: 1.2.3.9
    Product: TVOE
    Version: 3.3.0.0.0_88.27.0
    Data retrieved on: 10/18/2016 06:14:02 UTC
    
    Patches:
    
       Name: PATCH_10/12/201619:59:24UTC
       Description: Generic Patch
       Last patching activity: 10/12/2016 19:59:24 UTC
       Rpms: mine2_3.2.1_0.noarch.rpm mine_1.0.0_0.noarch.rpm
       State: PENDING
    
       Name: PATCH_10/13/201611:28:26UTC
       Description: Generic Patch
       Last patching activity: 10/13/2016 11:28:26 UTC
       Rpms: autoPatchTestScript2-0.2-noarch.x86_64.rpm autoPatchTestScript1-0.2-noarch.x86_64.rpm
       State: PENDING
    
    --------------------------------------------
    Report complete.

    Check the output of this command for any notes, warnings, or errors. A successful query displays the message Report complete.