Networker:如何使用 nsrclientfix 工具
Résumé: 使用 nsrclientfix 命令在媒體資料庫中偵測損壞的用戶端 ID,以及可清除的用戶端 ID。也可將用戶端合併到資源資料庫和媒體資料庫內。 本文說明如何以手動方式執行,以及其他需要留心的詳細資訊。
Cet article concerne
Cet article ne concerne pas
Cet article n’est associé à aucun produit spécifique.
Toutes les versions du produit ne sont pas identifiées dans cet article.
Instructions
1.使用主要 IP + 主要 FQDN + 主要短名稱 + 次要 FQDN + 次要短名稱設定主機檔案
2.以此順序設定用戶端別名,清除任何其他的 IP
3.執行 nsclientfix 工具:
2.以此順序設定用戶端別名,清除任何其他的 IP
3.執行 nsclientfix 工具:
#nsrclientfix -a - -p > clientfix.txt 2>&1
#more clientfix.txt
client1.domain.com,用戶端 <-- 同一行中的用戶端將被合併。
#nsrclientfix -u clientfix.txt
Merging the following clients into 'client1.domain.com': client1
Merging the resource database for client 'client1.domain.com'.
Merging the media database for client 'client1.domain.com'.
The merging is complete for client 'client1.domain.com'.
#nsrclientfix -a - -p > client_bad.txt 2>&1
#more client_bad.txt
<client2.domain.com -- 將清除線路中的用戶端。
#nsrclientfix -u client_bad.txt
Purging the client 'client2.domain.com'.
Purging the resource database of client 'client2.domain.com'.
Purging the media database of client 'client2.domain.com'.
Removing any index backups related to client 'client2.domain.com' in the media database.
Successfully purged client 'client2.domain.com'.
4.清除主機檔案,刪除其他名稱,只保留合併後的名稱 (FQDN 和短名稱)
4.清除主機檔案,刪除其他名稱,只保留合併後的名稱 (FQDN 和短名稱)
5.執行 nsrck -L6 <client_name>以重建用戶端索引。
Informations supplémentaires
備註 1:請注意,您需要在 etc/hosts 檔案中的 IP、FQDN 和短名稱之間設定單一空格 (空白或 Tab)。
備註 2:在某些情況下,如果用戶端有兩個不同的 IP 和 NIC,則需要在 etc/hosts 的不同行中設定,即使已經合併,也可能仍會在 nsrclientfix 工具上顯示為合併。
參考:https://support.emc.com/docu85858_NetWorker-9.2.x-Command-Reference-Guide.pdf#page=325
備註 2:在某些情況下,如果用戶端有兩個不同的 IP 和 NIC,則需要在 etc/hosts 的不同行中設定,即使已經合併,也可能仍會在 nsrclientfix 工具上顯示為合併。
參考:https://support.emc.com/docu85858_NetWorker-9.2.x-Command-Reference-Guide.pdf#page=325
Produits concernés
NetWorkerProduits
NetWorkerPropriétés de l’article
Numéro d’article: 000013736
Type d’article: How To
Dernière modification: 19 mars 2026
Version: 6
Trouvez des réponses à vos questions auprès d’autres utilisateurs Dell
Services de support
Vérifiez si votre appareil est couvert par les services de support.