There are a number of processes and procedures for maintaining and administering a Content Services production environment.
System paths convention
When using the Content Services documentation, there are a number of conventions for common system paths.
Explicit Linux paths use forward slashes:
Explicit Windows paths use back slashes
Where you see forward slashes, the same path can apply in both Linux or Windows environments:
Content Services installation directory
The installation directory is referenced throughout this guide as
<classpathRoot> is a directory whose contents are automatically added to the start of your application server classpath. The location of this directory varies depending on your application server.
alfresco-global.properties file is where you store all the configuration settings for your environment. The file is in Java properties format, so backslashes must be escaped. The file should be placed in
alfresco-global.properties.sample file is supplied with the WAR distribution zip file. This
.sample file contains examples of common settings that you can copy into your
<extension> directory is where you store Spring configuration files that extend and override the Repository (i.e.
alfresco.war) system configuration. This directory can be found at
<web-extension> directory is where you store Spring configurations that extend and override the system Share (i.e.
share.war) configuration. This directory can be found at
<solrRootDir> directory is the Search Services home directory which contains the Solr core directories and configuration files. This directory can be found at
<configRoot> directory contains the default Repository (i.e.
For example, for Tomcat,
<configRootShare> directory contains the default application configuration for Share (i.e.
For example, for Tomcat,
Content Services can send a ‘heartbeat’ to Alfresco. The heartbeat contains anonymous information that can help Alfresco to understand product usage and to better meet the needs of your organization. Our aim is to use the anonymous information to help us make decisions about product development so that our investment benefits as many users as possible.
Disable the Heartbeat
The Heartbeat feature is set to
true by default:
If you’re using Content Services it’s not possible to change the value of the
heartbeat.enabled property because the default license supersedes the property. If you’re unable to share this anonymous data with us you can request a license from Alfresco Support with Heartbeat already disabled. Contact Alfresco Support for more information.
The anonymous data transmitted by the repository includes the Content Services version number, number of items in the repository, the size of a cluster, and the number of active users. Information about feature usage including content models, workflows, Smart Folders, and APIs are also sent. Other products will also share anonymous data necessary for Alfresco to understand their usage.
To see the data that’s sent to Alfresco, see the following logs:
Here are some best practice guidelines for Content Services administrators. Use these tips to improve your experience of Content Services:
- Allow sufficient time to plan your project and identify the most optimal path for you.
- Benchmark the system you want to use to ensure you can tune it for best performance and high availability before you go live.
- Ensure customizations occur using the
<web-extensions>directories, and/or AMP files to help smooth upgrade and debugging processes.
- Discover more about FreeMarker templates. You can create custom views for your spaces, and email templates to fit your organization, among other things.
- Discover more about web scripts. This requires some, but not extensive, technical knowledge, and is very powerful.
- Use File and Folder Templates to create reusable components and enable business processes.
- Microsoft Office integration makes adoption of Content Services seamless.
- Email integration provides simple and safe way to store emails inside the repository.
- Coordinate with Alfresco on short-term consulting. This allows you and/or your System Integrator to work with Alfresco on architecture and planning.
- Take advantage of the support for multiple security protocols, which makes it suitable for large enterprises.
- Use the Support Portal, a subscription site that provides downloads, further documentation, and a Knowledge Base.
- Take advantage of Content Services training. Get the knowledge and information you need to make your implementation successful.
Also, use these tips to help you manage your environment:
- Make sure you use a transactional database.
- Keep your Search indexes on your fastest local disk.
- Version only what and when you need to.
- If you find yourself constantly creating the same space hierarchy as well as rules and aspects to them, consider creating File and Folder Templates instead.
- Increase the database connection pool size for large numbers of concurrent users or sessions.
- Use the System Information to view system properties, such as schema and server versions.
- Use the Node Browser (searchable by node reference, xpath, or lucene) to view all properties, parent and child nodes, aspects applied, permissions, and associations.
Avoid these common mistakes when administering a Content Services environment.
- Not keeping extended configurations and customizations separate in the
shareddirectory. Do not put them in the configuration root. If you do, you’ll lose them during upgrades.
- Not ensuring that the database driver is copied to the application server
libdirectory when installing.
- Not testing the backup strategy.
- Making changes to the system without testing them thoroughly on a test and pre-production machine first.
- Failing to set the
dir.rootproperty to an absolute path location.
- Not fully shutting down a running instance of Content Services, so the next time you try and start it, Content Services says:
Address already in use: JVM_Bind:8080(especially on Linux).