HP StorageWorks Storage Mirroring Recover Scripting Guide (T5437-96022, November 2010)
Transmission schedule examples
This section shows examples of how the different schedule commands could be used
together. The numbers and times were randomly selected for these examples. Be sure to
use values that work for your environment.
l Example 1—In this example, transmission is set to begin on January 12, 2010, 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/10 22:30, every 1 day
schedule alpha end duration=6 hr
schedule alpha enable
If all the data is not transmitted with the 6-hour duration, the remaining data will
remain in the queue and will be transmitted during the next schedule transmission.
l 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.
l 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.
At any time, transmission can be manually started, stopped, paused, or resumed
regardless of scheduled transmission criteria.