verify_swlib

Verifies and reports the state of the Software Library.

Format

emcli verify_swlib 
        [-report_type="storage|entity|uploadjobs|all"]
        [-verbose]

[ ]  indicates that the parameter is optional.

Options

  • report_type

    Type of report to be generated, which can be one of the following:

    • storage — Reports accessibility of upload storage locations.

    • entity — Reports sanity of entities w.r.t associated files in upload storage locations

    • uploadjobs — Reports active jobs uploading files to storage.

    • all — For all reports.

  • verbose

    Gives detailed output with the Software Library status.

Example

This example generates the storage, upload jobs, and entities verification reports.

emcli verify_swlib 
      -report_type="all" -verbose
Logged in user: SYSMAN

Software Library Storage Verification Report: Start


OMS Shared File System storage is configured.
    ..............................................................
    [OMS Shared File System Storage Location : EM_SWLIB]

    Location 'EM_SWLIB' is accessible.

                   - Disk Usage Stats : EM_SWLIB -

    Free Disk Space : 456.05 GB
    Total Disk Space : 492.03 GB
    Disk Space taken up by Deleted Entities : 0 Bytes

                   - Credential Details : EM_SWLIB -

    Associated Credential Type : System Credential
    Credential Name : SWLIB15
    Credential Owner : <SYSTEM>
    Credential User : oracle
    Privileged : false
    ..............................................................
Software Library Storage Verification Report: End
Software Library Active Upload Jobs Report: Start
   ..............................................................
    No active upload jobs were found.
    ..............................................................
Software Library Active Upload Jobs Report: End

Continued in the next comment...
mmuthukr: Software Library Entity Verification Report: Start
OMS Shared File System storage is configured.
    ..............................................................
    [OMS Shared File System Storage Location : EM_SWLIB]
           --- List of entities with file issues ---
                   - User Owned Entities -

    Entity : /Database Provisioning CVU Downloads/ASM Disk Discovery/linux_ppc64/ASM Disk Discovery Utility (0.1)
    File : kfodprereq_227.zip
    Storage Path : /EM12c_shared_library/EM_SWLIB/
    File Size (bytes) : NA
    File Status : Pending
    Issue : File pending upload.
    Modified Date : 2018-07-01 00:00:08.0
    Owner : SYSMAN

    ...... Summary .............................................

    - Found 1 user-owned entity revision(s) with missing files.

    - Found 1 entity revision(s) with mismatched file size between repository and storage.
    ..............................................................

Software Library Entity Verification Report: End