Re: disabe/enable a sched via command line
Be aware that altering a client schedule will remove all historical events from the DB. Meaning when you perform an update to a client schedule and query the past status for a particular client you will get the infamous no match found. ~Rick Adamson Jacksonville, FL. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
disabe/enable a sched via command line
I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
Hi David, You can : - lock the node, - put an expire date for the sched wich is yesterday (today-1), if the node is the only one using this sched, - delete association, if it's'definitive. Choose one. -- Best regards / Cordialement / مع تحياتي Erwann SIMON -Original Message- From: Tyree, David david.ty...@sgmc.org Sender: ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU Date: Wed, 14 Dec 2011 13:04:33 To: ADSM-L@VM.MARIST.EDU Reply-To: ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
Here's a link with an example that you could check out.. http://momo66.wordpress.com/2007/06/25/remove-client-node-from-a-schedule/ ** Don't be a phishing victim - VCU and other reputable organizations will never use email to request that you reply with your password, social security number or confidential personal information. For more details visit http://infosecurity.vcu.edu/phishing.html From: Tyree, David david.ty...@sgmc.org To: ADSM-L@VM.MARIST.EDU Date: 12/14/2011 02:18 PM Subject:Re: [ADSM-L] disabe/enable a sched via command line Sent by:ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU I have about a dozen schedules but I would like to be able deactivate a couple of them and not affect the others. David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Vandeventer, Harold [BS] Sent: Wednesday, December 14, 2011 1:29 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line How about DISABLE SESSIONS? That would not stop schedules, but would disallow the node connection. Still allows mgmt access, doesn't require an edit to opt nor a restart. Harold Vandeventer Systems Programmer State of Kansas - Department of Administration/COMPACT harold.vandeven...@da.ks.gov (785) 296-0631 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 12:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
Can you change the Start Date/time to a future date on the schedules you don't want to run. - Original Message - From: Tyree, David david.ty...@sgmc.org To: ADSM-L@VM.MARIST.EDU Sent: Wednesday, December 14, 2011 2:05 PM Subject: Re: [ADSM-L] disabe/enable a sched via command line I have about a dozen schedules but I would like to be able deactivate a couple of them and not affect the others. David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Vandeventer, Harold [BS] Sent: Wednesday, December 14, 2011 1:29 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line How about DISABLE SESSIONS? That would not stop schedules, but would disallow the node connection. Still allows mgmt access, doesn't require an edit to opt nor a restart. Harold Vandeventer Systems Programmer State of Kansas - Department of Administration/COMPACT harold.vandeven...@da.ks.gov (785) 296-0631 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 12:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
Occasionally on a friday we'd get a request to skip some backups over the weekend. If you set the start date for the schedule to Monday's date, you accomplish no backups running over the weekend, and you don't have to remember to do anything on Monday to get the schedule working again. If you want to stop backups for a day, you could do something like update schedule domain_name schedule_name STARTDate=today+1? Thanks, [RC] david.ty...@sgmc.org Sent by: ADSM-L@VM.MARIST.EDU 12/14/2011 10:22 AM Please respond to ADSM-L@VM.MARIST.EDU To ADSM-L@VM.MARIST.EDU cc Subject [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 If you are not the intended addressee, please inform us immediately that you have received this e-mail in error, and delete it. We thank you for your cooperation.
Re: disabe/enable a sched via command line
You could update the start date or expiration date. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 10:23 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
Have you looked at the disable sessions command? George x7911 (office) -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 1:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 IMPORTANT: The security of electronic mail sent through the Internet is not guaranteed. Legg Mason therefore recommends that you do not send confidential information to us via electronic mail, including social security numbers, account numbers, and personal identification numbers. Delivery, and timely delivery, of electronic mail is also not guaranteed. Legg Mason therefore recommends that you do not send time-sensitive or action-oriented messages to us via electronic mail, including authorization to buy or sell a security or instructions to conduct any other financial transaction. Such requests, orders or instructions will not be processed until Legg Mason can confirm your instructions or obtain appropriate written documentation where necessary.
Re: disabe/enable a sched via command line
I have about a dozen schedules but I would like to be able deactivate a couple of them and not affect the others. David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Vandeventer, Harold [BS] Sent: Wednesday, December 14, 2011 1:29 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line How about DISABLE SESSIONS? That would not stop schedules, but would disallow the node connection. Still allows mgmt access, doesn't require an edit to opt nor a restart. Harold Vandeventer Systems Programmer State of Kansas - Department of Administration/COMPACT harold.vandeven...@da.ks.gov (785) 296-0631 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 12:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
Delete association domain_name schedule_name node_name Subsubstitute as appropriate. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 2:06 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line I have about a dozen schedules but I would like to be able deactivate a couple of them and not affect the others. David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Vandeventer, Harold [BS] Sent: Wednesday, December 14, 2011 1:29 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line How about DISABLE SESSIONS? That would not stop schedules, but would disallow the node connection. Still allows mgmt access, doesn't require an edit to opt nor a restart. Harold Vandeventer Systems Programmer State of Kansas - Department of Administration/COMPACT harold.vandeven...@da.ks.gov (785) 296-0631 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 12:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
In TSM you define a schedule and then associate the nodes to 1 or more schedules using the define assoc command. To stop a backup for a node, look at the delete assoc command and then later you can restart it using define assoc. Jerry Michalak jerry_...@yahoo.com From: Tyree, David david.ty...@sgmc.org To: ADSM-L@VM.MARIST.EDU Sent: Wednesday, December 14, 2011 12:04 PM Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
If you change the period units to onetime, the start date will have been passed and the schedule will not start until you change it back to a recurring unit. The Period will also change to 0 when onetime is selected, so the reversal will have to set both back to their original values. Bob. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Jeannie Bruno Sent: Wednesday, December 14, 2011 1:22 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line Can you change the Start Date/time to a future date on the schedules you don't want to run. - Original Message - From: Tyree, David david.ty...@sgmc.org To: ADSM-L@VM.MARIST.EDU Sent: Wednesday, December 14, 2011 2:05 PM Subject: Re: [ADSM-L] disabe/enable a sched via command line I have about a dozen schedules but I would like to be able deactivate a couple of them and not affect the others. David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Vandeventer, Harold [BS] Sent: Wednesday, December 14, 2011 1:29 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line How about DISABLE SESSIONS? That would not stop schedules, but would disallow the node connection. Still allows mgmt access, doesn't require an edit to opt nor a restart. Harold Vandeventer Systems Programmer State of Kansas - Department of Administration/COMPACT harold.vandeven...@da.ks.gov (785) 296-0631 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 12:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155 This electronic transmission and any documents accompanying this electronic transmission contain confidential information belonging to the sender. This information may be legally privileged. The information is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or the taking of any action in reliance on or regarding the contents of this electronically transmitted information is strictly prohibited.
Re: disabe/enable a sched via command line
How about DISABLE SESSIONS? That would not stop schedules, but would disallow the node connection. Still allows mgmt access, doesn't require an edit to opt nor a restart. Harold Vandeventer Systems Programmer State of Kansas - Department of Administration/COMPACT harold.vandeven...@da.ks.gov (785) 296-0631 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Lee, Gary D. Sent: Wednesday, December 14, 2011 12:23 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] disabe/enable a sched via command line The closest thing I can come up with is Disable server But this prevents all client connections. To disable schedules, add the line Disablescheds yes To the dsmserv.opt file, then restart the server. When you want to restart schedules, comment out the line, and restart the tsm server again. Gary Lee Senior System Programmer Ball State University phone: 765-285-1310 -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155
Re: disabe/enable a sched via command line
David, Try setting the expiration of the schedule to a prior day. i.e. upd sched DOMAIN 0100 exp=12/11/2011 Then when you want the schedule reactivated set back to NEVER upd sched NOARCHIVE 0100 exp=Never Not sure if this will do what you want but its worth testing. Daniel Fiske -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Tyree, David Sent: Wednesday, December 14, 2011 1:05 PM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] disabe/enable a sched via command line I'm trying to figure out to enable and disable client schedules from the command line. I've looked over the online help and elsewhere but no luck. If the command was for an admin sched I would do update sched something type=admin active=yes/no . But I don't see a similar command for client schedules. thanks David Tyree Interface Analyst South Georgia Medical Center 229.333.1155