Created

Apr 17, 2012

Sanity checks for Adobe CQ5 installations

Posted by Feike Visser

In this blogpost I give an overview of some basic checks you can do after you have done a (production) installation of CQ5.x . The checks can mostly be done via the browser, and will give you very quickly an rough idea whether you are almost done, or still need to start.

1. Admin screens

The following urls should not be accessible:

http://yourwebsite/system/console

http://yourwebsite/system/sling/cqform/defaultlogin.html

http://yourwebsite/crx/de/index.jsp

http://yourwebsite/etc/packages.html

If these pages are accessible, then you have to revisit the security settings mentioned in this document :

http://dev.day.com/docs/en/cq/current/deploying/security_checklist.html#Restrict%20Access%20via%20the%20Dispatcher

2. OSGi-configuration

Go to the site, and try these two urls :

http://yourwebsite/somepage?wcmmode=edit

http://yourwebsite/somepage?debug=layout

If you see the page changed, that will give you an indication that the basic OSGi-configuration is not done, you can find these settings in this document :

http://dev.day.com/docs/en/cq/current/deploying/configuring_osgi.html

3. Basic error-handling

Go to your site and go to a non existing url/page :

http://yourwebsite/notthispage

This should result is a decent errorpage, and it should not redirect to the sling login screen.

Here a document that explains how to customize the error-pages

http://dev.day.com/docs/en/cq/current/developing/customizing_error_handler_pages.html

4. Removal of Geometrixx


Go to your site (external and internal) to this url :

http://yourwebsite/content/geometrixx

This should result in a error-not-found page, and not showing the default Geometrixx website.

Here a document that describes how to remove the default Geometrixx website.

http://dev.day.com/docs/en/cq/current/deploying/installing_cq.html

5. Default users


Go to your CQ5-instances (author+publish) and try to login with the default password of the default users provided with CQ5 (admin/author).

The expected result is that the passwords are changed for these user-accounts or that you can’t login with those.

http://dev.day.com/docs/en/cq/current/deploying/security_checklist.html

6. Dispatcher and caching


For the blogpost I just used Jmeter to generate some simple load on the website. When you are able to generate some load on your installation it is much easier to see whether particular settings are working. And it will give you a first idea on the load on the machines.

Begin with some very simple urls, like :

http://yourwebsite/homepage

http://yourwebsite/homepage/about-my-company.html

Now you can check your dispatcher and loadbalancer (if installed) if they are working as it should be. You should be seeing entries in the log-file.

When caching is configured on the dispatcher, you can easily verify that by changing the url to http://yourwebsite/homepage?a=b . Because the dispatcher doesn’t cache pages with a ? in it, all these requests will handled by the publish instance. And therefore the throughput will go down a lot.

Here you can find some basic dispatcher documentation:

http://dev.day.com/docs/en/cq/current/deploying/dispatcher.html

Documentation

Here some handy documentation around performance and the general knowledge base.

http://dev.day.com/docs/en/cq/current/howto/performance_monitor.html

http://dev.day.com/content/kb/home/cq5.html

Twitter: @heervisscher

COMMENTS

  • By DR - 8:00 PM on Apr 21, 2012   Reply
    Thanks Its Useful , please update with new tricks
  • By Y Y - 6:26 PM on May 05, 2012   Reply
    Thanks Feike,

    This is a great website on CQ5 that I have touched before. I like the categorization that help me sorting out a problem & direct me how to do checking in my CQ5 installation.

    Thanks!

  • By Olaf - 8:24 AM on Jul 02, 2012   Reply
    Hi Feike,

    Good post, one addition though: People must also make sure they do not expose the CQ package manager http://yourwebsite/etc/packages.html - this is a common mistake since parts of /etc/ are often public for tags, designs an the like.

    Regards,
    Olaf
  • By Feike - 3:20 PM on Aug 14, 2012   Reply
    hi olaf,

    Thanks for your feedback. I added the url in the document.

    thanks,
    Feike
  • By Alessandro Drago - 7:36 AM on Oct 05, 2012   Reply
    I´m trying to integrate CQ5 with ffmpeg in my "old" Debian Lenny Server with no sucess. I´m wondering if i make a mistake in the configuration. Do you have some considerations about Lenny and CQ5 ? I´m thinking in download and compile a ffmpeg version to my kernel Thanks Alessandro
  • By disc jockeys - 10:45 AM on Feb 27, 2013   Reply
    You may comment on the download-ability of the blog. You could issue it's magnificent. Your blog grades might expand your supporters.
  • By kerja kosong - 6:54 AM on Mar 01, 2013   Reply
    You may comment on the download-ability of the blog. You could issue it's magnificent. Your blog grades might expand your supporters.
  • By Freemail - 11:39 AM on Mar 01, 2013   Reply
    You should write about the design on the blog. You can air it's unique. Your blog distinctions would multiply your subscribers.
  • By Freemail - 7:08 PM on Mar 01, 2013   Reply
    Have read a couple of of the articles on your website now, and I really like your style of blogging. I added it to my favorites blog website list and will probably be checking back soon.
  • By New Fish Recipe 'Fishy Lil' - 2:42 PM on Mar 28, 2013   Reply
    This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck
  • By Reputation Mangement - 8:34 PM on Apr 02, 2013   Reply
    By simply executing this particular, receiving this kind of some sort of suitable web site I really believe you'll probably rank bigger inside the seeps.
  • By diễn đàn seo - 5:35 AM on Apr 17, 2013   Reply
    These type of articles keeps the users interest in the website, and keep on sharing more ... good luck
  • By Alexander - 10:58 AM on Apr 17, 2013   Reply
    I am preparing my assignment paper and gathering information on this topic. Your post is one of the better that I have read. Thank you for putting this information into one place.
    <a href="http://www.essaylounge.com/editing-services/">essay rewriting<a/> || <a href="http://www.essaylounge.com/do-my-assignment/">Do assignment for money<a/> || <a href="http://www.essaylounge.com/free-papers/">free dissertations<a/>


  • By cộng đồng lập trình - 4:44 AM on Apr 18, 2013   Reply
    i like it
  • By limo NJ - 3:09 AM on Apr 27, 2013   Reply
    I was wondering what URLS should be accessible and what ones should not be. This was very helpful.
    Thanks
  • By photo booth nj - 4:55 PM on Apr 27, 2013   Reply
    Thanks for keeping us informed
  • By wedding photographer nj - 5:41 PM on Apr 27, 2013   Reply
    Its great to see you taking the time to share this information
  • By online chemistry help - 2:30 PM on May 02, 2013   Reply
    ADOBE is a decent device... anyways!
  • By Luxury Real Estate in Chandler, AZ - 2:41 PM on May 05, 2013   Reply
    Awesome article! This will provide our sites with 2 very important things. First it is always adding fresh up to date content and secondly it will help me earn more knowledge about this topic.
  • By crazy retro jordans for sale - 8:32 AM on May 07, 2013   Reply
    because of the feet has long been a pair of shoes, but now with a cushion insoleway does not seem suitable for those beautiful high heels, flat shoes, then you can skip to give it a try.
  • By animenendoroid - 4:10 PM on May 11, 2013   Reply
    Now you can check your dispatcher and loadbalancer (if installed) if they are working as it should be.
  • By additional resource - 9:17 PM on May 11, 2013   Reply
    This information really helped me understand Things beyond my expertise. websites like this expanding knowledge everyone and I hope something like this will continue to grow
  • By man and women fashion - 1:56 PM on May 12, 2013   Reply
    http://manandwomenfashion.com/
    What to say in praise of this blog which is simply the best, Thanks for sharing this all.
  • By manandwomanfashion.com - 3:45 PM on May 12, 2013   Reply
    http://manandwomanfashion.com/
    I really like following your blog as the articles are so simple to read and follow. Excellent. Please keep up the good work. Thanks.
    Nice sharing guys! Looking forward for more news.
  • By http://onlyfashiontalk.com/ - 7:41 AM on May 13, 2013   Reply
    http://onlyfashiontalk.com/
    Rale galvanising penalization. Transactions has been handwritten in hit overnice enounce. I tap accruement this palatalised of becalm. Thanks for coitus gaolbreak noesis.
  • By Pets Information - 8:58 AM on May 13, 2013   Reply
    http://www.mypetsmania.com/

    thank for info :) this info is very good for me. Thank you for the great article I did enjoyed reading it, I will be sure to bookmark your blog and definitely will come back from again. I want to encourage that you continue your great job, have a good day
  • By world modern soe - 2:59 PM on May 13, 2013   Reply
    http://worldmodernseo.com/
    I could really say that visiting this one of a kind site was very great cause it has a content that you rarely found to other site based on the articles that you have been posted.
  • By Soutien scolaire - 4:40 AM on May 14, 2013   Reply
    Seeming through this article reminds myself of my previous roommate! I've reviewed this post as well as if I might I desire to propose you few appealing factors or even suggestions. I wanted to I cherish your time as well as efforts using this exceptional read !! I certainly indulging in each and every little place of this and I've you bookmarked to check out brand-new stuff you blog article. I in fact stammered after your blog and also would like to say that I have actually actually adored surfing around your blog site articles. I desired to a lot of thanks for the initiative for this wonderful read !! I undoubtedly delighting in each little bit of piece of it and also I've you bookmarked to enjoy a look at brand-new things you blog post. And check this: <a href="http://www.financeutile.com">financement participatif</a> and <a href="http://mathsmalin.fr/exercices10/6,aires-et-perimetres.html">exercice aire et périmètre 6ème</a>.
  • By http://www.technologysciencefair.com/ - 7:05 AM on May 14, 2013   Reply
    http://www.technologysciencefair.com/
    Cameron says that it is wrong if people can continue not to appear before select committees. He says Sir George Young, the leader this.of the Commons, may look at
  • By STIMULUS PLAN BUSINESS - 10:44 AM on May 14, 2013   Reply
    http://www.forextrading1online.com/
    It is a very inspiring post to go through for excellent story about sustainability; food and environment in urban areas.The successful example of urban farming in Chicago can be followed in other cities to make the cities greener and less polluted.I've enjoyed reading the interesting discussion.
  • By click here - 12:41 PM on May 14, 2013   Reply
    When you are able to generate some load on your installation it is much easier to see whether particular settings are working.
  • By money profit - 1:35 PM on May 14, 2013   Reply
    http://www.forextrading4moneyprofit.com/
    Interesting post and thanks for sharing. Some things in here I have not thought about before.Thanks for making such a cool post which is really very well written.
    I really like following your blog as the articles are so simple to read and follow. Excellent. Please keep up the good work. Thanks.
  • By house improvements - 2:43 PM on May 14, 2013   Reply
    http://www.houseimprovementsuk.com/
    I hope you have a nice day! Very good article, well written and very thought out. I am looking forward to reading more of your posts in the future
  • By hotell - 7:17 AM on May 15, 2013   Reply
    http://www.hotellondonguide.com/
    Fantastic goods from you, man. Ive study your stuff ahead of and you're just as well amazing. I enjoy what you've got right here, adore what you're stating and the way you say it. You make it entertaining and you even now manage to help keep it wise. I cant wait to go through additional from you. That is really an incredible web blog.
  • By Drivers Ed - 9:15 AM on May 15, 2013   Reply
    The checks can mostly be done via the browser, and will give you very quickly an rough idea whether you are almost done, or still need to start.
  • By Top Eleven Hack - 9:40 AM on May 16, 2013   Reply
    will give you very quickly an rough idea whether you are almost done, or still need to start.
  • By things to do in Las Vegas - 11:30 AM on May 19, 2013   Reply
    When caching is configured on the dispatcher, you can easily verify that by changing
  • By Online Backup - 12:51 PM on May 20, 2013   Reply
    August
  • By Drupal 7 Themes - 3:38 PM on May 20, 2013   Reply
    May
  • By Drupal 7 Themes - 3:39 PM on May 20, 2013   Reply
    Gerard
  • By Drupal 7 Themes - 5:23 PM on May 20, 2013   Reply
    Lester