Configuring the offline HP-UX Patch Downloader


Configuration for the HP-UX Patch Downloader (also known as the Offline Downloader) is handled by parameter definition in the configuration.properties file. This file is located in the same directory as the HPUXContentDownloader.sh file. The configuration file defines filter conditions used during download.

  1. Use a text editor to locate and open the configuration.properties file.
    For more information to help you find where you stored this file, see Installing the HP-UX Patch Downloader.
  2. Enter values for the following parameters:

    Parameter

    Description

    DOWNLOAD_CATALOG

    Define whether or not to download the swa_catalog.xml. Choose either:

    • Yes (default): Download swa_catalog.xml file from the location defined in the HP_CATALOG_URL parameter. Must be set to Yes when using the HP-UX Patch Downloader for the first time on a server or when selecting a new workspace.
    • No: Use the existing swa_catalog.xml file and do not download a new one.

    WORKSPACE_WINDOWS

    Define the Microsoft Windows operating system's native path to the patch repository, the location where download occurs. Default value is:
    C:/tmp/OfflineDownloader

    WORKSPACE_UNIX

    Define the UNIX operating system's native path to the patch repository, the location where download occurs. Default value is:
    /tmp/OfflineDownloader

    DOWNLOAD_PATCHES_FILTERED

    Indicate whether only filtered patches, defined by FILTER_CONDITION parameter, are downloaded. Choose either:

    • Yes (default): Download filtered patches.
    • No: Do not download filtered patches.

    DOWNLOAD_PATCHES_ALL

    Indicate whether or not to download all patches from the vendor site. Downloading all patches requires approximately 100GB of space in the repository. Choose either:

    • Yes (default): Download all patches.
    • No: Do not download all patches.

    FILTER_DATE_FROM

    Define the starting point for the date range in which patches are considered for download. The format for the starting date is:
    yyyy-mm-dd

    To download only those patches which are released after the last run date, enter latest. If date range is not used, enter NA.

    FILTER_DATE_TO

    Define the ending point for the date range in which patches are considered for download. Format for the ending date is:
    yyyy-mm-dd

    If date range is not used, enter NA.

    FILTER_OS_VERSION

    Enter the version number of the HP-UX operating system to which the application should apply defined filter conditions.

    For example: hpux:11.23

    FILTER_CONDITION

    Define filter conditions. Choose one of the following options:

    • 1: Filter according to the value defined for the FILTER_OS_VERSION parameter.
    • 2: Filter by dates greater than the one defined for the FILTER_DATE_FROM parameter.
    • 3 (default): Filter within the date range defined by the FILTER_DATE_FROM and FILTER_DATE_TO parameters.
    • 12: Filter patches first by operating system and then by dates greater than the one defined in FILTER_DATE_FROM.
    • 13: Filter patches first by operating system and then by dates with the date range defined by FILTER_DATE_FROM and FILTER_DATE_TO.

    For any of the above options, if the FILTER_DATE_FROM parameter value is not used, enter NA:
    FILTER_DATE_FROM=NA

    DOWNLOAD_USING_LIST

    Indicate whether or not to download patches according to a predefined list. Choose either:

    • Yes: Downloads patches according to a list predefined in the customlist.txt file located in the working directory where the HP-UX Patch Downloader is installed. You can also use this option to download Quality Pack Bundle (QPK).
    • No (default): Patches are not downloaded according to a predefined list.

    For more information, see Downloading QPK from a predefined file using the HP-UX Patch Downloader.

    DOWNLOAD_PATCHES_DEPENDENCY

    Indicate whether or not to download dependencies at the same time as the patches. Choose either:

    • Yes: Download dependent patches
    • No: Do not download dependent patches
  3. Save and close the file.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

TrueSight Server Automation 24.2