Results 1 to 4 of 4
-
12-08-2008, 06:39 PM #1Member
- Join Date
- Apr 2008
- Posts
- 7
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Postpone multiple TSM schedules at once??
Hey....is there an easy way to postpone all TSM schedules for a few days? I really don't want to modify about 120 TSM schedules manually. I'd love to be able to do this at the command prompt.
Thanks!!
Dan
dap@trustmarkins.com
-
12-09-2008, 12:15 AM #2Moderator
- Join Date
- Dec 2003
- Location
- Czech Republic
- Posts
- 2,050
- Thanks
- 2
- Thanked 56 Times in 55 Posts
Hi,
you can issue "disable sessions client" command - it prevents all client sessions (both sheduled and interactive).
OR you can use option DISABLESCHEDS YES in your dsmserv.opt - it disables central scheduler - so no client or administrative schedule is run.
For this option you have to restart the TSM server.
Hope it helps
Harry
-
12-09-2008, 12:25 AM #3Moderator
- Join Date
- Nov 2005
- Location
- Victoria, Australia
- Posts
- 537
- Thanks
- 0
- Thanked 0 Times in 0 Posts
Assuming all schedules are active
for Unix
id=USERNAME
pass=PASSWORD
tsmCmd="dsmadmc -id=$id -pass=$pass -comma -dataonly=yes"
schedules=$`$tsmCmd "select domain_name,schedule_name from client_schedules"
RC=$?
if [[ $RC -ne 0 ]]
then
echo "error updating schedules\nReturn Code $RC ]]
return $RC;
fi
for each in $schedules
do
domain=`echo $each |awk -F, '{print $1}'`
sched=`echo $each |awk -F, '{print $2}'`
$tsmCmd "update schedule $domain $sched startd=2010/01/01
done
May not work as I have not tested, so you might want to try with an echo first in the line above "done". If you need for windows yell out.
to reset them at the end, change the startd to something different.
This so far is just for client schedules as well
-
12-09-2008, 08:43 AM #4Member
- Join Date
- May 2007
- Posts
- 81
- Thanks
- 0
- Thanked 0 Times in 0 Posts
I use Harry's idea. I keep the line DISABLESCHEDS YES commented out in my dsmserv.opt. Then, I only have to remove the comment when needed.
Similar Threads
-
multiple schedules on Linux-server
By rznadmin in forum Backup / Archive DiscussionReplies: 2Last Post: 03-13-2012, 10:35 AM -
Multiple user id adds with multiple master nodes - need scripting
By tux242 in forum ScriptingReplies: 1Last Post: 02-09-2008, 06:52 PM -
Selective Backup / Multiple Schedules
By mkbowman in forum Backup / Archive DiscussionReplies: 2Last Post: 12-27-2007, 12:55 PM -
multiple schedules for different filespaces on same server
By tonny in forum Backup / Archive DiscussionReplies: 9Last Post: 12-06-2007, 03:40 AM -
Automation - Client Schedules -> How to execute automatic schedules ?
By megabrasil in forum Backup / Archive DiscussionReplies: 3Last Post: 03-28-2006, 09:03 AM


Reply With Quote
