Remediating Manager NodeAgent
Prerequisites
You have obtained the URL and admin account for logging in to FusionInsight Manager.
Procedure
- Log in to the active OMS node as user omm and back up the $NODE_AGENT_HOME/bin/nodeagent_ctl.sh file.
cp $NODE_AGENT_HOME/bin/nodeagent_ctl.sh /tmp
- Run the vi $NODE_AGENT_HOME/bin/nodeagent_ctl.sh command, find the line where JVM_ARGS= is located, and add the following content below the line:
JVM_ARGS="$JVM_ARGS -Dfastjson.parser.safeMode=true"
- Perform 1 and 2 on all nodes in the cluster.
You can manually overwrite the modified $NODE_AGENT_HOME/bin/nodeagent_ctl.sh file on all nodes as user omm.
- Run the following command on the active OMS node as user omm to restart all NodeAgents in the cluster:
$CONTROLLER_HOME/inst/restartAllNoes.sh
- Log in to the cluster node to check the process.
ps -ef |grep NodeAgent
If the -Dfastjson.parser.safeMode=true parameter exists, the vulnerability has been mitigated.
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