esherril
Joined: 31 Aug 2007
Posts: 8
|
 Scheduling in DP
IMHO the scheduling function in HPDP is weak (though not as confusing as NetBackup to me). Granularity is only every 15 minutes due to the GUI settings and the 'omnitrig' cron trigger mechanism. And, as you have found out, jobs can easily time out waiting for drives to free up, especially if you assign specific drives to specific backup specs. You can increase the timeout but that can lead to more problems getting jobs in during the backup window. We use IBM Tivoli Workload Scheduler (a/k/a Maestro) to get around this issue. Not an ad, and I'm sure HP, CA and others have similar job scheduling products.
You define a set # of tape resources (to match your available drives) in Maestro, setup your backup specs to run (daily/weekly/whatever), and the schedules can run one right after the other with no delays as soon as the correct # of drives (which can be set per-schedule) are free. Just make sure to have no conflicting scheduled jobs actually setup in the calendar in DP itself, and also every spec should have every available drive assigned (just set min drives to 1 and max drives to the # you want each to use).
Note you still have to balance out the big jobs with the little ones, and if you have a job which hogs all your drives for the entire backup window you won't ever get to run your little jobs (which means you probably need to add more / faster drives!). Another bug/gotcha, which may be fixed in later versions of DP and Maestro, but in our environment if a big job starts on 6 drives, even if it finishes on 5 of them and is only writing to 1 drive, it won't release the other 5 to the free pool again until the job is fully complete. SAP and Oracle are the main culprits here due to the way the backup agents try to load balance objects across drives. To minimize this we typically run all our small jobs on 1-2 drives first and then as they finish & free up enough drives, the big ones can start.
We are also looking at doing Curtis' recommendation about spreading out the fulls during all 7 weeknights instead of just Saturdays/Sundays.
|