Set Maintenance Mode for a host
How to set Maintenance Mode for a host and what happens when you do.
On the Hosts page, select a host FQDN.
- In Host Actions, click Turn On Maintenance Mode.
Click OK to confirm.
Notice, on Components, that Maintenance Mode turns on for all components.
- To set Maintanence Mode for a muliple hosts, using the Actions control.
- Using Hosts, click c7401.ambari.apache.org and c7403.ambari.apache.org.
In Turn On Maintenance Mode.
- Choose OK.
If you hover your cursor over each Maintenance Mode icon that appears in the hosts list, you see the following information:
- Hosts c7401 and c7403 are in Maintenance Mode.
- On host c7401, HBaseMaster, HDFS client, NameNode, and ZooKeeper Server are also in Maintenance Mode.
- On host c7403, 15 components are in Maintenance Mode.
- On host c7402, HDFS client and Secondary NameNode are in Maintenance Mode, even though the host is not.
Notice also how the DataNode is affected by setting Maintenance Mode on this host:
- Alerts are suppressed for the DataNode.
- DataNode is omitted from HDFS Start/Stop/Restart All, Rolling Restart.
- DataNode is omitted from all Bulk Operations except Turn Maintenance Mode ON/OFF.
- DataNode is omitted from Start All and / Stop All components.
- DataNode is omitted from a host-level restart/restart all/stop all/start.