How Do I Power Off the FusionInsight System
Question
How do I power off the FusionInsight HD cluster and server before routine maintenance?
Answer
- Stop the iMaster NCE-Campus service.
- Log in to FusionInsight Manager.
- Click Cluster, and click Stop.
- In the displayed window, enter the password of the current login administrator user and click OK.
- In the displayed dialog box, select I have read the information and understand the impact and click OK.
- After the system displays "Operation succeeded", click Finish. The cluster is successfully stopped.
It takes five to ten minutes to stop the FusionInsight cluster. Perform subsequent operations after the cluster is stopped.
- Use PuTTY to log in to the active management node as the omm user.
You can run the following commands successfully on only two nodes of the cluster. If the command cannot be run on a node, run the commands on another two nodes.
Run the following commands to find the active and standby management nodes.
su - omm sh ${BIGDATA_HOME}/om-server/om/sbin/status-oms.sh
The server is the active management node if the parameter value of HAActive in the displayed information is active. For example, mgtomsdat-sh-3-01-1 displayed in the following information is the active management node. The server is the standby management node if the parameter value of HAActive in the displayed information is standby. For example, mgtomsdat-sh-3-01-2 displayed in the following information is the standby management node.
- Run the following commands to stop the active OMS:
su - omm sh ${BIGDATA_HOME}/om-server/om/sbin/stop-oms.sh
If the following information is displayed, the OMS is successfully stopped:
stop HA successfully.
The active/standby switchover of the management node takes 3 minutes.
- Use PuTTY to log in to the standby management node as the omm user.
- Run the following commands to stop the standby OMS:
su - omm sh ${BIGDATA_HOME}/Bigdata/om-server/om/sbin/stop-oms.sh
If the following information is displayed, the OMS is successfully stopped:
stop HA successfully.
- Power off the server.