Updated on 2024-04-11 GMT+08:00

Access Using a Windows ECS

MRS allows you to access the web UIs of open-source components through a Windows ECS. This method is complex and is recommended for MRS clusters that do not support the EIP function.

  1. On the MRS management console, click Clusters.
  2. On the Active Clusters page, click the name of the specified cluster.

    On the cluster details page, record the AZ, VPC, Floating IP Address of OMS, and Security Group of the cluster.

    To obtain the floating IP address of OMS, log in to the Master2 node remotely, and run the ifconfig command. In the command output, eth0:wsom indicates the floating IP address of OMS. Record the value of inet. If the floating IP address of OMS cannot be queried on the Master2 node, switch to the Master1 node to query and record the floating IP address. If there is only one Master node, query and record the cluster manager IP address of the Master node.

  3. On the ECS management console, create an ECS.

    • The AZ, VPC, and Security Group of the ECS must be the same as those of the cluster to be accessed.
    • Select a Windows public image. For example, select the standard image Windows Server 2012 R2 Standard 64bit(40GB).
    • For details about other configuration parameters, see Purchasing an ECS.

    If the security group of the ECS is different from Security Group of the MRS cluster, you can modify the configuration using either of the following methods:

    • Change the security group of the ECS to the security group of the MRS cluster. For details, see .
    • Add two security group rules to the security groups of the Master and Core nodes to enable the ECS to access the cluster. Set Protocol to TCP and ports of the two security group rules to 28443 and 20009, respectively. For details, see Creating a Security Group.

  4. On the VPC management console, apply for an EIP and bind it to the ECS.

    For details, see Assigning an EIP and Binding It to an ECS.

  5. Log in to the ECS.

    The Windows system account, password, EIP, and security group rules are required for logging in to the ECS. For details, see .

  6. On the Windows remote desktop, use your browser to access Manager.

    The Manager access address is in https://OMS floating IP address:28443/web format. Enter the name and password of the MRS cluster user, for example, user admin.

    • To obtain the floating IP address of OMS, log in to the Master2 node remotely, and run the ifconfig command. In the command output, eth0:wsom indicates the floating IP address of OMS. Record the value of inet. If the floating IP address of OMS cannot be queried on the Master2 node, switch to the Master1 node to query and record the floating IP address. If there is only one Master node, query and record the cluster manager IP address of the Master node.
    • If you access MRS Manager with other MRS cluster usernames, change the password upon your first access. The new password must meet the requirements of the current password complexity policies.
    • By default, a user is locked after inputting an incorrect password five consecutive times. The user is automatically unlocked after 5 minutes.

  7. Visit the web UIs of the open-source components by referring to the addresses listed in Web UIs of Open Source Components.

Related Tasks

Configuring the Mapping Between Cluster Node Names and IP Addresses

  1. Log in to MRS Manager, and choose Host Management.

    Record the host names and management IP addresses of all nodes in the cluster.

  2. In the work environment, use Notepad to open the hosts file and add the mapping between node names and IP addresses to the file.

    Fill in one row for each mapping relationship, as shown in the following figure.

    192.168.4.127 node-core-Jh3ER
    192.168.4.225 node-master2-PaWVE
    192.168.4.19 node-core-mtZ81
    192.168.4.33 node-master1-zbYN8
    192.168.4.233 node-core-7KoGY

    Save the modifications.