Updating the hosts File in Batches
Scenario
The client package downloaded from FusionInsight Manager contains the client batch upgrade tool which provides the lightweight functions of upgrading the client in batches and updating the /etc/hosts files on the nodes where the clients reside in batches.
Prerequisites
For details about how to prepare for the upgrade, see "Preparation Before the Client Upgrade" in Procedure.
Updating the hosts File in Batches
- Check whether the user configured on the host where the /etc/hosts file needs to be updated is user root.
- Run the sh client_batch_upgrade.sh -r -f /tmp/FusionInsight-Client/FusionInsight_Cluster_1_Services_Client.tar command to update the /etc/hosts file on the nodes where the clients are located in batches.
- When you batch update the /etc/hosts file, the client package name you entered can be either the name of a complete client package or configuration file name only (recommended).
- The configured user of the host where the /etc/hosts file needs to be updated must be user root. Otherwise, the update fails.
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