You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage-mover/bandwidth-management.md
+69-31Lines changed: 69 additions & 31 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ author: stevenmatthew
5
5
ms.author: shaas
6
6
ms.service: azure-storage-mover
7
7
ms.topic: how-to
8
-
ms.date: 06/01/2022
8
+
ms.date: 07/02/2022
9
9
---
10
10
11
11
# Manage network bandwidth of a Storage Mover agent
@@ -24,13 +24,7 @@ A schedule is an attribute of a registered server. In the portal, you can set an
24
24
25
25
A bandwidth management schedule describes time windows throughout a week, during which you can set a limit on how much upload bandwidth a Storage Mover agent is allowed to use.
:::image type="content" source="media/bandwidth-management/bandwidth-full-schedule-small.png" alt-text="Azure portal dialog showing a calendar, similar to Outlook, with scheduled bandwidth limitation windows." lightbox="media/bandwidth-management/bandwidth-full-schedule.png":::
34
28
35
29
This schedule looks a lot like a calendar in outlook, but there are a few important differences:
36
30
@@ -40,41 +34,28 @@ This schedule looks a lot like a calendar in outlook, but there are a few import
40
34
- The schedule doesn't store a timezone. When you set a limit that starts for instance at 9am, then that means agent-local time. You can see what timezone is configured for the agent. Pay close attention, the agent's timezone may be different from the timezone of your site where the agent is deployed.
41
35
42
36
## Enabling or changing a bandwidth management schedule
Using the Azure portal, you can enable a bandwidth schedule on a registered agent resource.
48
39
1. With the portal showing your Storage Mover resource, select the "*Registered agents*" in the menu on the left.
49
40
1. You now have two options to set or view a schedule. You can find the column "*Bandwidth management*" and click on the link for your selected agent. Or, you can select the checkbox in front of your agent. That enables and a command button above the list of agents, labeled "*Manage bandwidth limit*".
:::image type="content" source="media/bandwidth-management/bandwidth-registered-agents-command-small.png" alt-text="Azure portal, registered agents blade, showing to select and agent and then select the Bandwidth Management command." lightbox="media/bandwidth-management/bandwidth-registered-agents-command.png":::
53
42
1. The bandwidth management window opens and displays the schedule currently in effect for the agent. When an empty schedule is shown, there are no bandwidth limitations defined for this agent.
1. Open the bandwidth scheduling window. ([see previous section](#enabling-or-changing-a-bandwidth-management-schedule))
61
48
1. You can create a custom schedule for this selected agent, or you can [reuse a schedule](#reusing-a-schedule-from-another-agent) that was previously created for another agent.
62
49
1. To create a custom schedule, select the "Add limit" command. A dialog opens, allowing you to define a time slice during which you want to set the maximum bandwidth on your WAN link, that the agent is allowed to use.
1. The dialog requires you to set a start and an end-time during which you want to apply an uplink limit for the agent. You can then pick on which days of the week you like to apply your new limit. Select all weekdays during which you like to apply the same limit. You then need to specify the limit in Mbps (Megabits per second). Overlapping times aren't allowed. Any limit you set, applies at the displayed time in the agent's timezone. You can find the agent's timezone displayed at the top of the bandwidth management window. You may need to offset your schedule or adjust the agent's timezone. Find more details in the paragraph: "*[Reusing a schedule from another agent](#reusing-a-schedule-from-another-agent)*".
50
+
:::image type="content" source="media/bandwidth-management/bandwidth-add-limit.png" alt-text="An Azure portal dialog showing the inputs to set a limit for a custom time period.":::
51
+
1. The dialog requires you to set a start and an end-time during which you want to apply an uplink limit for the agent. You can then pick on which days of the week you like to apply your new limit. Select all weekdays during which you like to apply the same limit. You then need to specify the limit in Mbps (Megabits per second). Overlapping times aren't allowed. Any limit you set, applies at the displayed time in the agent's timezone. You can find the agent's timezone displayed at the top of the bandwidth management window. You may need to offset your schedule or adjust the agent's timezone. Find more details in the paragraph: "[Reusing a schedule from another agent](#reusing-a-schedule-from-another-agent)".
69
52
1. To apply your changes to this agent, select the "*Save*" button at the bottom of the "*Bandwidth management*" window.
70
53
71
54
> [!NOTE]
72
55
> The bandwidth limit you set limits the *migration data stream* the agent will establish to your target storage in Azure. However, in addition to this data stream, there is control plane traffic from the agent to Azure. Control messages, progress telemetry, and copy logs generally require only a small amount of bandwidth. To ensure proper functionality of the agent throughout your migration, the control plane of the agent is not governed by the limit schedule you set. In an extreme case the agent may exceed the limits you defined by a small amount.
Open the bandwidth management schedule for your selected agent. ([see previous section](#enabling-or-changing-a-bandwidth-management-schedule))
79
60
80
61
If you like to edit or delete a specific limit, select the limit and the "*Edit limit*" dialog opens. You can adjust the time slot or delete the limit. There are no bulk-editing options, so you must edit every limit on every weekday individually.
@@ -85,10 +66,7 @@ Don't forget to apply your changes to this agent. Select the "*Save*" button at
85
66
86
67
87
68
## Reusing a schedule from another agent
88
-
You can reuse the bandwidth limit schedule from another agent for your currently selected agent.
89
-
90
-
> [!IMPORTANT]
91
-
> Schedules are stored free of a timezone. That enables them to be reused on other agents. A scheduled limit will be in effect during this time in whatever the agent's timezone is. You need to ensure that you offset your bandwidth management schedule if the agent's timezone is different to the one used in the location you've deployed the agent in. For example, if the agent's timezone is UTC but your agent is actually deployed in the Pacific timezone (PST), you need to offset your schedule by -7 hours or adjust your agent's timezone to the correct one for the location. Alternatively, you can adjust the agent's timezone to the correct one for the location. Doing this removes the need to offset your schedule and also enables your schedule to automatically adjust to Daylight Savings, should your timezone observe that.
69
+
You can reuse the bandwidth limit schedule from another agent.
92
70
93
71
1. Open the bandwidth management schedule for your selected agent. ([See the previous paragraph.](#enabling-or-changing-a-bandwidth-management-schedule))
94
72
1. Select the command "*Import limits from other agents*" and select the agent you like to copy the schedule from. If there are no agents in the list, then there's no other agent that has a schedule set.
@@ -97,11 +75,71 @@ You can reuse the bandwidth limit schedule from another agent for your currently
97
75
1. Optionally, you can now modify this copied schedule.
98
76
1. To apply your changes to this agent, select the "*Save*" button at the bottom of the "*Bandwidth management*" window.
99
77
100
-
## Use PowerShell to configure a bandwidth limit schedule.
78
+
> [!IMPORTANT]
79
+
> Schedules are stored free of a timezone. That enables them to be reused on other agents. A scheduled limit will be in effect during this time in whatever the agent's timezone is. You need to ensure that you offset your bandwidth management schedule if the agent's timezone is different to the one used in the location you've deployed the agent in. For example, if the agent's timezone is UTC but your agent is actually deployed in the Pacific timezone (PST), you need to offset your schedule by -7 hours or adjust your agent's timezone to the correct one for the location. Alternatively, you can adjust the agent's timezone to the correct one for the location. Doing this removes the need to offset your schedule and also enables your schedule to automatically adjust to Daylight Savings, should your timezone observe that.
80
+
81
+
## Use PowerShell to configure a bandwidth limit schedule
$registeredAgentName = "Name of the agent, registered to your storage mover resource"
116
+
117
+
## Log into Azure with your Azure credentials
118
+
Connect-AzAccount -SubscriptionId $subscriptionID # -DeviceLogin #Leverage DeviceLogin if you need to authenticate your PowerShell session from another machine. # -TenantID #In some environments you may you need to specify the EntraID tenant to authenticate against.
# $schedule then contains a JSON structure with elements for each configured time windows and the upload limit in Mbps that applies during this window.
124
+
125
+
#------------
126
+
# SET a new bandwidth limitation window on Monday and Tuesday:
-EndTimeMinute 30 # Optional. Time blocks are precise to 30 Minutes. -EndTimeMinute 0 is equivalent to omitting the parameter. The only other acceptable value is the half hour mark: 30.
133
+
134
+
TODO:
135
+
I need to see how to add a single new time block to an empty or existing schedule.
136
+
I need to see the best method of editing a schedule.
137
+
I need to see how I can delete a schedule.
138
+
139
+
I would like to document the JSON schema through an annotated example schedule.
0 commit comments