The maintenance mode allows the administrator to perform changes in the application without concurrent access to the application and the database by other users.

Procedure

After pressing the button "Enter maintenance mode...", a dialog is opened where the period of time until the maintenance mode is activated can be entered. Without entering a value, the maintenance mode becomes active immediately.

In the same dialog, the option "Allow the login during the transition period" decides for each activation individually whether users may still log in until the maintenance mode starts. By default, the option is not set.

If a period of time is given, the maintenance mode is only announced at first. During this transition period

The announcement can be terminated by pressing the button "Abort maintenance mode..." to switch back to the normal system mode.

While the maintenance mode is active,

This state can be terminated by pressing the button "Exit maintenance mode..." to switch back to the normal system mode.

Special rights in this sense have administrators, members of the configured allowed-groups, and users that are allowed to terminate the maintenance mode. Those users are not logged out and may log in at any time.

In cluster mode, the maintenance mode cannot be activated immediately. If it is activated there without giving a period of time, it is announced with the configured minimum waiting time instead.

Configuration

The maintenance mode is configured through the service MaintenanceWindowManager:

<config service-class="com.top_logic.base.administration.MaintenanceWindowManager">
   <instance>
      <allowed-groups></allowed-groups>
      <min-intervall-in-cluster>20000</min-intervall-in-cluster>
   </instance>
</config>