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

NVP vProxy: (Guida alla risoluzione dei problemi) I backup hanno esito negativo con errore "NSR VMware proxy is not available for datastores"

Summary: Si tratta di un articolo della KB generale per la risoluzione dei problemi destinato al supporto per comprendere le possibili cause dell'errore "NSR VMware Proxy is not available for datastores" durante l'esecuzione di backup vProxy. ...

This article applies to   This article does not apply to 

Instructions

Durante i backup delle VM eseguiti con l'appliance VMware Protection (NVP) vProxy di NetWorker, il backup della VM ha esito negativo per una o più VM con l'errore:
NSR VMware proxy is not available for datastores (DATASTORE_NAME) in vCenter 'VCENTER_NAME'.
Questo errore può essere riscontrato quando si esaminano i dettagli dell'azione di backup non riuscita nella finestra NMC Monitoring.
image.png
Oppure, nei registri delle azioni di backup sul server NetWorker:
root@linux1:~# nsr_render_log /nsr/logs/policy/Gold/VMware/Backup_235896.raw | grep -i error
164882 02/07/2023 09:44:11 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error Unable to process VM 'linuxclient01': NSR VMware proxy is not available for datastores (datastore1) in vCenter 'vcsa.amer.lan'. Check if it is enabled.
164546 02/07/2023 09:44:11 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error linuxclient01: Backup failed.
164882 02/07/2023 09:44:11 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error Unable to process VM 'winclient02': NSR VMware proxy is not available for datastores (datastore1) in vCenter 'vcsa.amer.lan'. Check if it is enabled.
164546 02/07/2023 09:44:11 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error winclient02: Backup failed.
164882 02/07/2023 09:44:45 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error Unable to process VM 'linuxclient01': NSR VMware proxy is not available for datastores (datastore1) in vCenter 'vcsa.amer.lan'. Check if it is enabled.
164546 02/07/2023 09:44:45 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error linuxclient01: Backup failed.
164882 02/07/2023 09:44:45 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error Unable to process VM 'winclient02': NSR VMware proxy is not available for datastores (datastore1) in vCenter 'vcsa.amer.lan'. Check if it is enabled.
164546 02/07/2023 09:44:45 AM  3 5 0 1296803648 11621 0 linux1.amer.lan nsrvproxy_save NSR error winclient02: Backup failed.
Questo errore viene visualizzato per diversi motivi. I dettagli riportati di seguito illustrano un paio di cause comuni e come risolverle.

 

Disponibilità di vProxy:

Stato vProxy: È abilitato un vProxy per i backup?

root@linux1:~# nsradmin
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> show enabled; name
nsradmin> print type: nsr vmware proxy
                        name: vproxy01.amer.lan;
                     enabled: Yes;

Oppure
image.png

Se il vProxy mostra Enabled "No", impostare su Enabled "Yes". Questa operazione può essere eseguita da NMC:

image.png
Oppure nsradmin:

nsradmin> . type: nsr vmware proxy; name: vproxy01.amer.lan
Current query set
nsradmin> update enabled: Yes
                     enabled: Yes;
Update? y
updated resource id 141.0.147.119.0.0.0.0.114.88.175.99.192.168.7.101(28)
nsradmin>

Se vProxy non passa allo stato "Enabled":

  • Verificare la comunicazione della porta 9090 tra vProxy e il server NetWorker (bidirezionale):
    • vProxy: curl -v NW_SERVERNAME:9090
    • Server NetWorker: nsrports -t VPROXY_NAME -p 9090
  • Tentare la nuova registrazione manuale di vProxy: https://www.dell.com/support/kbdoc/000156072

Configurazione VMware:

Un modo per verificare se c'è un problema con hotadd per eseguire il backup della VM utilizzando il metodo Network Block Device (NBD).
vProxy ha sessioni NBD abilitate (per impostazione predefinita le sessioni NBD sono impostate su 0 (disabilitate)):
image.png

Se le sessioni NBD sono abilitate, impostare le sessioni NBD in modo che corrispondano a hotadd:

image.png
OPPURE:

root@linux1:~# nsradmin
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> show name; maximum NBD sessions
nsradmin> . type: nsr vmware proxy; name: vproxy01.amer.lan
Current query set
nsradmin> update maximum NBD sessions: 13
        maximum NBD sessions: 13;
Update? y
updated resource id 141.0.147.119.0.0.0.0.114.88.175.99.192.168.7.101(31)
nsradmin> print
                        name: vproxy01.amer.lan;
        maximum NBD sessions: 13;

Eseguire nuovamente il backup. Se il backup ha esito positivo, ciò suggerisce che vProxy non è in grado di connettersi ai file della VM su HotAdd; Tuttavia, vProxy può connettersi alle VM tramite la rete di gestione utilizzando network block device (NBD).
Vedere il campo Informazioni aggiuntive per un esempio di ProxyHC per il controllo della connettività hotadd.

Se i backup NBD hanno esito positivo e/o ProxyHC segnala un problema di accesso alla VM tramite hotadd, effettuare le seguenti operazioni:

Prendere nota di:

  • VM specifiche che segnalano l'errore.
  • Quale datastore è specificato nell'errore.
  • Il nome vCenter segnalato nell'errore.
  • Appliance vProxy utilizzato dal backup/segnalato nell'errore.

1. Accedere al web client vSphere per vCenter in cui viene eseguito il backup.
2. Accedere a Inventory (Inventario) e accedere a virtual machine e template.
3. Passare a (o cercare) la VM vProxy; nella scheda summary prendere nota dell'host ESXi in cui risiede vProxy:

image.png

4. Passare alla scheda Hosts and Clusters, selezionare l'host ESXi su cui risiede vProxy, quindi cliccare su Datastores:

image.png

In questo modo vengono elencati i datastore VMware visibili all'host ESXi su cui risiede il vProxy. Se il datastore restituito nell'errore di backup "NSR VMware proxy is not available for datastores (DATASTORE_NAME)" non viene visualizzato nell'elenco, vProxy non può accedere ai file della VM tramite hotadd. Per supportare l'hotadd di vProxy deve essere implementato su un host ESXi che dispone di un percorso ai datastore della VM. Analogamente, lo stesso processo può essere utilizzato per esaminare l'host ESXi su cui risiede la VM, quindi osservare i datastore dell'host ESXi. Se non si vede il datastore in cui risiede il vProxy, non vi è alcun percorso tra vProxy e VM.
Le possibili soluzioni sono:

  • VMware vSphere vMotion l'appliance vProxy su un host ESXi con accesso a tutti i datastore necessari per i backup delle VM.
  • Configurare l'host ESXi su cui risiede vProxy per avere accesso ai datastore VMware su cui risiedono le VM.
  • Implementare un appliance vProxy sugli host ESXi connessi a datastore univoci (non accessibili tramite gli host se i vProxy sono già implementati). 
Le modifiche alla configurazione di cui sopra devono essere eseguite dall'amministratore VMware, non dal supporto di NetWorker. Se non è possibile apportare modifiche alla configurazione per consentire il funzionamento di hotadd, è necessario utilizzare NBD.

La NetWorker VMware Integration Guide include ulteriori dettagli sui suggerimenti, sui requisiti e sulle limitazioni della modalità di trasporto: https://www.dell.com/support/home/product-support/product/networker/docs

dischi

IDESe non sono stati osservati problemi del datastore, controllare le VM che non funzionano per verificare se sono configurate per l'utilizzo di dischi IDE. Ciò può essere visualizzato nelle impostazioni della VM in vSphere:
image.png
I dischi IDE non supportano hotadd, l'appliance vProxy deve essere configurato per consentire "fallback to NBD for IDE disks":
image.png
Questa impostazione può essere abilitata se le sessioni NBD sono impostate su zero, ma il workflow contiene VM con dischi IDE. Solo le VM con dischi IDE eseguiranno il backup utilizzando NBD; tutte le altre VM con dischi SCSI eseguiranno il backup su hotadd. Non è consigliabile implementare VM con dischi IDE, ma utilizzare dischi ISCSI quando possibile.

 

Additional Information

La connettività hotadd può essere verificata anche utilizzando ProxyHC: https://www.dell.com/support/kbdoc/000022590

vproxy01:~ # ./ProxyHC hotadd
Info: Checking OS account status -------> Passed
Info: Checking configuration files
        Info: Proxy is registered to: linux1.amer.lan
        Info: Proxy version is: 4.3.0-38
Info: Checking OS
        Info: Checking attached disks -------> Passed
        Info: Checking disk usage -------> Passed
        Info: Checking memory usage -------> Passed
Info: Checking connectivity
        Info: Checking primary NIC ------->  192.168.9.123
        Info: Testing ping to gateway 192.168.7.100 -------> Passed
        Info: Testing ping to DNS 192.168.10.100 -------> Passed
        Info: Testing ping to DNS 192.168.7.100 -------> Passed
        Info: Testing ping to DNS 192.168.9.100 -------> Passed
        Info: Checking DNS response
        Info: Testing name lookup for linux1.amer.lan -------> Passed
        Info: Testing name lookup for vcsa.amer.lan -------> Passed
Info: Checking package details
        Info: Checking vProxy package version -------> Found version 4.3.0
        Info: Verifying vProxy package -------> command returned error
Info: Checking service state
        Info: Checking status for vbackupd -------> Passed
        Info: Checking status for vflragent -------> Passed
        Info: Checking status for vflrd -------> Passed
        Info: Checking status for vkpod -------> Passed
        Info: Checking status for vrapid -------> Passed
        Info: Checking status for vrecoverd -------> Passed
        Info: Checking status for vsessionsd -------> Passed
Info: Checking engine logs
        Info: Checking vsessionsd engine log -------> Passed
        Info: Checking vrapid engine log -------> Passed
        Info: Checking vrecoverd engine log -------> Passed
        Info: Checking vbackupd engine log -------> Found 2 failed sessions
        Info: Checking vkpod engine log -------> Passed
        Info: Checking vflragent engine log -------> Passed
        Info: Checking vflrd engine log -------> Passed
Info: Checking vCenter access
        Please specify vCenter USER name for vcsa.amer.lan: bkupadmin@amer.lan
        Please provide vCenter server password:
        Info: Validating vCenter server connectivity -------> Passed
Info: Checking for hotadd access
        Please provide DNS name of VM(as shown in vSphere): linuxclient01.amer.lan
        Info: Looking for vProxy VM -------> Passed
        Info: Checking vCenter user permissions
        Info: Looking for user permissions to root object -------> Failed
        Info: Validating datacenter match -------> Passed
        Info: Looking for IDE disks -------> Passed
        Info: Checking virtual hardware version -------> Passed
        Info: Looking for independent disk -------> Passed
        Info: Checking datastore access -------> Passed
        Info: Checking entity names -------> Passed
 

Affected Products

NetWorker

Products

NetWorker Family, NetWorker Series
Article Properties
Article Number: 000208393
Article Type: How To
Last Modified: 20 Oct 2023
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.