NVP vProxy: How To Unregister/Re-Register a vProxy Appliance
Summary: This KB explains how to manually unregister and register a NetWorker VMware Protection (NVP) vProxy appliance using the NetWorker server’s nsradmin command-line options.
Instructions
The NetWorker VMware Protection integration is configured with the vProxy Appliance. The vProxy must be unregistered and re-registered against the NetWorker Server.
Method 1:
- From the NetWorker Management Console (NMC) or NetWorker Web User Interface (NWUI), delete the vProxy resource. Deleting the vProxy from NetWorker should unregister it from the NetWorker server resource database (
nsrdb). Deleting the vProxy from NetWorker does not delete the vProxy Virtual Machine (VM) from VMware.
NMC: Devices->VMware Proxies
NWUI: Protection->VMware Proxies
- Using the NMC or NWUI add the vProxy back. Readding the vProxy issues a new registration for the vProxy.
Method 2:
If the above method fails, manually unregister and reregister the vProxy using the NetWorker server’s nsradmin command-line utility.
- On the NetWorker server, open a Administrator/root command prompt
- Enter:
nsradmin - Enter:
option hidden - Enter:
visual - This opens a CLI utility that can be used to change the NetWorker Server Resource Database (
nsrdb). You can use ESC, arrow keys, and ENTER to navigate and make changes.
- Use the Next/Prev options to select the vProxy host you must unregister.
- Use the arrow keys to select Edit and hit Enter.
- Use the arrow keys to select Unregister and press Enter, press ESC and save changes.
- Wait 30-60 seconds.
- Use the arrow keys to select Register and press Enter, press ESC and save changes.
Logging:
Additional Information
In some instances the vProxy will not register, this can occur for several causes. A common solution is to perform the following.
- Delete the vProxy from the NetWorker Management Console (NMC) or NetWorker Web User Interface (NWUI)
- Open an SSH session to the vProxy appliance and log in as admin.
- Once logged in as admin, switch to root:
sudo su -
- Rename the vProxyRegistry.dat:
mv /opt/emc/vproxy/runtime/state/vProxyRegistry.dat /opt/emc/vproxy/runtime/state/vProxyRegistry.dat_`date -I`
- Confirm that the vProxy can reach port 9090 on the NetWorker server:
curl -v NETWORKER_SERVER_FQDN:9090
- Reboot the vProxy VM:
reboot
- Once the vProxy VM has come back online, confirm that you can connect to port 9090 on the vProxy from the NetWorker server:
nsrports -t VPROXY_FQDN -p 9090
In some instances, debug messaging may be required. The following KB provides information about enabling vrapid debugging on the vProxy appliance: NetWorker VMware Protection-vProxy: How to Enable Debug Logging
The vProxy's /opt/emc/vproxy/runtime/logs/vrapid/vrapid-engine.log contains information regarding vProxy registration operations.
vProxy admin user account is locked:
If vProxy will not register, and root credentials are known, check to see if the admin user account is locked on the vProxy.
- From vSphere, open a VMware Console session to the vProxy VM:

- Log in as root.
- Use
pam_tally2to reset the admin account:
pam_tally2 --user=admin --reset
- If the current admin password is not known, you can change it using the Linux
passwdcommand:
passwd admin
- Use Method 1 from the Resolution field to remove the vProxy and add it back using the new password.
If the admin account continues to lock when no known SSH connections are being performed, check to see where the SSH session is coming from:
journalctl -u sshd | grep -w 'admin'
This command shows what systems are attempting (and failing) to login using the admin account:
Dec 06 09:23:36 nsr-vproxy02.amer.lan sshd[9407]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.9.100 user=admin
Dec 06 09:23:38 nsr-vproxy02.amer.lan sshd[9407]: Failed password for admin from 192.168.9.100 port 54788 ssh2