NVP vProxy: La registrazione non riesce con "vProxy in stato instabile, metodo non consentito. Ricevuto un codice HTTP: 405"

Сводка: Impossibile registrare il proxy NSR VMware 'vproxyname.local': vProxy in stato instabile, metodo non consentito

Данная статья применяется к Данная статья не применяется к Эта статья не привязана к какому-либо конкретному продукту. В этой статье указаны не все версии продуктов.

Симптомы

L'integrazione NetWorker VMware Protection è configurata con l'appliance vProxy.  Il vProxy è in fase di registrazione e NetWorker Management Console mostra un codice di avviso HTTP 405.

Warning    HH:MM:SS  event    vm proxy  Unable to register NSR VMware proxy '[VPROXY_NAME]': vProxy in unstable state, method not allowed. Received an HTTP code: 405, libCURL message: "", url: "https://[NETWORKER_SERVER_NAME]:9090/api/v1/VproxyEngines/RestEngine/Registration"

Il vProxy /opt/emc/vproxy/runtime/logs/vrapid/vrapid-engine.log mostra:

YYYY/MM/DD HH:MM:SS TRACE:  rejecting unauthorized request "/api/v1/VproxyEngines/RestEngine/process":
YYYY/MM/DD HH:MM:SS TRACE:  {"Config": {"LogTag": "28", "Username": "admin", "SessionId": "", "IdleTimeout": 300, "LogLevel": "INFO", "Password": "*****", "NWS": "[NETWORKER_SERVER_NAME]", "Cp": "-----BEGIN CERTIFICATE-----\nMIICwD....\n-----END CERTIFICATE-----\n-----BEGIN RSA PRIVATE KEY-----\n.....==\n-----END RSA PRIVATE KEY-----\n", "MobServer": {"HostName": "[VCENTER_SERVER_NAME]", "UserName": "[VCENTER_USER]", "UserPassword": "*****", "TcpPort": 0}}}
YYYY/MM/DD HH:MM:SS ERROR:  AdminEngine: sending response error: code=401, errText=only requests from [NETWORKER_SERVER_NAME] are allowed
YYYY/MM/DD HH:MM:SS TRACE:  rejecting unauthorized request "/api/v1/VproxyEngines":
YYYY/MM/DD HH:MM:SS ERROR:  AdminEngine: sending response error: code=401, errText=only requests from [NETWORKER_SERVER_NAME] are allowed
 

Причина

Se il server NetWorker dispone di più interfacce di rete, vProxy può visualizzare un'altra interfaccia e negare la registrazione.

Разрешение

Utilizzare una delle seguenti opzioni di soluzione alternativa:

Soluzione alternativa 1:

1. Connettersi all'appliance vProxy su SSH come amministratore.
2. Passare a root: sudo su - root
3. Modificare il file di configurazione dell'unità di sistema: vi /usr/lib/systemd/system/vrapid.service
4. Trovare la riga che inizia con "ExecStart=/opt/emc/vproxy/bin/vrapid"
5. Aggiungere/modificare il menu della riga di comando per disabilitare il controllo degli accessi.
Esempio: ExecStart=/opt/emc/vproxy/bin/vrapid --disable-access-control
6. Ricaricare il file di configurazione dell'unità in systemd: systemctl daemon-reload
7. Riavviare l'engine vrapid: systemctl restart vrapid.service
8. Registrare il vProxy con il server NetWorker.

Soluzione alternativa 2:

Configurare le voci DNS per tutti gli indirizzi IP dell'interfaccia del server NetWorker da risolvere nel nome host del server NetWorker.  La registrazione vProxy risolve tutti gli indirizzi IP per il server NetWorker e li aggiunge all'elenco di controllo dell'accesso.

Soluzione alternativa 3:

Modificare il file /etc/hosts vProxy prima della registrazione e aggiungere tutti gli indirizzi IP dell'interfaccia del server NetWorker da risolvere nel nome host del server NetWorker. 
NOTA: L'utilizzo di questo metodo farà sì che l'opzione di ridistribuzione nsrvproxy_mgmnt non riesca durante l'aggiornamento futuro dell'appliance vProxy in quanto le impostazioni /etc/hosts non vengono reimplementate.

Дополнительная информация

Затронутые продукты

NetWorker Series

Продукты

NetWorker, NetWorker Series
Свойства статьи
Номер статьи: 000050318
Тип статьи: Solution
Последнее изменение: 28 Sep 2023
Версия:  4
Получите ответы на свои вопросы от других пользователей Dell
Услуги технической поддержки
Проверьте, распространяются ли на ваше устройство услуги технической поддержки.