Presentation is loading. Please wait.

Presentation is loading. Please wait.

#SummitNow A Day in the Life of an Alfresco Admin November 2013 Antonio Soler Premier Support Engineer Alfresco Software Ltd.

Similar presentations


Presentation on theme: "#SummitNow A Day in the Life of an Alfresco Admin November 2013 Antonio Soler Premier Support Engineer Alfresco Software Ltd."— Presentation transcript:

1 #SummitNow A Day in the Life of an Alfresco Admin November 2013 Antonio Soler Premier Support Engineer Alfresco Software Ltd.

2 #SummitNow A Day in the Life of an Alfresco Admin November 2013 Antonio Soler Premier Support Engineer Alfresco Software Ltd.

3 #SummitNow The three pillars: Hard Drive DataBase AppServer

4 #SummitNow Automation… is possible! You don’t have to do it all manually. Find a robot or script that does it for you...

5 #SummitNow Hard drive speed can be a decisive factor on your system HARD DRIVE specially if you are using Lucene SSD drives might be recommendable.

6 #SummitNow Alfresco takes regular backups of the indexes but you might need to plan the “alf_data” backup. Backups Backup times are “cron” like configurable. See file scheduled-jobs-context.xml

7 #SummitNow LUCENE You can increase this number of segments if you have a lot of documents Lucene it keeps one set of indexes for each “store”: It's important to maintain a “inverted pyramid” structure on the size of index segments. Control the indexinfo file (see wiki script to translate it into “human readable”). 0 1 2 3 4

8 #SummitNow LUCENE (cont.) Many open files on your lucene folder may indicate a bug in your custom queries. Remember to close the resultsets. On some flavours of Linux the number of open files is limited, check your “ulimit” and open files with “lsof”. Keep free space for Merges!!!

9 #SummitNow SOLR Remember to install browser’s p12 certificate https://[host]:8443/solr/admin/cores?action=SUMMARY ( "DB transaction count" == "Index transaction count" ) → https://[host]:8443/solr/admin/cores?action=FIX Check the index for missing, duplicated, and extra transactions or ACL change sets and fix any found:

10 #SummitNow Read the F… logs!!! The logs may tell you if there is a problem in your system. Remember to clean old logs. You can remotely monitor the logs and filter results using Log4.hubappender + Apache Chainsaw

11 #SummitNow HOUSEKEEPING Alfresco does not delete things, remove the documents that are no longer in use to recover disk space. Dispose the contents of [alf_data]/contentstore.deleted/

12 #SummitNow All metadata information about the documents, users and permissions is on the DB. DATABASE Some DB engines have automatic statistics calculation, others not. Ensure that your statistics are up to date.

13 #SummitNow THE POOL This defines in your global properties the poolsize: db.pool.max=40 (default value) Size this according to your concurrency!!! You can “evict” old connections.

14 #SummitNow maxThreads represents the maximum number of request processing threads to be created by the HTTPConnector : <Connector port="8080" address="localhost" maxThreads="250" maxHttpHeaderSize="8192" emptySessionPath="true" protocol="HTTP/1.1" enableLookups="false" redirectPort="8443" acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" /> This determines the maximum number of simultaneous requests that can be handled. This by default on Tomcat is 200. APPSERVER (and jvm) Each Share user uses 2 sessions!

15 #SummitNow JMX / RMI Enterprise only feature: You can connect to the JVM using JCONSOLE or JVISUALVM to monitor the environment, local or remotely via RMI Changes on the MBeans are persistent, be careful.

16 #SummitNow JVM MEMORY There is no right setting, it depends on your business case, but you need to control the usage. JCONSOLE or JVISUALVM can be REALLY helpful. Generate a heapdump if OOM and analyze it with Eclipse-MAT

17 #SummitNow JVM CPU AGAIN: JCONSOLE or JVISUALVM can be REALLY helpful. Take some JSTACKS. Hotthreads can give you also a quick idea.

18 #SummitNow ONE MORE THING… (Steve Jobs style ) RELEASE ANNOUNCEMENT: SUPPORT TOOLS (add-on) for the New Admin console

19 #SummitNow SUPPORT TOOLS Not an official part of the product, only a add-on tool to help you to maintain your Env and diagnose a problem. Only tested and developed using Tomcat and JDK7 with current Firefox, Chrome and IE versions (sorry). Quick deployment and non-invasive installation, minimal impact on the JVM on terms of memory and CPU.

20 #SummitNow Features Active Sessions System Performance

21 #SummitNow Features Change Log Settings Tail System Log

22 #SummitNow Features Thread dumps Scheduled Jobs

23 #SummitNow Available for Alfresco 4.2 Enterprise at: http://addons.alfresco.com

24 #SummitNow Thanks for watching… November 2013 Antonio Soler Premier Support Engineer Alfresco Software Ltd.


Download ppt "#SummitNow A Day in the Life of an Alfresco Admin November 2013 Antonio Soler Premier Support Engineer Alfresco Software Ltd."

Similar presentations


Ads by Google