HP StorageWorks Storage Mirroring scripting guide (T2558-96074, February 2008)

8 - 8
3. Repeat the limit bandwidth schedule add command to create a comprehensive bandwidth schedule. For
example, if you want to limit Storage Mirroring bandwidth usage weekdays (Monday - Friday) from 6:00 a.m. to 8:00 p.m.
and have unlimited bandwidth usage outside of those times, you would create two events. The first event would be for
Monday through Friday, would start at 6:00 a.m., and would limit the bandwidth to the desired rate. The second event
would be Monday through Friday, would start at 8:00 p.m., and would not limit the bandwidth. (To create an unlimited
event, set the limit option to the keyword UNLIMITED.) In this schedule, on Monday at 6:00 a.m., the schedule limit
would be applied, limiting the transfer of data. At 8:00 p.m. that night, the schedule limit would be applied again,
unlimiting the transfer of data. At 6:00 a.m. Tuesday morning, the schedule would be applied again. This would continue
until the Friday 8:00 p.m. schedule is applied. That event would remain in effect until Monday morning at 6:00 a.m.
4. If you want to review the schedule for a target, use the limit bandwidth schedule list command.
5. If you need to remove a scheduled event, use the limit bandwidth schedule remove command.
Notes
This command transmits in bursts, not bytes per seconds. The time identifies how long to wait
before transmitting again. For example, if 5 seconds are specified and it only takes 2 seconds to
send the specified bytes, Storage Mirroring will wait an additional 3 seconds before transmitting
again.
Options that contain non-alphanumeric characters must be enclosed in quotation marks.
Command LIMIT BANDWIDTH SCHEDULE LIST
Description Displays the bandwidth schedule for a target
Syntax
LIMIT BANDWIDTH SCHEDULE LIST <target>
Options target—Name of the target, an IP address on the target, or a virtual IP address. Depending on the
network route Storage Mirroring uses to access the target, you may need to specify the fully
qualified domain name.
Examples
limit bandwidth schedule list beta
Notes Target names that contain non-alphanumeric characters must be enclosed in quotation marks.
Command LIMIT BANDWIDTH SCHEDULE REMOVE
Description Removes a scheduled bandwidth event
Syntax
LIMIT BANDWIDTH SCHEDULE REMOVE <label> FROM <target>
Options label—Unique name identifying the existing bandwidth schedule event that you want to remove
target—Name of the target, an IP address on the target, or a virtual IP address. Depending on the
network route Storage Mirroring uses to access the target, you may need to specify the fully
qualified domain name.
Examples
limit bandwidth schedule remove weekdays from beta
Notes Options that contain non-alphanumeric characters must be enclosed in quotation marks.