tuning mount retension
I'm trying to tune our mount retension settings on our device classes. Currently, we have it set to 3 min for our 3590 drives. I'm not finding much info on how to tell if our 3 min period is too long or too short. 1st try . . . . I sorted the mount messages (anr8337i)in a actlog listing of 24 hours by volume/date/time and looked for multiple mounts of the same volume that were real close together in time and on the same drive. I found just a couple. 2nd try . . . I counted the number of the following messages in a actlog listing for 24 hours: anr8337i - mounted vol msgs = 415 anr8325i - dismounting with expired mount retension = 230 anr8468i - dismounted vol msgs = 415 This might indicate we had 185 instances of mount retension being useful. But . . . I'm not sure of is whether a mount satisfied by a already mounted tape even has a mount msg in the log I'm also not sure whether a tape always waits for the mount retension period to be dismounted, or, whether it can be immediately dismounted if there are pending mount requests for other volumes. I looked in the manuals and online but didn't find much that helped. Any thoughts on how to tune mount retension are appreciated Rick - The information contained in this message is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this message is not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately, and delete the original message.
FW: TSM 5.3, AES-128 encryption and API/TDP backups
An update, as I've sorted it for now - it is kinda buried away, but searching on 'transparent encryption' in the TSM 5.3 API manual reaps dividends: http://publib.boulder.ibm.com/infocenter/tivihelp/index.jsp?topic=/com.i bm.itsmc.doc/ansa77.htm I've got this working for TDPSQL on Win32 now (although the only simple way I could think of verifying it was working was to enable tracing on traceflags encrypt and encryptdetail and checking for AES128 comms), and will take a look at the Solaris TDPO as soon as I can. The storage of the encryption key within the TSM server database (i.e. not on the client itself as with the 'traditional' TSM encryption) is interesting, and does make me think about the possibility of managing offsite TSM DB backups separately (i.e. different physical location) from our offsite data tapes... At least, that's what I think security might pick up on when we run this past them... Rgds, David McClelland Reuters -Original Message- From: David McClelland Sent: 22 April 2005 14:38 To: 'ADSM: Dist Stor Manager' Subject: TSM 5.3, AES-128 encryption and API/TDP backups Hi Guys, Just a quicky - is anyone out here using the 128-bit AES encryption capabilities of the 5.3 API to encrypt TDPOracle on Solaris or TDPSQL backup? I believed this was possible in 5.3, but I'm not having many (or in fact any) hits in the online docs (or IBM.com or ADSM.org) trying to find out how to get this working, only how to get the BA client to encrypt via encryptiontype, include.encrypt etc. As ever, any help or pointers gratefully received. Many thanks, David McClelland IBM Certified Deployment Professional TSM 5.2 Tivoli Storage Manager Certified Consultant Infrastructure Backup and Recovery Development Shared Infrastructure Development Reuters 85 Fleet Street London EC4P 4AJ - Visit our Internet site at http://www.reuters.com To find out more about Reuters Products and Services visit http://www.reuters.com/productinfo Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd.
Re: How to find out all drives in NT2000 using command line? Thanks
Thanks, Richards. It is close but that is not what I am looking for. I want to find drive letter installed on a NT2000 system. For example, issue find_drive_of_all_systems will return results as C: E: F: J: K: Frank Tsao [EMAIL PROTECTED] PAX 25803, 626-302-5803 FAX 626-302-7131 Richard Sims [EMAIL PROTECTED] Sent by: ADSM:To Dist Stor ADSM-L@VM.MARIST.EDU Manager cc [EMAIL PROTECTED] .EDU Subject Re: How to find out all drives in NT2000 using command line? Thanks 04/24/2005 04:27 AM Please respond to ADSM: Dist Stor Manager [EMAIL PROTECTED] .EDU Frank - You may find the DevCon utility useful for Windows command line work: http://support.microsoft.com/kb/q311272/ and www.robvanderwoude.com/devcon.html Richard Sims
Re: How to find out all drives in NT2000 using command line? Thanks
Hi Frank, There is no command that I can think of that does this; you'd have to write a program or script to do it. Here are sample script and C++ program (they both do the same thing). If these are useful, tailor as you wish. Regards, Andy WMI SCRIPT ' ListDrives.vbs ' Invoke by running ' ' cscript ListDrives.vbs ' ' from an OS command prompt. strComputer = . set objWMIService = GetObject(winmgmts: _ {impersonationLevel=impersonate}!\\ _ strComputer \root\cimv2) set disks = objWMIService.ExecQuery (select * from Win32_LogicalDisk) for each objDisk in disks select case objDisk.DriveType case 0 ' I would not normally expect to see this. Wscript.Echo objDisk.DeviceID Unknown case 1 Wscript.Echo objDisk.DeviceID Invalid root path case 2 Wscript.Echo objDisk.DeviceID Removable case 3 Wscript.Echo objDisk.DeviceID Fixed case 4 Wscript.Echo objDisk.DeviceID Remote case 5 Wscript.Echo objDisk.DeviceID CD-ROM case 6 Wscript.Echo objDisk.DeviceID RAM disk case Else ' I would not normally expect to see this. Wscript.Echo objDisk.DeviceID ?? end select next C++ PROGRAM /* ListDrive.cpp Compiled with Visual Studio .Net 2003 from an OS prompt as follows: cl /GX /Zi /O1 ListDrives.cpp /link /debug */ #include windows.h #include cstdio #include cmath #include iostream using namespace std; int main() { char driveLetter[] = *:\\; DWORD drives = GetLogicalDrives(); DWORD bit = 0; if (!drives) { cout ERROR: GetLogicalDrives() failed with rc GetLastError() endl; return -1; } for (int i = 0, bit = 1; i != 26; i++, bit *= 2) { if (drives bit) { cout char('A' + i) : ; driveLetter[0] = 'A' + i; switch (GetDriveType(driveLetter)) { case DRIVE_UNKNOWN: // I would not normally expect to see this. cout Unknown; break; case DRIVE_NO_ROOT_DIR: cout Invalid root path; break; case DRIVE_REMOVABLE: cout Removable; break; case DRIVE_FIXED: cout Fixed; break; case DRIVE_REMOTE: cout Remote; break; case DRIVE_CDROM: cout CD-ROM; break; case DRIVE_RAMDISK: cout RAM disk; break; default: // I would not normally expect to see this. cout ??; break; } // switch (...) cout endl; } // if (drives bit) } // for (...) cout endl; return 0; } 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 ADSM-L@VM.MARIST.EDU wrote on 2005-04-22 14:05:23: Frank Tsao [EMAIL PROTECTED] PAX 25803, 626-302-5803 FAX 626-302-7131 ListDrives.cpp Description: Binary data Attachment ListDrives.vbs contains a potentially harmful file type extension and was removed in accordance with IBM IT content security practices.
Re: tuning mount retension
== On Mon, 25 Apr 2005 11:08:04 -0400, Richard Rhodes [EMAIL PROTECTED] said: I'm trying to tune our mount retension settings on our device classes. Currently, we have it set to 3 min for our 3590 drives. I'm not finding much info on how to tell if our 3 min period is too long or too short. You're probably not going to see behavior problems because of bad mount retention settings except in relatively extreme cases. But for your questions: I'm not sure of is whether a mount satisfied by a already mounted tape even has a mount msg in the log I don't think so. I'm also not sure whether a tape always waits for the mount retension period to be dismounted, or, whether it can be immediately dismounted if there are pending mount requests for other volumes. Absolutely, yes. In general, you'd want to increase your mount retention if you find that you're dismounting and re-mounting the same volume many times in succession, for no good reason. Good reasons basically come down to needing that drive mount point for some other tape. Dismounting because you need the mountpoint is pretty much reasonable. :) You'd want to decrease your mount retention if you find all of: + You usually have the wrong thing mounted + You usually have had it sitting idle for a long time (locally defined) + You are sensitive to the additional mount delay occasioned by a dismount Or, (as in my case) you're polling your 3494 for tape occupancy on a regular basis, and you want to have things dismounted if they're not immediately in use, otherwise your numbers go awry. - Allen S. Rout
Mount retention, the extreme case.
I did find a case in which I had difficulty getting a TSM library client to do e.g. reclamation when I had mount retention set wrong: If you've got a library client which you've set to have access to two drives, and mount retention set to some normal value on the library manager (say, 5 minutes) you can enter a state in which a reclamation process does: - Mount source volume - Mount destination volume [ copy data, finish with dest. ] - Make mount request for new volume - Get refused: too many mount points - Process fails, TSM admin gets irritated. What I eventually did was set the library manager to have zero mount retention, which fixed this. My drives stay busy, with a line queueing up, most of the day. So I didn't mind the more-or-less immediate dismount. - Allen S. Rout
Documentation help!!
Just downloaded the v5.2.2 docs for sun solaris. However, when I bring them into adobe acrobat 7.0a, I get one word per line. I am totally blind, and this is how acrobat presents the text to the screen reader. Please, any tivoli folk out there, this makes ift very hard to keep using your product. I normally save the manuals as text, then format appropriately such that it makes sense when spoken aloud by the pc; or alternately small sections put into braille. As the subject says, HELP!! Gary Lee Senior System Programmer Ball State University -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005
Re: Documentation help!!
Gary, we can look into this, but I would also strongly recommend that open a PMR so that you can track the problem identification and resolution. Best 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. Lee, Gary D. [EMAIL PROTECTED] Sent by: ADSM: Dist Stor Manager ADSM-L@VM.MARIST.EDU 2005-04-25 11:32 Please respond to ADSM: Dist Stor Manager To ADSM-L@VM.MARIST.EDU cc Subject Documentation help!! Just downloaded the v5.2.2 docs for sun solaris. However, when I bring them into adobe acrobat 7.0a, I get one word per line. I am totally blind, and this is how acrobat presents the text to the screen reader. Please, any tivoli folk out there, this makes ift very hard to keep using your product. I normally save the manuals as text, then format appropriately such that it makes sense when spoken aloud by the pc; or alternately small sections put into braille. As the subject says, HELP!! Gary Lee Senior System Programmer Ball State University -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005
Re: Documentation help!!
I also forgot to mention... you did not make it clear for which TSM component (e.g. server, client) you were having difficulty. 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 ADSM-L@VM.MARIST.EDU wrote on 2005-04-25 11:32:37: Just downloaded the v5.2.2 docs for sun solaris. However, when I bring them into adobe acrobat 7.0a, I get one word per line. I am totally blind, and this is how acrobat presents the text to the screen reader. Please, any tivoli folk out there, this makes ift very hard to keep using your product. I normally save the manuals as text, then format appropriately such that it makes sense when spoken aloud by the pc; or alternately small sections put into braille. As the subject says, HELP!! Gary Lee Senior System Programmer Ball State University -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005
Solaris TSM Server 5.2.4.0 and the Query Libvolume command
Can someone confirm this before I report it to IBM? Seems to be a bug in this release of TSM (5.2.4.0) with the command, query libvol, see below. A query volume wn3006 shows the tape WN3006 as being used by the ARCHTAPE storage pool. A query libvolume wn3006 shows that it is not in the library. Yet, when I executed an audit volume, the tape mounted and read without issue. If I execute a query libvolume qualstar WN3006, the tape shows up in the library. Note the difference is explicitly stating the library name, qualstar. The help file indicates that the default for the library name is all libraries. This matches how all TSM Servers worked at earlier levels. Note also that if one executes query libvolume (without any parameters) the tape in question DOES shows up. tsm: WINDSOR_TSMq v wn3006 Volume Name Storage Device Estimated Pct Volume Pool Name Class Name Capacity Util Status (MB) --- -- - - WN3006 ARCHTAPEAIT3 118,795.0 100.0 Filling tsm: WINDSOR_TSMq libv wn3006 ANR2034E QUERY LIBVOLUME: No match found using this criteria. ANS8001I Return code 11. tsm: WINDSOR_TSMq libv qualstar wn3006 Library Name Volume Name Status Owner Last Use HomeDevice Element Type --- -- -- - --- -- QUALSTAR WN3006 Private Data 54 tsm: WINDSOR_TSMhelp q libv QUERY LIBVOLUME QUERY LIBVOLUME (Query a Library Volume) Use this command to display information about one or more volumes that are checked into an automated library for use by the Tivoli Storage Manager server. Privilege Class Any administrator can issue this command. Syntax .-*. .-*---. -Query LIBVolume--+--+--+-+-- '-library_name-' '-volume_name-' Parameters library_name Specifies the name of the library. You can use wildcard characters to specify this name. This parameter is optional. The default is all libraries. volume_name Specifies the volume name. You can use wildcard characters to specify this name. This parameter is optional. The default is all volumes. ... tsm: WINDSOR_TSMq libv Library Name Volume Name Status Owner Last Use HomeDevice Element Type --- -- -- - --- -- QUALSTAR CLN044 Cleaner 3 QUALSTAR CLN077 Cleaner 2 QUALSTAR CLN078 Cleaner 1 QUALSTAR CLN079 Cleaner 0 QUALSTAR WN3006 Private Data 54 QUALSTAR WN3011 Private Data 48 QUALSTAR WN3013 Private Data 121 ... Robert R. Price ADSM/TSM Administrator Computer Sciences Corporation Phone: 412-374-3247 Fax: 412-374-6371 [EMAIL PROTECTED] This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
Re: Solaris TSM Server 5.2.4.0 and the Query Libvolume command
I do not think the code should ever have worked in the manner you described, since the library name and volume name are positional parameters. Thus QUERY LIBVOLUME WN3006 implies that WN3006 is the library name, and should always have indicated no match found. I am not aware of it ever working otherwise. I'd say that the doc could stand some clarification, to indicate that if the volume name is specified, then library name is also required. 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 ADSM-L@VM.MARIST.EDU wrote on 2005-04-25 11:56:26: Can someone confirm this before I report it to IBM? Seems to be a bug in this release of TSM (5.2.4.0) with the command, query libvol, see below. A query volume wn3006 shows the tape WN3006 as being used by the ARCHTAPE storage pool. A query libvolume wn3006 shows that it is not in the library. Yet, when I executed an audit volume, the tape mounted and read without issue. If I execute a query libvolume qualstar WN3006, the tape shows up in the library. Note the difference is explicitly stating the library name, qualstar. The help file indicates that the default for the library name is all libraries. This matches how all TSM Servers worked at earlier levels. Note also that if one executes query libvolume (without any parameters) the tape in question DOES shows up. tsm: WINDSOR_TSMq v wn3006 Volume Name Storage Device Estimated Pct Volume Pool Name Class Name Capacity Util Status (MB) --- -- - - WN3006 ARCHTAPEAIT3 118,795.0 100.0 Filling tsm: WINDSOR_TSMq libv wn3006 ANR2034E QUERY LIBVOLUME: No match found using this criteria. ANS8001I Return code 11. tsm: WINDSOR_TSMq libv qualstar wn3006 Library Name Volume Name Status Owner Last Use HomeDevice Element Type --- -- -- - --- -- QUALSTAR WN3006 Private Data 54 tsm: WINDSOR_TSMhelp q libv QUERY LIBVOLUME QUERY LIBVOLUME (Query a Library Volume) Use this command to display information about one or more volumes that are checked into an automated library for use by the Tivoli Storage Manager server. Privilege Class Any administrator can issue this command. Syntax .-*. .-*---. -Query LIBVolume--+--+--+-+-- '-library_name-' '-volume_name-' Parameters library_name Specifies the name of the library. You can use wildcard characters to specify this name. This parameter is optional. The default is all libraries. volume_name Specifies the volume name. You can use wildcard characters to specify this name. This parameter is optional. The default is all volumes. ... tsm: WINDSOR_TSMq libv Library Name Volume Name Status Owner Last Use HomeDevice Element Type --- -- -- - --- -- QUALSTAR CLN044 Cleaner 3 QUALSTAR CLN077 Cleaner 2 QUALSTAR CLN078 Cleaner 1 QUALSTAR CLN079 Cleaner 0 QUALSTAR WN3006 Private Data 54 QUALSTAR WN3011 Private Data 48 QUALSTAR WN3013 Private Data 121 ... Robert R. Price ADSM/TSM Administrator Computer Sciences Corporation Phone: 412-374-3247 Fax: 412-374-6371 [EMAIL PROTECTED] This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless
Tape Drive Confusion
Configuration: TSM V 5.2 OS = Aix 5.1 3584 Library (latest Firmware) 2 Fibre Switches (4 LTO GEN 1 Drives Each) 8 LTO GEN 1 Drives 2 Fibre Cards Switch 1 (Drives 1234) Switch 2 (Drives 5678) I just recently Added 2 new LTO Tape Drives to my 3584 Library. In doing this I had to add a new switch and decided to split the load on the switches to help throughput. In doing this I had to delay my backup stgpool jobs so that is currently running. In order to catch up on time I thought why not use the new drives. I Issued the command backup stg (Onsite Tape Pool) (Offsite Tape Pool) maxpr=3. Now the backup is running really slow if the process has tapes mounted on switch 1 and 2. If they are on the same switch they run fine. Am I missing some type of configuration here or something? Please assist as I was sold this as being a faster solution and then sold it to my Sup's as a faster solution. If more info is needed please let me know. Thanks in Advance, Andrew This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and CONFIDENTIAL. If you are not the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please erase all copies of the message and its attachments and notify us immediately. Thank you.
Re: Documentation help!!
Also, which screen reader are you using? 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 ADSM-L@VM.MARIST.EDU wrote on 2005-04-25 11:36:19: I also forgot to mention... you did not make it clear for which TSM component (e.g. server, client) you were having difficulty. 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 ADSM-L@VM.MARIST.EDU wrote on 2005-04-25 11:32:37: Just downloaded the v5.2.2 docs for sun solaris. However, when I bring them into adobe acrobat 7.0a, I get one word per line. I am totally blind, and this is how acrobat presents the text to the screen reader. Please, any tivoli folk out there, this makes ift very hard to keep using your product. I normally save the manuals as text, then format appropriately such that it makes sense when spoken aloud by the pc; or alternately small sections put into braille. As the subject says, HELP!! Gary Lee Senior System Programmer Ball State University -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.2 - Release Date: 4/21/2005
TSM causing client disk contention
We have a couple of clients here (Sun, Windows) who have noticed dramatic slowdowns on their application servers when TSM incremental backups run. Has anyone developed mechanisms to address this? TIA ..Paul -- Paul Zarnowski Ph: 607-255-4757 719 Rhodes Hall, Cornell UniversityFx: 607-255-8521 Ithaca, NY 14853-3801 Em: [EMAIL PROTECTED]
Re: TSM causing client disk contention
From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Paul Zarnowski We have a couple of clients here (Sun, Windows) who have noticed dramatic slowdowns on their application servers when TSM incremental backups run. Has anyone developed mechanisms to address this? TIA Two possibilities: 1. Time your backups so that they don't run concurrently with peak app times. 2. Increase RAM and processor power. -- Mark Stapleton ([EMAIL PROTECTED]) IBM Certified Advanced Deployment Professional Tivoli Storage Management Solutions 2005 Office 262.521.5627
Exchange 2003 restore to another server. HELP!
I am using the TDP for Exchange GUI, and restoring to a similar leveled version of Exchange on the same base OS. I get the following manual from the client: 04/25/2005 17:57:03 ACN5798E MS Exchange API HRESERESTOREADDDATABASE() failed with HRESULT: 0xc7fe1f42 - Database not found. 04/25/2005 17:57:03 Total backups inspected: 1 From the error logs on the Exchange server, I get the impression that I am not restoring to the correct Exchange database. How can I restore one exchange server (or portions) to another server? If my answer is RTFM, that is OK, please let me know which Fine Manual to read and where! ... TIA Jack
Re: TSM causing client disk contention
Paul, Yes, We've noticed this. Our solutions: * Start backups when users have supposedly gone home. * Don't do 'hot backups'. Have the application export its own backup to a flat file (preferably on another file system), then backup up the flat file. * Just backup what you MUST daily, then do another schedule to pick up the 'other stuff' on weekends. (Like, pick up user home directories and data directories daily, backup the OS and software weekly, since I changes little. This keeps down the time to query the database about whether or not something has been backed up. * Use journaling locally (we have issues with it, but when it works it helps) These hints don't make all problems disappear, but they help. -Original Message- From: ADSM: Dist Stor Manager [mailto:[EMAIL PROTECTED] On Behalf Of Paul Zarnowski Sent: Monday, April 25, 2005 3:37 PM To: ADSM-L@VM.MARIST.EDU Subject: TSM causing client disk contention We have a couple of clients here (Sun, Windows) who have noticed dramatic slowdowns on their application servers when TSM incremental backups run. Has anyone developed mechanisms to address this? TIA