CQ-OPS

Adobe Experience Manager (AEM) Operations
Blog by Jayan Kandathil that specializes in Adobe Experience Manager (CQ, now AEM) ops such as deployment architecture, server sizing, infrastructure, operations, cloud, performance etc.
  • September 24, 2014 10:43 am

    AEM 6.0 SP1 - Whatever Happened to “Dynamic Imaging”

    AEM “Dynamic Media” is the newly re-branded Adobe Scene7.

    Introduced in AEM 6.0 GA, "Dynamic Imaging" (part of Dynamic Media which creates image renditions on demand) has been disabled (by default) in AEM 6.0 SP1.

    Here are instructions on how to enable it.  Please note that to deliver “dynamic media” to users, you would need an additional “Dynamic Media Add-on” license.  You don’t need this license for authoring “dynamic media”.

    If you try to enable it by setting the JCR property “dynamicMediaEnabled” to true in /etc/dam/dynamicmediaconfig, but forget the second important step of re-starting the OSGi bundle named “Adobe CQ DAM Scene7 Dynamic Imaging”, you’ll get the following exceptions in error.log when you ingest an asset (Windows example).

    It is because the native code for dynamic imaging is only unpacked when the OSGi bundle is re-started.

    *INFO* [JobHandler: /etc/workflow/instances/2014-09-24/model_5997527878366:/content/dam/adobetest/IMG_0714.JPG/jcr:content/renditions/original] com.day.cq.dam.s7dam.onprem.imagetools.ImageInfo ImageInfo.processFile: [D:\AEM\author\crx-quickstart\launchpad\felix\bundle312\data\image-server\is-home\bin64\ImageInfo.exe, C:\JAVA_TEMP\author\scene76165123532190866787.tmp, -xmlfile, C:\JAVA_TEMP\author\scene76165123532190866787.tmp.xml]

    *ERROR* [JobHandler: /etc/workflow/instances/2014-09-24/model_5997527878366:/content/dam/adobetest/IMG_0714.JPG/jcr:content/renditions/original] com.day.cq.dam.s7dam.onprem.util.RuntimeExec java.io.IOException: Cannot run program “D:\AEM\author\crx-quickstart\launchpad\felix\bundle312\data\image-server\is-home\bin64\ImageInfo.exe”: CreateProcess error=2, The system cannot find the file specified

    *WARN* [JobHandler: /etc/workflow/instances/2014-09-24/model_5997527878366:/content/dam/adobetest/IMG_0714.JPG/jcr:content/renditions/original] com.day.cq.dam.s7dam.onprem.imagetools.ImageInfo ImageInfo.processFile failed with return: -101

     *ERROR* [JobHandler: /etc/workflow/instances/2014-09-24/model_5997527878366:/content/dam/adobetest/IMG_0714.JPG/jcr:content/renditions/original] com.day.cq.dam.s7dam.onprem.process.S7damExtractImageInfoProcess Failed to extract s7dam image info for [IMG_0714.JPG]

  • September 16, 2014 9:23 am

    Demo of Java Mission Control (JMC) by Jim Weaver, Java Technology Ambassador at Oracle.

  • September 8, 2014 10:07 am
  • September 6, 2014 9:20 pm
  • September 5, 2014 7:17 pm

    Protocol for a Total System Test to Simulate a Traffic Surge

    If CQ/AEM is used to host a news website, a total system test must mimic a significant, international news event such as a political leader getting assassinated or a sovereign country invading another.

    Here’s one protocol to follow - this testing is disruptive/destructive and therefore should only be conducted on cloned instances or STAGING instances that are backed up:

    1) Using ToughDay, run a WCM workload against the “author” instances to mimic news editors feverishly creating and publishing new news content

    java -Xmx1024m -Dhostname=yourcqserver.domain.com -Dport=4502 -Duser=jayan -Dpw=password -DcreatePages.toplevels=600 -DcreatePages.sublevels=1 -DcreatePages.subsublevels=1 -DcreatePages.concurrentUsers=10 -DcreatePages.rampup=1 -DcreatePages.thinkt=2 -DcreatePages.activate=true -DcreatePages.delete=true -jar toughday-6.0.jar createPages

    2) Using ToughDay, run a DAM workload against the “author” instances to mimic the loading of images by content editors

    java -Xmx1024m -Dhostname=yourcqserver.domain.com -Dport=4502 -DuploadImage.count=1000 -jar toughday-6.0.jar uploadImage

    3) Using ToughDay, run a DAM workload against the “author” instances to mimic the loading of PDF documents by content editors - the resulting workflows really tax the system under test

    java -Xmx1024m -Dhostname=yourcqserver.domain.com -Dport=4502 -DuploadPdf.count=8000 -jar toughday-6.0.jar uploadPdf

    4) Using a web load testing tool (NeoLoad, SOASTALoadRunnerSilkPerformer, WebLOAD, JMeter) load up the Dispatchers/”publish” instances with 100s of 1000s of page requests.  In Adobe Managed Services, we use our internally developed tool Minions.

    The above four operations should ideally be run concurrently from four separate remote instances, so that their network interfaces are not saturated.

    The CQ/AEM system should NOT crash or become unavailable.

    For cloud deployments, the four load generators should also be in the cloud - otherwise you’ll just end up saturating your own company’s network infrastructure (NAT, firewalls, VPN etc).

  • August 12, 2014 3:09 pm

    Direct Access to Package Share

    Need (free registration) Adobe ID to login.

  • August 1, 2014 9:09 am
  • July 31, 2014 6:09 pm

    2014 MongoDB World Presentations

  • July 28, 2014 8:41 am
  • July 24, 2014 9:26 am

    An Introduction to CQ5 for Architects

    A blog entry by Antony Hutchison.