Alfresco 5, installing components in different servers

When using Alfresco Community installer wizard, platform components are installed on the same server:

  • Alfresco Repository web app
  • Alfresco Share web app
  • Alfresco SOLR 4 web app
  • LibreOffice
  • PostgreSQL database

However, every one of these components can be installed apart.

Following information is based on five different servers (one for each component):

  • alfresco.keensoft.es
  • share.keensoft.es
  • solr.keensoft.es
  • libreoffice.keensoft.es
  • postgres.keensoft.es

alfresco-components.001

Alfresco Share

  • Configure Alfresco Repository web app URL at Remote section in share-config-custom.xml
   <config evaluator="string-compare" condition="Remote">
      <remote>
         <endpoint>
            <id>alfresco-noauth</id>
            <name>Alfresco - unauthenticated access</name>
            <description>Access to Alfresco Repository WebScripts that do not require authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://alfresco.keensoft.es/alfresco/s</endpoint-url>
            <identity>none</identity>
         </endpoint>

         <endpoint>
            <id>alfresco</id>
            <name>Alfresco - user access</name>
            <description>Access to Alfresco Repository WebScripts that require user authentication</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>http://alfresco.keensoft.es/alfresco/s</endpoint-url>
            <identity>user</identity>
         </endpoint>

         <endpoint>
            <id>alfresco-feed</id>
            <name>Alfresco Feed</name>
            <description>Alfresco Feed - supports basic HTTP authentication via the EndPointProxyServlet</description>
            <connector-id>http</connector-id>
            <endpoint-url>alfresco.keensoft.es/alfresco/s</endpoint-url>
            <basic-auth>true</basic-auth>
            <identity>user</identity>
         </endpoint>

         <endpoint>
            <id>alfresco-api</id>
            <parent-id>alfresco</parent-id>
            <name>Alfresco Public API - user access</name>
            <description>Access to Alfresco Repository Public API that require user authentication.
                         This makes use of the authentication that is provided by parent 'alfresco' endpoint.</description>
            <connector-id>alfresco</connector-id>
            <endpoint-url>alfresco.keensoft.es/alfresco/api</endpoint-url>
            <identity>user</identity>
         </endpoint>
      </remote>
   </config>
  • Configure Alfresco Share web app host and port in alfresco-global.properties
share.host=share.keensoft.es
share.port=80

Alfresco SOLR 4

  • Configure Alfresco Repository web app host and port in solrcore.properties for workspace and archive cores
alfresco.host=alfresco.keensoft.es
alfresco.port=80
  • Configure SOLR web app host and port in alfresco-global.properties
solr.host=solr.keensoft.es
solr.port=443

LibreOffice

  • Configure LibreOffice host and port in alfresco-global.properties
ooo.host=libreoffice.keensoft.es
ooo.port=8100

PostgreSQL

  • Configure PostgreSQL host and port in alfresco-global.properties
db.url=jdbc:postgresql://postgres.keensoft.es:5432/${db.name}

Isolating Alfresco components will provide you more control on resources assignation, but it make harder to deploy high availability configurations.

Un comentario en “Alfresco 5, installing components in different servers

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s