Results 1 to 6 of 6
Thread: Odd situation
-
07-06-2009, 06:24 PM #1Member
- Join Date
- Sep 2008
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Odd situation
Hi all,
I have a strange situation. I used my old scripts from version 5.5 in version 6.1. Until now nothing much, all of them are administrative commands and they run smoothly, thou when i use a script that call other scripts in administrative scripts they fail. Really odd.
I have a script that stops diskpool migration, backup TSM DB, copy stgp, create a DB Snapshot, copy device conf and volhist and last of them, delete volhist. They all run ok separated, but calling them in a administrative scripts they dont run... i have a felling thats a bug when calling a script in a script.
Cheers
-
07-06-2009, 10:22 PM #2Senior Member
- Join Date
- Oct 2002
- Location
- Toronto, Ont. Canada
- Posts
- 539
- Thanks
- 0
- Thanked 0 Times in 0 Posts
I couldn't find any APARs on this. How do you kick off the individual scripts from the master script? Perhaps you can paste a snippit of your master script here so we can take a look at it.
Daniel R. Giles
Sileg Consulting Inc.
416.402.9744 dan.giles@sileg.com
http://www.linkedin.com/in/sileg
-
07-08-2009, 10:47 AM #3Member
- Join Date
- Sep 2008
- Posts
- 20
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Hi again,
So my administrative task calls this scripts:
RUN MIGRATION_STOP
RUN BACK_TSMDB
RUN BACK_DISKPOOL
RUN BACK_ON_SITE_POOL
RUN SNAPSHOT_TSMDB
RUN BACK_VOL_HISTORY
RUN BACK_DEVCONFIG
RUN DEL_VOL_HISTORY
And this is what they do:
MIGRATION_STOP
UPDATE STGPOOL #DISKPOOL#L HIGHMIG=90 LOWMIG=10
BACK_TSMDB
BACKUP DB DEVCLASS=#TAPECLASS# TYPE=FULL SCRATCH=YES WAIT=YES
BACK_DISKPOOL
BACKUP STGPOOL #DISKPOOL# OFF_SITE_POOL MAXPROCESS=1 PREVIEW=NO WAIT=YES
BACK_ON_SITE_POOL
BACKUP STGPOOL #ONSITEPOOL# #OFFSITEPOOL# MAXPROCESS=1 PREVIEW=NO WAIT=YES
SNAPSHOT_TSMDB
BACKUP DB DEVCLASS=#TAPECLASS# TYPE=DBS SCRATCH=YES WAIT=YES
BACK_VOL_HISTORY
BACKUP VOLHISTORY FILENAMES="#VOLHISTPATH#"
BACK_DEVCONFIG
BACKUP DEVCONFIG FILENAMES="#DEVCONFIGPATH#"
DEL_VOL_HISTORY
DELETE VOLHISTORY TODATE=today-1 TYPE=DBBACKUP
DELETE VOLHISTORY TODATE=today-1 TYPE=DBS
Thanks in advance!
-
07-09-2009, 07:57 AM #4Moderator
- Join Date
- Feb 2007
- Location
- Brisbane, Australia
- Posts
- 2,072
- Thanks
- 0
- Thanked 3 Times in 3 Posts
Whats in your activity log when you run your admin script?
-
07-09-2009, 08:52 AM #5
keeping only last copy of your tsm dbb and dbs's it's a courage!
destruction is not negative! you must destroy to build...
-
07-21-2009, 07:19 AM #6Member
- Join Date
- Dec 2003
- Posts
- 11
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Do none of the run commands get executed? some? does it stop at a particular script each time?
Similar Threads
-
strange tape situation
By settler in forum Tape / Media LibraryReplies: 2Last Post: 03-10-2009, 04:06 PM -
Odd LoadDB situation
By timgren in forum TSM ServerReplies: 4Last Post: 11-30-2007, 10:08 AM -
odd client comms. problem
By wesd in forum TSM ClientReplies: 7Last Post: 01-04-2007, 05:23 AM -
Unusual backup situation
By tsm_noob_01 in forum Administrative ClientReplies: 2Last Post: 12-19-2005, 11:14 AM -
-VERY- odd question (but I need to ask)
By gweston in forum TSM ServerReplies: 3Last Post: 11-29-2005, 04:23 PM


Reply With Quote
