Symptoms
When trying to modify an NVP-vProxy workflow the below error is shown :
Note: Error text is: In workflow 'WP 2' action 'backup', the vProxy name 'vproxy211 is invalid. The error refers to a workflow in the same policy, but not the workflow currently being modified.
Cause
The error indicates that there is an issue with a vProxy in another workflow under the same policy. This vProxy no longer exists in this datazone.
On modifying one of the workflows, NetWorker attempts to update the whole policy. NetWorker cannot modify the policy, because there is a vProxy in another workflow which has no vProxy resource in the NetWorker resource database.
When checking the policy configuration using nsradmin, we find that there is another action still using a deleted vProxy node:
Extract:
nsradmin> p type:nsr protection policy;name: vProxy
type: NSR Protection Policy;
name: vProxy;
comment: ;
policy definition: \
"{\"policyName\":\"vProxy\",\"policyComment\":\"\",\"policySummaryNotification\
\":{\"policyCompletionNotificationExecuteOn\":\"completion\",\"policyCompletio\
nNotificationAction\":\"nsrlog -f policy_notifications.log\"},\"policyWorkflow\
s\":[{\"workflowName\":\"NVP_wf\",\"synthesisRoot\":[\"NSR group/NVP_wf\",\"NS\
R Snapshot Policy/NVP_wf\"],\"workflowActions\":[{\"actionName\":\"NVP_backup\"\
,\"actionSpecific\":{\"actions\":{\"actionType\":\"backup\",\"actionBackupSubt\
ypeSpecific\":{\"backupSubtypes\":{\"abBackupSubtype\":\"vmware-vproxy\",\"abv\
ProxyDestinationPool\":\"DDPool1\",\"abvProxyName\":\"vproxy211\",\"abvProxyQu\
...
time\":\"13:00\"},{\"workflowName\":\"NVP 2\",\"synthesisRoot\":[\"NSR group/N\
VP 2\",\"NSR Snapshot Policy/NVP 2\"],\"workflowActions\":[{\"actionName\":\"b\
ackup\",\"actionSpecific\":{\"actions\":{\"actionType\":\"backup\",\"actionBac\
kupSubtypeSpecific\":{\"backupSubtypes\":{\"abBackupSubtype\":\"vmware-vproxy\"\
,\"abvProxyDestinationPool\":\"DDPool1\",\"abvProxyName\":\"vproxy211\",\"abvP\
...
This output could also be viewed using the nsrpolicy command.
Further details on how to use the nsradmin command can be found here: NetWorker nsradmin Technical Note
Resolution
Create a "dummy" vProxy resource with the vProxy name and modify the workflows:
- Add Entries in the NetWorker hosts file with the vproxy name
- In the NetWorker Management Console, create a "dummy" vProxy resource with the vProxy name: Open NMC > Devices > VMware Proxies > New
- Edit the affected workflow. Check if the "dummy" vProxy is configured in any action under any of the workflows in the policy. If the "dummy" vProxy is listed, select "auto" (or select a valid vProxy) and save the changes.
- Remove the vProxy "dummy" resource from Networker: Open NMC > Devices > VMware Proxies > right click on the vproxy > delete
A "dummy" vProxy is a vProxy resource created in the NMC using a unresolvable entry in the NetWorker server's OS hosts file. The vProxy does not need to exist in VMware.
Affected Products
NetWorker
Products
NetWorker