I am trying to write a script to install and configure the confluence server. Basically, if the server fails, I want to be able to programmatically spawn a new one. Now, I cannot find a programmatic way to automate the post-install configuration including putting in the license, database username and password.
Please share your experience or script if you have successfully done this before.