Important

   

Starting version 8.9.03, BMC Server Automation is renamed to TrueSight Server Automation. This space contains information about BMC Server Automation 8.9.02 and previous versions. For TrueSight Server Automation 8.9.03 and later releases, see TrueSight Server Automation 8.9.

Preparing the configuration file for SUSE Linux Enterprise

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
  • Download filter definitions

Before you begin

Use the following command to encrypt the password supplied both to the vendor site and to the proxy server by the Patch Downloader utility. You must specify the resulting encrypted password in both <password></password> tags in the configuration XML file.

sh suse_downloader.sh -encode <passwordToEncrypt>

To prepare the configuration file for SUSE Linux Enterprise

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

    Parameter

    Description

    <port></port>

    Port number used to communicate with the proxy server

    <host></host>

    IP address or host name of the proxy server

    <username></username>

    User name required for authentication prior to communication with the proxy server

    <password></password>

    encrypted password for the specified user

    <domain-name></domain-name>

    Domain name of the proxy server

    <proxy-type></proxy-type>

    Type of proxy server used
    Valid values are:

    • None — Indicates that no proxy server is used
    • NTLM
    • NTLM-V2
    • Squid
  3. Add download information using the following XML tags:

    Tag

    Description

    <temporary-location></temporary-location>>

    Location where files can be stored temporarily during the download process

    <payload-repository-location></payload-repository-location>

    Local location of the patch repository where metadata and payload are stored

    <download-request-retries></download-request-retries>

    Number of times the download utility attempts to download if the first attempt at downloading a payload fails

    <download-request-timeout></download-request-timeout>

    Number of milliseconds that the utility waits for a response before considering the attempt as failed
    This parameter is useful if the http response is slow.

    <downloader-parallel-threads></downloader-parallel-threads>

    Number of downloads that can be performed in parallel

  4. Modify the <subscription> tag to create a filter that downloads the latest RPMs according to operating system, architecture, and channel combinations.

  5. Save the file. The sample-suse-downloader-config.xml file is shown below:

    <suse-downloader-config>
      <config>
        <!--<proxy-settings>
          <port>8080</port>
          <host>_ipAddress_</host>
          <username>patch</username>
          <password>NWKIPRTPCWEB</password>
          <domain-name />
          <proxy-type>ntlm</proxy-type>
        </proxy-settings>
        <temporary-location>c:\tmp</temporary-location>
      		<payload-repository-location>/home/repo/</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>
        <os-arch-filter>
          <os>SLES10</os>
          <arch>x86</arch>
    	  <online-repo url="https://nu.novell.com/repo/$RCE/SLES11-SP1-Updates/sle-11-x86_64/rpm/"/>
          <online-repo url="https://nu.novell.com/repo/$RCE/SLES11-SP1-Pool/sle-11-x86_64/rpm/"/> 
          <username>abs</username>
          <password>suse1234</password>
        </os-arch-filter>
    	<smt-filter> 
     <os>SLES12</os>
     <arch>x86_64</arch> 
     <smt-repo name="SLES12-Updates" target="sle-12-x86_64"/>
     </smt-filter>
     </subscription>
    </suse-downloader-config>

Where to go from here

Use the command in Running the Patch Downloader utility for SUSE Linux Enterprise and pass the configuration file as a parameter to download the patches.

Was this page helpful? Yes No Submitting... Thank you

Comments