Expand my Community achievements bar.

Cloning AEM to another machine

Avatar

Level 1

I'm having issues finding any documentation on how to clone an AEM instance to another machine.

 

Wondering if the community could help me with the steps necessary to do this. For instance, any configuration necessary once I have copied the Adobe directory to the new machine.

5 Replies

Avatar

Level 1

I did find one post however it doesn't provide enough detailed steps on how to achieve this once I've copied over the installation directory. JBoss is spitting out a ton of errors in the server log on boot so simply copying over the installation dir doesn't seem to work. When running the configuration manager I'm stuck on deploying ear files (see attached picture). Any ideas?

 

https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/correct-method-to-clone-th...

 

Avatar

Community Advisor

Hi @JakeAu 

 

  Can we know why you would need to copy an AEM instance ? I do not think that would work fine even if you copy the directories, but I would like to understand why this is needed ?

 

Thanks

Veena ✌

Avatar

Level 1

Thanks for responding Veena!

 

I'm trying to automate AEM installations via an Azure DevOps pipeline so we can automatically install AEM on VMs. We've automated the configuration manager however the base installation doesn't seem to have a silent install. Even when we create a script to automate the console/command prompt installation of AEM it still needs the GUI for the script to work so it has to be manually run on the VM. The next best option was to copy the dir and see if we could get it working on another machine. I'm all for new ways of approaching this!

Avatar

Community Advisor

you need to copy the whole directory (as a step in your pipeline) and have a script that starts the installation script. 

I wonder why you need separate instances on the VMs! it is better to access the primary instance on your VM through the IP address.

Avatar

Community Advisor

@JakeAu based on your requirements, please use docker based aem installations which can be containerized and cloned/installed as per your requirements.

 

https://github.com/remcorakers/aem-docker-getting-started

 

https://medium.com/@lucasnunesr/aem-with-docker-07b2404feeb2