Setting a Migration Rate
Scenarios
A large amount of traffic and bandwidth will be consumed during migration. To avoid impacting source server workloads during peak business hours, you can configure time-based bandwidth limits to restrict migration traffic.
Constraints
- The source server is Connected to SMS.
- The migration rate limit must be an integer from 0 to 1,000.
- If you set the rate limit to 0 or leave it empty, the migration speed is unrestricted and will follow the actual network speed between the source and target servers.
- The migration rate is bottlenecked by the migration rate limit you configure or the actual network speed, whichever is smaller.
Requirements for Migration Speed Limiting on Linux
To limit the migration speed for a Linux source server, the tc command and cbq or htb kernel module must be installed on the source server.
- To check whether the tc command is installed, run the following command on the Linux terminal. If the system returns the tc function list, the tc command has been installed.
# tc
- To check whether the cbq module is installed, run the following command on the Linux terminal. If the system returns the related information, the cbq module is loaded.
lsmod | grep sch_cbq
- If the cbq module does not exist, check the htb module. Run the following command on the Linux terminal. If the system returns the related information, the htb module is loaded.
lsmod | grep sch_htb
Setting a Migration Rate
- Sign in to the SMS console.
- In the navigation pane, click Servers.
- Locate the server for which you want to set the migration rate, and choose More > Set Migration Rate in the Operation column.
- In the Set Migration Rate dialog box, set a period and rate limit and click OK. Figure 1 Setting migration rate limits
- If Setting migration rate... is displayed, the setting is complete. Check whether the rate limit takes effect in the specified period.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot