Dell Repository Manager:如何使用智能脚本

Summary: 介绍如何在 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

以下视频介绍了如何在 DRM 中集成和使用智能脚本。可以在更新过程之前或之后执行智能脚本。

Dell Technologies YouTube 频道视频链接:
如何在 Dell EMC Repository Manager 中使用智能脚本
 

智能脚本: 

 

智能脚本的特点: 

  • 带内更新方法 - 设计为在主机作系统中运行 

  • 实质上充当针对自定义目录的离线 DSU 

  • 通常在 Windows 环境中使用,带有推送.bat文件的工具(如 SCCM) 

 

创建智能脚本: 

  • 在应用程序首选项 > 插件下,确保已安装 Dell EMC Smart Script 插件。如果没有,请选中它旁边的框,然后选择右上角的 Update 

  • 导航到要导出为 SUU 的任何存储库 

  • 选择存储库或所选捆绑包 

  • 在上部菜单中选择 Export 

  • 选择“智能脚本”,然后选择“作系统”并选择“保存位置” 

提醒:选择Force Update for downgrades。 

 

前脚本和后脚本选项: 

 

智能脚本工作流: 

  • 运行应用组件脚本 

  • 安装 Dell System Update (DSU) 

  • 安装后立即运行 DSU 

  • 这将启动捆绑包中的资源清册收集器,以查看安装的内容 

  • 然后执行目录比较,并自动运行所需的更新 

  • 更新完成后,它会卸载 DSU 

提醒:如果以前安装了 DSU,它也会被移除。 

 

智能脚本故障处理: 

 

提醒:DSU 将日志保存在以下位置,但由于脚本安装和卸载 DSU,因此日志将丢失,除非 DSU 在卸载时出错。 

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

Linux: /usr/libexec/dell_dup 

 

未更新任何组件: 

  • 查看运行脚本的目录中的apply_components.log 

  • 正确的 DUP 类型? 

  • 如果 DUP 类型正确,则很可能是资源清册收集器问题。 

 

Inventory Collector 问题: 

  • 查看运行脚本的目录中的apply_components.log 

  • Inventory Collector 装载 USB 分区,因此请确保 USB 未被列入黑名单/阻止 

  • 清单收集器可能难以枚举特定设备,但在这种情况下仍应完成。  

提醒:错误显示“warning:返回的资源清册收集器出现部分故障” 
  • 如果日志未告知您任何信息,请在调试模式下运行资源清册收集器 

  • 如何运行 invcol 处于调试模式 

        1.下载 invcol 你已经在使用(在与脚本相同的目录中) 

        2.解压 DUP invcol 

        3.在调试模式下运行它:

    invcol –type=debug 

        4.查看输出以查找要解决的真正错误 

        5.如果没有牵引力,请联系 SST 

     

单个更新无法运行: 

  • 检查每个节点池的 apply_components.log 在错误的默认日志位置中 

  • 查看固件和驱动程序的发行说明,以排除任何已知问题,例如过时 

  • 尝试使用相同版本重新刷新组件  

如果重新刷新成功,则表示该特定 DUP 存在问题。可能需要采取措施或存在缺陷。 

如果重新刷新失败,则是作系统问题或组件问题。 

  • 以调试模式运行 DUP 

  • 调试模式指令

 

所有更新都无法运行: 

  • 检查默认日志位置中的apply_components.log是否存在错误 

  • 几乎可以肯定是作系统级别的问题 

  • 要找到阻止 DUP 的根本原因,请在调试模式下运行 DUP 

  • 调试模式说明:

 

智能脚本不会在以下情况下运行: 

  • 手动安装 DSU 并尝试更好地注销 DSU 本身 

 


 

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.