ADSM-L

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

2016-07-12 16:34:49
Subject: Re: [ADSM-L] need help with TSM for nz backup
From: Jeanne Bruno <JBruno AT CENHUD DOT COM>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Tue, 12 Jul 2016 20:33:08 +0000
Failed, but different RC:
Executing Operating System command or script:
   "sh /nz/kit.7.2.1.1-P1/bin/daily_tsm.sh"
07/12/2016 16:30:08 Finished command.  Return code is: 127
07/12/2016 16:30:08 ANS1909E The scheduled command failed.
07/12/2016 16:30:08 ANS1512E Scheduled event 'NETEZZA_WKD' failed.  Return code 
= 127.
07/12/2016 16:30:08 Sending results for scheduled event 'NETEZZA_WKD'.
07/12/2016 16:30:08 Results sent to server for scheduled event 'NETEZZA_WKD'.


-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of 
Andrew Raibeck
Sent: Tuesday, July 12, 2016 4:19 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] need help with TSM for nz backup


** THIS IS AN EXTERNAL EMAIL ** Use caution before opening links / attachments. 
Never supply UserID/PASSWORD information.


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://urldefense.proofpoint.com/v2/url?u=https-3A__www.ibm.com_support_entry_portal_product_tivoli_tivoli-5Fstorage-5Fmanager&d=CwIFAg&c=BY0WRPt8vrhqs_gNwjcMsqT0O3k78MJMGj95ah0eDEA&r=7l_gtgCLb17w6YLNyl5xk2NLH8XcWIQUFrWhANDp1mE&m=OOkk6HR8781TS4G74iyDVaQ4mrF8KxdDapOceVBVJ3U&s=ZThbxKFKxrsgpuvCYsdSgh39wLZ2YDx67jcFFRlWrCg&e=
 

Online documentation:
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.ibm.com_support_knowledgecenter_SSGSG7_landing_welcome-5Fssgsg7.html&d=CwIFAg&c=BY0WRPt8vrhqs_gNwjcMsqT0O3k78MJMGj95ah0eDEA&r=7l_gtgCLb17w6YLNyl5xk2NLH8XcWIQUFrWhANDp1mE&m=OOkk6HR8781TS4G74iyDVaQ4mrF8KxdDapOceVBVJ3U&s=Yu5Zf2zXAUBd-Lue3EEYR4JGkUnbY_J3D84zRCz-bt4&e=
 

Product Wiki:
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.ibm.com_developerworks_community_wikis_home_wiki_Tivoli-2520Storage-2520Manager&d=CwIFAg&c=BY0WRPt8vrhqs_gNwjcMsqT0O3k78MJMGj95ah0eDEA&r=7l_gtgCLb17w6YLNyl5xk2NLH8XcWIQUFrWhANDp1mE&m=OOkk6HR8781TS4G74iyDVaQ4mrF8KxdDapOceVBVJ3U&s=HC1jKtba2K78-EZJFM0htP0kHZvI4tPdjAwL_JNYjJ8&e=
 

"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
>