Expand my Community achievements bar.

Connecting an instance of AEM to another remote instance of AEM

Avatar

Level 4

Has anyone directly connected on instance of the AEM to another remote instance of AEM in order to obtain assets or documents from another instance that is not part of a cluster of related instances?

If so, how bad was the performance hit?

What are some pain points?

9 Replies

Avatar

Level 10

Did you watch the recent Ask the Community Experts where they covered similar scenarios? 

Avatar

Level 4

Obviously not.

Are there links to transcripts or recordings?

Avatar

Administrator

roberth55706517 wrote...

Obviously not.

Are there links to transcripts or recordings?

 

Links for all the recording can be found at :- https://helpx.adobe.com/experience-manager/topics/ate-sessions.html

Some more reference links:

Link:-  https://docs.adobe.com/docs/en/aem/6-2/deploy/recommended-deploys.html

Link:- http://blogs.perficient.com/adobe/2015/12/08/managing-multiple-aem-instances/

I hope this would help you.

~kautuk



Kautuk Sahni

Avatar

Level 4

kautuksahni wrote...

roberth55706517 wrote...

Obviously not.

Are there links to transcripts or recordings?

 

Links for all the recording can be found at :- https://helpx.adobe.com/experience-manager/topics/ate-sessions.html

Some more reference links:

Link:-  https://docs.adobe.com/docs/en/aem/6-2/deploy/recommended-deploys.html

Link:- http://blogs.perficient.com/adobe/2015/12/08/managing-multiple-aem-instances/

I hope this would help you.

~kautuk

 

That sort of helps but not quite what I was hoping for. What we are doing is taking over part of a client's site that is deployed in AEM. In order to improve performance, we are getting a separate instance and server for our portion of the site. What the client would like is for our site to be able to use assets and content on the older servers and AEM instances that will be running so that they don't have to manage replication of the assets on multiple systems. What we are wondering is if there is a way for us to create a service that could connect remotely to another instance's JCR and use content from the remote JCR without having to write a service on both sides. I'm sure we could write services for both systems to replicate data that could push data based on workflow triggers but it would be a little easier, though other complexities, if we could just connect to the remote instance from ours and pull what content we want at will.

Is there a mechanism for doing this?

Avatar

Level 10

"What we are wondering is if there is a way for us to create a service that could connect remotely to another instance's JCR and use content from the remote JCR without having to write a service on both sides."

I would look at writing a custom service to address this requirement. Out of the box - AEM does not have a mechanism to do this. 

I also assume that you have ruled out packaging up the assets to move the other other AEM instances as well. 

Avatar

Level 4

smacdonald2008 wrote...

"What we are wondering is if there is a way for us to create a service that could connect remotely to another instance's JCR and use content from the remote JCR without having to write a service on both sides."

I would look at writing a custom service to address this requirement. Out of the box - AEM does not have a mechanism to do this. 

I also assume that you have ruled out packaging up the assets to move the other other AEM instances as well. 

 

The problem with packaging is that it would be a one time or ongoing somewhat manual process. We want something seamless and that doesn't require any user action. 

Avatar

Level 10

You would need to write a custom service in that case. Maybe something like: 

http://scottsdigitalcommunity.blogspot.ca/2014/09/downloading-adobe-experience-manager.html

Notice a custom servlet gathers assets and places them into a ZIP. 

You can go a step further and place them into a package using Package Manager API. 

Move the Package to the other instance (FTP ?) and then use Package Manager API to upload the package. This could all be automated. 

Avatar

Level 4

smacdonald2008 wrote...

You would need to write a custom service in that case. Maybe something like: 

http://scottsdigitalcommunity.blogspot.ca/2014/09/downloading-adobe-experience-manager.html

Notice a custom servlet gathers assets and places them into a ZIP. 

You can go a step further and place them into a package using Package Manager API. 

Move the Package to the other instance (FTP ?) and then use Package Manager API to upload the package. This could all be automated. 

 

We have an application where we have services running on two separate
systems, one is AEM and another is a different product. Both sides have
workflow triggers that send assets back and forth to keep them in synch. I
know this can be done. I was wondering if there was an easier way to
connect one AEM instance to another.

Avatar

Level 10

You are on the right track - the AEM way is to manually package up the assets.