NVP vProxy: Registrazione non riuscita "Impossibile accedere a vCenter.. Nome utente o password non corretti"

Summary: La registrazione di un vProxy NetWorker VMware Protection (NVP) ha esito negativo. L'errore restituito è "HTTP 500 Unable to log in to vCenter 'vcsa.amer.lan': ServerFaultCode: Impossibile completare l'accesso a causa di nome utente o password errati."" ...

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

La registrazione di un vProxy NetWorker VMware Protection (NVP) ha esito negativo.
Il seguente errore viene registrato nella sezione Log della scheda Monitoring di NetWorker Management Console (NMC):

VM proxy Warning: Unable to register NSR VMware proxy 'VPROXY_NAME': Received an HTTP code: 500, libcurl message: "", vProxy message: "Error received from vProxy ="500: Unable to log in to vCenter 'VCENTER_NAME': ServerFaultCode: Cannot complete login due to an incorrect user name or password.".

La daemon.raw di rendering del server NetWorker riporta gli stessi errori:

Linux: /nsr/logs/daemon.raw
Windows: C:\Program Files\EMC NetWorker\nsr\logs\daemon.raw

Esempio:

71193 02/05/2025 10:50:45 AM  nsrd NSR info VM proxy Info: Initiating registration of NSR VMware proxy 'nsr-vproxy01.amer.lan'
71193 02/05/2025 10:50:50 AM  nsrd NSR info VM proxy Warning: Unable to register NSR VMware proxy 'nsr-vproxy01.amer.lan': Received an HTTP code: 500, vProxy ="500: Unable to log in to vCenter 'vcsa.amer.lan': ServerFaultCode: Cannot complete login due to an incorrect user name or password.".

L'aggiornamento di VMware View di NMC funziona. Ciò convalida che il server NetWorker disponga delle credenziali vCenter corrette.
 

NOTA: Se l'aggiornamento di VMware View non riesce a caricare l'inventario vCenter. Verificare che le credenziali di vCenter siano corrette. Consultare la sezione Informazioni aggiuntive per istruzioni sulla risoluzione dei problemi.

Cause

Il vProxy non risolve correttamente il vCenter Server.

Scenario di esempio.

L'appliance vProxy ha un indirizzo IP errato nel file /etc/hosts. Il vProxy può eseguire il ping di questo indirizzo IP. L'indirizzo IP è per un altro VMware vCenter, quindi anche le connessioni alla porta 443 hanno esito positivo; tuttavia, non è il vCenter corretto, quindi l'autenticazione non riesce:
nsr-vproxy01:~ # ping -c 4 vcsa.amer.lan
PING vcsa.amer.lan (192.168.9.114) 56(84) bytes of data.
64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=1 ttl=64 time=0.455 ms
64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=2 ttl=64 time=0.399 ms
64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=3 ttl=64 time=0.698 ms
64 bytes from vcsa.amer.lan (192.168.9.114): icmp_seq=4 ttl=64 time=0.361 ms

--- vcsa.amer.lan ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3049ms
rtt min/avg/max/mdev = 0.361/0.478/0.698/0.131 ms
nsr-vproxy01:~ #
nsr-vproxy01:~ # curl -v vcsa.amer.lan:443
*   Trying 192.168.9.114:443...
* Connected to vcsa.amer.lan (192.168.9.114) port 443 (#0)
> GET / HTTP/1.1
> Host: vcsa.amer.lan:443
> User-Agent: curl/8.0.1
> Accept: */*
>
* Empty reply from server
* Closing connection 0
curl: (52) Empty reply from server
Dal server NetWorker è possibile vedere che vCenter viene risolto in un indirizzo IP diverso:
[root@nsr ~]# nslookup vcsa.amer.lan
Server:         192.168.9.100
Address:        192.168.9.100#53

Name:   vcsa.amer.lan
Address: 192.168.9.111
NOTA: Questo scenario è un esempio, la root cause del problema è che vProxy sta risolvendo vCenter in un indirizzo IP errato. Altri sintomi possono essere osservati a seconda della sede e dello scenario.

Resolution

Si tratta di un problema di risoluzione dei nomi.

NetWorker: Best practice per la risoluzione dei problemi relativi alla risoluzione dei nomi
 

  • Se l'indirizzo IP di vCenter è impostato nel file /etc/hosts di vProxy, assicurarsi che sia l'indirizzo IP corretto per vCenter. Inoltre, assicurarsi che il file /etc/hosts non contenga più voci per il nome host o l'indirizzo IP di vCenter.
  • Se l'indirizzo IP di vCenter non è impostato nel file /etc/hosts del vProxy, assicurarsi che venga risolto nel server DNS corretto. Gli indirizzi dei server DNS sono definiti nel file /etc/resolv.conf di vProxy. 
IP_ADDRESS          VCENTER_FQDN         VCENTER_SHORTNAME_ALIAS


Una volta che il vProxy viene risolto nell'indirizzo IP vCenter corretto, il processo di registrazione riesce:

Registrazione vProxy riuscita

Additional Information

Se l'aggiornamento di VMware View NMC non riesce, potrebbe essersi verificato un problema durante la risoluzione o l'autenticazione con vCenter dal server NetWorker.

1. Assicurarsi che il server NetWorker stia risolvendo il nome host vCenter nell'indirizzo IP corretto. Controllare il file hosts del server NetWorker per individuare eventuali indirizzi IP in conflitto per il vCenter Server.

Linux: /etc/hosts
Windows: C:\Windows\System32\drivers\etc\hosts
2. Verificare di poter accedere all'interfaccia web di vCenters vSphere utilizzando le stesse credenziali utilizzate per aggiungere vCenter a NetWorker.
Un. Da NMC Protection-VMware> View cliccare con il pulsante destro del mouse su vCenter e selezionare Modify vCenter.
Credenziali vCenter
B. Se è possibile accedere a vSphere con lo stesso account, aggiornare la password in NetWorker per assicurarsi che sia corretta.
C. Se non è possibile accedere a vSphere, consultare l'amministratore VMware per verificare che l'account sia corretto, non bloccato e che la password sia corretta.
3. Una volta eseguito l'aggiornamento di VMware View, monitorare la registrazione di vProxy per verificare se viene completata.

L'utilità ProxyHC può essere utilizzata anche per convalidare la connettività e le autorizzazioni di vCenter. Consultare: NVP-vProxy: Come utilizzare lo strumento di controllo integrità ProxyHC sull'appliance vProxy

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000281396
Article Type: Solution
Last Modified: 05 Feb 2025
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.