25.8 Mirroring Dell Updates from the OpenManage Server Administrator Repository by Using a YUM Subscription

You can mirror Dell software, and Dell drivers and updates such as BIOS and firmware, from the YUM - based OpenManage Server Administrator (OMSA) repository to update the Dell PowerEdge Linux servers that are running on Dell supported RHEL or SLES platforms. These updates for SLES and RHEL devices are available on the officially supported YUM repository for OpenManage at the Dell Linux Repository.

You can add the YUM service to the managed device and manually install these software from the repository by using the rug command as follows:

rug sa -t yum repo-md_URL_from_where_you_want_to_mirror service_name

For example, to manually install the software from http://linux.dell.com/repo/hardware/latest/platform_independent/suse10_64/, you must execute the rug command as follows:

rug sa -t yum http://linux.dell.com/repo/hardware/latest/platform_independent/suse10_64/ dell-updates

To mirror these updates for a specific device model, you must configure a YUM subscription.

To use a YUM subscription to mirror the DELL updates from the OpenManage Server Administrator Repository:

  1. Run the following command to verify if the required catalogs for a given target platform are available on the remote Dell Repository:

    zlmmirror slc -c yum_mirror_configuration_filename -v

  2. In the YUM mirror configuration file’s <RemoteServer> section, edit the following configuration elements:

    Configuration Element

    Setting

    <Base></Base>

    Specify the path to the server you want to mirror, the device model, and the operating system information.

    <Base>http://linux.dell.com/repo/hardware/latest/device_model/osinfo</Base>

    For example:

    If the device model is DELL PowerEdge R710 server, and the operating system is 64-bit SLES 10, the base URL is <Base>http://linux.dell.com/repo/hardware/latest/per710/suse10_64/</Base>.

    <Type></Type>

    Type of server you want to mirror.

    <Type>yum</Type>

    <Platform></Platform>

    The platform of the device to which you want to mirror the packages.

    <Platform>platform</Platform>

    For example, if the target platform is sles-10-x86_64, edit the Platform tag to be:

    <Platform>sles-10</Platform>.

    The target platform must be defined in ZENworks Linux Management.

  3. In the <Catalog> section, edit the following configuration element:

    Configuration Element

    Setting

    <Name></Name>

    Specify the name of the catalog you want to mirror from the remote server in the following format:

    <Name>platform-catalog</Name>

    For example, if the platform is sles-10, the catalog name must be <Name>sles-10-catalog</Name>.

    In the <Catalog> section, it is not necessary to provide a value for the <Target> tag, because the bundles of the catalog must be separately mirrored for each target. If you specify a value for the <Target> tag, you can only mirror those architecture packages that match the specified target. You must specify separate URLs for each target in the <Base> tag in the configuration file's <RemoteServer> section.

  4. Rename the mirrored package bundle appropriately after mirroring.

    If the catalog that is mirrored for 64-bit target (for example, sles-10-x86_64) also contains the 32-bit architecture packages, you must convert all the 32-bit architecture packages in the mirrored bundle from 32-bit target to the corresponding 64-bit target by using the zlman bap command.. You must convert targets of all the 32-bit architecture packages in the mirrored bundle from 32-bit to the corresponding 64-bit target by using the zlman bap command.

    To convert all the 32-bit architecture packages from sles-10-i586 to the corresponding sles-10-x86_64 target, you must run the zlman bap command as follows:

    zlman bap --freshen=true bundle_name sles-10-x86_64 /var/opt/novell/zenworks/pkg-repo/bundles/first_two_letters_of_the_bundle_GUID/bundle_GUID/bundle_version/sles-10-i586/*.rpm.

    For example:

    zlman bap --freshen=true zlmmirror/sles10-OMSA-bundle sles-10-x86_64 /var/opt/novell/zenworks/pkg-repo/bundles/31/316c0e94afa5d6f8f96964ca556d251b/2/sles-10-i586/*.rpm

  5. Verify if all the packages are updated in the bundle to the specified target.

  6. Assign the catalog or bundle to the corresponding target device and deploy the updates.