ADSM-L

[ADSM-L] Objects for schedule COMMAND for Windows

2009-10-06 05:20:16
Subject: [ADSM-L] Objects for schedule COMMAND for Windows
From: Grigori Solonovitch <G.Solonovitch AT BKME DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 6 Oct 2009 12:16:57 +0300
Hello Everybody,
I have small problem, but I couldn't resolve it myself.
There is batch file to backup one of the Windows servers. From command line on 
the server I am able to run batch as:

"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\scripts\Daily.bat"  
>"C:\Inetpub\ftproot\BKME KOC FTP\Usr\root\CBMR\logs\TSM_Daily.log"

I have found the way how to put the same in Objects:

upd sch nt daily_ftpsrv objects=' "C:\Inetpub\ftproot\BKME KOC 
FTP\Usr\root\CBMR\scripts\Daily.bat"  \>"C:\Inetpub\ftproot\BKME KOC 
FTP\Usr\root\CBMR\logs\TSM_Daily.log"'

and I have:

ANS8000I Server command: 'q sched nt daily_ftpsrv f=d'

            Policy Domain Name: NT
                 Schedule Name: DAILY_FTPSRV
                   Description: Daily backup for FTPSRV
                        Action: Command
                       Options:
                       Objects: "C:\Inetpub\ftproot\BKME KOC 
FTP\Usr\root\CBMR\scripts\Daily.bat"  >"C:\Inetpub\ftproot\BKME KOC 
FTP\Usr\root\CBMR\logs\TSM_Daily.log"
                      Priority: 5
               Start Date/Time: 10/02/2009 11:45:00
                      Duration: 3 Hour(s)
                Schedule Style: Classic
                        Period: 1 Day(s)
                   Day of Week: Any
                         Month:
                  Day of Month:
                 Week of Month:
                    Expiration:
Last Update by (administrator): TSMEXPLORER
         Last Update Date/Time: 10/06/2009 11:41:50
              Managing profile:

ANS8002I Highest return code was 0.

Unfortunately, schedule is failing:

ANS8000I Server command: 'q ev nt daily_ftpsrv f=d'

Policy Domain Name: NT
     Schedule Name: DAILY_FTPSRV
         Node Name: FTPSRV
   Scheduled Start: 10/06/2009 11:45:00
      Actual Start: 10/06/2009 11:45:03
         Completed: 10/06/2009 11:45:03
            Status: Failed
            Result: 1
            Reason: Failed

ANS8002I Highest return code was 0.

What is the reason?
Could somebody help me?
Thank you very much in advance.


Grigori G. Solonovitch

Senior Technical Architect

Information Technology  Bank of Kuwait and Middle East  http://www.bkme.com

Phone: (+965) 2231-2274  Mobile: (+965) 99798073  E-Mail: G.Solonovitch AT bkme 
DOT com<mailto:G.Solonovitch AT bkme DOT com>

Please consider the environment before printing this Email


Please consider the environment before printing this Email.

________________________________
"This email message and any attachments transmitted with it may contain 
confidential and proprietary information, intended only for the named 
recipient(s). If you have received this message in error, or if you are not the 
named recipient(s), please delete this email after notifying the sender 
immediately. BKME cannot guarantee the integrity of this communication and 
accepts no liability for any damage caused by this email or its attachments due 
to viruses, any other defects, interception or unauthorized modification. The 
information, views, opinions and comments of this message are those of the 
individual and not necessarily endorsed by BKME."

<Prev in Thread] Current Thread [Next in Thread>