Accessing MRS Manager (MRS 2.x or Earlier)

Scenario

In an MRS cluster of version 2.x and earlier, MRS uses MRS Manager to monitor, configure, and manage clusters. You can access MRS Manager by clicking Access Manager on the Dashboard tab page of your MRS cluster and entering username admin and the password configured during cluster creation on the login page that is displayed.

Accessing MRS Manager Using an EIP

  1. Log in to the MRS management console.

  2. In the navigation pane, choose Clusters > Active Clusters. Click the target cluster name to access the cluster details page.

  3. Click Access Manager next to MRS Manager. In the displayed dialog box, set Access Mode to EIP. For details about Direct Connect, see Access Through Direct Connect.

    1. If no EIP is bound during MRS cluster creation, select an available EIP from the drop-down list on the right of IEP. If you have bound an EIP when creating a cluster, go to 3.b.

      Note

      If no EIP is available, click Manage EIP to create one. Then, select the created EIP from the drop-down list on the right of EIP.

    2. Select the security group to which the security group rule to be added belongs. The security group is configured when the cluster is created.

    3. Add a security group rule. By default, your public IP address used for accessing port 9022 is filled in the rule. To enable multiple IP address segments to access MRS Manager, see 6 to 9. If you want to view, modify, or delete a security group rule, click Manage Security Group Rule.

      Note

      • It is normal that the automatically generated public IP address is different from the local IP address and no action is required.

      • If port 9022 is a Knox port, you need to enable the permission of port 9022 to access Knox for accessing MRS Manager.

    4. Select the checkbox stating that I confirm that xx.xx.xx.xx is a trusted public IP address and MRS Manager can be accessed using this IP address.

  4. Click OK. The MRS Manager login page is displayed.

  5. Enter the default username admin and the password set during cluster creation, and click Log In. The MRS Manager page is displayed.

  6. On the MRS management console, choose Clusters > Active Clusters, and click the target cluster name to access the cluster details page.

    Note

    To assign MRS Manager access permissions to other users, follow instructions from 6 to 9 to add the users' public IP addresses to the trusted range.

  7. Click Add Security Group Rule on the right of EIP.

  8. On the Add Security Group Rule page, add the IP address segment for users to access the public network and select I confirm that the authorized object is a trusted public IP address range. Do not use 0.0.0.0/0. Otherwise, security risks may arise.

    By default, the IP address used for accessing the public network is filled. You can change the IP address segment as required. To enable multiple IP address segments, repeat steps 6 to 9. If you want to view, modify, or delete a security group rule, click Manage Security Group Rule.

  9. Click OK.

Accessing MRS Manager Using an ECS

  1. On the MRS management console, click Clusters.

  2. On the Active Clusters page, click the name of the specified cluster.

    Record the AZ, VPC, and Security Group of the cluster.

  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 enterprise image Enterprise_Windows_STD_2012R2_20170316-0(80GB).

    • For details about other configuration parameters, see Elastic Cloud Server > User Guide > Getting Started > Creating and Logging In to a Windows ECS.

    Note

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

    • Change the default security group of the ECS to the security group of the MRS cluster. For details, see Elastic Cloud Server > User Guide > Security Group > Changing a Security Group.

    • 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 Virtual Private Cloud > User Guide > Security > Security Group > Adding a Security Group Rule.

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

    For details, see Virtual Private Cloud > User Guide > Elastic IP > Assigning an EIP and Binding It to an ECS.

  5. Log in to the ECS.

    The Windows system account, password, EIP, and the security group rules are required for logging in to the ECS. For details, see Elastic Cloud Server > User Guide > Instances > Logging In to a Windows ECS.

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

    For example, you can use Internet Explorer 11 in the Windows 2012 OS.

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

    Note

    • To obtain the cluster manager IP address, remotely log in to the Master2 node, and run the ifconfig command. In the command output, eth0:wsom indicates the cluster manager IP address. Record the value of inet. If the cluster manager IP address cannot be queried on the Master2 node, switch to the Master1 node to query and record the cluster manager 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. Log out of MRS Manager. To log out of Manager, move the cursor to image1 in the upper right corner and click Log Out.

Changing an EIP for a Cluster

  1. On the MRS management console, choose Clusters > Active Clusters, and click the target cluster name to access the cluster details page.

  2. View EIPs

  3. Log in to the VPC management console.

  4. Choose Elastic IP and Bandwidth > EIPs.

  5. Search for the EIP bound to the MRS cluster and click Unbind in the Operation column to unbind the EIP from the MRS cluster.

    image2

  6. Log in to the MRS management console, choose Clusters > Active Clusters, and click the target cluster name to access the cluster details page.

    EIP on the cluster details page is displayed as Unbound.

  7. Click Access Manager next to MRS Manager. In the displayed dialog box, set Access Mode to EIP.

  8. Select a new EIP from the EIP drop-down list and configure other parameters. For details, see Accessing MRS Manager Using an EIP.

Granting the Permission to Access MRS Manager to Other Users

  1. On the MRS management console, choose Clusters > Active Clusters, and click the target cluster name to access the cluster details page.

  2. Click Add Security Group Rule on the right of EIP.

  3. On the Add Security Group Rule page, add the IP address segment for users to access the public network and select I confirm that the authorized object is a trusted public IP address range. Do not use 0.0.0.0/0. Otherwise, security risks may arise.

    By default, the IP address used for accessing the public network is filled. You can change the IP address segment as required. To enable multiple IP address segments, repeat steps 1 to 4. If you want to view, modify, or delete a security group rule, click Manage Security Group Rule.

  4. Click OK.