12.07.2015 Views

Installation and User's Guide

Installation and User's Guide

Installation and User's Guide

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Use a blank, or null, string for "cmdstring" if you want to prevent anycomm<strong>and</strong>s from running that the administrator uses for postsnapshotcmd. Ifyou specify a blank or null string, it prevents the administrator from using acomm<strong>and</strong> on this option. If your administrator uses a blank or null string onthe postsnapshotcmd option, you cannot run a post-snapshot comm<strong>and</strong>.Use the srvprepostsnapdisabled option to prevent the Tivoli Storage Managerserver administrator from executing operating system comm<strong>and</strong>s on the clientsystem.If the comm<strong>and</strong> string contains blanks, enclose the comm<strong>and</strong> string inquotation marks:"resume database myDb"If you placed quotation marks within the comm<strong>and</strong> string, then enclose theentire comm<strong>and</strong> string in single quotation marks:’resume database "myDb"’ExamplesOptions file:postsnapshotcmd "restart application"The comm<strong>and</strong> string is a valid comm<strong>and</strong> for restarting your application.Comm<strong>and</strong> line:backup image -postsnapshotcmd="restart application"This option is valid only on the initial comm<strong>and</strong> line. It is not valid in interactivemode.Related information“Include options” on page 395“Srvprepostscheddisabled” on page 478Preschedulecmd/PrenschedulecmdThe preschedulecmd option specifies a comm<strong>and</strong> that the client program processesbefore it runs a schedule.The client program waits for the comm<strong>and</strong> to complete before it starts theschedule. If you do not want it to wait, specify prenschedulecmd.Note:1. Successful completion of the preschedulecmd comm<strong>and</strong> is considered to be aprerequisite to running the scheduled operation. If the preschedulecmdcomm<strong>and</strong> does not complete with return code 0, the scheduled operation <strong>and</strong>any postschedulecmd <strong>and</strong> postnschedulecmd comm<strong>and</strong>s will not run. Theclient reports that the scheduled event failed, <strong>and</strong> the return code is 12. If youdo not want the preschedulecmd comm<strong>and</strong> to be governed by this rule, youcan create a script or batch file that invokes the comm<strong>and</strong> <strong>and</strong> exits with returncode 0. Then configure preschedulecmd to invoke the script or batch file. Thereturn code for the prenschedulecmd comm<strong>and</strong> is not tracked, <strong>and</strong> does notinfluence the return code of the scheduled event.2. The server can also define the preschedulecmd option (<strong>and</strong> theprenschedulecmd option).Chapter 12. Processing options 431

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!