NVP-vProxy: Die Registrierung schlägt mit "vProxy in intable state, method not allowed" fehl. Received an HTTP code: 405"
Summary: NSR-VMware-Proxy "vproxyname.local" kann nicht registriert werden: vProxy im instabilen Zustand, Methode nicht zulässig
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
Die Integration von NetWorker VMware Protection wird mit der vProxy-Appliance konfiguriert. Der vProxy wird registriert und die NetWorker Management Console zeigt den HTTP-Warnungscode 405 an.
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"
Der vProxy /opt/emc/vproxy/runtime/logs/vrapid/vrapid-engine.log zeigt Folgendes an:
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
Cause
Wenn der NetWorker-Server über mehrere Netzwerkschnittstellen verfügt, wird dem vProxy möglicherweise eine andere Schnittstelle angezeigt und die Registrierung wird verweigert.
Resolution
Verwenden Sie eine der folgenden Workaround-Optionen:
Workaround 1:
2. Wechseln Sie zum Root-Nutzer: sudo su – root
3. Bearbeiten Sie die Konfigurationsdatei der systemd-Einheit: vi /usr/lib/systemd/system/vrapid.service
4. Suchen Sie die Zeile beginnend mit "ExecStart=/opt/emc/vproxy/bin/vrapid"
5. Hängen Sie das Befehlszeilen arg an,/bearbeiten Sie es, um die Zugriffskontrolle zu deaktivieren.
Beispiel: ExecStart=/opt/emc/vproxy/bin/vrapid --disable-access-control
6. Laden Sie die Konfigurationsdatei der Einheit erneut in systemd: systemctl daemon-reload
7. Starten Sie die vrapid-Engine neu: systemctl restart vrapid.service
neu starten8. Registrieren Sie den vProxy beim NetWorker-Server.
Problemumgehung 2:
Konfigurieren Sie DNS-Einträge für alle IP-Adressen der NetWorker-Serverschnittstelle, um sie in den NetWorker-Serverhostnamen aufzulösen. Die vProxy-Registrierung löst alle IP-Adressen für den NetWorker-Server auf und fügt sie zur Zugriffskontrollliste hinzu.
Workaround 3:
Bearbeiten Sie die Datei vProxy /etc/hosts vor der Registrierung und fügen Sie alle IP-Adressen der NetWorker-Serverschnittstelle hinzu, um sie in den NetWorker-Serverhostnamen aufzulösen.
HINWEIS: Die Verwendung dieser Methode führt dazu, dass die Option nsrvproxy_mgmnt erneute Bereitstellung fehlschlagen wird, wenn die vProxy-Appliance in Zukunft aktualisiert wird, da die /etc/hosts-Einstellungen nicht erneut bereitgestellt werden.
Additional Information
Affected Products
NetWorker SeriesProducts
NetWorker, NetWorker SeriesArticle Properties
Article Number: 000050318
Article Type: Solution
Last Modified: 28 Sept 2023
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.