Help Center > > User Guide> FusionInsight Manager Operation Guide> Cluster> Cluster Management> Client Management> Updating the hosts File in Batches

Updating the hosts File in Batches

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

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

  1. Check whether the user configured on the host where the /etc/hosts file needs to be updated is user root.

    • If yes, go to 2 .
    • If no, change the configured user to user root, and go to 2.

  2. 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.

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