Updating the hosts File in Batches
Scenario
The client package downloaded from FusionInsight Manager contains the client batch upgrade tool. This tool provides the function of upgrading clients in batches and the lightweight function of batch updating the /etc/hosts file on the node where the client is located.
Prerequisites
You have made preparations for the upgrade. For details, see "Prepare for the client upgrade." in Batch Upgrading Clients.
Updating the hosts File in Batches
- Check whether the user configured for the node where the /etc/hosts file needs to be updated is root.
- Run the sh client_batch_upgrade.sh -r -f /tmp/FusionInsight-Client/FusionInsight_Cluster_1_Services_Client.tar -g /tmp/FusionInsight-Client/FusionInsight_Cluster_1_Services_ClientConfig/batch_upgrade/client-info.cfg command to batch update the /etc/hosts file on the nodes where the client resides.
- When you batch update the /etc/hosts file, the entered client package can be a complete client package or a client package that contains only configuration files (recommended).
- The user configured for the host where the /etc/hosts file needs to be updated must be 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.