El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
On this page

Updating the Configuration of an Installed Client

Updated on 2024-11-29 GMT+08:00

Scenario

The cluster provides a client for you to connect to a server, view task results, or manage data. If you modify service configuration parameters on FusionInsight Manager and restart the service, you need to download and install the installed client again or use the configuration file to update the client.

Prerequisites

You have installed a client.

Procedure

Method 1:

  1. Log in to FusionInsight Manager.
  2. In the upper right corner of the home page, click Download Client and set Type to Configuration Files Only.

    The generated compressed file contains the configuration files of all services.

    NOTE:

    The cluster supports two types of clients: x86_64 and aarch64. The client type must match the architecture of the node for installing the client. Otherwise, client installation will fail.

  3. Select the path for saving the downloaded client configuration file.

    • Server: Download the file to the active OMS node of the cluster.

      The generated file is stored in the /tmp/FusionInsight-Client directory on the active OMS node by default. You can also store the client file in other directories, and user omm has the read, write, and execute permissions on the directory. If the client file already exists in the path, the existing client file will be replaced.

      NOTE:

      When a cluster has many services installed, the cluster client file becomes quite large. Additionally, decompressing this file during installation can consume significant disk space. It's recommended to download the client files to a different directory that has ample space, or to promptly remove unnecessary files from the client download directory after installation. Doing so helps avoid exhausting the /tmp directory's disk space, which could interrupt the normal operation of the cluster nodes.

      After the file is generated, copy the obtained package to another directory, for example, /opt/Bigdata/hadoopclient, as user omm or client installation user.

    • Browser: Download the file to the local computer.
    • Remote node: Download the file to a node other than the active OMS node. If you select this option, you need to set the following parameters:
      Table 1 Parameters

      Parameter

      Description

      Example Value

      Save to Path

      Path for storing client files.

      If there is already a client file in the path, it will be overwritten. For a remote node, write permission for the path is required.

      /tmp/FusionInsight-Client-Remote/

      Host IP Address

      IP address of the remote node.

      NOTE:

      The platform type of the remote node must be the same as that of the downloaded client. Otherwise, the client may fail to be installed.

      x.x.x.x

      Host Port

      Host port of the remote node.

      22

      Username

      Username for logging in to the remote node.

      For a remote node, write permission for the path is required.

      xxx

      Authentication Method

      You can choose one of the following methods:

      • Password: Use the password for login.
      • SSH private keys: Use SSH private keys for login.
      • None: To use this method, passwordless login needs to be enabled for the node.

      Password

      Password

      This parameter is mandatory when Authentication Method is set to Password.

      This parameter indicates the password used for login.

      xxx

      SSH Private Keys

      This parameter is mandatory when Authentication Method is set to SSH private keys.

      Click Select File and select a local file to upload.

      -

      Auto Deployment

      Whether to enable auto deployment. This parameter is mandatory when Select Client Type is set to Complete Client.

      • If you set this parameter to yes, the client is automatically installed and deployed on the current node.
      • If you set this parameter to no, the client will not be automatically installed and deployed. You need to manually install the client after it is downloaded.

      Yes

      Deployment Path

      This parameter is mandatory when Auto Deployment is set to Yes. If only the configuration file is downloaded, this parameter will not be displayed.

      The deployment path must be empty if it already exists on the remote node. Otherwise, it will be created automatically. The path also requires operate and write permissions.

      /opt/testclient

  4. Use WinSCP to save the compressed file to the installation directory of the client as the client installation user, such as /opt/hadoopclient.
  5. Decompress the software package.

    Run the following commands to go to the directory where the client is installed, and decompress the file to a local directory. For example, the downloaded client file is FusionInsight_Cluster_1_Services_Client.tar.

    cd /opt/hadoopclient

    tar -xvf FusionInsight_Cluster_1_Services_Client.tar

  6. Verify the software package.

    Run the following command to verify the decompressed file and check whether the command output is consistent with the information in the sha256 file:

    sha256sum -c FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles.tar.sha256

    FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles.tar: OK     

  7. Decompress the package to obtain the configuration file.

    tar -xvf FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles.tar

  8. Run the following command in the client installation directory to update the client using the configuration file:

    sh refreshConfig.sh Client installation directory Directory where the configuration file is located

    For example, run the following command:

    sh refreshConfig.sh /opt/hadoopclient /opt/hadoopclient/FusionInsight_Cluster_1_Services_ClientConfig_ConfigFiles

    If the following information is displayed, the configurations have been updated successfully:

    Succeed to refresh components client config.

Method 2:

  1. Log in to the node where the client is installed as user root.
  2. Go to the client installation directory, for example, /opt/client, and run the following commands to update the configuration file:

    cd /opt/client

    sh autoRefreshConfig.sh

  3. Enter the username and password of the FusionInsight Manager administrator and the floating IP address of FusionInsight Manager. You can run the ifconfig command on the active OMS node to view the floating IP address.
  4. Enter the names of the components whose configurations need to be updated. Use commas (,) to separate the component names. Press Enter to update the configurations of all components if necessary.

    If the following information is displayed, the configurations have been updated successfully:

    Succeed to refresh components client config.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback