NetWorker 上的 PowerProtect Cyber Recovery 失敗「工作名稱:20 - 建立 NW 裝置」,並顯示錯誤「...NetWorker 伺服器已停用...」

Summary: 嘗試在 NetWorker Vault 伺服器上執行 nsrdr,請手動或透過 Cyber Recovery Application 使用 nsrdr 命令。失敗並顯示錯誤「在 NetWorker 伺服器停用時無法建立裝置。檢查警示和記錄,瞭解伺服器停用的原因。」

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.

Symptoms

Cyber Recovery app.log 在 Recover Application 期間顯示以下錯誤:
[2022-06-07 10:13:11.767] [INFO] [apps] [RecoverNetWorkerApp.go:144 RunNWWorkflow()] : Task Name: 20- Create NW Devices
[2022-06-07 10:13:11.780] [INFO] [apps] [RecoverNetWorkerApp.go:1240 CreateRecoveryDataDevices()] : Creating RecoveryData devices
[2022-06-07 10:13:12.115] [INFO] [apps] [restapi_client.go:256 CallRESTAPI()] : Methods is :POST URL is:https://1.1.1.111:9090/nwrestapi/v2/datazone/devices
[2022-06-07 10:13:12.358] [INFO] [apps] [appsUtils.go:109 HandleNWResponse()] : REST status code :400
[2022-06-07 10:13:12.359] [ERROR] [apps] [appsUtils.go:123 HandleNWResponse()] : Error response is : {Message:Cannot create a device when the NetWorker server is disabled. Check alerts and logs for information on why the server is disabled.
 Status:{Code:400 Class:Client Error Reason:Bad Request}}
[2022-06-07 10:13:12.359] [ERROR] [apps] [RecoverNetWorkerApp.go:473 createDevices()] : Unable to create NetWorker device. NetWorker Error is ` Cannot create a device when the NetWorker server is disabled. Check alerts and logs on NetWorker server for information on why the server is disabled.`
[2022-06-07 10:13:12.360] [ERROR] [apps] [RecoverNetWorkerApp.go:413 NWCreateDevicesPreDR()] : Failed to create devices pre nsrdr command, Error is Unable to create NetWorker device. NetWorker Error is ` Cannot create a device when the NetWorker server is disabled. Check alerts and logs on NetWorker server for information on why the server is disabled.`
[2022-06-07 10:13:12.360] [ERROR] [apps] [RecoverNetWorkerApp.go:150 RunNWWorkflow()] : Found error running task 20- Create NW Devices Error was: Unable to create NetWorker device. NetWorker Error is ` Cannot create a device when the NetWorker server is disabled. Check alerts and logs on NetWorker server for information on why the server is disabled.`

在 NW VAULT 伺服器上以 root 使用者身分執行nsrwatch命令,也會在「警示」欄位中顯示缺乏有效授權:
 
在 NW VAULT 伺服器上以 Root 使用者身分執行 Command nsrwatch 的螢幕截圖
圖 1:在 NW VAULT 伺服器上以 Root 使用者身分執行 Command nsrwatch 的螢幕截圖

Cause

此故障的原因是存放庫中的 NetWorker 伺服器執行時沒有永久授權,且在軟體安裝期間建立的 EVAL 已過期。NetWorker 試用版或 EVAL 授權期間會在安裝後 90 天后到期。

Resolution

有兩個選項可解決此問題:
  • 取得永久授權。
  • 在 NetWorker 存放庫中再產生一個 90 天 EVAL 授權期間,並提供下列因應措施:
注意:這些步驟從頭開始建立 NetWorker 組態,提供另一個 90 天的寬限期,但所有 NetWorker 組態都會遺失。執行前,請務必先確定要執行哪些工作。
  1. 停止 NetWorker 存放庫伺服器服務和精工。
Linux: systemctl stop networker

Windows: net stop nsrexecd /y
  1. 刪除或重新命名下列資料夾:
Linux: /nsr/res, /nsr/mm, and /nsr/index

Windows: disk_letter:\...\nsr\res, disk_letter:\...\nsr\mm, and disk_letter:\...\nsr\index
  1. 啟動 NetWorker 存放庫服務和精准。
Linux: systemctl start networker

Windows: net start nsrd && net start gstd 
注意:只有在安裝 NetWorker 管理主控台 (NMC) 伺服器套件時,才需要啟動 gstd。此功能也僅適用于 Windows 主機。在 Linux 上停止 NetWorker 並不會停止 NMC 服務;但是,在 Windows 系統上停止 NetWorker 會停止 NMC 服務。

Affected Products

NetWorker Family, Cyber Recovery Series

Products

PowerProtect Cyber Recovery, NetWorker, NetWorker Series
Article Properties
Article Number: 000200393
Article Type: Solution
Last Modified: 02 Jun 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.