Encrypting the Communication Between Controller and Agent
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
- Log in to the active management node as user omm.
- 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.
- Run the following command to switch the directory:
cd ${CONTROLLER_HOME}/sbin
- 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.
- 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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot