Skip to main content
Solved

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


Juergen
Byte
Forum|alt.badge.img+8

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

 

Best answer by Narender

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
Did this answer your question?

6 replies

Forum|alt.badge.img+2
  • Vaulter
  • 6 replies
  • Answer
  • April 13, 2021

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


Forum|alt.badge.img+1

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  


Juergen
Byte
Forum|alt.badge.img+8
  • Author
  • Byte
  • 44 replies
  • April 15, 2021

Hello @Narender 

that works perfect for me, thanks.

regards

Jürgen


Forum|alt.badge.img
  • Bit
  • 1 reply
  • April 28, 2021

@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 


Forum|alt.badge.img+1

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


Mike Struening
Vaulter
Forum|alt.badge.img+23

Thanks for sharing @Bjarke Jensen !


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings