Dell Repository Manager: How to use Smart Scripts

Summary: Systems Management How to Video that covers How to use Smart Scripts in Dell EMC Repository Manager.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

The following video covers how to integrate and use Smart Scripts in DRM. Smart Scripts can be performed before or after an update process.

Link to the Dell Technologies YouTube channel video:
How to use Smart Scripts in Dell EMC Repository Manager
 

Smart Script: 

 

Features of Smart script: 

  • In-Band update method - Designed to run in Host OS 

  • Essentially functions as an offline DSU against a custom catalog 

  • Commonly used in Windows environments with tools that push .bat files, like SCCM 

 

Create a Smart script: 

  • Under Application Preferences > Plug-ins, ensure that the Dell EMC Smart Script plugin is installed. If not, check the box next to it and select Update in the upper right 

  • Navigate to any Repository you want to Export as an SUU 

  • Select the Repository or Selection of Bundles 

  • Select Export on the upper menu 

  • Select Smart Script and then select OS and pick a Save Location 

NOTE: Select Force Update for downgrades. 

 

Pre and Post script options: 

 

Smart script workflow: 

  • Run apply components script 

  • Installs Dell System Update(DSU) 

  • Runs DSU immediately following install 

  • This kicks off the inventory collector in the bundle to see what is installed 

  • Then do a catalog comparison and automatically runs the updates needed 

  • Once updates are completed, it uninstalls DSU 

NOTE: If DSU was installed previously, it is removed as well. 

 

Troubleshooting Smart Scripts: 

 

NOTE: DSU saves logs at the following locations, but since the Script installs and uninstalls DSU the logs are missing unless DSU errors out on uninstall. 

Windows: C:\ProgramData\Dell\Dell EMC System Update\dell_dup 

Linux: /usr/libexec/dell_dup 

 

No Components are updated: 

  • Review the apply_components.log at the directory that the script is run from 

  • Correct DUP Types? 

  • If the DUP types are correct, then it is most likely an inventory collector problem. 

 

Inventory Collector issue: 

  • Review the apply_components.log at the directory that the script is run from 

  • Inventory Collector mounts a USB partition, so ensure that USB is not be blacklisted/blocked 

  • The inventory collector may have difficulty enumerating a particular device, but in this scenario should still complete.  

NOTE: The error says "warning: Inventory collector returned with partial failure" 
  • If the logs do not tell you anything, run inventory collector in debug mode 

  • How to run invcol in debug mode 

        1. Download the version of invcol you are already using(In same directory as the script) 

        2. Extract the DUP for invcol 

        3. Run it in debug mode:

    invcol –type=debug 

        4. Review the output for the real error to resolve 

        5. Engage SST if no traction can be made 

     

A single Update fails to run: 

  • Check the apply_components.log in the default log location for errors 

  • Check release notes for firmware and Driver to rule out any known issues like being too out of date 

  • Attempt to reflash the component with the same version  

If the reflash succeeds, it is an issue with that specific DUP. May need to step or there is a defect. 

If the reflash fails, it is an OS issue or Component issue. 

  • Run DUP in Debug Mode 

  • Debug Mode instruction

 

All Updates fail to run: 

  • Check the apply_components.log in the default log location for errors 

  • Almost certainly an OS level issue though 

  • To root cause why it is blocked run a DUP in debug mode 

  • Debug Mode instruction:

 

Smart Script does not run: 

  • Install DSU manually and attempt it to get better logging out of DSU itself 

 


 

Affected Products

C Series, HS Series, Modular Infrastructure, Rack Servers, Tower Servers, XR Servers, Repository Manager, PowerEdge XR2, Poweredge C4140, PowerEdge C6400, PowerEdge C6420, PowerEdge C6520, PowerEdge C6525, PowerEdge C6600, PowerEdge C6615 , PowerEdge C6620, PowerEdge FC640, PowerEdge HS5610, PowerEdge HS5620, PowerEdge M640, PowerEdge M640 (for PE VRTX), PowerEdge M7701, PowerEdge M7725, PowerEdge MX5016s, PowerEdge MX7000, PowerEdge MX740C, PowerEdge MX750c, PowerEdge MX760c, PowerEdge MX840C, PowerEdge R240, PowerEdge R250, PowerEdge R260, PowerEdge R340, PowerEdge R350, PowerEdge R360, PowerEdge R440, PowerEdge R450, PowerEdge R470, PowerEdge R540, PowerEdge R550, PowerEdge R570, PowerEdge R640, PowerEdge R6415, PowerEdge R650, PowerEdge R650xs, PowerEdge R6515, PowerEdge R6525, PowerEdge R660, PowerEdge R660xs, PowerEdge R6615, PowerEdge R6625, PowerEdge R670, PowerEdge R740, PowerEdge R740XD, PowerEdge R740XD2, PowerEdge R7415, PowerEdge R7425, PowerEdge R750, PowerEdge R750XA, PowerEdge R750xs, PowerEdge R7515, PowerEdge R7525, PowerEdge R760, PowerEdge R760XA, PowerEdge R760xd2, PowerEdge R760xs, PowerEdge R7615, PowerEdge R7625, PowerEdge R770, PowerEdge R7715, PowerEdge R7725, PowerEdge R840, PowerEdge R860, PowerEdge R940, PowerEdge R940xa, PowerEdge R960, PowerEdge T140, PowerEdge T150, PowerEdge T160, PowerEdge T340, PowerEdge T350, PowerEdge T360, PowerEdge T40, PowerEdge T440, PowerEdge T550, PowerEdge T560, PowerEdge T640, PowerEdge XR11, PowerEdge XR12, PowerEdge XR4000r, PowerEdge XR4000w, PowerEdge XR4000z, PowerEdge XR4510c, PowerEdge XR4520c, PowerEdge XR5610, PowerEdge XR7620, PowerEdge XR8000r, PowerEdge XR8610t, PowerEdge XR8620t, Dell EMC Repository Manager - Current Versions, Dell EMC Repository Manager 3.0, Dell EMC Repository Manager 3.0.1, Dell EMC Repository Manager 3.1, Dell EMC Repository Manager 3.2 ...
Article Properties
Article Number: 000185229
Article Type: How To
Last Modified: 03 Jul 2025
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.