Help Center > > User Guide> FusionInsight Manager Operation Guide> Security Management> Security Hardening> Encrypting the Communication Between Controller and Agent

Encrypting the Communication Between Controller and Agent

Updated at: Mar 25, 2021 GMT+08:00

Scenario

After a cluster is installed, Controller and Agent need to communicate with each other. The Kerberos authentication is used during the communication. By default, the communication is not encrypted during the communication for the sake of cluster performance. Users who have demanding security requirements can use the method described in this section for encryption.

Impact on the System

  • Controller and all Agents automatically restart, which interrupts FusionInsight Manager.
  • The performance of management nodes decreases in large clusters. You are advised to enable the encryption function for clusters with a maximum of 200 nodes.

Prerequisites

You have obtained the IP addresses of the active and standby management nodes.

Procedure

  1. Log in to the active management node as user omm.
  2. Run the following command to disable user logout on system timeout:

    TMOUT=0

    After the operations in this section are complete, run the TMOUT=Timeout interval command to restore the timeout interval in a timely manner. For example, TMOUT=600 indicates that a user is logged out if the user does not perform any operation within 600 seconds.

  3. Run the following command to switch the directory:

    cd ${CONTROLLER_HOME}/sbin

  4. Run the following command to enable communication encryption:

    ./enableRPCEncrypt.sh -t

    Run the sh ${BIGDATA_HOME}/om-server/om/sbin/status-oms.sh command to check whether ResHAStatus of the active management node Controller is Normal and whether you can log in to FusionInsight Manager again. If yes, the enablement is successful.

  5. Run the following command to disable communication encryption when necessary:

    ./enableRPCEncrypt.sh -f

    Run the sh ${BIGDATA_HOME}/om-server/om/sbin/status-oms.sh command to check whether ResHAStatus of the active management node Controller is Normal and whether you can log in to FusionInsight Manager again. If yes, the disablement is successful.

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