Re: Copy Stgpool and Migrations
Here's how i wait on a process to finish. Basically i query the process and if it's still running i re-spawn the schedule for ten minutes later. If you have any questions please let me know. john [EMAIL PROTECTED] -- /*DAILY*/ /*backup db*/ delete schedule chkproc type=admin q process if(rc_notfound) goto cont def schedule chkproc cmd=run daily active=yes startd=today startt=now+00:10 exp=today exit cont: backup db dev=bakdrive type=full wait=yes def schedule chkproc cmd=run Script1 active=yes startd=today startt=now+00:10 exp=today exit /* End of DAILY*/ /*SCRIPT1*/ /*Expire data bkup stg backup\archive pools*/ delete schedule chkproc type=admin q process if(rc_notfound) goto cont def schedule chkproc cmd=run script1 active=yes startd=today startt=now+00:10 exp=today exit cont: def schedule chkproc cmd=run backupstg active=yes startd=today startt=now+00:10 exp=today expire inventory exit /*End of SCRIPT1*/ /*Backupstg*/ delete schedule chkproc type=admin q process if(rc_notfound) goto cont def schedule chkproc cmd=run backupstg active=yes startd=today startt=now+00:10 exp=today exit cont: backup stg backuppool copypool /*End of Backupstg*/ -Original Message- Date:Mon, 1 Apr 2002 12:37:41 +0200 From:=?iso-8859-1?q?Francisco=20Molero?= [EMAIL PROTECTED] Subject: Re: Copy Stgpool and Migrations Hi, you can run all commands in a script, then you can run the commands one per one. In addicion, you should see the options movebatchsize ( 1000) and movesizethresh (500), this options improve the performance in process like migration , backup stg, reclamations,etc.. --- Dearman, Richard [EMAIL PROTECTED] escribis: I backup my systems to a disk stgpool then backup that stgpool to an offsite copy stgpool library at 8am then at 11am I migrate the disk stgpool to an onsite tape library. Currently I schedule the jobs in tsm by just issuing the proper commands at 8am and 11am. The problem is my 8am backup to my copy stgpool sometimes runs into the migrattion at 11am. Does anyone have a more efficient way of doing this instead of me just changing the migration to a later time. Thanks Richard
Re: Copy Stgpool and Migrations
Hi, you can run all commands in a script, then you can run the commands one per one. In addicion, you should see the options movebatchsize ( 1000) and movesizethresh (500), this options improve the performance in process like migration , backup stg, reclamations,etc.. --- Dearman, Richard [EMAIL PROTECTED] escribis: I backup my systems to a disk stgpool then backup that stgpool to an offsite copy stgpool library at 8am then at 11am I migrate the disk stgpool to an onsite tape library. Currently I schedule the jobs in tsm by just issuing the proper commands at 8am and 11am. The problem is my 8am backup to my copy stgpool sometimes runs into the migrattion at 11am. Does anyone have a more efficient way of doing this instead of me just changing the migration to a later time. Thanks Richard ___ Do You Yahoo!? Yahoo! Messenger Comunicacisn instantanea gratis con tu gente. http://messenger.yahoo.es
Re: Copy Stgpool and Migrations
Richard, Simplest way is just to trigger earlier backups of your storage pool. Say you triggered at 2/3 hour intervals during the night by the time your current backup kicked in at 08:00 most of your pool has already been copied, so will finish earlier, almost certainly before your migration. cheers, John Dearman, Richard [EMAIL PROTECTED] on 03/25/2002 04:38:21 PM Please respond to ADSM: Dist Stor Manager [EMAIL PROTECTED] To: [EMAIL PROTECTED] cc:(bcc: John Naylor/HAV/SSE) Subject: Copy Stgpool and Migrations I backup my systems to a disk stgpool then backup that stgpool to an offsite copy stgpool library at 8am then at 11am I migrate the disk stgpool to an onsite tape library. Currently I schedule the jobs in tsm by just issuing the proper commands at 8am and 11am. The problem is my 8am backup to my copy stgpool sometimes runs into the migrattion at 11am. Does anyone have a more efficient way of doing this instead of me just changing the migration to a later time. Thanks Richard ** The information in this E-Mail is confidential and may be legally privileged. It may not represent the views of Scottish and Southern Energy plc. It is intended solely for the addressees. Access to this E-Mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Any unauthorised recipient should advise the sender immediately of the error in transmission. Scottish Hydro-Electric, Southern Electric, SWALEC and S+S are trading names of the Scottish and Southern Energy Group. **
Copy Stgpool and Migrations
I backup my systems to a disk stgpool then backup that stgpool to an offsite copy stgpool library at 8am then at 11am I migrate the disk stgpool to an onsite tape library. Currently I schedule the jobs in tsm by just issuing the proper commands at 8am and 11am. The problem is my 8am backup to my copy stgpool sometimes runs into the migrattion at 11am. Does anyone have a more efficient way of doing this instead of me just changing the migration to a later time. Thanks Richard
Re: Copy Stgpool and Migrations
You could use a TSM script like: ba stgpool stgpool1 offsite wait=y update stgpool stgpool1 highmig=1 lowmig=1 and setup a schedule to run the script -Original Message- From: Dearman, Richard [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 10:38 AM To: [EMAIL PROTECTED] Subject: Copy Stgpool and Migrations I backup my systems to a disk stgpool then backup that stgpool to an offsite copy stgpool library at 8am then at 11am I migrate the disk stgpool to an onsite tape library. Currently I schedule the jobs in tsm by just issuing the proper commands at 8am and 11am. The problem is my 8am backup to my copy stgpool sometimes runs into the migrattion at 11am. Does anyone have a more efficient way of doing this instead of me just changing the migration to a later time. Thanks Richard