Got it

ECS cloning failed due to large capacity of the disks

Latest reply: Mar 16, 2021 06:47:40 406 1 1 0 0

Hello, everyone!

Do you know how to solve failure to clone ECS due to the large capacity of the disks? Don't worry, the post will share with you!

Issue Description

ECS Cloning failure due to timeout duration allows for the process is too short.

Handling Process

Before proceed to modify the ECS cloning timeout duration, ensure that ECS cloning speed has been modified accordingly to the support guide as below:

https://support.huawei.com/hedex/hdx.do?docid=EDOC1100105336&id=ECS_ug_000150_3&lang=en

Recommend only change the value to only 3 (no service impact) as shown below:

download?uuid=59416eefb14e4e028fc3f220eab814cc

 

If the issue still persists and unable to perform ECS cloning especially with a large disk size. Proceed further in the steps below:

 

1. ECS cloning failure was mainly because the size of the disk is way too big, 3200GB. Hence, the process doesn't manage to finish in time due to the timeout period is too short (1080seconds), which is as shown below: 

download?uuid=a0718ea12193402ba66a97b2ac65b44e

2. In order to resolve this issue, log in to the management VM, CPT-SRV01, and CPT-SRV02 (Remark: You can check the IP or VNC to this VM through ServiceOM portal) and manually modify the value under the path of /opt/apicom/tomcat/taskmgr/WEB-INF/classes/ to 8460 seconds. 

ecs.taskProperty.listenCount.collectSubJobStatus=8460

ecs.taskProperty.listenCount.cloneServer=8460

ecs.taskProperty.listenInterval.cloneServer=10

download?uuid=4084ef7e77e84ca38e48b08a8837a082

 

3. After that, reboot the apicom services by killing it.

ps -ef|grep apicom

kill -9 apicom PID

 

Root Cause

ECS Cloning timeout duration allows for the process is too short.

Solution

Modify the ECS cloning speed as well as ECS Cloning timeout duration.

This is my solution, how about yours? Go ahead and share it with us!


Thanks for your sharing!
View more
  • x
  • convention:

Comment

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

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.