ADSM-L

Re: [ADSM-L] need help with TSM for nz backup

2016-07-12 16:21:09
Subject: Re: [ADSM-L] need help with TSM for nz backup
From: Andrew Raibeck <storman AT US.IBM DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 12 Jul 2016 16:19:22 -0400
Hi Jeanne,

What are the backtick (`) and single quote (') doing that surround the
OBJECTS field? Were you using quotes?

What if you updated the schedule like this, using just regular double
quotation marks to surround the command?

   upd sch netezza netezza_wkd
objects="sh /nz/kit.7.2.1.1-P1/bin/daily_tsm.sh"

Best regards,

Andy

____________________________________________________________________________

Andrew Raibeck | IBM Spectrum Protect Level 3 | storman AT us.ibm DOT com

IBM Tivoli Storage Manager links:
Product support:
https://www.ibm.com/support/entry/portal/product/tivoli/tivoli_storage_manager

Online documentation:
http://www.ibm.com/support/knowledgecenter/SSGSG7/landing/welcome_ssgsg7.html

Product Wiki:
https://www.ibm.com/developerworks/community/wikis/home/wiki/Tivoli%20Storage%20Manager

"ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU> wrote on 2016-07-12
15:57:29:

> From: Jeanne Bruno <JBruno AT CENHUD DOT COM>
> To: ADSM-L AT VM.MARIST DOT EDU
> Date: 2016-07-12 15:58
> Subject: need help with TSM for nz backup
> Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
>
> Hello.   I'm trying to create a new TSM schedule for our Netezza server.
> I want TSM to run the .sh file I created, so I have this:
>
>
>            Policy Domain Name: NETEZZA
>                 Schedule Name: NETEZZA_WKD
>                   Description: Netezza Server
>                        Action: Command
>                     Subaction:
>                       Options:
>                       Objects: `sh /nz/kit.7.2.1.1-P1/bin/daily_tsm.sh'
>                      Priority: 5
>               Start Date/Time: 07/12/2016 15:00:00
>                      Duration: 4 Hour(s)
>    Maximum Run Time (Minutes): 0
>                Schedule Style: Classic
>                        Period: 1 Day(s)
>                   Day of Week: Weekday
>                         Month:
>
> The scheduler kicks off but fails with these messages:
>
> ANR0406I Session 200168 started for node NETEZZA (Linux x86-64)
> (Tcp/Ip 10.1.4.246(35323)).
> ANR2579E Schedule NETEZZA_WKD in domain NETEZZA for node NETEZZA
> failed (return code 2).
> ANR0403I Session 200168 ended for node NETEZZA (Linux x86-64).
> ANR0406I Session 200169 started for node NETEZZA (Linux x86-64)
> (Tcp/Ip 10.1.4.246(35324)).
>
>
> Schedlog has this:
> 07/12/2016 15:00:41
> Executing Operating System command or script:
>    `sh /nz/kit.7.2.1.1-P1/bin/daily_tsm.sh'
> 07/12/2016 15:00:41 Finished command.  Return code is: 2
> 07/12/2016 15:00:41 ANS1909E The scheduled command failed.
> 07/12/2016 15:00:41 ANS1512E Scheduled event 'NETEZZA_WKD' failed.
> Return code = 2.
> 07/12/2016 15:00:41 Sending results for scheduled event 'NETEZZA_WKD'.
> 07/12/2016 15:00:41 Results sent to server for scheduled event
'NETEZZA_WKD'.
>
>
> the commands inside the .sh file work from a linux command prompt.
> An example:
> ./nzbackup  -u admin -pw xxxxx -db XXXXDB   -connector Tivoli -
> connectorArgs "TSM_PASSWD=XXXXXXXXXX"  -cumulative  -v >> cum_histdb.log
>
>
> I have a host and a proxy node, and I have both associated with the
> Schedule, but I'm not sure if I need both associated.  But the
> scheduler fails either way.
>
> Anyone ever see this or can lead me in the direction on how to
resolve????
>
>
> ____________________
> Jeannie Bruno
> Senior Systems Analyst
> jbruno AT cenhud DOT com<mailto:jbruno AT cenhud DOT com>
> Central Hudson Gas & Electric
> (845) 486-5780
>