cancel
Showing results for 
Search instead for 
Did you mean: 

3 Tier deployment

akaii
Champ in-the-making
Champ in-the-making
Hi guys,

For a specific project I have to install Alfresco 4.0.1 on separate VMs like following :
- Share (192.168.1.91)
- Alfresco (repository) (192.168.1.92)
- Database (PostgreSQL) (192.168.1.93)
- FileSystem (192.168.1.94)

After I have configured alfresco-global.properties file on Share instance and Alfresco instance, I can't get further than the Alfresco login page and keep getting the error message :
"Failed to Login. The remote server may be unavailable or your authentication details have not been recognized."

When I'm looking at the "alfresco" Database I have created in PostgreSQL server I get all the tables created automatically by Alfresco.

Maybe I'm missing something I shouldn't in the alfresco-global.properties so here are the two of them first the Share :
###############################
## Common Alfresco Properties #
###############################
dir.root=/alf_data
dir.keystore=${dir.root}/keystore

share.context=share
share.host=192.168.1.91
share.port=8080
share.protocol=http

alfresco.context=alfresco
alfresco.host=192.168.1.92
alfresco.port=8080
alfresco.protocol=http

db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://192.168.1.93:5432/alfresco
db.name=alfresco
db.username=alfresco
db.password=alfresco

useUnicode=yes&characterEncoding=UTF-8

ooo.exe=soffice
ooo.enabled=false
jodconverter.officeHome=./OpenOffice.org
jodconverter.portNumbers=8101
jodconverter.enabled=true
img.root=./ImageMagick
swf.exe=./bin/pdf2swf

#
# Index Recovery Mode
#————-
#index.recovery.mode=AUTO

#
# Outbound Email Configuration
#————-
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm


#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost

# Default value of alfresco.rmi.services.host is 0.0.0.0 which means 'listen on all adapters'.
# This allows connections to JMX both remotely and locally.
#
alfresco.rmi.services.host=0.0.0.0

#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506
#wcm-deployment-receiver.rmi.service.port=50507
#monitor.rmi.service.port=50508

Here is the Repository :
###############################
## Common Alfresco Properties #
###############################
dir.root=/alf_data
dir.keystore=${dir.root}/keystore

share.context=share
share.host=192.168.1.91
share.port=8080
share.protocol=http

alfresco.context=alfresco
alfresco.host=192.168.1.92
alfresco.port=8080
alfresco.protocol=http

db.driver=org.postgresql.Driver
db.url=jdbc:postgresql://192.168.1.93:5432/alfresco
db.name=alfresco
db.username=alfresco
db.password=alfresco

useUnicode=yes&characterEncoding=UTF-8

ooo.exe=soffice
ooo.enabled=false
jodconverter.officeHome=./OpenOffice.org
jodconverter.portNumbers=8101
jodconverter.enabled=true
img.root=./ImageMagick
swf.exe=./bin/pdf2swf

#
# Index Recovery Mode
#————-
#index.recovery.mode=AUTO

#
# Outbound Email Configuration
#————-
#mail.host=
#mail.port=25
#mail.username=anonymous
#mail.password=
#mail.encoding=UTF-8
#mail.from.default=alfresco@alfresco.org
#mail.smtp.auth=false

#
# Alfresco Email Service and Email Server
#————-

# Enable/Disable the inbound email service.  The service could be used by processes other than
# the Email Server (e.g. direct RMI access) so this flag is independent of the Email Service.
#————-
#email.inbound.enabled=true

# Email Server properties
#————-
#email.server.enabled=true
#email.server.port=25
#email.server.domain=alfresco.com
#email.inbound.unknownUser=anonymous

# A comma separated list of email REGEX patterns of allowed senders.
# If there are any values in the list then all sender email addresses
# must match. For example:
#   .*\@alfresco\.com, .*\@alfresco\.org
# Allow anyone:
#————-
#email.server.allowed.senders=.*

#
# The default authentication chain
# To configure external authentication subsystems see:
# http://wiki.alfresco.com/wiki/Alfresco_Authentication_Subsystems
#————-
#authentication.chain=alfrescoNtlm1:alfrescoNtlm


#imap.server.enabled=true
#imap.server.port=143
#imap.server.host=localhost

# Default value of alfresco.rmi.services.host is 0.0.0.0 which means 'listen on all adapters'.
# This allows connections to JMX both remotely and locally.
#
alfresco.rmi.services.host=0.0.0.0

#
# RMI service ports for the individual services.
# These seven services are available remotely.
#
# Assign individual ports for each service for best performance
# or run several services on the same port. You can even run everything on 50500 if needed.
#
# Select 0 to use a random unused port.
#
#avm.rmi.service.port=50501
#avmsync.rmi.service.port=50502
#attribute.rmi.service.port=50503
#authentication.rmi.service.port=50504
#repo.rmi.service.port=50505
#action.rmi.service.port=50506
#wcm-deployment-receiver.rmi.service.port=50507
#monitor.rmi.service.port=50508

Thanks for your help!
1 REPLY 1