Re: Priorities
I know that space reclamation has priority over backups or restores. Yiannakis -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of Justin Bleistein Sent: Thursday, July 08, 2004 4:56 PM To: [EMAIL PROTECTED] Subject: Re: Priorities I don't believe there is any real priority numbers for these tsm server processes. There is however tape mount preempt priorities. That priority list can be found in the TSM server admin guide.. Thanks! --Justin Richard Bleistein Unix/TSM Systems Administrator (Sungard Availability Services) |-+ | | Copper, Steve | | | [EMAIL PROTECTED]| | | OWER.CO.UK | | | Sent by: ADSM: | | | Dist Stor| | | Manager | | | [EMAIL PROTECTED]| | | .EDU| | || | || | | 07/08/2004 09:50 | | | AM | | | Please respond to| | | ADSM: Dist Stor | | | Manager | | || |-+ --- ---| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Priorities | --- ---| Hi All, TSM server 5.1.5.5 What I am looking to find out is the priority number assigned to various processes such as the move node data, space reclamation etc. Would anyone have a table or pointers to the documentation Thanks in advance Steve __ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email __
Re: Maximum database volumes?
On Friday, Jul 9, 2004, at 11:11 Australia/Sydney, [EMAIL PROTECTED] wrote: == In article [EMAIL PROTECTED], Paul Ripke [EMAIL PROTECTED] writes: With any disk and controller technology that supports command queuing (SCSI2 command tagged queuing, SATA Native Command Queuing (NCQ)), you are better off with about 3 volumes per spindle for random I/O. TSM serialises I/O per volume, meaning only one I/O in flight to each volume at any one time. Hmm. This is the first I've heard about NCQ; any pointers to which devices and which firmware levels do this? I've got some rather old 9G SSA which might not do the trick. NCQ for SATA is brand new - there's probably only a handful of drives on the market supporting this. For SCSI, FCAL, SSA it's been around for quite a while. At least for SCSI, probably the mid-eighties. I believe SSA has supported command queuing from day one. Under AIX, just check the queue_depth hdisk attribute: lsattr -El hdiskx -a queue_depth This attribute should only exist If the device supports queuing, and represents the OS imposed limit on simultaneous outstanding IOs to the device. It's a really good idea to tune this parameter for high-end and middle-market disk farms (ESS, HDS, EMC, FASt...) running random IO loads. But I'll fiddle with it on my new 36Gs; if I can get acceptable performance out of them this way, I'll be exstatic. This is backed up by tests I've run, and is recommended by one of the IBM TSM support guys here in Australia. Cheers, -- Paul Ripke Unix/OpenVMS/TSM/DBA I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams
Re: Priorities
On Friday, Jul 9, 2004, at 17:09 Australia/Sydney, Yiannakis Vakis wrote: I know that space reclamation has priority over backups or restores. Yiannakis No. In an Admin guide I have handy - look for Preemption of Client or Server Operations - the following are defined as high priority operations for mount point access: - Backup database - Restore - Retrieve - HSM recall - Export - Import Any of which will preempt, in decreasing order of priority: 1. Move data 2. Migration from disk to sequential media 3. Backup, archive, or HSM migration 4. Migration from sequential media to sequential media 5. Reclamation So the above statement is incorrect - reclamations have the lowest possible priority. See the manual for the details. Cheers, -- Paul Ripke Unix/OpenVMS/TSM/DBA I love deadlines. I like the whooshing sound they make as they fly by. -- Douglas Adams
Operational reporting graph explanation
Dear All, I need to know the explanation of the attached graph of Session Load Summary and Tape Mount load summary. Especially Tape mount load summary where the bar line is on the second grid line. Confusing for me ! Regards, Sadi
Tsm restore
Hi, Can you tell me if there is an option within TSM to restore crossing mount points? Thanks.
Re: Tsm restore
Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
Re: Tsm restore
Hi, Within Veritas Netbackup you can perform a restore crossing mount points, meaning each filesystem does not need to be restored individually. Example: You want to restore the following filesystems: /oracle /oracle/sapdata /oracle/sapbackup The command to run would be: restore /oracle -subdir=yes -inactive=yes This command would need to be run for each of the filesystems above. Where with Veritas Netbackup you would select cross multiple mount points and it would restore everything under /oracle (even if separate mount points). Hope this explains it! Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: 09 July 2004 11:32 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
TSM 5.1 Web Client Java class error
I have two Solaris 8 servers, each installed with the 5.1 client (though neither installed by myself). One server has the Web client enabled from port 1501, and works fine. The other server is also listening on 1501, but a JRE 1.3.1-installed browser displays; java.lang.ClassNtFoundException: COM.ibm.storage.adsm.cadmin.clientgui.DDsmApplet.class dsmerror.log details the following error; 08/07/04 13:05:39 Error opening input file /opt/tivoli/tsm/client/api/bin/COM/ibm/storage/adsm/cadmin/clientgui/DDsmApplet.class However that class file (and the path from /opt/tivoli/tsm/client/api/bin)is not set, nor is DDsmApplet.class elsewhere on the server. Neither is it on the client that does work(?). In every other regard the clients are identical. Anyone any clues forfurther investigation? Many thanks Bren
Replacing our onsite tapepool that is used for migration?
We will be removing our onsite tapepool that is used for migration of our disk pool, replacing it with a large disk pool. Below is the size of the current tapepool. Storage Device Estimated Pct Pct High Low Next Storage Pool Name Class Name Capacity UtilMigr Mig Mig Pool (MB) Pct Pct - -- --- -- - TAPEPOOLCARTRIDGE 7,563,426.252.2 58.190 70 I was considering just adding DASD to our current diskpool, discontinue the migration process and letting the files expire through the normal backup and file expiration process. After time, move the remaining stranded data to the disk pool. Is there a recommended procedure to do this task or can someone suggest a better procedure? The information transmitted is intended only for the person or entity to which it is addressed and may contain CONFIDENTIAL material. If you receive this material/information in error, please contact the sender and delete or destroy the material/information.
Re: Tsm restore
Yes, you can do this with the TSM client GUI. You'll have to select all three file systems from the GUI tree view, but they can be restored in a single operation. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 04:29:05: Hi, Within Veritas Netbackup you can perform a restore crossing mount points, meaning each filesystem does not need to be restored individually. Example: You want to restore the following filesystems: /oracle /oracle/sapdata /oracle/sapbackup The command to run would be: restore /oracle -subdir=yes -inactive=yes This command would need to be run for each of the filesystems above. Where with Veritas Netbackup you would select cross multiple mount points and it would restore everything under /oracle (even if separate mount points). Hope this explains it! Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: 09 July 2004 11:32 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
Re: Tsm restore
Hi, It will be from the command line, do you know they command? Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Raibeck Sent: 09 July 2004 14:22 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Yes, you can do this with the TSM client GUI. You'll have to select all three file systems from the GUI tree view, but they can be restored in a single operation. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 04:29:05: Hi, Within Veritas Netbackup you can perform a restore crossing mount points, meaning each filesystem does not need to be restored individually. Example: You want to restore the following filesystems: /oracle /oracle/sapdata /oracle/sapbackup The command to run would be: restore /oracle -subdir=yes -inactive=yes This command would need to be run for each of the filesystems above. Where with Veritas Netbackup you would select cross multiple mount points and it would restore everything under /oracle (even if separate mount points). Hope this explains it! Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: 09 July 2004 11:32 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
Re: Novell server abending during incr backup
Ted, We put in the verbose option in our novell tsm client's dsm.opt file, but it only showed the following. 07/09/2004 04:01:30 ANS1898I * Processed 361,500 files * 07/09/2004 04:01:35 ANS1898I * Processed 362,000 files * 07/09/2004 04:01:39 ANS1898I * Processed 362,500 files * 07/09/2004 04:01:43 ANS1898I * Processed 363,000 files * 07/09/2004 04:01:47 ANS1898I * Processed 363,500 files * 07/09/2004 04:01:50 ANS1898I * Processed 364,000 files * It didn't show the file that it was backing up when the Server crash occurred. TSM novell client 5.2 Netware OS 6.5 SP2 Ted Byrne wrote: At 03:49 PM 7/8/2004, you wrote: I looked in the dsmsched.log there is nothing in there. (see below) If you run your scheduled backups with the -verbose option, it will record the files being backed up. Based on the dsmsched.log file contents you posted, it looks like the option in effect for the scheduled backups is -quiet. -Ted
Re: Tsm restore
The command line interface does not provide this functionality, but if it is important to you, I don't see why you couldn't simulate it . Someone with shell scripting skills could probably come up with a script that parses the output from the dsmc query filespace command, then issues the individual dsmc restore blah commands automatically. This will work best if you collocate by file space; otherwise one restore could end up contending for the same tape with another restore. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 06:41:18: Hi, It will be from the command line, do you know they command? Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Raibeck Sent: 09 July 2004 14:22 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Yes, you can do this with the TSM client GUI. You'll have to select all three file systems from the GUI tree view, but they can be restored in a single operation. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 04:29:05: Hi, Within Veritas Netbackup you can perform a restore crossing mount points, meaning each filesystem does not need to be restored individually. Example: You want to restore the following filesystems: /oracle /oracle/sapdata /oracle/sapbackup The command to run would be: restore /oracle -subdir=yes -inactive=yes This command would need to be run for each of the filesystems above. Where with Veritas Netbackup you would select cross multiple mount points and it would restore everything under /oracle (even if separate mount points). Hope this explains it! Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: 09 July 2004 11:32 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
Re: Novell server abending during incr backup
One thing you might want to consider: given the number of files that TSM is processing (as shown in the dsmsched.log excerpt you sent) it's conceivable that the backup is taxing the amount of available memory on the Netware box. You could try backing up with the MEMORYEFficientbackup option set to yes. If that does not provide any relief, or if the backups are already running with that option, you should probably get in touch with IBM support and asking for assistance. They may have you do some tracing that would provide a more detailed picture of what is occurring.At this point, I would recommend getting in touch with IBM support and asking for assistance. They may have you do some tracing that would provide a more detailed picture of what is occurring. -Ted At 10:16 AM 7/9/2004, you wrote: Ted, We put in the verbose option in our novell tsm client's dsm.opt file, but it only showed the following. 07/09/2004 04:01:30 ANS1898I * Processed 361,500 files * 07/09/2004 04:01:35 ANS1898I * Processed 362,000 files * 07/09/2004 04:01:39 ANS1898I * Processed 362,500 files * 07/09/2004 04:01:43 ANS1898I * Processed 363,000 files * 07/09/2004 04:01:47 ANS1898I * Processed 363,500 files * 07/09/2004 04:01:50 ANS1898I * Processed 364,000 files * It didn't show the file that it was backing up when the Server crash occurred. TSM novell client 5.2 Netware OS 6.5 SP2 Ted Byrne wrote: At 03:49 PM 7/8/2004, you wrote: I looked in the dsmsched.log there is nothing in there. (see below) If you run your scheduled backups with the -verbose option, it will record the files being backed up. Based on the dsmsched.log file contents you posted, it looks like the option in effect for the scheduled backups is -quiet. -Ted
CMDline not showing files visible with GUI
Hallo TSM'ers I'm not sure if I'm doing something wrong / going slightly mad here or not At a dsmc prompt I can get the following; tsm q ba /prod/gfcspw01/data/* -ina Size Backup DateMgmt Class A/I File ----- --- 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_01 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_02 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_archlogs 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo1 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo2 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo3 tsm Yet when I launch the Java GUI using dsmcad and pointing my browser at http://host:1581/, it also shows a dir of the name, /prod/gfcspw01/data/oradata_gfcspw01_03 And I am able to select and restore it's contents. , yet doing a more specific tsm q ba /prod/gfcspw01/data/oradata_gfcspw01_03 on the command line gives; ANS1084E No files have previously been backed up for '/prod/gfcspw01/data/oradata_gfcspw01_03' tsm ?? I have screenshots of the java gui client showing the extra dir if anyone would like to see them. Matt. ___ Disclaimer Notice __ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore Powergen Retail Limited does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of Powergen Retail Limited. Registered addresses: Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England and Wales No: 3407430 Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432
Re: Tsm restore
Something like this maybe? (sh/ksh/bash) dsmc q filespace | awk '{print $4}' | egrep '^/' | xargs -I %% dsmc restore -subdir=yes -inactive %% /oracle -David Andrew Raibeck [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 2004-07-09 16:08 Please respond to ADSM: Dist Stor Manager [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: Tsm restore The command line interface does not provide this functionality, but if it is important to you, I don't see why you couldn't simulate it . Someone with shell scripting skills could probably come up with a script that parses the output from the dsmc query filespace command, then issues the individual dsmc restore blah commands automatically. This will work best if you collocate by file space; otherwise one restore could end up contending for the same tape with another restore. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 06:41:18: Hi, It will be from the command line, do you know they command? Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Raibeck Sent: 09 July 2004 14:22 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Yes, you can do this with the TSM client GUI. You'll have to select all three file systems from the GUI tree view, but they can be restored in a single operation. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 04:29:05: Hi, Within Veritas Netbackup you can perform a restore crossing mount points, meaning each filesystem does not need to be restored individually. Example: You want to restore the following filesystems: /oracle /oracle/sapdata /oracle/sapbackup The command to run would be: restore /oracle -subdir=yes -inactive=yes This command would need to be run for each of the filesystems above. Where with Veritas Netbackup you would select cross multiple mount points and it would restore everything under /oracle (even if separate mount points). Hope this explains it! Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: 09 July 2004 11:32 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
Re: CMDline not showing files visible with GUI
Apologies, There is a slight mistake in this. Doing a tsm q ba /prod/gfcspw01/data/oradata_gfcspw01_03/* does show the following files Size Backup DateMgmt Class A/I File ----- --- 96 B 01/06/04 03:09:56MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_03/lost+found 1,572,872,192 B 09/07/04 03:11:55MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_03/forecaster_small_data_08.dbf 524,296,192 B 09/07/04 03:13:04MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_03/forecaster_small_index_02.dbf 104,865,792 B 09/07/04 03:13:30MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_03/tools_02.dbf tsm Matt. -Original Message- From: Warren, Matthew (Retail) Sent: Friday, July 09, 2004 3:34 PM To: 'ADSM: Dist Stor Manager' Subject: CMDline not showing files visible with GUI Hallo TSM'ers I'm not sure if I'm doing something wrong / going slightly mad here or not At a dsmc prompt I can get the following; tsm q ba /prod/gfcspw01/data/* -ina Size Backup DateMgmt Class A/I File ----- --- 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_01 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_02 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_archlogs 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo1 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo2 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo3 tsm Yet when I launch the Java GUI using dsmcad and pointing my browser at http://host:1581/, it also shows a dir of the name, /prod/gfcspw01/data/oradata_gfcspw01_03 And I am able to select and restore it's contents. , yet doing a more specific tsm q ba /prod/gfcspw01/data/oradata_gfcspw01_03 on the command line gives; ANS1084E No files have previously been backed up for '/prod/gfcspw01/data/oradata_gfcspw01_03' tsm ?? I have screenshots of the java gui client showing the extra dir if anyone would like to see them. Matt. ___ Disclaimer Notice __ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore Powergen Retail Limited does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of Powergen Retail Limited. Registered addresses: Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England and Wales No: 3407430 Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432
Re: Novell server abending during incr backup
Thanks Ted! I will try this option Ted Byrne wrote: One thing you might want to consider: given the number of files that TSM is processing (as shown in the dsmsched.log excerpt you sent) it's conceivable that the backup is taxing the amount of available memory on the Netware box. You could try backing up with the MEMORYEFficientbackup option set to yes. If that does not provide any relief, or if the backups are already running with that option, you should probably get in touch with IBM support and asking for assistance. They may have you do some tracing that would provide a more detailed picture of what is occurring.At this point, I would recommend getting in touch with IBM support and asking for assistance. They may have you do some tracing that would provide a more detailed picture of what is occurring. -Ted At 10:16 AM 7/9/2004, you wrote: Ted, We put in the verbose option in our novell tsm client's dsm.opt file, but it only showed the following. 07/09/2004 04:01:30 ANS1898I * Processed 361,500 files * 07/09/2004 04:01:35 ANS1898I * Processed 362,000 files * 07/09/2004 04:01:39 ANS1898I * Processed 362,500 files * 07/09/2004 04:01:43 ANS1898I * Processed 363,000 files * 07/09/2004 04:01:47 ANS1898I * Processed 363,500 files * 07/09/2004 04:01:50 ANS1898I * Processed 364,000 files * It didn't show the file that it was backing up when the Server crash occurred. TSM novell client 5.2 Netware OS 6.5 SP2 Ted Byrne wrote: At 03:49 PM 7/8/2004, you wrote: I looked in the dsmsched.log there is nothing in there. (see below) If you run your scheduled backups with the -verbose option, it will record the files being backed up. Based on the dsmsched.log file contents you posted, it looks like the option in effect for the scheduled backups is -quiet. -Ted
Log file filled up -- how to extend? -- URGENT!
About 4AM this morning, it appears that my TSMseverer (windows 2K, TSM server 4.3) won't start. I try starting the sever in a console window and it tells me that the log files are over full. How can I add another log file and format it without having the server start? (the log files I watch daily and have never been over their high water mark of about 78% full, and I have 6G allocated for a database of about 30G) Suggestions? ...
Re: CMDline not showing files visible with GUI
Sounds like a permission issue. When you start up the GUI, what user are you authenticating in as? It sounds like that user does not have access to the files in question... Ben -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Warren, Matthew (Retail) Sent: Friday, July 09, 2004 8:34 AM To: [EMAIL PROTECTED] Subject: CMDline not showing files visible with GUI Hallo TSM'ers I'm not sure if I'm doing something wrong / going slightly mad here or not At a dsmc prompt I can get the following; tsm q ba /prod/gfcspw01/data/* -ina Size Backup DateMgmt Class A/I File ----- --- 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_01 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_02 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_archlogs 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo1 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo2 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo3 tsm Yet when I launch the Java GUI using dsmcad and pointing my browser at http://host:1581/, it also shows a dir of the name, /prod/gfcspw01/data/oradata_gfcspw01_03 And I am able to select and restore it's contents. , yet doing a more specific tsm q ba /prod/gfcspw01/data/oradata_gfcspw01_03 on the command line gives; ANS1084E No files have previously been backed up for '/prod/gfcspw01/data/oradata_gfcspw01_03' tsm ?? I have screenshots of the java gui client showing the extra dir if anyone would like to see them. Matt. ___ Disclaimer Notice __ This message and any attachments are confidential and should only be read by those to whom they are addressed. If you are not the intended recipient, please contact us, delete the message from your computer and destroy any copies. Any distribution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore Powergen Retail Limited does not accept legal responsibility for this message. The recipient is responsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily represent those of Powergen Retail Limited. Registered addresses: Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG. Registered in England and Wales No: 3407430 Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432
Re: Log file filled up -- how to extend? -- URGENT!
Must be in server bin directory. and check the location where you want it to temp. to go Dsmfmt -m -log /tmp/log01 500 Dsmserv extend log /tmp/log01 500 -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of Coats, Jack Sent: Friday, July 09, 2004 9:49 AM To: [EMAIL PROTECTED] Subject: Log file filled up -- how to extend? -- URGENT! About 4AM this morning, it appears that my TSMseverer (windows 2K, TSM server 4.3) won't start. I try starting the sever in a console window and it tells me that the log files are over full. How can I add another log file and format it without having the server start? (the log files I watch daily and have never been over their high water mark of about 78% full, and I have 6G allocated for a database of about 30G) Suggestions? ...
File device classes
We currently run a TSM 5.1 server under OS/390. We have our client population divided among roughly twenty policy domains, each with its own primary and copy tape pools. This is done primarily to allow for reasonably fast restores without using an outlandish number of tapes to support collocation by node. Because of the way migration works, each policy domain also has its own disk storage pool used as the initial destination for incoming backup data. As you would expect, day to day variations in client workloads are a major nuisance. On any given day a few disk pools will run out of space and spill to tape during the backup window, and other disk pools will have sizable amounts of unused space. We are now preparing to migrate to a 5.2 server under mainframe Linux. We are considering the following arrangement: 1.Use LVM to create a large (hundreds of gigabytes) file system. 2.Define a file device class using the large file system. 3.Create a sequential storage pool for each policy domain (to be used as the initial destination for backups) using the file device class. We are already aware of two potential problems: having the file device class run out of space, and having processes hang waiting for access to volumes when backups run late. Are there any other pitfalls we should be aware of? In particular, what will happen when a client sends multiple streams of backup data from the same filespace? Will the server mount multiple volumes concurrently, or will it force the multiple streams to queue up waiting for access to a single volume?
Re: Log file filled up -- how to extend? -- URGENT!
Hi Jack Check the Admin Guide, Chapter 19. Everything you need to know is there Guillaume Gilbert IT Specialist - TSM Infrastructure Services Delivery IBM Global Services Tel.: (514) 964-2795 [EMAIL PROTECTED] Coats, Jack [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 2004-07-09 10:48 Please respond to ADSM: Dist Stor Manager To [EMAIL PROTECTED] cc Subject Log file filled up -- how to extend? -- URGENT! About 4AM this morning, it appears that my TSMseverer (windows 2K, TSM server 4.3) won't start. I try starting the sever in a console window and it tells me that the log files are over full. How can I add another log file and format it without having the server start? (the log files I watch daily and have never been over their high water mark of about 78% full, and I have 6G allocated for a database of about 30G) Suggestions? ...
AW: Restore from node to another node
I do exactly the same thing since 2 years (cifs shares). But now i have more and more (dmz) clients that have no cifs can not send by mail. At the moment every admin of that systems is responsible for giving me access to dsmsched.log for reporting services about the backups - one does this by ftp, one by mail and so one - not very efficent. (the information at the tsm server is not sufficent in my opinion) So i thought about using tsm that has all needed dsmsched.logs within the daily backups. Thank you for all your responses! Kind regards Stefan -Ursprüngliche Nachricht- Von: TSM_User [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 8. Juli 2004 21:12 An: [EMAIL PROTECTED] Betreff: Re: Restore from node to another node I know of a site that runs a copy of the dsmerror and dsmsched logs to a network share after each backup. Of course they appened the node name to the front of each one. They then have a script that looks at all the logs in that directory and produces some reports. I'm not sure how much better that is than the Operational repoerter but I thought I'd just let you know how I've seen it done. Also, that one share is backed up by one client so they effectly have one node with every dsmsched and dsmerror log backed up that can be restored somewhere later if needed. Andrew Raibeck [EMAIL PROTECTED] wrote: What you are asking for is not possible, at least not with a capability of being able to restore from a single system. Among other things, you can not use a single client to restore all sched logs since, for example, a Windows client can not restore data backed up by NetWare or Unix. Your best bet might be to try to automate some process where the client's dsmsched.log and dsmerror.log files are emailed to you, or copied to a shared network disk. Perhaps you can set up some kind of POSTSCHEDULECMD processing to handle this. Other members of this list with far more practical experience than I might have other suggestions to offer. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager wrote on 07/08/2004 08:30:18: Andy, since i want to collect and analyse the dsmsched.log of the done backups i like to do the following: - a daily second schedule for each node that does a backup of dsmsched.log - easy and e.g. no access problems for firewalled systems, no different access methods for different operating systems,... - restore of that logs from a central secure point for analysis and reporting - i would like to do this auotmated with as less effort as possible. (no set access for new nodes,...) so: can the admin logon with commandline be done full automated? Thanks a lot Stefan Holzwarth - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
Re: Log file filled up -- how to extend? -- URGENT!
About 4AM this morning, it appears that my TSMseverer (windows 2K, TSM server 4.3) won't start. I try starting the sever in a console window and it tells me that the log files are over full. How can I add another log file and format it without having the server start? (the log files I watch daily and have never been over their high water mark of about 78% full, and I have 6G allocated for a database of about 30G) Suggestions? ... Jack - The Admin Guide summarizes extending the Recovery Log in such a situation. At filling time, you can refer to the following for checking: http://www.ibm.com/support/entdocview.wss?uid=swg21054574 In the future, consider using DBBackuptrigger. Richard Sims
Where are Redbooks?
Someone seems to have broken the link to www.redbooks.ibm.com www.redbooks.ibm.com . Anybody know what the new link is? Thanks! Wanda
Re: Where are Redbooks?
Hmm... Looks like the main page for redbooks is down. I can get to some of the Redbooks themselves (that I have bookmarked), but not the main redbook page Ben -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Prather, Wanda Sent: Friday, July 09, 2004 9:02 AM To: [EMAIL PROTECTED] Subject: Where are Redbooks? Someone seems to have broken the link to www.redbooks.ibm.com www.redbooks.ibm.com . Anybody know what the new link is? Thanks! Wanda
Re: Where are Redbooks?
Try this one: http://publib-b.boulder.ibm.com/Redbooks.nsf/portals/ -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] Behalf Of Prather, Wanda Sent: Friday, July 09, 2004 10:02 AM To: [EMAIL PROTECTED] Subject: Where are Redbooks? Someone seems to have broken the link to www.redbooks.ibm.com www.redbooks.ibm.com . Anybody know what the new link is? Thanks! Wanda
Re: Where are Redbooks?
Try this page, I think it is the redbook search page http://publib-b.boulder.ibm.com/Redbooks.nsf/redbooks/ -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Prather, Wanda Sent: Friday, July 09, 2004 9:02 AM To: [EMAIL PROTECTED] Subject: Where are Redbooks? Someone seems to have broken the link to www.redbooks.ibm.com www.redbooks.ibm.com . Anybody know what the new link is? Thanks! Wanda
Re: Log file filled up -- how to extend? -- URGENT!
Start with dsmfmt -log name of new logvol -g #ofbytes (check the manual to see if I have this in the right order) When the format is thru dsmserv extendlog new logvol #of bytes (check the manual to see if extend is one or two words) When the log is defined bring up the system as normal. We have found that it is better to never let the log exceed 10-11 Gb when the system is in rollforward mode. Even if we have a log full situation in the middle of the night, the above procedure takes minutes and the system is up and going. Then we delete the new logvol at the first chance. If the full 13 Gb is allotted to the log and it fills, the solution is to restore the DB. In our case, that's 150 Gb and hours of down time. At 09:48 AM 7/9/2004 -0500, you wrote: About 4AM this morning, it appears that my TSMseverer (windows 2K, TSM server 4.3) won't start. I try starting the sever in a console window and it tells me that the log files are over full. How can I add another log file and format it without having the server start? (the log files I watch daily and have never been over their high water mark of about 78% full, and I have 6G allocated for a database of about 30G) Suggestions? ... Fred Johanson ITSM Administrator University of Chicago 773-702-8464
Re: Tsm restore
Thanks for all replies, I will try to do up a script to allow the multiple mount point restore on command line. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of David Henden Sent: 09 July 2004 15:39 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Something like this maybe? (sh/ksh/bash) dsmc q filespace | awk '{print $4}' | egrep '^/' | xargs -I %% dsmc restore -subdir=yes -inactive %% /oracle -David Andrew Raibeck [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 2004-07-09 16:08 Please respond to ADSM: Dist Stor Manager [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject Re: Tsm restore The command line interface does not provide this functionality, but if it is important to you, I don't see why you couldn't simulate it . Someone with shell scripting skills could probably come up with a script that parses the output from the dsmc query filespace command, then issues the individual dsmc restore blah commands automatically. This will work best if you collocate by file space; otherwise one restore could end up contending for the same tape with another restore. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 06:41:18: Hi, It will be from the command line, do you know they command? Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Raibeck Sent: 09 July 2004 14:22 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Yes, you can do this with the TSM client GUI. You'll have to select all three file systems from the GUI tree view, but they can be restored in a single operation. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 04:29:05: Hi, Within Veritas Netbackup you can perform a restore crossing mount points, meaning each filesystem does not need to be restored individually. Example: You want to restore the following filesystems: /oracle /oracle/sapdata /oracle/sapbackup The command to run would be: restore /oracle -subdir=yes -inactive=yes This command would need to be run for each of the filesystems above. Where with Veritas Netbackup you would select cross multiple mount points and it would restore everything under /oracle (even if separate mount points). Hope this explains it! Thanks. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Ted Byrne Sent: 09 July 2004 11:32 To: [EMAIL PROTECTED] Subject: Re: Tsm restore Can you tell me if there is an option within TSM to restore crossing mount points? Rachel, Can you clarify what you mean by crossing mount points? An example of what you're trying to accomplish would be helpful. -Ted
Re: Novell server abending during incr backup
In the case of a crash, it is doubtful that the TSM logs will show you anything useful. When the server crashes, what information is displayed or logged from the crash itself (not logged by TSM, but by the OS)? That is what you need to look at to start diagnosing. I haven't worked with NetWare in years, but I would think you'd get information showing which NLM caused the exception, some kind of exception code, etc. You can try searching the IBM web site (http://www.ibm.com) or the Novell web site to see if there are any known problems that match the symptoms. If that yields nothing, then I think a call to IBM technical support is in order. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 07:16:59: Ted, We put in the verbose option in our novell tsm client's dsm.opt file, but it only showed the following. 07/09/2004 04:01:30 ANS1898I * Processed 361,500 files * 07/09/2004 04:01:35 ANS1898I * Processed 362,000 files * 07/09/2004 04:01:39 ANS1898I * Processed 362,500 files * 07/09/2004 04:01:43 ANS1898I * Processed 363,000 files * 07/09/2004 04:01:47 ANS1898I * Processed 363,500 files * 07/09/2004 04:01:50 ANS1898I * Processed 364,000 files * It didn't show the file that it was backing up when the Server crash occurred. TSM novell client 5.2 Netware OS 6.5 SP2 Ted Byrne wrote: At 03:49 PM 7/8/2004, you wrote: I looked in the dsmsched.log there is nothing in there. (see below) If you run your scheduled backups with the -verbose option, it will record the files being backed up. Based on the dsmsched.log file contents you posted, it looks like the option in effect for the scheduled backups is -quiet. -Ted
Re: Log file filled up -- how to extend? -- URGENT!
Thanks! To ALL that replied. I knew it was in the manual, I just couldn't find it and had a panic attack! This list is a 'lifesaver'. It provides support and advice when needed. Thanks again to all! ... Jack
Windows client passwords for multiple servers
We are preparing to migrate our TSM server from OS/390 to mainframe Linux. We are planning to run complete backups to the new server and let data on the old server age off. Each of our Windows clients will need two options files for a while (one for each server). In most cases, the options file for the old server will be needed only for restores of files that became inactive before the cut-over. However, some of our clients are too big to do a complete backup in one day. Each of these will need two scheduler services as well as two options files. One service will be used to run the complete backup to the new server in managable chunks, and the other will be used to continue incremental backups to the old server. The documentation for the Windows client code indicates that passwords are stored in the registry. However, the documentation provides no information about the registry keys used, and hence no information about the conditions (if any) under which two independently maintained passwords can be stored. The procedure we have in mind for most Windows clients is as follows: 1.Use server to server export/import to copy the node name and password from old server to new server. 2.Copy dsm.opt to oldtsm.opt. 3.Update dsm.opt to address the new server. 4.Stop and start the scheduler service. Eventually, one or both of the servers will negotiate a new password (we always use 'passwordaccess generate'). Will scheduled backups to the new server work after that? Will it still be possible to run manually initiated restores from either server? A few of the bigger clients will require an additional step: 5.Define a second scheduler service using oldtsm.opt. This raises an additional question. Will scheduled backups to both servers continue working after a password change?
Re: Novell server abending during incr backup
Thanks Andrew, We will look into this as well! Andrew Raibeck wrote: In the case of a crash, it is doubtful that the TSM logs will show you anything useful. When the server crashes, what information is displayed or logged from the crash itself (not logged by TSM, but by the OS)? That is what you need to look at to start diagnosing. I haven't worked with NetWare in years, but I would think you'd get information showing which NLM caused the exception, some kind of exception code, etc. You can try searching the IBM web site (http://www.ibm.com) or the Novell web site to see if there are any known problems that match the symptoms. If that yields nothing, then I think a call to IBM technical support is in order. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ADSM: Dist Stor Manager [EMAIL PROTECTED] wrote on 07/09/2004 07:16:59: Ted, We put in the verbose option in our novell tsm client's dsm.opt file, but it only showed the following. 07/09/2004 04:01:30 ANS1898I * Processed 361,500 files * 07/09/2004 04:01:35 ANS1898I * Processed 362,000 files * 07/09/2004 04:01:39 ANS1898I * Processed 362,500 files * 07/09/2004 04:01:43 ANS1898I * Processed 363,000 files * 07/09/2004 04:01:47 ANS1898I * Processed 363,500 files * 07/09/2004 04:01:50 ANS1898I * Processed 364,000 files * It didn't show the file that it was backing up when the Server crash occurred. TSM novell client 5.2 Netware OS 6.5 SP2 Ted Byrne wrote: At 03:49 PM 7/8/2004, you wrote: I looked in the dsmsched.log there is nothing in there. (see below) If you run your scheduled backups with the -verbose option, it will record the files being backed up. Based on the dsmsched.log file contents you posted, it looks like the option in effect for the scheduled backups is -quiet. -Ted
Re: Replacing our onsite tapepool that is used for migration?
== In article [EMAIL PROTECTED], David Browne [EMAIL PROTECTED] writes: We will be removing our onsite tapepool that is used for migration of our disk pool, replacing it with a large disk pool. Below is the size of the current tapepool. I was considering just adding DASD to our current diskpool, discontinue the migration process and letting the files expire through the normal backup and file expiration process. After time, move the remaining stranded data to the disk pool. Is there a recommended procedure to do this task or can someone suggest a better procedure? DISK devclasses don't reclaim space all that well. You would do well to consider using FILE devclasses instead, and then just pretend that it's a tape library. - Allen S. Rout
Re: CMDline not showing files visible with GUI
Hallo TSM'ers I'm not sure if I'm doing something wrong / going slightly mad here or not At a dsmc prompt I can get the following; tsm q ba /prod/gfcspw01/data/* -ina Size Backup DateMgmt Class A/I File ----- --- 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_01 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_02 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_archlogs 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo1 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo2 512 B 06/01/04 22:26:13MC_RMM_UNI A /prod/gfcspw01/data/oradata_gfcspw01_redo3 tsm Yet when I launch the Java GUI using dsmcad and pointing my browser at http://host:1581/, it also shows a dir of the name, /prod/gfcspw01/data/oradata_gfcspw01_03 I think you would get the directory and contents in the command line query if you specified '-subdir=yes'. And I am able to select and restore it's contents. , yet doing a more specific tsm q ba /prod/gfcspw01/data/oradata_gfcspw01_03 on the command line gives; ANS1084E No files have previously been backed up for '/prod/gfcspw01/data/oradata_gfcspw01_03' tsm You didn't specify -inactive here as you did for the earlier command line query. Does the Java GUI list the files as active or inactive? ?? I have screenshots of the java gui client showing the extra dir if anyone would like to see them. Matt. ___ Disclaimer Notice __ This message and any attachments are confidential and should only be read by tho se to whom they are addressed. If you are not the intended recipient, please con tact us, delete the message from your computer and destroy any copies. Any distr ibution or copying without our prior permission is prohibited. Internet communications are not always secure and therefore Powergen Retail Limi ted does not accept legal responsibility for this message. The recipient is resp onsible for verifying its authenticity before acting on the contents. Any views or opinions presented are solely those of the author and do not necessarily repr esent those of Powergen Retail Limited. Registered addresses: Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4 8LG . Registered in England and Wales No: 3407430 Telephone +44 (0) 2476 42 4000 Fax +44 (0) 2476 42 5432
Re: Windows client passwords for multiple servers
Hi Thomas, I never found documentation for this situation, either. And I'm not sure it's even consistent between TSm server versions. I can only tell you about my experience moving clients from an AIX to Windows TSM server via export/import. What I found (and this was at TSM 5.1) was that 1) The good news: TSM Windows clients had no problem maintaining passwords for 2 different TSM servers in the registry. I don't remember where to find it now, but at one time I think we started regedit and just poked around until we found that the client had the good sense to store stuff in the registry under a key that included the TSM server name (not the host name, but the name you define with SET SERVERNAME). So it can maintain as many passwords as you have TSM servers. 2) Now the bad news: Doing an export/import ACROSS platforms invalidated the password in the registry (Or rather, it no longer matched what was in the client registry). We had to go to each Windows client and REENTER the password on the client end the first time it connected to the new (Windows) TSM server it has been IMPORTED to. Now I'm not sure if that was because a) the password encryption algorithm is different between AIX and Windows TSM servers, or b) the IP address being different caused the problem. Anyway, don't assume that anybody knows for sure what will happen to the password when you EXPORT/IMPORT from OS/390 to Linux - I have no clue. You better try it and see. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Denier Sent: Friday, July 09, 2004 11:27 AM To: [EMAIL PROTECTED] Subject: Windows client passwords for multiple servers We are preparing to migrate our TSM server from OS/390 to mainframe Linux. We are planning to run complete backups to the new server and let data on the old server age off. Each of our Windows clients will need two options files for a while (one for each server). In most cases, the options file for the old server will be needed only for restores of files that became inactive before the cut-over. However, some of our clients are too big to do a complete backup in one day. Each of these will need two scheduler services as well as two options files. One service will be used to run the complete backup to the new server in managable chunks, and the other will be used to continue incremental backups to the old server. The documentation for the Windows client code indicates that passwords are stored in the registry. However, the documentation provides no information about the registry keys used, and hence no information about the conditions (if any) under which two independently maintained passwords can be stored. The procedure we have in mind for most Windows clients is as follows: 1.Use server to server export/import to copy the node name and password from old server to new server. 2.Copy dsm.opt to oldtsm.opt. 3.Update dsm.opt to address the new server. 4.Stop and start the scheduler service. Eventually, one or both of the servers will negotiate a new password (we always use 'passwordaccess generate'). Will scheduled backups to the new server work after that? Will it still be possible to run manually initiated restores from either server? A few of the bigger clients will require an additional step: 5.Define a second scheduler service using oldtsm.opt. This raises an additional question. Will scheduled backups to both servers continue working after a password change?
Re: Upgrade to TSM client 5.2.3.0 Benefit or Nuisance.
Andrew; Thank-you for the solution to my problem. Changing the exclude.dir to an exclude.fs has removed the warning message and changed the return code back to a 0. I have tested a true (non-filesystem) directory, and it works without giving the warning. *** The warning only displays if you try to exclude a file system using exclude.dir. Thank-you for the warning about 5.2.2.x clients. We are not using any clients at that level. ** Joe, This is happening because you are attempting to back up the exact object that is excluded. That is, you are saying on one hand, exclude this directory and on the other hand, back up this directory. Since you are providing two pieces of information that are in direct conflict with each other, TSM is giving you the warning. I would say that this is good behavior. If /usr/lpp/sysback/images is a file system, then exclude.dir is not the right way to skip backing it up. Rather, use exclude.fs or domain -fsname, i.e.: exclude.fs /usr/lpp/sysback/images or domain -/usr/lpp/sysback/images This should suppress the backup of the file system and eliminate the ANS1115W message. Regards, Andy P.S. If any machines are running 5.2.2.x, see IC39181 for a bug related to using exclude.fs and domain all-local processing. It is fixed in 5.2.3. Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. ** Andrew, To answer your question /usr/lpp/sysback/images is a directory and a filesystem. I sent you the following files privately: 1) dsminfo.txt as requested 2) dsmci.txt non-quiet dsmc i command execution 3) copy of my inclexcl file for this node Andrew Raibeck [EMAIL PROTECTED]To: [EMAIL PROTECTED] OM cc: Sent by: ADSM: Subject: Re: Upgrade to TSM client 5.2.3.0 Benefit or Nuisance. Dist Stor Manager [EMAIL PROTECTED] .EDU 07/08/2004 04:49 PM Please respond to ADSM: Dist Stor Manager OK something doesn't look right here. Do you use the QUIET option? If so, can you turn it off then re-run the problem command? In general, whenever you are trying to diagnose client problems, turn off QUIET so we can see *all* output. Otherwise there is a lot of other contextual info I can't see. Also try running: dsmc query systeminfo Attach the resulting dsminfo.txt in your response. Also, if the output from dsmc with QUIET disable is too large, attach it as a file too. Is user/lpp/sysback/images a directory or a file? Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] The only dumb question is the one that goes unasked. The command line is your friend. Good enough is the enemy of excellence. Joe Pendergast [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 07/08/2004 13:37 Please respond to ADSM: Dist Stor Manager To [EMAIL PROTECTED] cc Subject Re: Upgrade to TSM client 5.2.3.0 Benefit or Nuisance. Andrew, Here is a smaller system (my nim server) and the output for a simple dsmc i incremental backup. Note the return code at the end is a 4. Again the added warning message and return code appeared after the upgrade to the client. [EMAIL PROTECTED] 169]: / - dsmc i IBM Tivoli Storage Manager Command Line Backup/Archive Client Interface - Version 5, Release 2, Level 3.0 (c) Copyright by IBM Corporation and other(s) 1990, 2004. All Rights Reserved. Node Name: USCASRV0037 Session established with server TSM: AIX-RS/6000 Server Version 5, Release 2, Level 3.0 Server date/time: 07/08/04 13:30:43 Last access: 07/08/04 00:28:40 ANS1115W File '/usr/lpp/sysback/images' excluded by Include/Exclude list Total number of objects inspected: 75,048 Total number of objects backed up: 100 Total number of objects updated: 0 Total number of objects rebound: 0 Total number of objects deleted: 0 Total number of objects expired: 3 Total number of objects failed: 0 Total number of bytes transferred:12.43 MB Data transfer time:1.31 sec Network data transfer rate:9,666.19 KB/sec Aggregate data transfer rate:134.02 KB/sec Objects compressed by:0% Elapsed processing time: 00:01:35
Re: Windows client passwords for multiple servers
The registry key is: HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Nodes - Bruce Kamp Senior Server Analyst Memorial Healthcare System E-mail: [EMAIL PROTECTED] Phone: (954) 987-2020 x4597 Pager: (954) 286-9441 Alphapage: [EMAIL PROTECTED] Fax: (954) 985-1404 - -Original Message- From: Prather, Wanda [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 11:51 AM To: [EMAIL PROTECTED] Subject: Re: Windows client passwords for multiple servers Hi Thomas, I never found documentation for this situation, either. And I'm not sure it's even consistent between TSm server versions. I can only tell you about my experience moving clients from an AIX to Windows TSM server via export/import. What I found (and this was at TSM 5.1) was that 1) The good news: TSM Windows clients had no problem maintaining passwords for 2 different TSM servers in the registry. I don't remember where to find it now, but at one time I think we started regedit and just poked around until we found that the client had the good sense to store stuff in the registry under a key that included the TSM server name (not the host name, but the name you define with SET SERVERNAME). So it can maintain as many passwords as you have TSM servers. 2) Now the bad news: Doing an export/import ACROSS platforms invalidated the password in the registry (Or rather, it no longer matched what was in the client registry). We had to go to each Windows client and REENTER the password on the client end the first time it connected to the new (Windows) TSM server it has been IMPORTED to. Now I'm not sure if that was because a) the password encryption algorithm is different between AIX and Windows TSM servers, or b) the IP address being different caused the problem. Anyway, don't assume that anybody knows for sure what will happen to the password when you EXPORT/IMPORT from OS/390 to Linux - I have no clue. You better try it and see. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Denier Sent: Friday, July 09, 2004 11:27 AM To: [EMAIL PROTECTED] Subject: Windows client passwords for multiple servers We are preparing to migrate our TSM server from OS/390 to mainframe Linux. We are planning to run complete backups to the new server and let data on the old server age off. Each of our Windows clients will need two options files for a while (one for each server). In most cases, the options file for the old server will be needed only for restores of files that became inactive before the cut-over. However, some of our clients are too big to do a complete backup in one day. Each of these will need two scheduler services as well as two options files. One service will be used to run the complete backup to the new server in managable chunks, and the other will be used to continue incremental backups to the old server. The documentation for the Windows client code indicates that passwords are stored in the registry. However, the documentation provides no information about the registry keys used, and hence no information about the conditions (if any) under which two independently maintained passwords can be stored. The procedure we have in mind for most Windows clients is as follows: 1.Use server to server export/import to copy the node name and password from old server to new server. 2.Copy dsm.opt to oldtsm.opt. 3.Update dsm.opt to address the new server. 4.Stop and start the scheduler service. Eventually, one or both of the servers will negotiate a new password (we always use 'passwordaccess generate'). Will scheduled backups to the new server work after that? Will it still be possible to run manually initiated restores from either server? A few of the bigger clients will require an additional step: 5.Define a second scheduler service using oldtsm.opt. This raises an additional question. Will scheduled backups to both servers continue working after a password change?
Return Code
I know this came up in the last week or so but I can't find the mail, so... We have a command schedule created by someone long gone running on an NT4 box with an obsolete client that began yesterday to fail with RC=1. TSM support site isn't responding, so can someone answer this quickly? TIA Fred Johanson ITSM Administrator University of Chicago 773-702-8464
Re: 3582 supported on TSM 5.2.2 AIX ?
Daniel, I just read your message. We have two 3575s, an L12 and an L18. Will they still work properly after we go to TSM 5.2? Thanks. Tab Trepagnier TSM Administrator Laitram, L.L.C. Daniel Sparrman [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 07/05/2004 06:30 AM Please respond to ADSM: Dist Stor Manager To: [EMAIL PROTECTED] cc: Subject:Re: 3582 supported on TSM 5.2.2 AIX ? Hi Sascha It means from, so you shouldnt have any problems using your 3582 under TSM 5.2.2.2. The only tape libraries from IBM that has gone out of support is the 3575-series of libraries. Notice that you will have to download and install the IBM Atape device driver, which you can download from ftp://ftp.software.ibm.com/storage/devdrvr/AIX. Best Regards Daniel Sparrman --- Daniel Sparrman Exist i Stockholm AB Propellervägen 6B 183 62 TÄBY Växel: 08 - 754 98 00 Mobil: 070 - 399 27 51 Sascha Askani [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager [EMAIL PROTECTED] 2004-07-05 13:18 Please respond to ADSM: Dist Stor Manager [EMAIL PROTECTED] To [EMAIL PROTECTED] cc Subject 3582 supported on TSM 5.2.2 AIX ? Hi List ! I just wanted to assure that the IBM 3582 (SCSI)-Library is supported under TSM 5.2.2 (AIX) because Supported Devices on IBM-Website tells me: IBM 3582 Ultrium ScalableAIX HPUXSUN WIN The IBM device driver is required. 2 Drives 24 Slots 5.1.6.5 5.1.6.5 5.1.6.5 5.1.6.5 Does this mean that said library is ONLY supported under 5.1.6.5 or is it supported FROM 5.1.6.5 ON ? Thanks for your support ! Sascha Askani
Re: Return Code
Means that for some reason the command isn't working. Could be any number of reasons... Batch file is missing, permissions changes. My suggestion is to try running the command from the server to see why it is erroring out... - Bruce Kamp Senior Server Analyst Memorial Healthcare System E-mail: [EMAIL PROTECTED] Phone: (954) 987-2020 x4597 Pager: (954) 286-9441 Alphapage: [EMAIL PROTECTED] Fax: (954) 985-1404 - -Original Message- From: fred johanson [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 1:00 PM To: [EMAIL PROTECTED] Subject: Return Code I know this came up in the last week or so but I can't find the mail, so... We have a command schedule created by someone long gone running on an NT4 box with an obsolete client that began yesterday to fail with RC=1. TSM support site isn't responding, so can someone answer this quickly? TIA Fred Johanson ITSM Administrator University of Chicago 773-702-8464
Re: Windows client passwords for multiple servers
Thanks, Ill write it down this time! -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Kamp, Bruce Sent: Friday, July 09, 2004 12:44 PM To: [EMAIL PROTECTED] Subject: Re: Windows client passwords for multiple servers The registry key is: HKEY_LOCAL_MACHINE\SOFTWARE\IBM\ADSM\CurrentVersion\BackupClient\Nodes - Bruce Kamp Senior Server Analyst Memorial Healthcare System E-mail: [EMAIL PROTECTED] Phone: (954) 987-2020 x4597 Pager: (954) 286-9441 Alphapage: [EMAIL PROTECTED] Fax: (954) 985-1404 - -Original Message- From: Prather, Wanda [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 11:51 AM To: [EMAIL PROTECTED] Subject: Re: Windows client passwords for multiple servers Hi Thomas, I never found documentation for this situation, either. And I'm not sure it's even consistent between TSm server versions. I can only tell you about my experience moving clients from an AIX to Windows TSM server via export/import. What I found (and this was at TSM 5.1) was that 1) The good news: TSM Windows clients had no problem maintaining passwords for 2 different TSM servers in the registry. I don't remember where to find it now, but at one time I think we started regedit and just poked around until we found that the client had the good sense to store stuff in the registry under a key that included the TSM server name (not the host name, but the name you define with SET SERVERNAME). So it can maintain as many passwords as you have TSM servers. 2) Now the bad news: Doing an export/import ACROSS platforms invalidated the password in the registry (Or rather, it no longer matched what was in the client registry). We had to go to each Windows client and REENTER the password on the client end the first time it connected to the new (Windows) TSM server it has been IMPORTED to. Now I'm not sure if that was because a) the password encryption algorithm is different between AIX and Windows TSM servers, or b) the IP address being different caused the problem. Anyway, don't assume that anybody knows for sure what will happen to the password when you EXPORT/IMPORT from OS/390 to Linux - I have no clue. You better try it and see. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Denier Sent: Friday, July 09, 2004 11:27 AM To: [EMAIL PROTECTED] Subject: Windows client passwords for multiple servers We are preparing to migrate our TSM server from OS/390 to mainframe Linux. We are planning to run complete backups to the new server and let data on the old server age off. Each of our Windows clients will need two options files for a while (one for each server). In most cases, the options file for the old server will be needed only for restores of files that became inactive before the cut-over. However, some of our clients are too big to do a complete backup in one day. Each of these will need two scheduler services as well as two options files. One service will be used to run the complete backup to the new server in managable chunks, and the other will be used to continue incremental backups to the old server. The documentation for the Windows client code indicates that passwords are stored in the registry. However, the documentation provides no information about the registry keys used, and hence no information about the conditions (if any) under which two independently maintained passwords can be stored. The procedure we have in mind for most Windows clients is as follows: 1.Use server to server export/import to copy the node name and password from old server to new server. 2.Copy dsm.opt to oldtsm.opt. 3.Update dsm.opt to address the new server. 4.Stop and start the scheduler service. Eventually, one or both of the servers will negotiate a new password (we always use 'passwordaccess generate'). Will scheduled backups to the new server work after that? Will it still be possible to run manually initiated restores from either server? A few of the bigger clients will require an additional step: 5.Define a second scheduler service using oldtsm.opt. This raises an additional question. Will scheduled backups to both servers continue working after a password change?
Re: Archives
I bring this up because we have over 200 tapes taking up space in the library what are archives only and I would love to get these out and sent offsite. Currently a second copy of these files is sent offsite, but I would like to do away with that extra work too. We move all full archive tapes out of our tape library every day via a script. So TSM can do this. We keep the tapes on a shelf in our Tape Library room (and send copies offsite still). You could send the source copies offsite easily too via a script. Just use move drmedia (i don't have the exact syntax becuase I'm not at work) but you just do that for a specific storage pool. Although we don't know what tapes will be used when a user issues a retrieve (we also don't know when a user issues a retrieve!) but tsm just asks to have the tape mounted - we have computer room operators that can perform that for us.
Novell server abending during backup
It's looks like we found the cuprit of the Netware Server abends the client did a scan of the a volume that was being backed up and the real-time virus scanner found three infected files that were removed. I since did a incremental back up of that volume and it completed successfully. Thanks again to everyone who responded!
Re: Return Code
Fred, so can someone answer this quickly? All you've said is that a scheduled fails with RC 1. That doesn't provide much info to go on. ;-) Some detail surrounding the problem (such as dsmsched.log file with QUIET disabled, dsmerror.log, copy of batch file if that is what is running, etc.) would certainly be helpful. Also, if you are running a batch file, I recommend you have a look at article 1108971 which covers this area. Since I can't seem to get to it from the web site (!) I'll include the text here: TITLE Diagnostics for scripts that are launched by the IBM Tivoli Storage Manager (ITSM) client PROBLEM (ABSTRACT) The PRESCHEDULECMD option has been configured to run a script prior to starting the incremental backup. When running the script manually, it runs fine. But when ITSM runs it, ITSM says it failed with return code 1. Why does this happen? SOLUTION NOTE: While the examples given in this article are oriented toward Windows, the principles discussed can apply to other operating systems as well. There are many reasons why a script may fail to run successfully. Common reasons include: o Syntax errors: The script has an outright error that prevents successful execution. Such a script will most likely fail whether it is run manually or by ITSM. o Environmental differences: The operating system environment settings may differ between the environment in which ITSM runs and the environment in which an account runs. For example, suppose a script runs a custom program, like this: REM Launch my custom program located in C:\MyPrograms\prog1 report.exe E:\stats\stats.in C:\reports\stats.out When run manually, the script runs fine, but fails when run by ITSM. One likely possibility is that C:\MyPrograms\prog1 is not in the PATH environment variable when ITSM runs it. If the user's personal Windows account includes C:\Programs\prog1 in the PATH environment variable, but ITSM runs under a different account that does not include this directory in PATH, then the program will not be able to run. A couple of possible solutions are to either add the directory to the PATH variable, or to fully-qualify the program name. Both of these can be accomplished in the script: REM Launch my custom program located in C:\MyPrograms\prog1 set PATH=%PATH%;C:\MyPrograms\prog1 report.exe E:\stats\stats.in C:\reports\stats.out or REM Launch my custom program located in C:\MyPrograms\prog1 C:\MyPrograms\prog1\report.exe E:\stats\stats.in C:\reports\stats.out A third alternative is to simply add C:\MyPrograms\prog1 to the system PATH environment variable. o Security differences: If the user account has privileges unavailable to the account under which ITSM runs, and a program or command in the script requires one or more of those privileges, then ITSM will not be able to run the script correctly. Alternative solutions include: - Configure the ITSM scheduler service to run under an account that has the necessary privileges. - Modify the account in which the ITSM scheduler service runs so that the account has the necessary privileges. - Modify the program so that it does not require the privileges if those privileges are not really necessary. Another problem related to security is if the script attempts to access network resources. If ITSM runs under the local system account, then that account does not have access to network resources. In this case, try running ITSM under a different account that does have network privileges. o Insufficient diagnostics within the script itself to validate the results of commands or programs used in the script. For example, consider a script that contains the following: net stop service1 net stop service2 net stop service3 The script will attempt to run each of these commands in turn, but it does not test the results of each net stop command to see if it really worked. The script should be enhanced to: - execute the first net stop command - test the return code from the command - issue a message indicating whether the command succeeded - repeat the above steps for the remaining commands - exit with a return code that best represents the overall status of the script (0 if all commands processed successfully, or nonzero if one or more commands failed). When implemented, these steps can help capture information that can be useful in validating the execution of the script and diagnosing problems. The attached file, sample.txt, contains a sample implementation using the above steps. The script will write status messages to an output file (defined by the OUTFILE variable at the top of the script). The three service names are also specified in variables at the top of the script to avoid repeating each service name multiple times. NOTE: This script is intended as a sample only, and is provided on an as is basis without warranty of any kind. Andy Raibeck IBM Software Group Tivoli Storage Manager Client
SQL Select Statement Question Please HELP!
Hello Everyone, I have a quick question in reference to using select statements to query the activity log. For some reason the regular select statement would take forever to run a simple query? How does TSM query the activity log? I'm still quite a novice at selects statements so maybe I'm issuing the wrong syntax. Reason why I would like to use the select statement vs. q act is because TSM Reporting tool allows me to generate alerts by setting up notification rules which queries the server using select statements. Examples below: TSM QUERY: (Takes about a blink of an eye) TSM_SERVER_01q act msg=0986 begintime=14:30:00 endtime=15:00:00 Date/TimeMessage -- 07/09/04 14:35:21 ANR0986I Process 7544 for SPACE RECLAMATION running in the BACKGROUND processed 36047 items for a total of 4,279,628,603 bytes with a completion state of SUCCESS at 14:35:21. 07/09/04 14:42:05 ANR0986I Process 7545 for SPACE RECLAMATION running in the BACKGROUND processed 33537 items for a total of 8,644,875,214 bytes with a completion state of SUCCESS at 14:42:05. SQL QUERY: (Takes about 20 mins!) TSM_SERVER_01select date_time,message from actlog where date_time between '07/09/04 14:30:00' and ' 07/09/04 15:00:00' and msgno=0986 ANR2963W This SQL query may produce a very large result table, or may require a significant amount of time to compute. Do you wish to proceed? (Yes (Y)/No (N)) y DATE_TIME MESSAGE -- -- 2004-07-09 ANR0986I Process 14:35:21.00 7544 for SPACE RECLAMATION running in the BACKGROUND processed 36047 items for a total of 4,279,628,603 bytes with a completion state of SUCCESS at 14:35:21. 2004-07-09 ANR0986I Process 14:42:05.00 7545 for SPACE RECLAMATION running in the BACKGROUND processed 33537 items for a total of 8,644,875,214 bytes with a completion state of SUCCESS at 14:42:05. My DB Maximum Reduction space is well over 3 gigs so I know that's not an issue. Any suggestions and comments would be deeply appreciated! Thanks in advance! Calvin --- The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Thank you. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message.
Re: Return Code
Andy, TSM doesn't supply much info here. ANR2579E directs the user to the logs, but all there is in DSMERROR.LOG, DSMSCHED.LOG, and the appropriate logs on NT ate that the schedule failed RC=1. The head Windows guy beat on this all morning and finally discovered that TSM will not execute a command from BACLIENT. He moved the command to a different directory and it's been going since then. He also discovered an AT schedule running simultaneously with the TSM schedule, executing the same command file. That's what's been showing up in the log every day and extracted for the user's report. At 12:55 PM 7/9/2004 -0600, you wrote: Fred, so can someone answer this quickly? All you've said is that a scheduled fails with RC 1. That doesn't provide much info to go on. ;-) Some detail surrounding the problem (such as dsmsched.log file with QUIET disabled, dsmerror.log, copy of batch file if that is what is running, etc.) would certainly be helpful. Also, if you are running a batch file, I recommend you have a look at article 1108971 which covers this area. Since I can't seem to get to it from the web site (!) I'll include the text here: TITLE Diagnostics for scripts that are launched by the IBM Tivoli Storage Manager (ITSM) client PROBLEM (ABSTRACT) The PRESCHEDULECMD option has been configured to run a script prior to starting the incremental backup. When running the script manually, it runs fine. But when ITSM runs it, ITSM says it failed with return code 1. Why does this happen? SOLUTION NOTE: While the examples given in this article are oriented toward Windows, the principles discussed can apply to other operating systems as well. There are many reasons why a script may fail to run successfully. Common reasons include: o Syntax errors: The script has an outright error that prevents successful execution. Such a script will most likely fail whether it is run manually or by ITSM. o Environmental differences: The operating system environment settings may differ between the environment in which ITSM runs and the environment in which an account runs. For example, suppose a script runs a custom program, like this: REM Launch my custom program located in C:\MyPrograms\prog1 report.exe E:\stats\stats.in C:\reports\stats.out When run manually, the script runs fine, but fails when run by ITSM. One likely possibility is that C:\MyPrograms\prog1 is not in the PATH environment variable when ITSM runs it. If the user's personal Windows account includes C:\Programs\prog1 in the PATH environment variable, but ITSM runs under a different account that does not include this directory in PATH, then the program will not be able to run. A couple of possible solutions are to either add the directory to the PATH variable, or to fully-qualify the program name. Both of these can be accomplished in the script: REM Launch my custom program located in C:\MyPrograms\prog1 set PATH=%PATH%;C:\MyPrograms\prog1 report.exe E:\stats\stats.in C:\reports\stats.out or REM Launch my custom program located in C:\MyPrograms\prog1 C:\MyPrograms\prog1\report.exe E:\stats\stats.in C:\reports\stats.out A third alternative is to simply add C:\MyPrograms\prog1 to the system PATH environment variable. o Security differences: If the user account has privileges unavailable to the account under which ITSM runs, and a program or command in the script requires one or more of those privileges, then ITSM will not be able to run the script correctly. Alternative solutions include: - Configure the ITSM scheduler service to run under an account that has the necessary privileges. - Modify the account in which the ITSM scheduler service runs so that the account has the necessary privileges. - Modify the program so that it does not require the privileges if those privileges are not really necessary. Another problem related to security is if the script attempts to access network resources. If ITSM runs under the local system account, then that account does not have access to network resources. In this case, try running ITSM under a different account that does have network privileges. o Insufficient diagnostics within the script itself to validate the results of commands or programs used in the script. For example, consider a script that contains the following: net stop service1 net stop service2 net stop service3 The script will attempt to run each of these commands in turn, but it does not test the results of each net stop command to see if it really worked. The script should be enhanced to: - execute the first net stop command - test the return code from the command - issue a message indicating whether the command succeeded - repeat the above steps for the remaining commands - exit with a return code that best represents the overall status of the script (0 if all commands processed successfully, or nonzero if one or more commands failed). When implemented, these steps can help capture information
Re: Archives
We move our full archive tapes to a drawer and the script we run is: move media * stg=archivetape wherestatus=full checklabel=NO In order to have this work you also have to have configured an overflow location for your archives, in our case we use shelf as the location ie: Sequential Access Storage Pools : ARCHIVETAPE Storage Pool Name ARCHIVETAPE Storage Pool Type PRIMARY Device Class Name LTO Estimated Capacity (MB) 7285615.8 Pct Util 23.5 Pct Migr 30.0 Pct Logical 100.0 High Mig Pct 90 Low Mig Pct 70 Migration Processes 1 Next Storage Pool - Maximum Size Threshold - Access READWRITE Description - Overflow Location shelf Cache Migrated Files? - Collocate? NO Reclamation Threshold 100 Maximum Scratch Volumes Allowed 30 Delay Period for Volume Reuse 0 Migration in Progress? NO Amount Migrated (MB) 0.0 Elapsed Migration Time (seconds) 0 Reclamation in Progress? NO Volume Being Migrated/Reclaimed - Last Update Date/Time 2004-07-09 12:00:07.00 Last Update by (administrator) SCHELLENBERG Reclaim Storage Pool - Migration Delay 0 Migration Continue YES Storage Pool Data Format Native Copy Storage Pool(s) - Continue Copy on Error? - CRC Data NO Hopefullly this will help. The only downside to this is that when you do a restore and some of the data is on a tape on the shelf you will have to load it back into the library. TSM will prompt you for this. Tammy Schellenberg Systems Administrator, MCP Prospera Credit Union email: [EMAIL PROTECTED] DID: 604-864-6578 -Original Message- From: Rushforth, Tim [mailto:[EMAIL PROTECTED] Sent: Friday, July 09, 2004 11:46 AM To: [EMAIL PROTECTED] Subject: Re: Archives I bring this up because we have over 200 tapes taking up space in the library what are archives only and I would love to get these out and sent offsite. Currently a second copy of these files is sent offsite, but I would like to do away with that extra work too. We move all full archive tapes out of our tape library every day via a script. So TSM can do this. We keep the tapes on a shelf in our Tape Library room (and send copies offsite still). You could send the source copies offsite easily too via a script. Just use move drmedia (i don't have the exact syntax becuase I'm not at work) but you just do that for a specific storage pool. Although we don't know what tapes will be used when a user issues a retrieve (we also don't know when a user issues a retrieve!) but tsm just asks to have the tape mounted - we have computer room operators that can perform that for us. This email and any files transmitted with it are confidential and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you receive this email in error, please immediately notify the sender. Please note that this financial institution neither accepts nor discloses confidential member account information via email. This includes password related inquiries, financial transaction instructions and address changes.