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

8 - 6
5. You can specify a transmission window.
Transmission schedule examples
This section shows examples of how the different schedule commands could be used together.
Example 1—In this example, transmission is set to begin on January 12, 2007, at 10:30 p.m. and to end after 6 hours.
This schedule is also set to repeat every day:
schedule alpha start starttime=1/12/07 22:30, every 1 day
schedule alpha end duration=6 hr
schedule alpha enable
If all the data is not transmitted within the 6-hour duration, the remaining data will remain in the queue and will be
transmitted during the next scheduled transmission.
Example 2—In this example, transmission is set to begin after the source queue contains approximately 40 MB of data,
and transmission is set to end after approximately 50 MB of data have been sent from the source to the target:
schedule alpha start queuesize=40000000
schedule alpha end bytes=50000000
schedule alpha enable
If there is data remaining in the source queue after the transmission ends, the data will be sent when the source queue
again reaches 40000000 bytes of data.
Example 3—In this example, transmission is set to begin after the source queue contains approximately 50 MB of data,
and transmission is set to end after 60 MB of data have been sent from the source to the target. However, transmission
can only occur if the start criteria is met within the defined 6-hour window:
schedule alpha start queuesize=50000000
schedule alpha end bytes=60000000
schedule alpha window 22:00 to 04:00
schedule alpha enable
If additional data remains in the source queue after the transmission ends, that data will be sent when the start criteria is
again met within the defined 6-hour window. However, if the start criteria is not met within the defined 6-hour window,
data remains in the queue until the start criteria is met within the defined window.
Command SCHEDULE WINDOW
Description Sets criteria to only allow transmissions during a certain period of time
Syntax
SCHEDULE <target> WINDOW <hh:mm> TO <hh:mm>
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.
hh:mm—Time in hour:minute format using the 24-hour clock. The first time is when the
transmission will begin and the second time is when the transmission will end.
Examples
schedule beta window 23:00 to 06:00
Notes Establishing a transmission window by itself is not sufficient to start a transmission. You will need
to specify a start criteria.
Target names that contain non-alphanumeric characters must be enclosed in quotation marks.
NOTE: The numbers and times were randomly selected for these examples. Be sure to use values that work for your
environment.
NOTE: At any time, transmission can be manually started, stopped, paused, or resumed regardless of scheduled
transmission criteria.