Re: Running dsmc incremental backup from client schedule versus from crontab
Bill - My dsm.sys file looks like this: SErvername TSM COMMmethod TCPip TCPPort1500 TCPServeraddress tsm.sharp.com TCPCLIENTAddress xxx.xx.xx.xx Passwordaccess Generate schedmode prompted managedservicesschedule webclient Schedlogname /usr/tivoli/tsm/client/ba/bin/dsmsched.log Schedlogretention 7 Errorlogname /usr/tivoli/tsm/client/ba/bin/dsmerror.log Errorlogretention 7 Txnbytelimit 25600 TCPwindowsize 1024 TCPbuffsize32 inclexcl /usr/tivoli/tsm/client/ba/bin/inclexcl.opt My client schedule looks like this: Action: Incremental Options: -preschedulecmd=/scripts/backup_shutdown.ksh -postschedulecmd=/scripts/backup_startup.ksh Objects: Priority: 1 Start Date/Time: 11/02/07 00:30:00 Duration: 30 Minute(s) Schedule Style: Classic Period: 1 Day(s) Day of Week: Any Month: Day of Month: Week of Month: Expiration: Last Update by (administrator): ADMIN Last Update Date/Time: 11/01/07 15:29:05 Managing profile: I would like the backup to start daily at 00:30. Does the duration and durunits apply to only the polling schedmode and "dsmc schedule" process? Can I depend on the dsmcad scheduler always starting the incremental backup at 00:30? Thanks, Lucia -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of William Boyer Sent: Thursday, November 01, 2007 6:14 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] Running dsmc incremental backup from client schedule versus from crontab Also sounds like you are using POLLING. At least for that client. Then you get a start time randomized based on the DURATION of the schedule and the SET RANDOMIZE value. If you seitch to PROMPTED for that client, you should see it pretty close to the starttime of the schedule. You can do it via crontab, but as it won't be scheduled you won't get the pre/postschedule processing. Plus you'll need to maage your own condition checking and notification for failed backups. Bill Boyer "I haven't lost my mind...it's backed up on tape somewhere!" - ?? -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Larry Clark Sent: Thursday, November 01, 2007 9:01 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: Running dsmc incremental backup from client schedule versus from crontab yep, you can use the crontab. ----- Original Message - From: "Lucia Burke" <[EMAIL PROTECTED]> To: Sent: Thursday, November 01, 2007 8:16 PM Subject: [ADSM-L] Running dsmc incremental backup from client schedule versus from crontab Hello - I currently run a backup from a client schedule in which the action is incremental and options include preschedulecmd and postschedulecmd. The preschedulecmd procedure performs application shutdown procedures and the postschedulecmd performs application startup procedures. The user community would like to have the backup start at the same time every day preferably at 00:30. Currently, the client schedule is priority 2 with a four hour window beginning at 22:45. I could create a schedule with a priority 1, a start time of 00:30, and a smaller duration window. I could limit client schedule association to this one client node. But I am not sure that there is a way within a client schedule to guarantee a specific start time. Should I do this as a crontab entry? As a crontab entry, might I assume that the command "dsmc incremental" captures the same files and directories as a client schedule with the action "incremental"? Thanks, Lucia Lucia Burke Senior Systems Analyst/ Programmer Sharp HealthCare 3571 Corporate Court San Diego, CA 92123 (858)627-5081 [EMAIL PROTECTED]
Running dsmc incremental backup from client schedule versus from crontab
Hello - I currently run a backup from a client schedule in which the action is incremental and options include preschedulecmd and postschedulecmd. The preschedulecmd procedure performs application shutdown procedures and the postschedulecmd performs application startup procedures. The user community would like to have the backup start at the same time every day preferably at 00:30. Currently, the client schedule is priority 2 with a four hour window beginning at 22:45. I could create a schedule with a priority 1, a start time of 00:30, and a smaller duration window. I could limit client schedule association to this one client node. But I am not sure that there is a way within a client schedule to guarantee a specific start time. Should I do this as a crontab entry? As a crontab entry, might I assume that the command "dsmc incremental" captures the same files and directories as a client schedule with the action "incremental"? Thanks, Lucia Lucia Burke Senior Systems Analyst/ Programmer Sharp HealthCare 3571 Corporate Court San Diego, CA 92123 (858)627-5081 [EMAIL PROTECTED]
Re: After HACMP failover some stgpool volumes offline that should be online
Hi Richard - This was great - all is well with the volumes now. Thanks, Lucia -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Richard Sims Sent: Friday, October 19, 2007 12:33 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] After HACMP failover some stgpool volumes offline that should be online To roughly generate a TSM macro file to vary on any stgpool volumes which are found to be offline, you can do like: SELECT 'VARY ONLINE' as " ", - VOLUME_NAME from VOLUMES where - VOLUME_NAME like '/%' and STATUS='OFFLINE' > /tmp/tsmfile Tailor per your site. Remove column headers from the file, then run as a macro, if anything viable in it. Richard Sims
After HACMP failover some stgpool volumes offline that should be online
Hello - There are some filesystems associated with TSM server stgpool volumes that were not mounted during the HACMP failover. I mounted the filesystems but the TSM server shows that volumes associated with these stgpools are offline. Are there commands to run which will force the TSM server to query these volume and change their status to online? Thanks, Lucia Lucia Burke Senior Systems Analyst/ Programmer Sharp HealthCare 3571 Corporate Court San Diego, CA 92123 (858)627-5081 [EMAIL PROTECTED]
How do I determine session statistics for client events
Hello - I am trying to determine the "query" or "select" command which will report detailed statistics for client events. I have a report containing data returned from "query event * * begind=today-1" I assumed that the "last session" details reported by the "query node" command was reporting statistics for the client event sessions, but now I am not sure. I compared the activity log ANR4961I message "total bytes transferred" for the session to the "q node" to the "bytes" in the "summary" table for the node and to the "last session bytes received" for the node. The ANR4961I message "total bytes transferred" matches the "bytes" in the "summary" table, but the "last session bytes received" from "query node" is different. What type of session populates these "last session" fields reported by the "query node"? How might I capture client event session statistics similar to the "last session" statistics reported by "q node node-name f=d" command? Thanks, Lucia Lucia Burke Senior Systems Analyst/ Programmer Sharp HealthCare 3571 Corporate Court San Diego, CA 92123 (858)627-5081 [EMAIL PROTECTED]
Re: Help - Offsite tape ejection failed
Hi Jon - Below is my understanding of TSM DRMedia and what I do when I am trying to identify and locate DRMedia destined for offsite. I have defined drmedia primary stgpools and drmedia copy stgpools - these settings are displayed with the command "query DRMSTATUS". The command "query drmedia * begind=today" displays drmedia volume records which had fields modified today. Check the state field - this field can be an identifier of tapes that should be sent offsite and where TSM thinks the volumes should be. TSM States and their meanings - mountable - still in library notmountable - outside of library courier - ready for Courier pickup for delivery to offsite vault vault - at offsite vault vaultretrieve - waiting for courier pickup for return from offsite vault courierretrieve - with Courier for delivery to data center onsiteretrieve - received from Courier to data center The TSM command "query drmedia wherestate=mountable" displays drmedia copy stgpool volumes in the tape library. The TSM command "query libvolume" displays all volumes in the tape library with their associated slot element number. Check this "query libvolume" list for drmedia volumes displayed by the TSM command "query drmedia * begind=today" which are in the mountable, notmountable, courier, or vault states. I use the TSM command "move drmedia * wherestate=mountable tostate=courier remove=bulk" to move my DRMedia to the bulk IO door slots. If there is a problem which prevents the tape volumes from being moved to the IO door the tape volumes remain in mountable state rather than changing to courier state. I hope this helps, Lucia Burke Senior Systems Analyst/ Programmer Sharp HealthCare 3571 Corporate Court San Diego, CA 92123 (858)627-5081 [EMAIL PROTECTED] -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Jon Adams Sent: Thursday, September 20, 2007 4:32 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] Help - Offsite tape ejection failed One of our Operations folk had the CAP open while the library was trying to eject offsite tapes and it seemed to have failed. Now, we have no offsite tapes, so I am trying to find out how to identify the offsite tapes for manual removal (if I have to). Can someone get me going in the right direction? I am only backing up someone who's on vacation, but I have all the rights to be very dangerous - just not the knowledge. Thanks, Jon Adams Premera Blue Cross Mountlake Terrace WA 425-918-5770