Expand my Community achievements bar.

SOLVED

Clone and deploy an instance of AEM (author or publish) to a new server

Avatar

Level 6

Hi,

 

I need to clone my present authoring and publish instances and then re deploy them on a new server.

I have not done this before.

What method should I use and what pitfalls should I avoid.

 

Regards

Clive Stewart

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi Clive

Please have a look at his relater forum post:- 

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// Clone the instance & incremental Migration of AEM 6.2

 

Also have a look at this KB article :- https://helpx.adobe.com/experience-manager/kb/CloneInstance.html

// How to clone an existing CQ instance  

    Procedure

  • create an online backup (see [1])
  • copy the backup zip-file to the target machine where the new instance will be running
  • unpack the zip-file in the target directory where the cloned CQ5 instance will be located
  • delete all files named listener.properties in
    • crx-quickstart/repository/shared/journal/control
    • crx-quickstart/repository/shared/version/control
    • crx-quickstart/repository/shared/workspaces/<workspace.name>/control
  • delete file crx-quickstart/repository/cluster_node.id
  • delete all stale .lock files (if existing)
  • delete all stale optimize*.tar files (if existing)
  • delete all stale lock.properties files (if existing)

After this procedure has finished, following list of items need to be checked:

  • if running on the same machine, please change the port of the cloned instance
  • once the instance has been started, check configurations and adapt if needed:
    • replication agents
    • admin passwords
    • custom application-specific configuration settings

I hope this would be of some help to you.

~kautuk



Kautuk Sahni

View solution in original post

2 Replies

Avatar

Correct answer by
Administrator

Hi Clive

Please have a look at his relater forum post:- 

Link:- http://help-forums.adobe.com/content/adobeforums/en/experience-manager-forum/adobe-experience-manage...

// Clone the instance & incremental Migration of AEM 6.2

 

Also have a look at this KB article :- https://helpx.adobe.com/experience-manager/kb/CloneInstance.html

// How to clone an existing CQ instance  

    Procedure

  • create an online backup (see [1])
  • copy the backup zip-file to the target machine where the new instance will be running
  • unpack the zip-file in the target directory where the cloned CQ5 instance will be located
  • delete all files named listener.properties in
    • crx-quickstart/repository/shared/journal/control
    • crx-quickstart/repository/shared/version/control
    • crx-quickstart/repository/shared/workspaces/<workspace.name>/control
  • delete file crx-quickstart/repository/cluster_node.id
  • delete all stale .lock files (if existing)
  • delete all stale optimize*.tar files (if existing)
  • delete all stale lock.properties files (if existing)

After this procedure has finished, following list of items need to be checked:

  • if running on the same machine, please change the port of the cloned instance
  • once the instance has been started, check configurations and adapt if needed:
    • replication agents
    • admin passwords
    • custom application-specific configuration settings

I hope this would be of some help to you.

~kautuk



Kautuk Sahni

Avatar

Level 6

Hi Kautuk,

 

Thank you very much. This is exactly what I was looking for.

 

Regards

Clive Stewart