Preparing the configuration file for AIX


In the configuration file, you provide information that is used by the Patch Downloader utility. This information includes definition of a proxy server (if one is used), identification of a local, temporary directory on the server that is used by the Patch Downloader utility during download, and download filter definitions.

Before you begin

Use the following command to encrypt the password supplied to the proxy server by the Patch Downloader utility. You must specify the resulting encrypted password within the <password></password> tag in the configuration XML file.

If running the downloader on Microsoft Windows:

aix_downloader.bat -encode <passwordToEncrypt>

If running the downloader on AIX or Linux:

sh aix_downloader.sh -encode <passwordToEncrypt>

To prepare the configuration file for AIX

  1. Edit the sample XML configuration file (sample-aix-downloader-config.xml) for use as the configuration file.
  2. (Optional) Add proxy information using the following XML tags:

  3. Add download information using the following XML tags:

  4. In the <subscription> tag, specify filters for defining the patches that are included in the download. Use the following XML tags:

  5. Save the file.

The sample-aix-downloader-config.xml file with sample data is shown below.

<aix-downloader-config>
 <config>
   <!--<proxy-settings>
      <port>8080</port>
      <host>IPAddress</host>
      <username>patch</username>
      <password>NWKIPRTPCWEB</password>
      <domain-name></domain-name>
      <proxy-type>ntlm-v2</proxy-type>
    </proxy-settings>-->

   <temporary-location></temporary-location>
   <payload-repository-location></payload-repository-location>
   <download-request-retries>10</download-request-retries>
   <download-request-timeout>180000</download-request-timeout>
   <downloader-parallel-threads>10</downloader-parallel-threads>
 </config>
 <subscription>
   <level-type-filter>
     <level_number>V530011</level_number>
     <level_type>TL</level_type>
   </level-type-filter>
   <level-type-filter>
     <level_number>V53000007CSP</level_number>
     <level_type>SP</level_type>
   </level-type-filter>
   <apar-ids-filter>
     <currentoslevel>V610004</currentoslevel>
     <apar-id>IZ62630</apar-id>
   </apar-ids-filter>
   <ptf-ids-filter>
     <currentoslevel>V520000</currentoslevel>
     <ptf-id>U497901</ptf-id>
   </ptf-ids-filter>
   <update-type-filter>
     <currentoslevel>V520000</currentoslevel>
     <update-type>security</update-type>
   </update-type-filter>
   <update-type-filter>
     <currentoslevel>V610001</currentoslevel>
     <update-type>critical</update-type>
   </update-type-filter>
 </subscription>
</aix-downloader-config>

Where to go from here

Use the command in Downloading-AIX-patches-using-defined-filters and pass the configuration file as a parameter to download the patches.

 

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