Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

PowerStore:如何使用 svc_factory_reset 命令将 PowerStore 系统重新初始化为出厂状态

Summary: 有关如何将 PowerStore 系统重新初始化为空工厂状态的指导。

This article applies to   This article does not apply to 

Instructions

准备工作

  • 这是一个破坏性过程。系统上的所有数据所有配置都将被永久删除并且无法恢复。系统将恢复为出厂状态(与最初获得时的状态相同)。
  • 此过程会将系统重新初始化为 PowerStore 上安装的 相同 PowerStoreOS 版本。
  • 对于 PowerStore X,该过程是相同的,但必须从之前的所有 PowerStore X 配置中手动清理 vCenter 端,然后才能再次初始化系统(注销 VASA、删除 vDS、删除 PowerStore 群集)。请参阅 PowerStore:如果群集创建失败,如何执行 vCenter 清理。 
注意:如果 VMware 许可证是从戴尔获取的,而不是从 VMware 获取,请在开始该过程之前先联系技术支持。


流程

  1. 使用服务帐户通过 SSH 登录到两个节点。请参阅 PowerStore:如何通过 SSH
    连接到服务控制台 节点 IP 可从 PowerStore Manager (UI) 的 设置 >网络网络 IP
    下检索。如果管理 IP 不可用,请参阅 PowerStore:使用服务 LAN 端口访问 SSH 和 PowerStore Manager
  2. 确保两个节点都运行状况良好,并且没有硬件问题。
    在两个节点上运行以下命令并查找错误或故障。如果检测到任何故障,则必须先解决该故障,然后才能继续:
    [SVC:service@1234567-X user]$ svc_diag list --hardware --sub_options fault_status

    Hardware: ========== Fault Status register  ===========
    Memory       dimm00: OK | dimm01: OK | dimm02: OK | dimm03: OK | dimm04: OK | dimm05: OK | dimm06: OK | dimm07: OK |
                 dimm08: OK | dimm09: OK | dimm10: OK | dimm11: OK | dimm12: OK | dimm13: OK | dimm14: OK | dimm15: OK |
                 dimm16: OK | dimm17: OK | dimm18: OK | dimm19: OK | dimm20: OK | dimm21: OK | dimm22: OK | dimm23: OK |
    EmbeddedDrve Drive00: OK | Drive01: OK |
    BackEndDrive Drive00: OK | Drive01: OK | Drive02: OK | Drive03: OK | Drive04: OK | Drive05: OK | Drive06: OK | Drive07: OK |
                 Drive08: OK | Drive09: OK | Drive10: OK | Drive11: OK | Drive12: OK | Drive13: OK | Drive14: OK | Drive15: OK |
                 Drive16: OK | Drive17: OK | Drive18: OK | Drive19: OK | Drive20: OK | Drive21: OK | Drive22: OK | Drive23: OK |
                 Drive24: OK |
    I/O Module   iom00: OK  | iom01: OK  |
    Mezz         mez00: OK  | mez01: OK  |
    PSU          psu00: OK  | psu01: OK  |
    BBU          bbu00: OK  | bbu01: OK  |
    FAN          fan00: OK  | fan01: OK  | fan02: OK  | fan03: OK  | fan04: OK  | fan05: OK  | fan06: OK  | fan07: OK  |
                 fan08: OK  | fan09: OK  | fan10: OK  | fan11: OK  | fan12: OK  | fan13: OK  |
    Root I2C     i2c00: OK  | i2c01: OK  | i2c02: OK  | i2c03: OK  | i2c04: OK  | i2c05: OK  | i2c06: OK  | i2c07: OK  |
    IO I2C       i2c00: OK  | i2c01: OK  | i2c02: OK  | i2c03: OK  | i2c04: OK  | i2c05: OK  | i2c06: OK  | i2c07: OK  |
    Other I2C    i2c00: OK  | i2c01: OK  | i2c02: OK  | i2c03: OK  | i2c04: OK  | i2c05: OK  | i2c06: OK  | i2c07: OK  |
    Mezz I2C     i2c00: OK  | i2c01: OK  | i2c02: OK  | i2c03: OK  | i2c04: OK  | i2c05: OK  | i2c06: OK  | i2c07: OK  |
    Drive I2C    i2c00: OK  | i2c01: OK  | i2c02: OK  | i2c03: OK  | i2c04: OK  | i2c05: OK  | i2c06: OK  | i2c07: OK  |
                 i2c08: OK  | i2c09: OK  | i2c10: OK  | i2c11: OK  | i2c12: OK  | i2c13: OK  | i2c14: OK  | i2c15: OK  |
                 i2c16: OK  | i2c17: OK  | i2c18: OK  | i2c19: OK  | i2c20: OK  | i2c21: OK  | i2c22: OK  | i2c23: OK  |
                 i2c24: OK  |
    System       Bit  0  CPU Module: OK
                 Bit  1  Management Module: OK
                 Bit  2  Drive I/O Card 0: OK
                 Bit  3  eFlash : OK
                 Bit  4  Expansion Bay 0: OK
                 Bit  5  Enclosure: OK
                 Bit  6  CMI: OK
                 Bit  7  All Frus: OK
                 Bit  8  External: OK
                 Bit  9  Expansion Bay 1: OK
                 Bit 10  Drive I/O Card 1: OK  
  1. 必须先将两个节点置于服务模式,然后才能重新初始化系统。
    这需要两个命令。第一个方法在节点上设置服务模式标记,第二个方法将节点重新启动到服务模式。

    两个 节点上,运行:
    svc_rescue_state set
    svc_node reboot local
    如果观察到错误,则 -f 可以使用 (force) 标记。
    节点需要大约 10 到 15 分钟才能重新启动。

    重新启动后,您可以确认每个节点都处于服务模式,因为它显示以下警告:
    [service@1234567-X user]$ 
    *** WARNING *** This Node is currently in Service Mode *** WARNING ***
     
    提醒:在 PowerStoreOS v3 中,此警告并不总是显示。在两个节点上运行此命令以确认服务模式状态:
    svc_rescue_state list
    示例:
    [SVC:service@1234567-X user]$ svc_rescue_state list
    当前基本操作系统状态为服务模式,rc = 0。
    上次备份挽救原因条目:
    #### Thu Dec 29 14:44:37 UTC 2023 #### :Servicemode Reason:在 reinit 时初始化历史记录文件,以正常模式启动。
    启动次数表示自上次成功启动以来的启动次数。
    current bootcount = 4,阈值为 3
    UI 请求的维修模式
  1. 节点重新启动进入服务模式后,登录到节点 A 并重新初始化系统。
    要启动重新初始化过程,请仅在节点 A 上运行出厂重置命令,然后按照命令提示符的指导进行操作:
    svc_factory_reset
    如果观察到错误,则 --force 标记。

    示例:
    [service@1234567-A user]$ svc_factory_reset
    当前 CoreOS 状态为服务模式,rc = 0。
    current bootcount = 4
    UI requested Service Mode


    当前 CoreOS 状态为服务模式,rc = 0。
    current bootcount = 4
    UI requested Service Mode


    此命令将破坏性地重新映像您的设备,并将其恢复为出厂设置。

    Are you sure you want to continue? [y/N]


预期结果:

  • 系统上的所有数据和所有配置都将被永久删除,并且在系统启动后无法恢复 svc_factory_reset 发出并接受命令。
  • 节点将重新启动并返回到空的出厂状态。
  • 此过程所需时间:
    • 完成 PowerStore T 需要 1 小时,在主要版本之间进行降级需要更多时间
    • PowerStore X 1.5 小时
  • 请勿尝试在上面列出的最短预期持续时间结束之前执行任何操作。
  • 重新初始化完成后,系统可能会再次初始化,就像全新的一样。有关如何初始化 PowerStore 系统的信息,请参阅支持页面上提供的说明文件。  

Additional Information

示例

*** WARNING *** This Node is currently in Service Mode *** WARNING ***

[service@1234567-A user]$ svc_factory_reset   
Current CoreOS status is Service Mode, rc = 0.
current bootcount = 4
UI requested Service Mode


Current CoreOS status is Service Mode, rc = 0.
current bootcount = 4
UI requested Service Mode


This command will destructively reimage your appliance and return it to its factory settings.

Are you sure you want to continue? [y/N]

Affected Products

PowerStore, PowerStore 1000X, PowerStore 1000T, PowerStore 1200T, PowerStore 3000X, PowerStore 3000T, PowerStore 3200T, PowerStore 5000X, PowerStore 5000T, PowerStore 500T

Products

PowerStore 5200T, PowerStore 7000X, PowerStore 7000T, PowerStore 9000X, PowerStore 9000T, PowerStore 9200T
Article Properties
Article Number: 000180964
Article Type: How To
Last Modified: 20 Sep 2024
Version:  18
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.