if i am cloning my env which is whole stack(author,publishers and dispatchers)
what are thing i need to consider after cloning to make it work.
What are the changes needed in the new one ,
like if config which and what
if uri which one?
Disclaimer: my credentials are as a developer and not so much on the infrastructure/networking side of AEM but perhaps my input will still be useful 🙂 I'm assuming that you have something like 3 virtual machines:
And you want to replicate this for another environment (eg. UAT). If however you only have 1 machine with all 3 instances installed on it, it doesn't make a big difference.
The first thing is to decide how to get the new servers and instances. The first question is then: can you virtualise it? At my job we unfortunately have AEM instances installed directly on our VMs, rather than using containers which would make the creation of new environments easier (its a political thing). If you are in the same boat as me, then you have 3 options:
Once you have your new machine(s), there is some critical config to change (this is just what comes to my mind, but there might be more):
That's all that's popping to my mind on this Sunday morning but if I have any Eureka moments later I'll add more 😛 Perhaps someone with more infrastructure/networking/installation experience can add to the list too 🙂
The other 2 posts are already very valuable regarding the doing, but I want to raise some other points as well.
When cloning instances to a different environment, you have to care of the environment specific settings, which have to be different from environment to environment.
For example configured hostnames (for whatever reason) are likely to be different from environment to environment. Then there's the question if you can clone user information as well (assuming that on lower environments more persons need to have access to the "admin" user, and having this will allow these users to get access of the password hash of the cloned users as well, and that hash is identical to the password hash in production!). Sometimes you have pay special attention to content as well (if you have embargoed content which is produced on PROD and which cannot be moved to STAGE yet).
If you have figured out the proper technical processes to clone such an environment, you have to implement all the business and security restrictions on top. And from my experience these are harder to identify, to build and to execute than a simple technical cloning 🙂