1

We have 2 instances of Content Manager, and we want to alert users in case we are installing any release or doing some maintenance activities on the server. I just want to display a custom Message/Banner somewhere on the top which will be displayed during the maintenance activity.

Can this be done without any restart or in a configurable way? Any help/leads would be appreciated.

Thanks in advance!

5 Answers 5

5

The easiest way is to put a file named app_offline.htm in your web site's root folder. Then your application will be taken offline and the clients will be served with app_offline.htm page whatever their requests are.

When you are done with maintenance, just remove or rename the file and everything goes back to normal.

3

I don't believe there's anything out of the box/supported for your purpose.

Not sure why you want a banner as opposed to a proper page redirect, but taking your request for a banner (and I'll answer this as it may be required for warning of upcoming maintenance etc.): Perhaps - only during maintenance periods you could intercept the requests at the server and manipulate the HTML to inject your message/banner.

If there are any issues with the CMS support would, understandably, want to see such redirect/injection removed.

Similarly, there are SSIs that could be updated but I'd steer away from physically updating any non-config CMS file without explicit confirmation from SDL Support (even just updating the timestamp may arouse suspicion/confusion and/or wasted time in validation etc.).

UPDATE - Just a thought

  • Perhaps you could update the initial custom page - or loading icon to have the message; this wouldn't be permanent or in your face but is should be visible when users start up their instance. I guess the risks are that users haven't closed/restarted their browsers or they simply click 'open' and walk away.

  • Maybe you can update the CSS and apply a specific 'maintenance' background image to the main content pane?

2

Out of the box, you could use Tridion's message center to display the desired message to the content editors. There are a couple of existing examples on how to hook into it. I don't recall where exactly, but I do remember seeing them.

Or you can also create a Task (a Workflow Process that does not involve any content items) and assign it to all of them, thus notifying them of the upcoming/in progress maintenance tasks. See Creating a Task

1
  • I think the challenge here is that the requirement is for the message to be 'sticky' and present during the maintenance period; messages aren't "in your face" enough :) With regards creating a task - the out of the box version would allow you to create a task and assign to a group but it only lies in the list of workflow items (and anyone in that group could own, process and remove) - again - not in your face enough I guess. Commented Jan 5, 2018 at 10:33
1

Recently I implemented the "User Dashboard Custom page" for display a User Activities / User Outage Notifications will be displayed when user login into the SDL Tridion.

User Outage Notifications content read from admin component and displaying in Outage notification sections. This is best solution and user know the CMS maintenance activity when they login.

enter image description here

1
  • Thanks, Sudhakar, this seems a better solution for our users, though they will still need to browse this page to remain updated that's why I was thinking to have some solution where we could just display a banner on the start or change the background color of UI temporarily which seems not possible.
    – Yash
    Commented Feb 13, 2018 at 12:46
0

If the server is undergoing maintenance of some sort -- you haven't specified what -- then what functionality would you expect to be available to the user?

Would you expect it to be slower but still functional (for running server resource intensive tasks)?

Would you expect sets of functionality to be missing (publishing, for instance)?

Without this, it makes it hard to suggest a resolution other than a complete redirect to a "The server is undergoing maintenance for / until X time." page.

2
  • Hi Paul, more specifically I am talking about the scenario where we are installing a release on CM and CD which will require server restarts, during this time the servers will remain accessible to Content Editors as we have 3 instances of CM and the Release activity will be performed on 1 server at a time, but overall performance (like Publishing) will be slow & hence we wanted to simply put a disclaimer or change the UI background color temporarily on the CM server to let user know that some maintainance is going on & they have to keep patience. Hope my scenarios is clear now.
    – Yash
    Commented Feb 13, 2018 at 21:11
  • Hi Yash - I would strongly recommend against what you're suggesting. The main reason for recommending against it is that you may not be allowing for something to go wrong, and for where a rollback may be required. Commented Mar 1, 2018 at 20:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.