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.

Parallel script

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

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

    pfsubaru New Member

    Joined:
    Jan 24, 2009
    Messages:
    150
    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 Moderator

    Joined:
    Aug 24, 2005
    Messages:
    6,226
    Likes Received:
    279
    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 New Member

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

Share This Page