RE: RE: Maintenance without portal downtime

Jamie Sammons, modified 1 Year ago. New Member Posts: 4 Join Date: 2/19/24 Recent Posts

Hi everyone,
I have a request in this regard given the institutional importance of a portal developed in Liferay 7.1 and since it is necessary to maintain the functioning and availability of the institutional site 24 hours a day for 365 days without interruptions even in the event of an update / patch / fixpack
Can you kindly indicate alternative methods and procedures suggested to avoid carrying out maintenance interventions without machine downtime ?
Many thanks

7.1
thumbnail
Alberto Chaparro, modified 1 Year ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts

Can you keep your old environment in read-only mode while you upgrade/install a fix pack in the new environment?

Olaf Kock, modified 1 Year ago. New Member Posts: 4 Join Date: 2/19/24 Recent Posts

Thanks Alberto for your help,
regarding your suggestion to keep my old environment in read-only mode
could you give me a suggestion on how to configure liferay for this specific operation
Thank you very much

 

thumbnail
Olaf Kock, modified 1 Year ago. Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

There's a portal.properties entry 

    auth.login.disabled=true

(default: false, of course) See documentation here.

Jamie Sammons, modified 1 Year ago. New Member Posts: 4 Join Date: 2/19/24 Recent Posts

Really interesting
so confirm that with this type of configuration the users are disabled from logging in but also maintain read-only access
and at the end of the update the login enablement and complete functionality of the portal returns

thumbnail
Alberto Chaparro, modified 1 Year ago. Liferay Master Posts: 560 Join Date: 4/25/11 Recent Posts

Yes, that's the property.

You should have a cluster with at least two nodes. In summary, this would be the process for two nodes:

  1. Shutdown node 1
  2. Startup the node 1 with that property
  3. Stop node 2
  4. Run the upgrade or install the patch and starup the node 2
  5. Once is up, shutdown the node 1 with the old Liferay version
  6. Startup the node 1 with the new Liferay version

    ​​​​​​​
Jamie Sammons, modified 1 Year ago. New Member Posts: 4 Join Date: 2/19/24 Recent Posts

Very good
Thanks for the valuable suggestions