Instalaltion of AEM Author/Publisher instances

Instalaltion of AEM Author/Publisher instances

Steps
Solution Description
Step: 1
Make sure Java version
# java -version
java version "1.7.0_25"
Step: 2
Java home directory
/usr/java/jdk1.7/bin
Step: 3
Set open file limits
Default Publish user open file limits:1024
Set Author user open file limits: 12000

Step: 4
Create Publish user which home directory:
·         /adobe/aem56/publish/

Step:4.1
For Content Backup:
§  /adobe/aem56/content
·         /adobe/aem56/dam
·         /adobe/aem56/tag
For Repository backup
·         /adobe/aem56/repository-backup
For Monitoring Script
/adobe/aem56/monitoring
Step:5
1. cq-publish-4503.jar
2.  license.properties
Copy the installable jar file to /adobe/aem56/publish/ folder
Step:6
Run below command to extract the CQ jar file
·         java –jar cq5-publilsh-4503.jar –unpack
Step: 7
Update sling.properties file:

org.osgi.framework.bootdelegation=com.singularity.*, com.yourkit.*, javax.xml.*,org.xml.*,org.w3c.*, ${org.apache.sling.launcher.bootdelegation}
Step: 8
Update AEM Start.sh file:
#cat crx-quickstart/bin/start

# TCP port used for stop and status scripts
CQ_PORT=4503

# HTTP host name
# CQ_HOST=                

# interface that this server should listen to
#CQ_INTERFACE='eth0'

# runmode(s)
CQ_RUNMODE=’publish,prod'

# name of the jarfile
#CQ_JARFILE=''

# use jaas.config
CQ_USE_JAAS='true'

# config for jaas
CQ_JAAS_CONFIG='/adobe/aem56/author/crx-quickstart/conf/ldap_login.conf'

# default JVM options
#CQ_JVM_OPTS='-server -Xmx4096m -XX:MaxPermSize=1024M -Djava.awt.headless=true'
CQ_JVM_OPTS='-server -Xms6192m -Xmx6192m -XX:MaxPermSize=1024M -Djava.awt.headless=true -XX:NewRatio=2 -XX:SurvivorRatio=6 -Xloggc:/data/author/crx-quickstart/gc.log -verbose:gc -XX:+PrintGCTimeStamps -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9999 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -XX:+UseParallelOldGC
-Dcom.day.crx.persistence.tar.IndexMergeDelay=0
-Djackrabbit.maxQueuedEvents=1000000 -XX:ReservedCodeCacheSize=128m
-XX:ParallelGCThreads=4 -XX:+UseAdaptiveGCBoundary -XX:MaxTenuringThreshold=100 -XX:-UseGCOverheadLimit
-XX:-UseGCLogFileRotation -XX:+UseAdaptiveSizePolicy -XX:NewRatio=1 -XX:+AlwaysPreTouch'

#-XX:+UseGCOverheadLimit -Use a policy that limits the proportion of the #VM's time that is spent in GC before an OutOfMemory error is thrown
#-XX:-UseParallelGC          Use parallel garbage collection for scavenges
#-XX:-UseParallelOldGC      Use parallel garbage collection for the full collections
#-XX:NewRatio=n    Ratio of old/new generation sizes.
#-XX:SurvivorRatio=n Ratio of eden/survivor space size.
#-XX:ParallelGCThreads=n Sets the number of threads used during parallel #phases of the garbage collectors.
#-XX:MaxPermSize=64m    Size of the Permanent Generation
#-XX:SurvivorRatio=8        Ratio of eden/survivor space size

#file size limit (ulimit)
CQ_FILE_SIZE_LIMIT=8192

Step:9
Navigate to /adobe/aem56/publish/crx-quickstart/bin/start.sh
To start the AEM server in publish mode
Step:10
For Error log files validation
1.    /adobe/aem56/author/crx-quickstart/logs/error.log
For Request log files
2.    /adobe/aem56/author/crx-quickstart/logs/request.log
For Access log files
3.    /adobe/aem56/author/crx-quickstart/logs/access.log
For Audit log files
4.    /adobe/aem56/author/crx-quickstart/logs/request.log
For upgrade log files
5.    5./adobe/aem56/author/crx-quickstart/logs/request.log

Step: 11
Change CQ Admin password
http://localhost1:4503/libs/granite/security/content/admin.html


Choose the administrator user and click on edit icon to update the new password for the CQ administrator

Finally click on the submit button to change the Admin password
Step: 12
Configuring your Reverse Replication Agents from Author Environment
From the Tools tab in the author environment you can configure reverse replication agents that reside in either the author environment (Agents on author) or the publish environment (Agents on publish).

Click Replication (left pane to open the folder).



Step:13
To Open the Reverse replication agent for Publish 1
Click on edit to set the Publisher Reverse Replication Agent ,retry delay, description, serialization type, log level and Agent ID
Click on Transport tab to configure the Publish Reverse replication Agent URI and  Username Name  and password
Final click on Ok.

Step:14
Similarly Reverse replication agents needs to configure for Publish 2(localhost2) ,Publish 3(localhost3) and Publish 4(localhost4) in Master Author instance as shown in below screenshot




No comments:

Post a Comment