1. Community Tip: Please Give Thanks to Those Sharing Their Knowledge.
    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.
  2. Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)
    Click the link above 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 notice will disappear after you have made at least 3 posts.

Parallel script

Discussion in 'Scripting' started by pfsubaru, May 31, 2012.

Thread Status:
Not open for further replies.
  1. pfsubaru

    pfsubaru ADSM.ORG Member

    Joined:
    Jan 24, 2009
    Messages:
    154
    Likes Received:
    0
    Hi,

    need some help on this script that I created, I want to know if I have this script correctly made for each section to finish its process before it move to the next section.


    set dbrecovery lto5_class
    PARALLEL
    backup stgpool DISKPOOL OFFLINE_POOL1 maxprocess=1 wait=yes (section1)
    SERIAL
    PARALLEL
    backup stgpool ONLINE_POOL1 OFFLLINE_POOL1 maxprocess=1 wait=yes (section2)
    backup stgpool ONLINE_POOL2 OFFLLINE_POOL2 maxprocess=1 wait=yes (section2)
    SERIAL
    PARALLEL
    backup stgpool ONLINE_POOL3 OFFLLINE_POOL3 maxprocess=1 wait=yes (section3)
    backup stgpool ONLINE_POOL4 OFFLLINE_POOL4 maxprocess=1 wait=yes (section3)
    SERIAL
    backup stgpool ARCH_POOL5 OFFLINE_POOL1 wait=yes (section4)
     
  2.  
  3. moon-buddy

    moon-buddy ADSM.ORG Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,535
    Likes Received:
    299
    Occupation:
    Electronics Engineer, Security Professional
    Location:
    Somewhere in the US
    Here is what I believe the script should look like:

    SERIAL
    set dbrecovery lto5_class
    backup stgpool DISKPOOL OFFLINE_POOL1 maxprocess=1 wait=yes (section1)
    PARALLEL
    backup stgpool ONLINE_POOL1 OFFLLINE_POOL1 maxprocess=1 wait=yes (section2)
    backup stgpool ONLINE_POOL2 OFFLLINE_POOL2 maxprocess=1 wait=yes (section2)
    PARALLEL
    backup stgpool ONLINE_POOL3 OFFLLINE_POOL3 maxprocess=1 wait=yes (section3)
    backup stgpool ONLINE_POOL4 OFFLLINE_POOL4 maxprocess=1 wait=yes (section3)
    SERIAL
    backup stgpool ARCH_POOL5 OFFLINE_POOL1 wait=yes (section4)
     
  4. pfsubaru

    pfsubaru ADSM.ORG Member

    Joined:
    Jan 24, 2009
    Messages:
    154
    Likes Received:
    0
    Thank you.
     
Thread Status:
Not open for further replies.

Share This Page