IBM Support

Password configuration for vCenter fails with ANS9365E error

Troubleshooting


Problem

A new datamover client is configured to backup VM guests in a new vCenter. The "dsmc set password" command is used to configure the vCenter userid and its password. The command fails with ANS9365E.

Symptom

The following command is used :

dsmc SET PASSWORD -TYPE=VM <vcenter.address> mydomain\my-userid <password> -optfile="path_to_opt_file"

The following error is logged :

<timestamp> ANS9365E VMware vStorage API error for virtual
machine ''.
TSM function name : __ns2__Login
TSM file : vmvisdk.cpp (1717)
API return code : 12
API error message : SOAP 1.1 fault: "":ServerFaultCode[no subcode]
"Cannot complete login due to an incorrect user name or password."
Detail:

Resolving The Problem

In this case, the userid contains a "\" character and needs to be surrounded in double quotes. The correct command follows :

dsmc SET PASSWORD -TYPE=VM <vcenter.address> "mydomain\my-userid" <password> -optfile="path_to_opt_file"

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
17 June 2018

UID

swg21662122