HP StorageWorks Storage Mirroring Scripting Guide (T2558-96327, April 2009)

9 - 9
2. With a scheduled bandwidth limit, data will be transmitted according to the user-specified
schedule and the user-specified bandwidth configuration. Implementing a schedule requires
several steps and DTCL commands. Create a scheduled event using the
limit bandwidth
schedule add
command.
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.
Command LIMIT BANDWIDTH SCHEDULE ADD
Description Creates a scheduled bandwidth event for limiting transmission of data from
the source to the target
Syntax
LIMIT BANDWIDTH SCHEDULE ADD <label>
DAYS=<
day1>[, day2,..., dayN] STARTTIME=<hh:mm>
LIMIT=<
bytes>, <seconds> | UNLIMITED TO <target>
Options
label—Unique name that identifies this bandwidth scheduling event
day1, day2,..., dayN—Day(s) of the week that you want to schedule the
bandwidth limitation for. You can either spell out the entire day or use just
the first two letters of the day.
hh:mm—Time, using a 24-hour clock, to indicate when this event will
start
bytes—Number of bytes to be transmitted
seconds—Number of seconds to wait before transmitting again
UNLIMITED—Bandwidth is not limited during this scheduled event
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 add weekday days=Mo, Tu, We,
Th, Fr starttime=06:00 limit=19300 5 to beta
limit bandwidth schedule add weekend days=Sa, Su
starttime=04:00 limit=unlimited to beta
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.