How to show a maintenance page when we upgrade?

Hi all, When we upgrade our systems (the mendix-portal and the underlying systems) we want to show a "maintenance page" instead of the loginpage or the page that shows up when we stop the mendix runtime. We're using Linux deployments for Mendix (currently in the Mendix-Cloud but we want to move to our own cloud...). My question is for both environments (our own and the Mendix cloud) [1] If we can activate a maintenance page somehow [2] How that can be done In IIS I would simply put some "default homepage" on top... A page that is not mendix-related. I wonder if, and how that can be done in linux-situations... Suggestions are welcome!
2 answers

In the situation Roberto describes above it is not necessarily just the Mendix application that is updated, it's also other external components Mendix relies on (external app-servers, services, etc). If these are being upgraded the portal may have to go offline momentarily as well (and this duration is typically longer than the Mendix upgrade).

My thoughts would be to

[1] Temporarily deploy a different Mendix-application that just presents a Maintenance page, or

[2] Switch the Mendix-application to a Maintenance page (prior or after being upgraded itself), preferably based on an external trigger (i.e. the deployment processes/scripts that upgrade the external components that Mendix relies on).

[3] Alternatively, we need to front the Mendix business server with an Apache webserver, redirecting to a Maintenance page.

The last option [3] is certainly doable, I am less sure about the ease of implementing [1] or [2].

Am interested to hear your further thoughts!

Regards, Jeroen


Good question. May be you can handle the 'service not available' error and display an alternative page. This would be great locally as well. How often have we pressed F5 because the runtime was not ready, but got no answer but a blank screen?