Got it

PlogServer Upgrade May Fail After a Powered-off Node Is Removed and Then Powered On Again for Upgrade

99 0 0 0 0

Problem Symptom

After a node is powered off, it is removed from the storage pool. However, the PlogClient configuration file, PolgServer configuration file, and EDS configuration file still exist on the node. After the node is powered on again, the pre-upgrade check fails. Error message: The EDS process on node xxx is abnormal.

1_en-us_image_0233861269.png


Problem Diagnosis

  1. Ensure that the node has been removed from the storage pool.

    1_en-us_image_0233870344.png

  1. Run the following command on the removed node to check whether residual PlogClient configuration file /opt/fusionstorage/persistence_layer/vbs/conf/plogclient.conf exists on the node:

    ll /opt/fusionstorage/persistence_layer/vbs/conf/plogclient.conf

    1_en-us_image_0264104789.png

    If any query result is displayed, the PlogClient configuration file still exists.

  2. Run the following command on the node to check whether the PlogSserver configuration file still exists:

    ll /opt/fusionstorage/persistence_layer/osd/conf/osd_*_conf.cfg

    If any query result is displayed, the PlogServer configuration file still exists.

    1_en-us_image_0233857632.png

  3. Check whether the node belonged to the disk pool of the block service or the disk pool of the file service before the capacity reduction.

    If the node belonged to the disk pool of the block service, run the following command to check whether the eds configuration file exists:

    cat /opt/dsware/eds/eds/conf/ebs_server.conf 2>&1 | grep fsa_service_id

    If the node belonged to the disk pool of the file service (NAS, HDFS), run the following command to check whether the eds-f configuration file exists:

    cat /opt/dsware/eds/eds-f/conf/ebs_server.conf 2>&1 | grep fsa_service_id

    If any query result is displayed, the eds-f configuration file still exists.

    1_en-us_image_0233859831.png

Causes

After the node is powered off, FSM cannot delete its configuration file. You need to manually delete the residual configuration file. If residual configuration files exist, the pre-upgrade check fails.


Solution

  1. Run the following command to clear the residual PlogClient configuration file:

    rm -rf /opt/fusionstorage/persistence_layer/vbs/conf/plogclient.conf

  2. Clear the residual PlogClient information.

    Log in to the active management node as user dsware and run the following command to clear the residual PlogServer configuration file:

    sh /opt/dsware/client/bin/dswareTool.sh  --op clearNode -type osd -ip ip -poolId id

    1_en-us_image_0233866230.png

  1. Run the following command to clear the residual EDS information:

    sh /opt/dsware/client/bin/dswareTool.sh  --op clearNode -type eds -ip ip -poolId id

    1_en-us_image_0233863286.png


Check After Recovery

Check whether the /opt/fusionstorage/persistence_layer/osd/conf/osd_*_conf.cfg and /opt/fusionstorage/persistence_layer/vbs/conf/plogclient.conf files are deleted. Check whether the storage pool status and cluster status are normal and whether the pre-upgrade check is successful.

1_en-us_image_0233867608.png

1_en-us_image_0233863239.png


Suggestion and Summary

N/A


Applicable Versions

FusionStorage 8.0.1,OceanStor 100D 8.0.2,OceanStor 100D 8.0.3


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.