Updated on 2022-12-14 GMT+08:00

Switching to Maintenance Mode

Scenario

FusionInsight Manager allows you to set clusters, services, hosts, or OMSs to the maintenance mode. In this way, objects in the maintenance mode do not report alarms. This prevents the system from generating a large number of meaningless alarms during maintenance and changes such as upgrade, which affects O&M personnel's judgment on the cluster status.

  • Cluster maintenance mode

    If the cluster is not officially brought online or is temporarily offline for O&M operations (for example, non-rolling upgrade), you can set the entire cluster to the maintenance mode.

  • Service maintenance mode

    When maintaining a specific service (for example, performing commissioning operations that may affect services, such as restarting service instances in batches, powering on or off nodes related to the service, or repairing the service), you can configure only the involved services to the maintenance mode.

  • Host maintenance mode

    When performing maintenance operations on a host (for example, powering on or off a node, isolating a host, reinstalling a host, upgrading the OS, or replacing nodes), you can set the involved hosts to the maintenance mode.

  • OMS maintenance mode

    You can set the OMS node to the maintenance mode when restarting, replacing, or repairing the OMS node.

Impact on the System

In maintenance mode, the alarms that are not caused by maintenance operations are also suppressed. The alarms can be reported only after the system exits the maintenance mode. Therefore, exercise caution when setting the maintenance mode.

Procedure

  1. Log in to FusionInsight Manager.
  2. Set the maintenance mode.

    Determine the object for which maintenance mode needs to be configured based on the actual operation scenario. For details, see Table 1.

    Table 1 Switching to maintenance mode

    Scenario

    Procedure

    Configuring a cluster to enter maintenance mode

    1. On the home page, click next to the target cluster name and click Enter Maintenance Mode.
    2. In the dialog box that is displayed, click OK.

      After the cluster enters maintenance mode, the status of the cluster is displayed as . After maintenance is complete, click Exit Maintenance Mode. The cluster exits maintenance mode.

    Configuring services to enter maintenance mode

    1. On the management page, choose Cluster > Name of the desired cluster > Services > Service name.
    2. On the service details page, choose More > Enter Maintenance Mode.
    3. In the dialog box that is displayed, click OK.

      After a service enters maintenance mode, the status of the service in the service list is displayed as . After maintenance is complete, click Exit Maintenance Mode. The service exits the maintenance mode.

      NOTE:

      When configuring a service to enter the maintenance mode, you are advised to set other upper-layer services that depend on the service to the maintenance mode.

    Configuring a host to enter maintenance mode

    1. Click Hosts on the management page.
    2. On the host page, select the target host and choose More > Enter Maintenance Mode.
    3. In the dialog box that is displayed, click OK.

      After the host enters maintenance mode, the status of the host in the host list is displayed as . After maintenance is complete, choose More > Exit Maintenance Mode. The host exits maintenance mode.

    Configuring the OMS to enter maintenance mode

    1. On the management page, choose System > OMS > Enter Maintenance Mode.
    2. In the dialog box that is displayed, click OK.

      After the OMS enters maintenance state, the OMS status is displayed as . After maintenance is complete, click Exit Maintenance Mode. The OMS exits maintenance mode.

  3. View the cluster maintenance view.

    On the home page of the management page, click next to the name of the target cluster and click O&M View. In the displayed window, view the services and hosts in maintenance mode in the cluster.

    After the maintenance is complete, you can select services and hosts in batches in the maintenance mode view and click Exit Maintenance Mode to exit the maintenance mode in batches.

    Figure 1 Exiting maintenance mode in batches