Skip to main content
Question

Change display name with CLI without modifying the client name”

  • November 8, 2022
  • 4 replies
  • 303 views

Forum|alt.badge.img

Hi

I found the previous conversation related to the same topic “ Change display name with CLI without modifying the client name”

 

Using the XML 

<App_SetClientPropertiesRequest> <association> <entity> <clientName></clientName> </entity> </association> <clientProperties> <client> <clientEntity> <clientName></clientName> <displayName></displayName> </clientEntity> </client> </clientProperties> </App_SetClientPropertiesRequest>

 

Command:

qoperation execute -af update_client_name_template.xml -entity/clientName $client -client/clientEntity/displayname $new_displayName updateNameChangeOnlyInDBOnFailure=1

 

We have clients registered with short name, I want the clients display name to be updated with FQDN without changing the short client names. 

I tried the above XML and command and found the error. Could someone help with pointing correct information.

 

Error

 

[root@xxxxx Base]# ./qoperation execute -af /home/aaaa/change_displayname.xml -entity/clientName xxxx -client/clientEntity/displayname xxxx.hosting.com updateNameChangeOnlyInDBOnFailure=1
execute: Error 0x911: Failed to process request due to invalid entity information.Invalid clientId for clientName[xxxx.hosting.com].
[root@xxxxx Base]#

4 replies

Forum|alt.badge.img+15
  • Vaulter
  • November 8, 2022

Good afternoon.  Can you please tell me what version of Commvault (for example 11.24.25) you are currently running?


Forum|alt.badge.img
  • Author
  • Novice
  • November 9, 2022

Hi

We are at version 11.24.34

Regards

ZMHI


Forum|alt.badge.img+15
  • Vaulter
  • November 9, 2022

Can you please look at this link to our documentation and if this is inline with what you want to achieve, please test on one client and update with the results.


Forum|alt.badge.img
  • Author
  • Novice
  • November 15, 2022

Hi

Could you please add the link to documentation here. 

 

Thanks

ZMHI