Logging In to the Management Node
Scenarios
Some O&M operation scripts and commands need to be run or can be run only on the active management node. You can identify and log in to the active or standby management node based on the following operations.
Checking and Logging In to the Active and Standby Management Nodes
- Log in to FusionInsight Manager.
- Choose System > OMS.
In the Basic Information area, Current Active indicates the host name of the active management node, and the Current Standby indicates the host name of the standby management node. Click a host name to go to the host details page. On the host details page, record the IP address of the host.
- Log in to the active or standby management node as user omm.
Identifying the Active and Standby Management Nodes by Running Scripts and Logging In to Them
- Log in to any node where FusionInsight Manager is deployed as user omm.
- Run the following command to identify the active and standby management nodes:
sh ${BIGDATA_HOME}/om-server/om/sbin/status-oms.sh
In the command output, the value of HAActive for the active management node is active, and that for the standby management node is standby. In the following example, Master1 is the active management node, and Master2 is the standby management node.
HAMode double NodeName HostName HAVersion StartTime HAActive HAAllResOK HARunPhase 192-168-0-30 Master1 V100R001C01 2022-05-01 23:43:02 active normal Actived 192-168-0-24 Master2 V100R001C01 2022-05-01 07:14:02 standby normal Deactived
- Run the following command to obtain the IP addresses of the active and standby management nodes.
cat /etc/hosts
The following is an example of the IP addresses of the active and standby management nodes:
127.0.0.1 localhost 192.168.0.30 Master1 192.168.0.24 Master2
- Log in to the active or standby management node as user omm.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot