Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Upgradation CQ 5.56 to AEM 6.2

Avatar

Level 4

HI,

I want to migrate CQ 5.56 to 6.2 on mongoDB setup.

I am referring docs: https://docs.adobe.com/docs/en/aem/6-2/deploy/upgrade.html

I followed following steps:-

1). Disabling custom login module

2). unpack the jar :- java -jar qs.jar -unpack

3). java -jar qs.jar -v -x crx2oak

change crx2oak.properties file for mongo setup.

4). java -jar qs.jar -v -x crx2oak

5). java -Xmx4096m -XX:MaxPermSize=2048M -jar aem-quickstart-6.2.0.jar -v -x crx2oak -xargs -- -o migrate

6). java -jar qs.jar -r crx3,crx3mongo

 

It succesfully up.

But if i want to scale horizontal that is to run another CQ auther service:

I create a folder and run the newly jar with following parameter:-

java -jar aem-quickstart-6.2.0.jar -r author,crx3,crx3mongo,nosamplecontent -Doak.mongo.uri=mongodb://remoteserver:27017 -Doak.mongo.db=aem-author

It is not successfully up .

But if i copy the crx-quickstart folder and paste in new folder and then run it succesfully up.

I want to run without crx-quickstart folder.

 

Any Suggestion?

Thanks

5 Replies

Avatar

Level 10

So you are able to successfully get a single instance running? 

Avatar

Level 4

smacdonald2008 wrote...

So you are able to successfully get a single instance running? 

 

yes, only single instance

Avatar

Employee

When you say it is not successfully up, what messages are you getting in the error.log file?

Regards,

Opkar

Avatar

Level 2

Do you have MongoDB with replicaset? or just single MongoDB as master? Also if your author is on a separate box did you make sure that the port on remoteserver 27017 is open?