Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM 6.1 + mongo DB 3.5

Avatar

Level 5

Hi All,

I am trying to integrate AEM 6.1 with mongo DB 3.5, followed below link:-

http://cq-ops.tumblr.com/post/86895378084/how-to-run-aem-60-with-mongodb-26

and added startup parameters

Doak.mongo.uri=mongodb://<mongodb IP address>:27017 -Doak.mongo.db=aem-author

but still it is not creating db with name aem-author

 

Thanks,Mahesh

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi,

according to [1] mongodb 3.5 is not supported, only 3.0 or 2.6. Contact daycare to find out when it will be supported.

Regards,

Opkar

[1]https://docs.adobe.com/docs/en/aem/6-1/deploy/technical-requirements.html

View solution in original post

5 Replies

Avatar

Correct answer by
Employee

Hi,

according to [1] mongodb 3.5 is not supported, only 3.0 or 2.6. Contact daycare to find out when it will be supported.

Regards,

Opkar

[1]https://docs.adobe.com/docs/en/aem/6-1/deploy/technical-requirements.html

Avatar

Level 10

Hi Mahesh,

You dont have to add '-Doak.mongo.db=aem-author' in your parameters

If you have setup the 'run mode' to crx3mongo and your mongoDB is up and running when you start the AEM, it should automatically create a DB called aem-author.

or you can start AEM with this command

java -XX:MaxPermSize=512M -mx4g -jar aem6-author-p4502.jar -r crx3,crx3mongo -Doak.mongo.uri=mongodb://<hostname>:27017,<hostname>:27018

Avatar

Employee

Hi Mahesh,

you have to edit the start script and add your parameters [1]. After AEM installs, changes to the start script have to be done manually, you can find details on the start script here[2]

Regards,

Opkar

[1] http://www.netcentric.biz/blog/2015/01/adobe-experience-manager-6-with-a-mongodb-setup.html

[2] https://docs.adobe.com/docs/en/aem/6-1/deploy/command-line-start-and-stop.html

Avatar

Level 5

Hi Opkar,

 

If you have setup the 'run mode' to crx3mongo and your mongoDB is up and running when you start the AEM, it should automatically create a DB called aem-author --- this dint wrk for me

or you can start AEM with this command

java -XX:MaxPermSize=512M -mx4g -jar aem6-author-p4502.jar -r crx3,crx3mongo -Doak.mongo.uri=mongodb://<hostname>:27017,<hostname>:27018 -- this helped 

Any thing am i missing :(

sorry to trouble you with the repeated question,  i am repeatedly trying i followed this link [1] initially.

[1] http://www.netcentric.biz/blog/2015/01/adobe-experience-manager-6-with-a-mongodb-setup.html

 

Thanks,Mahesh

Avatar

Employee

Hi Mahesh,

no problem :)

I have been through a few posting and they all describe the same procedure[1], [2],[3]

How long are you giving for AEM/MongoDB to initalise? What hardware are you using? From the articles, it appears even with a SSD, the initialisation can take over 5 minutes, with others reporting over 30 minutes.

Regards,

Opkar

[1] https://rmengji.wordpress.com/2014/06/05/starting-aem-6-0-with-mongodb/

[2] http://blogs.adobe.com/contentmanagement/2014/07/22/aem6-mongo-minimal-setup/

[3] http://cq-ops.tumblr.com/post/86895378084/how-to-run-aem-60-with-mongodb-26