Results 1 to 6 of 6

Thread: Odd situation

  1. #1
    Member
    Join Date
    Sep 2008
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation 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

  2. #2
    Senior Member DanGiles's Avatar
    Join Date
    Oct 2002
    Location
    Toronto, Ont. Canada
    Posts
    548
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    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

  3. #3
    Member
    Join Date
    Sep 2008
    Posts
    23
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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!

  4. #4
    Moderator BBB's Avatar
    Join Date
    Feb 2007
    Location
    Brisbane, Australia
    Posts
    2,075
    Thanks
    0
    Thanked 5 Times in 5 Posts

    Default

    Whats in your activity log when you run your admin script?

  5. #5
    Senior Member nezih's Avatar
    Join Date
    Oct 2002
    Location
    istanbul
    Posts
    765
    Thanks
    0
    Thanked 2 Times in 2 Posts

    Default

    keeping only last copy of your tsm dbb and dbs's it's a courage!
    destruction is not negative! you must destroy to build...

  6. #6
    Member
    Join Date
    Dec 2003
    Posts
    11
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Do none of the run commands get executed? some? does it stop at a particular script each time?

Similar Threads

  1. strange tape situation
    By settler in forum Tape / Media Library
    Replies: 2
    Last Post: 03-10-2009, 04:06 PM
  2. Odd LoadDB situation
    By timgren in forum TSM Server
    Replies: 4
    Last Post: 11-30-2007, 10:08 AM
  3. odd client comms. problem
    By wesd in forum TSM Client
    Replies: 7
    Last Post: 01-04-2007, 05:23 AM
  4. Unusual backup situation
    By tsm_noob_01 in forum Administrative Client
    Replies: 2
    Last Post: 12-19-2005, 11:14 AM
  5. -VERY- odd question (but I need to ask)
    By gweston in forum TSM Server
    Replies: 3
    Last Post: 11-29-2005, 04:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •