ADSM-L

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

2016-07-12 15:59:08
Subject: [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 19:57:29 +0000
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