Help Center > > User Guide> Connecting to Clusters> Logging In to a Master Node> Determining Active or Standby Management Nodes of MRS Manager

Determining Active or Standby Management Nodes of MRS Manager

Updated at: Nov 06, 2019 GMT+08:00

This section describes how to confirm the active and standby management nodes of MRS Manager.

Background

You can log in to other nodes in a cluster from the Master node. After logging in to the Master node, you can confirm the active and standby management nodes of MRS Manager and run commands on the corresponding management nodes.

In active/standby mode, a switchover can be implemented between Master1 and Master2. For this reason, Master1 may not be the active management node for MRS Manager.

Procedure

  1. Confirm the Master node of an MRS cluster.

    1. Log in to the MRS management console, choose Clusters > Active Clusters, select a running cluster, and click its name to switch to the cluster details page. View basic information of the specified cluster.
    2. On the Nodes tab page, view the Name. The node that contains master1 in its name is the Master1 node. The node that contains master2 in its name is the Master2 node.

  2. Confirm the active and standby management nodes of MRS Manager.

    1. Log in to the Master1 node as user linux. For details, see Logging In to an ECS.

      The Master node supports Cloud-init. The preset username for Cloud-init is root and the password is the one you set during cluster creation.

    2. Run the following commands to switch to user omm:

      sudo su - root

      su - omm

    3. Run the following command to confirm the active and standby management nodes:

      sh ${BIGDATA_HOME}/om-0.0.1/sbin/status-oms.sh | grep Actived

      In the following example, node-master2-LJXDj indicates the name of the active management node.

      192-168-1-17                             node-master2-LJXDj                       V100R001C01              2016-10-01 06:58:41      active               normal               Actived

      If the Master1 node to which you have logged in is the standby management node and you need to log in to the active management node, run the following command:

      ssh name of the active management node

      For example, run the following command: ssh node-master2-LJXDj

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel