留言板
6.1.1 ce cga2 cluster y ehcache
Juan Carlos Toledo Baute,修改在11 年前。
6.1.1 ce cga2 cluster y ehcache
Junior Member 帖子: 50 加入日期: 11-3-30 最近的帖子
Hola
Estoy migrando de 6.0.5 a 6.1.1 ce cga2 y ahora me toca probar el cluster.
He leido que en 6.1.1 ce cga2 ya no es necesario especificar
net.sf.ehcache.configurationResourceName=/dgtnt-ehcache/hibernate-clustered.xml
ehcache.multi.vm.config.location=/dgtnt-ehcache/liferay-multi-vm-clustered.xml
y que basta con con indicar
ehcache.cluster.link.replication=true
cluster.link.enabled=true
dl.store.file.system.root.dir=<path de recurso compartido>
¿ Esto es así ? Y otra duda que se me plantea es , ¿ la ehcache debe compartir el recurso donde escribe. ?
Es decir que el ehcache.disk.store.dir ( determinado en mi caso por el dl.store.file.system.root.dir) debe ser el mismo en ambos nodos
Saludos
Estoy migrando de 6.0.5 a 6.1.1 ce cga2 y ahora me toca probar el cluster.
He leido que en 6.1.1 ce cga2 ya no es necesario especificar
net.sf.ehcache.configurationResourceName=/dgtnt-ehcache/hibernate-clustered.xml
ehcache.multi.vm.config.location=/dgtnt-ehcache/liferay-multi-vm-clustered.xml
y que basta con con indicar
ehcache.cluster.link.replication=true
cluster.link.enabled=true
dl.store.file.system.root.dir=<path de recurso compartido>
¿ Esto es así ? Y otra duda que se me plantea es , ¿ la ehcache debe compartir el recurso donde escribe. ?
Es decir que el ehcache.disk.store.dir ( determinado en mi caso por el dl.store.file.system.root.dir) debe ser el mismo en ambos nodos
Saludos
Pradeep Kumar Badhai,修改在11 年前。
RE: 6.1.1 ce cga2 cluster y ehcache
Junior Member 帖子: 50 加入日期: 11-9-6 最近的帖子
Hi Juan Carlos,
Please post in English, In any way I believe your problem is how to set up cluster for Document Library, If yes, You are missing Database path.4
##
## Cluster Link
##
#
# Set this to true to enable the cluster link. This is required if you want
# to cluster indexing and other features that depend the cluster link.
#
cluster.link.enabled=true
#This is made to clear the database cache when portlet is addded it deffrent server
ehcache.cluster.link.replication.enabled=false
#
# Set this property to autodetect the default outgoing IP address so that
# JGroups can bind to it. The property must point to an address that is
# accessible to the portal server, www.google.com or your local gateway.
#
cluster.link.autodetect.address=DATABASESERVERNAME:1433
# Try adding this line in your portal-ext.properties file.
cluster.executor.debug.enabled=true
###### End of Cluster Env
Hope this help.
Please post in English, In any way I believe your problem is how to set up cluster for Document Library, If yes, You are missing Database path.4
##
## Cluster Link
##
#
# Set this to true to enable the cluster link. This is required if you want
# to cluster indexing and other features that depend the cluster link.
#
cluster.link.enabled=true
#This is made to clear the database cache when portlet is addded it deffrent server
ehcache.cluster.link.replication.enabled=false
#
# Set this property to autodetect the default outgoing IP address so that
# JGroups can bind to it. The property must point to an address that is
# accessible to the portal server, www.google.com or your local gateway.
#
cluster.link.autodetect.address=DATABASESERVERNAME:1433
# Try adding this line in your portal-ext.properties file.
cluster.executor.debug.enabled=true
###### End of Cluster Env
Hope this help.
Juan Carlos Toledo Baute,修改在11 年前。
RE: 6.1.1 ce cga2 cluster y ehcache
Junior Member 帖子: 50 加入日期: 11-3-30 最近的帖子
I've written in Spanish because it is the scope of the forum.
I think not talking about the same thing. I want to use the default EHCache Cluster (RMI).
Is it with this configuration?
liferay.home=/datos/lportales/home
# Repositorio
dl.store.impl=com.liferay.portlet.documentlibrary.store.AdvancedFileSystemStore
dl.store.file.system.root.dir=/datos/lportales/home/document_library
#Indice Lucene
lucene.dir=/opt/jboss/lportales-lucene
cluster.link.enabled=true
lucene.replicate.write=true
#EhCache en cluster cfg por defecto
ehcache.cluster.link.replication.enabled=true
#Para permitir estadisticas
ehcache.statistics.enabled=true
Or do I need to specify?
#EhCache
net.sf.ehcache.configurationResourceName=/dgtnt-ehcache/hibernate-clustered.xml
ehcache.multi.vm.config.location=/dgtnt-ehcache/liferay-multi-vm-clustered.xml
Greetings and thanks for answering
I think not talking about the same thing. I want to use the default EHCache Cluster (RMI).
Is it with this configuration?
liferay.home=/datos/lportales/home
# Repositorio
dl.store.impl=com.liferay.portlet.documentlibrary.store.AdvancedFileSystemStore
dl.store.file.system.root.dir=/datos/lportales/home/document_library
#Indice Lucene
lucene.dir=/opt/jboss/lportales-lucene
cluster.link.enabled=true
lucene.replicate.write=true
#EhCache en cluster cfg por defecto
ehcache.cluster.link.replication.enabled=true
#Para permitir estadisticas
ehcache.statistics.enabled=true
Or do I need to specify?
#EhCache
net.sf.ehcache.configurationResourceName=/dgtnt-ehcache/hibernate-clustered.xml
ehcache.multi.vm.config.location=/dgtnt-ehcache/liferay-multi-vm-clustered.xml
Greetings and thanks for answering
Juan Carlos Toledo Baute,修改在9 年前。
RE: 6.1.1 ce cga2 cluster y ehcache
Junior Member 帖子: 50 加入日期: 11-3-30 最近的帖子
Actualmente funcionando en 6.1 cga2 CE con la configuracion :
#Indice Lucene
lucene.dir=/opt/jboss/datos/lucene
cluster.link.enabled=true
lucene.replicate.write=true
#EhCache en cluster, requiere del cluster.link.enabled=true
ehcache.cluster.link.replication.enabled=true
Saludos
#Indice Lucene
lucene.dir=/opt/jboss/datos/lucene
cluster.link.enabled=true
lucene.replicate.write=true
#EhCache en cluster, requiere del cluster.link.enabled=true
ehcache.cluster.link.replication.enabled=true
Saludos