Changing Manager's Domain Name

Scenario

The secure usage scope of users in each system is called a domain. Each system must have a unique domain name. The domain name of FusionInsight Manager is generated during installation. The system administrator can change the domain name on FusionInsight Manager.

  • Changing the system domain name is a high-risk operation. Before performing operations in this section, ensure that the OMS data has been backed up by referring to Backing Up Manager Data.

Impact on the System

Prerequisites

Procedure

  1. Log in to FusionInsight Manager.
  2. Choose System > Permission > Domain and Mutual Trust.
  3. Modify required parameters.

    Table 2 Related parameters

    Parameter

    Description

    Local Domain

    Planned domain name of the system.

    Password Suffix

    Part of the password set by the user after the password of the human-machine user is reset. This parameter is mandatory. The default value is Admin@123.

    NOTE:

    This parameter takes effect only after Local Domain is modified. The following conditions must be met:

    • The password ranges from 8 to 16 characters.
    • The password must contain at least three types of the following: uppercase letters, lowercase letters, numbers, and special characters (`~!@#$%^&*()-_=+|[{}];:',<.>/? and spaces).

  4. Click OK. Proceed with the subsequent steps only after the modification is complete.
  5. Log in to the active management node as user omm.
  6. Run the following command to update the domain configuration:

    sh ${BIGDATA_HOME}/om-server/om/sbin/restart-RealmConfig.sh

    The command is executed successfully if the following information is displayed:

    Modify realm successfully. Use the new password to log into FusionInsight again.  

    After the restart, some hosts and services cannot be accessed and an alarm is generated. This problem can be automatically resolved in about 1 minute after restart-RealmConfig.sh is run.

  1. Log in to FusionInsight Manager using the new password of user admin (for example, Admin@123Admin@123). On the dashboard, click next to the name of the target cluster and select Restart.

    In the displayed dialog box, enter the password of the current login user and click OK.

    In the displayed dialog box, click OK. Wait for a while until a message indicating that the operation is successful is displayed. Click Finish.

  2. Log out of FusionInsight Manager and then log in again. If the login is successful, the configuration is successful.
  3. Log in to the active management node as user omm and run the following command to update the configurations of the job submission client:

    sh /opt/executor/bin/refresh-client-config.sh