Got it

A ZooKeeper Node Fails to be Migrated Due to a Fault Occurred on the Node Before the Migration

108 0 0 0 0

Problem Information

Table1 Basic problem information

Item

Description

Storage type

Distributed storage

Product version

FusionStorage 8.0.0; FusionStorage 8.0.1; OceanStor 100D 8.0.2; OceanStor 100D 8.0.3

Problem type

Migration

Keyword

ZooKeeper; ZooKeeper migration


Problem Symptom

A ZooKeeper node is faulty. As a result, it fails to be migrated.

2_en-us_image_0249599813.png

Problem Diagnosis

The parent migration task fails. After the subtask of updating the database or writing ZooKeeper configurations to the MDC node is complete, no subsequent subtask exists.

Causes

During the migration, the network or node is abnormal, and the communication with the source ZooKeeper node fails. As a result, subsequent subtasks time out and fail.

Solution

If the source ZooKeeper node is permanently faulty and cannot be restored, this section is not applicable.

If the source ZooKeeper node can be restored, perform the following steps after the node is restored:

Use PuTTY to log in to the active FSM node through the management plane floating IP address and switch to user root.

Run the ismcli -u admin command and enter user name admin and its password to log in to the CLI.

2_en-us_image_0247628154.png

  1. Run the following restoration commands:

    change cluster_profile update cluster_type=manager process=zk

    change cluster_profile update cluster_type=manager process=mdc

    change cluster_profile update cluster_type=eds process=cm

    change cluster_profile update cluster_type=rep process=cm

  2. Log in to the active FSM node as user dsware, switch to the /opt/dsware/client/bin directory, and run the following dswareTool command to clear configuration of the source ZooKeeper node: sh /opt/dsware/client/bin/dswareTool.sh --op clearNode -type zk -ip ${zk error node ip}

    2_en-us_image_0247508526.png

Check After Recovery

1. Use PuTTY to log in to the faulty node and run the ps -ef | grep zk command to check whether the source ZooKeeper process has been cleared.

2. Use PuTTY to log in to the new ZooKeeper node and run the ps -ef | grep zk command to check whether the new ZooKeeper process has been started.

3. Use PuTTY to log in to the original MDC node and run the cat /opt/fusionstorage/persistence_layer/mdc/conf/mdc_conf.cfg |grep mdc_zk_address command to check whether the IP address of the ZooKeeper node in the MDC configuration file is updated to that of the new ZooKeeper node.

4. Use PuTTY to log in to the original ZooKeeper node and run the cat /opt/fusionstorage/persistence_layer/agent/zk/conf/zoo.cfg |grep server command to check whether the IP address of the ZooKeeper node in the ZooKeeper configuration file is updated to that of the new ZooKeeper node.

Suggestion and Summary

N/A

Applicable Versions

All

Comment

You need to log in to comment to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.