1. Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING) Click the link to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This message will disappear after you have made at least 12 posts. Thank you for your cooperation.

Daily TSM maintenance Script

Discussion in 'Performance Tuning' started by tsmhelum, Jul 25, 2007.

  1. tsmhelum

    tsmhelum New Member

    Joined:
    Aug 24, 2006
    Messages:
    450
    Likes Received:
    0
    I have a Serial script that runs daily. On one of our TSM servers when the
    following portion of the script is run >>> BA STG LOCpool rmpool maxpr=4 wait=yes

    We are getting the following message every morning.

    ANR2017I Administrator xxxxxx issued command: BACKUP
    STGPOOL LOCpool rmpool maxpr=2 wait=yes
    ANR2111W BACKUP STGPOOL: There is no data to process for LOCPOOL

    What does the above message mean exactly and how I check to make sure the primary and copy tape pool are in sync with each other?

    I know it should be self explanatory.

    TSM 5.3
    AIX 5.3

    Thanks for any help in advance!
     
  2.  
  3. denisl

    denisl New Member

    Joined:
    Sep 12, 2002
    Messages:
    116
    Likes Received:
    0
    The message means there is no data in LOCPOOL which needs to be copied to RMPOOL.

    run this:
    select stgpool_name, sum(num_files) from occupancy where stgpool_name='LOCPOOL' or stgpool_name='RMPOOL' group by stgpool_name

    Both pools should have the same number of files if they are in sync.
    The ANR2111W says no data was written to the pool since the last backup stgpool was run.
     
  4. tsmhelum

    tsmhelum New Member

    Joined:
    Aug 24, 2006
    Messages:
    450
    Likes Received:
    0
    Thanks denisl – for you quick response and the Select
    Query worked I appreciate it
     
  5. steepo78

    steepo78 New Member

    Joined:
    Aug 23, 2004
    Messages:
    2
    Likes Received:
    0
    Another Question

    After running that command and the numbers do not match, how do you correct?

    Every morning I run:

    ba stg <every disk stgpool> <off-site tape>
    ba stg <every on-site tape stgpool> <off-site tape>

    What would cause these numbers not to be equal?
     
  6. n9hmg

    n9hmg Senior Member

    Joined:
    Dec 18, 2006
    Messages:
    600
    Likes Received:
    13
    Occupation:
    unix admin
    Location:
    northern front-range Colorado, USA
    Another stgpool with stuff in the copy stgpool? client files coming in after invocation? database problems?
     

Share This Page