Networker:如何使用 nsrclientfix 工具
Samenvatting: 使用 nsrclientfix 命令在媒體資料庫中偵測損壞的用戶端 ID,以及可清除的用戶端 ID。也可將用戶端合併到資源資料庫和媒體資料庫內。 本文說明如何以手動方式執行,以及其他需要留心的詳細資訊。
Dit artikel is van toepassing op
Dit artikel is niet van toepassing op
Dit artikel is niet gebonden aan een specifiek product.
Niet alle productversies worden in dit artikel vermeld.
Instructies
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>以重建用戶端索引。
Extra informatie
備註 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
Getroffen producten
NetWorkerProducten
NetWorkerArtikeleigenschappen
Artikelnummer: 000013736
Artikeltype: How To
Laatst aangepast: 19 mrt. 2026
Versie: 6
Vind antwoorden op uw vragen via andere Dell gebruikers
Support Services
Controleer of uw apparaat wordt gedekt door Support Services.