vCenter tags collection/assignment using PowerCLI tool

KB ID: 2402
Product: Veeam ONE
Version: 9.5
Published:
Last Modified: 2017-12-19

Challenge

In some cases, Veeam ONE cannot collect or assign vCenter tags properly in vCenter 5.x versions. You can identify the issue by the following error messages in Veeam ONE Reporter logs:
 

Failed to execute SOAP command "CInvSvcCreateCategory". Inventory Service was not created.
Can not Create tag with EXCEPTION: CreateCategory failed.
Failed to dispose inventory service proxy EXCEPTION: The remote server returned an error: (401) Unauthorized.

NOTE: In order to export the logs, follow this KB article.

Cause

As an alternative method, Veeam ONE can use PowerCLI tool to collect and assign tags in VMware vCenter 5.x.

Solution

Proceed with these steps to implement an alternative tags collection/assignment method:

1. Check whether the account used to connect vCenter Server and ESX(i) hosts has all the necessary permissions assigned.
2. Install Veeam ONE 9.5 Update 3.
3. Install PowerCLI 6.5 on Veeam ONE server.
4. On the Veeam ONE server:

  • Open Windows registry editor snap-in and navigate to the following registry path: HKEY_LOCAL_MACHINE\SOFTWARE\Veeam\Reporter Enterprise\
  • Create a new registry key or modify the existing one:
Name:  TagsCollectingMethod
Type:   DWORD
Value:  1

5. Restart Veeam ONE services to apply the changes.

More Information

Should you have any questions, contact Veeam Support.

Please be aware that we’re making changes which will restrict access to product updates for users without an active contract.

OK

Rate the quality of this KB article: 
5 out of 5 based on 1 ratings

Couldn't find what you were looking for?

Below you can submit an idea for a new knowledge base article.

Request new content