Hp Storage Mirroring Software User Manual Page 178

  • Download
  • Add to my manuals
  • Print
  • Page
    / 339
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 177
12 - 9
Automating Restore
You can use a post-failback script on the source to automate the restore process. For example, the following two files
automate the restore process. In your failover configuration, identify spostback.bat as your post-failback script on the
source machine. This batch file calls the second script below,
spostback.txt, which automates the restoration.
S
POSTBACK.BAT
cd c:\Program Files\OpenView\Storage Mirroring
cmd /c DTCL -f "c:\Program Files\OpenView\Storage Mirroring\spostback.txt >> “c:\Program Files\
OpenView\Storage Mirroring\restore.log"
NOTE: The second and third lines of the above batch file should appear on one line in your batch file. They appear on
two lines in the text above so that you can see the entire command.
Spostsback.bat Command Description
cd c:\Program Files\OpenView\Storage
Mirroring
Changes to the directory where the Storage Mirroring
program files are located.
cmd /c DTCL -f “c:\ Program
Files\OpenView\Storage Mirroring\spostback.
txt” >> “c:\Program Files\OpenView\Storage
Mirroring\restore.log”
Starts an instance of the command prompt, carries out the
specified command, and then stops. In this case, the
specified command is to run the Storage Mirroring
Command Line client with the file name option using the
spostback.txt file.
The >> portion of the command outputs the results from
the automated restore script file to the file specified,
restore.log.
Page view 177
1 2 ... 173 174 175 176 177 178 179 180 181 182 183 ... 338 339

Comments to this Manuals

No comments