Types of run mode available in AEM 6.2

Statement : Types of run mode available in AEM 6.2

Solution: 
       - Go to the installation path of AEM server: crx-quickstart/conf/sling.properties file
       - Open the sling.properties file at the line#37 you can see the below ones:

sling.run.mode.install.options=author,publish|crx3|crx3tar,crx3mongo,crx3rdb,crx3h2,crx3segment|samplecontent,nosamplecontent

Choose one of the run mode based on the need to start the instance:

Run mode-1 : Author,crx3 & Sample content
       - sling.run.mode.install.options=author|crx3|samplecontent
Solution:
       - start your instance through cmd prompt.
For example in windows:
D:\< path of AEM jar file>\java -jar aem-author-p4502.jar -r crx3,samplecontent

Run mode-2 : Author,crx3 & No Sample content

        - sling.run.mode.install.options=author|crx3|nosamplecontent
Solution :
       - start your instance through cmd prompt.
For example in windows:
D:\\java -jar aem-author-p4502.jar -r crx3,nosamplecontent

Run mode-3: Author,crx3tar &Sample content
        - sling.run.mode.install.options=author|crx3tar|samplecontent

Solution: 
        - Start your instance through cmd prompt.
For example in windows:
D:\\java -jar aem-author-p4502.jar -r crx3tar,samplecontent

Run mode-4: Author,crx3tar &noSample content
        - sling.run.mode.install.options=author|crx3tar|nosamplecontent

Similarly follow for different data storage options(Ex: crx3tar, crx3he,crx3rdb,crx3mongo..etc)
Legend:
RDB= relational data base
H2 = Java SQL database

No comments:

Post a Comment