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.

script

Discussion in 'Scripting' started by litos79, Apr 11, 2012.

  1. litos79

    litos79 New Member

    Joined:
    Feb 16, 2010
    Messages:
    12
    Likes Received:
    0
    Hi all, I created a script but i have a strange problem (new on tsm server 6.3)
    Here the script

    SERIAL
    backup volhistory
    backup devconfig
    backup volhistory filenames=/tsmnas/tsmconf/volhistory.bkp
    backup devconfig filenames=/tsmnas/tsmconf/devconfig.bkp
    delete volhistory type=dbbackup todate=today-3
    SERIAL
    PARALLEL
    migrate stgpool SPD_CL lowmig=0 duration=120 wait=yes
    migrate stgpool SPD_DB lowmig=0 duration=120 wait=yes
    migrate stgpool SPD_DOC01 lowmig=0 duration=120 wait=yes
    migrate stgpool SPD_FS lowmig=0 duration=120 wait=yes
    migrate stgpool SPD_MAIL lowmig=0 duration=120 wait=yes
    migrate stgpool SPD_VM lowmig=0 duration=120 wait=yes
    SERIAL
    PARALLEL
    reclaim stgpool SPTOC threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_CL threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_DB threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_DOC01 threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_FS threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_MAIL threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_VM threshold=55 duration=120 wait=yes
    reclaim stgpool SPT_VMESX threshold=55 duration=120 wait=yes
    reclaim stgpool SPC_DB threshold=55 duration=120 wait=yes
    reclaim stgpool SPC_DOC01 threshold=55 duration=120 wait=yes
    reclaim stgpool SPC_FS threshold=55 duration=120 wait=yes
    reclaim stgpool SPC_MAIL threshold=55 duration=120 wait=yes
    reclaim stgpool SPC_VM threshold=55 duration=120 wait=yes
    SERIAL
    PARALLEL
    copy activedata SPT_FS SPA_FS wait=yes
    copy activedata SPT_VM SPA_VM wait=yes
    copy activedata SPT_DOC01 SPA_DOC wait=yes
    SERIAL
    PARALLEL
    reclaim stgpool SPA_FS threshold=60 duration=120 wait=yes
    reclaim stgpool SPA_VM threshold=60 duration=120 wait=yes
    reclaim stgpool SPA_DOC threshold=60 duration=120 wait=yes

    When I launch manually the script (run manutenzione_2) it works correctly (first execute in parallel migrate, second in parallel execute reclamation, then copy activedata and finally reclamation.
    When I schedule the script it execute at the same time all the operation.

    Could you help me ?

    Best regards,
    Manuel
     
  2.  

Share This Page