Solved

Automatic Client Install with default.xml - Password hash (enyryption)

  • 13 April 2021
  • 6 replies
  • 55 views

Userlevel 1
Badge +3

Hello,

I want automate my installations, for this I want to set the password hash set into the default.xml during the installation face.  I found all things to write for each system the individual default.xml, the only what I am missing is the password hash.

<userAccountToLogin domainName="" encPassword="" password="" userName="" />

I use ansible for deploying Unix machines, with a python script to configure in the second step Storagepolicy and the right schedule policy, via Rest API

 

regards Juergen

 

icon

Best answer by Narender 13 April 2021, 16:25

Hi Juergen

 

I would recommend using Authcode for automating deployments.

https://documentation.commvault.com/commvault/v11_sp20/article?p=102069.htm

 

Did you try this and are there any issues using Authcode?

 

Thanks,

Narender

View original

6 replies

Userlevel 1
Badge +1

Hi Juergen

 

I would recommend using Authcode for automating deployments.

https://documentation.commvault.com/commvault/v11_sp20/article?p=102069.htm

 

Did you try this and are there any issues using Authcode?

 

Thanks,

Narender

Badge

Hi Juergen 

 

We also use Ansible for deploying commvault on Windows and Linux 

We set the gateway and client group and auth via ansible in the xml file and i works like a dream 

Just remember to update ansible when somebody refresh  the auth code ;) 

 

Best regards

Bjarke  

Userlevel 1
Badge +3

Hello @Narender 

that works perfect for me, thanks.

regards

Jürgen

Badge

@Bjarke Jensen 

We are just starting to look at Auto deploying Commvault to Cloud hosts with Ansible via our CI/CD pipeline

would you be able to share an example of your Ansible script ? 

I’ve seen several examples in GetHub but not one that dose host deploys

Thanks

Jesse 

Badge

Hi @Jgrinde 

 

You can take a look at our current play here 

Hope you can use this as inspiration to complete your goal :) 

https://pastebin.com/A4jupwg6

 

Best regards

Bjarke

Userlevel 6
Badge +14

Thanks for sharing @Bjarke Jensen !

Reply