Alfresco read only mode

878 views
Skip to first unread message

Boriss Mejias

unread,
Mar 6, 2014, 6:26:38 PM3/6/14
to alfresco-techn...@googlegroups.com
Dear all,

In the irc channel we were discussing with iancrew about the possibility of
setting Alfresco to read-only mode without restarting the server. By read-only
mode we mean not only to prevent users from uploading or modifying documents,
but really, not having any write attempts from Alfresco to the database.

For instance, when Alfresco Enterpise does not find a valid license, it will
turn the system into read-only mode, and users would still be able to log in. If
they log in, and auditing is activated, the auditing system will attempt to
write the login-fact into the database, and we want to prevent that because the
system is in read-only mode.

So, there are two set of questions here. The first one is:

1. Is it possible to dynamically turn Afresco into real read-only mode?
2. Is it possible to turn Afresco into real read-only mode by modifying
alfresco-global.properties? (requiring restart of the server)

The second set of question is the following:

3. What is the meaning of the property server.transaction.allow-writes in
bean Alfresco:Name=GlobalProperties?

4. What is the meaning of the property server.transaction.mode.readOnly in
bean Alfresco:Name=GlobalProperties?

5. What if server.transaction.allow-write and server.transaction.mode.readOnly
are both set to true?

6. What about the property server.allowWrite in bean
Alfresco:Category=sysAdmin,Type=Configuration,id1=default ? anything to do with
server.transaction.allow-write? I didn't find this property on the documentation

Thanks in advance for any answer to any of these questions.

cheers
Boriss

Richard Esplin

unread,
Mar 11, 2014, 9:36:32 PM3/11/14
to alfresco-techn...@googlegroups.com, Boriss Mejias
I'm just connecting this thread to the duplicate discussion in the forums
where Mark responded.

https://forums.alfresco.com/forum/installation-upgrades-configuration-integration/configuration/read-only-mode-three-properties

Support mentioned that server.transaction.allow-writes is documented as a JMX
property here:

http://docs.alfresco.com/4.1/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2FJMX-props-config.html

It sounds like it is the same as server.transaction.mode.readOnly--it stops
user writes, but does not stop system writes.

Richard

Boriss Mejias

unread,
Mar 12, 2014, 12:21:40 PM3/12/14
to alfresco-techn...@googlegroups.com
Thanks Richard. I just continued putting my observations on that thread... cheers
Boriss


--
You received this message because you are subscribed to the Google Groups "Alfresco Technical Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to alfresco-technical-d...@googlegroups.com.
To post to this group, send email to alfresco-techn...@googlegroups.com.
Visit this group at http://groups.google.com/group/alfresco-technical-discussion.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages