请输入搜索词进行查询
搜索 <book_title>...
Veritas NetBackup™ Appliance 命令参考指南
Last Published:
2018-09-26
Product(s):
Appliances (3.1.2 (5340), 3.1.2 (5330), 3.1.2 (5240), 3.1.2 (5230))
Platform: 5220,5230,5240,5330,5340
- 概述
- 附录 A. Main > Appliance 命令
- 附录 B. Main > Manage > FibreChannel 命令
- 附录 C. Main > Manage > HighAvailability 命令
- 附录 D. Main > Manage > Libraries 命令
- 附录 E. Main > Manage > Libraries > Advanced > ACS 命令
- 附录 F. Main > Manage > License 命令
- 附录 G. Main > Manage > MountPoints 命令
- 附录 H. Main > Manage > NetBackup CLI 命令
- 附录 I. Main > Manage > OpenStorage 命令
- 附录 J. Main > Manage > Software 命令
- 附录 K. Main > Manage > Storage 命令
- 附录 L. Main > Manage > Tapes 命令
- 附录 M. Main > Manage > Certificates 命令
- 附录 N. Main > Monitor 命令
- 附录 O. Main > Network 命令
- 附录 P. Main > Network > Security (IPsec) 命令
- 附录 Q. Main > Reports 命令
- 附录 R. Main > Settings 命令
- 附录 S. Main > Settings > Alerts 命令
- 附录 T. Main > Settings > Notifications 视图命令
- 附录 U. Main > Settings > Security 命令
- 附录 V. Main > Support 命令
名称
Main > Support > FactoryReset — 将设备重置为出厂默认设置。
大纲
FactoryReset
FactoryReset ResetAll
描述
使用此命令将设备重置为出厂默认设置。如果已更改出厂设置的默认密码,则此命令会将其重置回默认值。
对于设备高可用性 (HA) 设置中的节点,必须先从 HA 设置中移除节点,并在执行恢复出厂设置之前断开其以太网和光纤通道 (FC) 电缆。
注意:
如果您尝试运行恢复出厂设置或启动回滚到 HA 设置中某个节点上的非 HA 检查点,则 HA 设置可能无法正常工作。
对任意 HA 节点执行恢复出厂设置之前,按显示的顺序执行以下任务:
在无需移除的节点上,运行以下命令以从 HA 设置中移除其他节点:
Manage > High Availability > Remove Node HostName
其中 HostName 是要移除的节点的主机名。
从已删除的节点断开以太网电缆和 FC 电缆。
完成前面所述的任务后,可以运行 FactoryReset 命令。
注意:
如果不从 HA 设置中移除节点并在执行恢复出厂设置之前断开以太网和 FC 电缆,则命令失败。将显示一条错误消息,提醒您执行前面所述的任务,然后再次尝试执行恢复出厂设置。
选项
- FactoryReset
使用此命令将设备重置为出厂默认设置。
- FactoryReset ResetAll
使用此命令可在非交互模式下重置设备出厂安装的映像。
示例
从设备的 shell 菜单开始恢复出厂设置
- 打开一个 SSH 会话,并以管理员身份登录到设备。
- 输入 Main_Menu > Support > FactoryReset。 此命令将显示以下消息,并且在开始恢复出厂设置之前需要您回答以下问题。
Appliance factory reset will reset the entire system to the factory installed image. The appliance will have the following components reset to the factory restored settings/image: 1) Appliance Operating System 2) Appliance Software 3) NetBackup Software 4) Tape media configuration on the master server 5) Networking configuration 6) Storage configuration and backup data (optionally retain) - [Info] Running factory reset validation...please wait (approx 2 mins) - [Info] Factory reset validation successful. RESET NETWORK CONFIGURATION [Optional] -- Resets the IP and routing configuration. -- Resets the DNS configuration. >> Do you want to reset the network configuration? [yes/no] (yes) no RESET STORAGE CONFIGURATION and BACKUP DATA [Optional] -- Removes all the images on the AdvancedDisk and MSDP storage pools. -- Resets the storage partitions. -- Resets storage expansion units, if any. >> Do you want to delete images and reset backup data? [yes/no] (yes) >> Resetting the storage configuration will remove all backup data on the storage partitions and any connected expansion units. This is not reversible. Are you sure you want to reset storage configuration? [yes/no] (yes) >> A reboot of the appliance is required to complete the factory reset. Reboot automatically after reset? [yes/no] (no) yes >> Automatically rebooting after the reset will not provide you with an opportunity to review the progress/final status of the reset. Are you sure you would like to automatically reboot? [yes/no] (no) yes
- 回答这些问题之后,将显示以下摘要信息:
FACTORY RESET SUMMARY --------------------- Reset Appliance OS, software configuration : [YES] Reset Appliance network configuration : [NO] Reset Appliance storage configuration (REMOVE DATA) : [YES] Auto reboot after reset? : [YES] Appliance will make the following version changes: +------------------------------------------------------------------------------+ | Appliance | Current Version | Reverted Version | |------------+--------------------------------+--------------------------------| |v49 |NetBackup 7.6.0.1 Appliance |NetBackup 7.6.0.1 Appliance | | |2.6.0.1 |2.6.0.1 | +------------------------------------------------------------------------------+
- 将显示以下警告。 如果要开始恢复出厂设置操作,请输入 Yes。
WARNING: an Appliance Factory reset cannot be reversed! Continue with factory reset? yes
继续恢复出厂设置时会显示以下摘要消息:
- [Info] PERFORMING APPLIANCE RESET TO FACTORY STATE ON : abc123.example.com - [Info] Delete checkpoints (type: NON_FACT) succeeded - [Info] Reset of the appliance to FACTORY STATE successful. - [Info] Stopping NetBackup processes... (6 mins approx) - [Info] Moving NetBackup Appliance Directory to ce-win21-urmi1... - [Info] Acquired lock on the storage. - [Info] Resetting the storage configuration... - [Info] Checking whether the 'MSDP' storage partition exists... - [Info] Initiating deletion of 'MSDP' storage partition... - [Info] Unmounting the 'MSDP' partition '0'... - [Info] Deleting the 'MSDP' partition '0'... - [Info] Checking whether the 'Catalog' storage partition exists... - [Info] Initiating deletion of 'Catalog' storage partition... - [Info] Unmounting the 'Catalog' partition '0'... - [Info] Deleting the 'Catalog' partition '0'... - [Info] Checking whether the 'Configuration' storage partition exists... - [Info] Initiating deletion of 'Configuration' storage partition... - [Info] Unmounting the 'Configuration' partition '0'... - [Info] Deleting the 'Configuration' partition '0'... - [Info] Checking whether the 'AdvancedDisk' storage partition exists... - [Info] Initiating deletion of 'AdvancedDisk' storage partition... - [Info] Unmounting the 'AdvancedDisk' partition '0'... - [Info] Deleting the 'AdvancedDisk' partition '0'... - [Info] Removing the storage configuration... - [Warning] Failed to query SCSI device '/dev/system/root'. - [Warning] Failed to query SCSI device '/dev/system/root'. >> A reboot of the appliance is required to complete the factory reset. Reboot now?[yes/no] (no)yes Rebooting the appliance now... - [Info] Rebooting abc123.example.com... Broadcast message from root (Mon Nov 25 11:56:39 2013): The system is going down for reboot NOW! - [Info] Rebooting appliance to complete the reset. Please reconnect to the Appliance shell menu to continue using this appliance