Re: audit library problems
>> On Mon, 22 Jun 2009 11:02:10 -0400, Richard Rhodes >> said: > QUESTION: How can you effectively get a audit libr > cmd to run in a busy library sharing environment? Here's how I solved that problem: I wrote a script to generate a truckload of UPDATE PATH statements. #!/usr/local/bin/perl # foreach $server ("COPIES","ERP","EXCH","EXT","EXT2","IGLMAIL01","IGLMAIL02","IGLMAIL03","IGLMAIL04","IGLMAIL05","IGLMAIL06","IGLMAIL07","IGLMAIL08","IGLMAIL09","IGLMAIL10","INT","OFFSITE","TEST","VI" ) #foreach $server ("CTRL") foreach $server ("ATLCOPY","ATLCTRL") { foreach $d (0..9) { print "upd path $server DRIVE$d srct=server destt=drive libr=3584lib online=no \n"; } } then a bunch of cut and paste. Or, if you're all high-speed, you can redirect the output to a file, and then do something like this: tsm: CTRL>q scr retemp f=r del scr temp def scr temp file=/tmp/temp.scr q scr temp f=r This script recreates a script called 'TEMP', and then shows me what it did. - Allen S. Rout
Re: audit library problems
Q&D could be to set COMMMETHOD NONE at the end of your dsmserv.opt and run the server in the foreground to run your audit. The bogus portnumber has the advantage of allowing you to remotely control the server... On 22 jun 2009, at 18:31, Richard Rhodes wrote: I tried a DISABLE SESSIONS ALL, but it didn't work. Tape mounts (via server-to-server, I assume) still worked. I found this puzzling. Rick "Petrullo, Michael G." ADSM-L@VM.MARIST.EDU Sent by: "ADSM:cc Dist Stor Manager" Subject 06/22/2009 11:11 AM Please respond to "ADSM: Dist Stor Manager" Hi Rick, Try using the following commands which will disable all client and server sessions to the TSM server: DISABLE SESSIONS CLIENT DISABLE SESSIONS SERVER Hope this helps! Michael Petrullo Storage Support Administrator Legg Mason Technology Services Phone: 410.580.7381 Email: mpetru...@leggmason.com -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 11:02 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] audit library problems This past weekend we started the process of upgrading our TSM environment from v5.4.1 to v.5.2.2. We have 2 dedicated library managers (3584 libs) and 7 tsm library client instances and a bunch of storage agents. The first step was to upgrade _one_ of the library managers. After we upgrade this library manager instance we hit APAR IC59453, where drives would drop to a UKNOWN status and become unavailable. The library manager would start working, then quickly degrade till it quit servicing mounts. IBM support had us upgrade to patch v.5.5.2.1 to fix. When this problem occurred the library managers view of the library got messed up (ANR8300E) and required a AUDIT LIBR to clean up. And there I hit frustration! Audit Libr cmd requires that the library be unused - no processes/sessions have tape mounted. It also requires at least one drive be online. If you issue the cmd before any drives are online, it's process throws an error saying there are not online drives. When this problem occurred and need to do a Audit, I would change all the drives to online=no, halt/start the library manager, bring _one_ drive . . . and INSTANTLY a mount would occur for a library client instance!! I would then issue the Audit Libr cmd (which waits for the drive to become free) and work to get the process/session that has the mount to end. This is SO FRUSTRATING. I had to do this multiple time is working through this problem. I asked IBM support if there was any way to tell a dedicated library manager to STOP SERVICING client requests, and he said there isn't. QUESTION: How can you effectively get a audit libr cmd to run in a busy library sharing environment? I came up with these ideas: 1) Drop all paths for a drive except for the the library manager itself - giving a dedicated drive to the library manager. 2) Change the password on the server-to-server setup. (wishful thinking invoked) 3) Get IBm to add a library client library online/offline function. 4) Get IBM to add a library manager online/offline function for servicing mount requests. 5) Get IBM to allow audit libr to run without a online drive. (WHY does an Audit need a drive online anyway? A audit is to the SMC device for the library proper, not a RMT drive device). rick (sorry . .. was venting a little) -- Met vriendelijke groeten, Remco Post r.p...@plcs.nl +31 6 248 21 622
Re: audit library problems
Trying to remember (it was a long night). I disabled all tape drive before halting the LM. After it booted I logged in and checked - alll drives were disabled. I issued "disabled sessions all", then enabled one tape drive. By the time I typed "q mount" it came back with a tape being mounted!!! Maybe it somehow queued the mounts before I disabled the sessions. If so, that brings up a catch 22 - you need to disable the sessions before library sharing starts up. Is there a way to start a tsm instance and have it run some commands before it does anything? Rick "Petrullo, Michael G." ADSM-L@VM.MARIST.EDU Sent by: "ADSM:cc Dist Stor Manager" Subject 06/22/2009 12:59 PM Please respond to "ADSM: Dist Stor Manager" Rick, Were the tapes already mounted when you ran the command? I have used those commands several times in the past during maintenance upgrades and they worked flawlessly. -Mike -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 12:31 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] audit library problems I tried a DISABLE SESSIONS ALL, but it didn't work. Tape mounts (via server-to-server, I assume) still worked. I found this puzzling. Rick "Petrullo, Michael G." ADSM-L@VM.MARIST.EDU Sent by: "ADSM: cc Dist Stor Manager" Subject 06/22/2009 11:11 AM Please respond to "ADSM: Dist Stor Manager" Hi Rick, Try using the following commands which will disable all client and server sessions to the TSM server: DISABLE SESSIONS CLIENT DISABLE SESSIONS SERVER Hope this helps! Michael Petrullo Storage Support Administrator Legg Mason Technology Services Phone: 410.580.7381 Email: mpetru...@leggmason.com -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 11:02 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] audit library problems This past weekend we started the process of upgrading our TSM environment from v5.4.1 to v.5.2.2. We have 2 dedicated library managers (3584 libs) and 7 tsm library client instances and a bunch of storage agents. The first step was to upgrade _one_ of the library managers. After we upgrade this library manager instance we hit APAR IC59453, where drives would drop to a UKNOWN status and become unavailable. The library manager would start working, then quickly degrade till it quit servicing mounts. IBM support had us upgrade to patch v.5.5.2.1 to fix. When this problem occurred the library managers view of the library got messed up (ANR8300E) and required a AUDIT LIBR to clean up. And there I hit frustration! Audit Libr cmd requires that the library be unused - no processes/sessions have tape mounted. It also requires at least one drive be online. If you issue the cmd before any drives are online, it's process throws an error saying there are not online drives. When this problem occurred and need to do a Audit, I would change all the drives to online=no, halt/start the library manager, bring _one_ drive . . . and INSTANTLY a mount would occur for a library client instance!! I would then issue the Audit Libr cmd (which waits for the drive to become free) and work to get the process/session that has the mount to end. This is SO FRUSTRATING. I had to do this multiple time is working through this problem. I asked IBM support if there was any way to tell a dedicated library manager to STOP SERVICING client requests, and he said there isn't. QUESTION: How can you effectively get a audit libr cmd to run in a busy library sharing environment? I came up with these ideas: 1) Drop all paths for a drive except for the the library manager itself - giving a dedicated drive to the library manager. 2) Change the password on the server-to-server setup. (wishful thinking invoked) 3) Get IBm to add a library client library online/offline function. 4) Get IBM to add a library manager online/offline function for servicing mount requests. 5) Get IBM to allow audit libr to run without a online drive. (WHY does an Audit need a drive online anyway? A audit is to the SMC device for the library proper, not a RMT drive device). rick (sorry . .. was venting a little) - 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 re
Re: audit library problems
Rick, Were the tapes already mounted when you ran the command? I have used those commands several times in the past during maintenance upgrades and they worked flawlessly. -Mike -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 12:31 PM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] audit library problems I tried a DISABLE SESSIONS ALL, but it didn't work. Tape mounts (via server-to-server, I assume) still worked. I found this puzzling. Rick "Petrullo, Michael G." ADSM-L@VM.MARIST.EDU Sent by: "ADSM: cc Dist Stor Manager" Subject 06/22/2009 11:11 AM Please respond to "ADSM: Dist Stor Manager" Hi Rick, Try using the following commands which will disable all client and server sessions to the TSM server: DISABLE SESSIONS CLIENT DISABLE SESSIONS SERVER Hope this helps! Michael Petrullo Storage Support Administrator Legg Mason Technology Services Phone: 410.580.7381 Email: mpetru...@leggmason.com -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 11:02 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] audit library problems This past weekend we started the process of upgrading our TSM environment from v5.4.1 to v.5.2.2. We have 2 dedicated library managers (3584 libs) and 7 tsm library client instances and a bunch of storage agents. The first step was to upgrade _one_ of the library managers. After we upgrade this library manager instance we hit APAR IC59453, where drives would drop to a UKNOWN status and become unavailable. The library manager would start working, then quickly degrade till it quit servicing mounts. IBM support had us upgrade to patch v.5.5.2.1 to fix. When this problem occurred the library managers view of the library got messed up (ANR8300E) and required a AUDIT LIBR to clean up. And there I hit frustration! Audit Libr cmd requires that the library be unused - no processes/sessions have tape mounted. It also requires at least one drive be online. If you issue the cmd before any drives are online, it's process throws an error saying there are not online drives. When this problem occurred and need to do a Audit, I would change all the drives to online=no, halt/start the library manager, bring _one_ drive . . . and INSTANTLY a mount would occur for a library client instance!! I would then issue the Audit Libr cmd (which waits for the drive to become free) and work to get the process/session that has the mount to end. This is SO FRUSTRATING. I had to do this multiple time is working through this problem. I asked IBM support if there was any way to tell a dedicated library manager to STOP SERVICING client requests, and he said there isn't. QUESTION: How can you effectively get a audit libr cmd to run in a busy library sharing environment? I came up with these ideas: 1) Drop all paths for a drive except for the the library manager itself - giving a dedicated drive to the library manager. 2) Change the password on the server-to-server setup. (wishful thinking invoked) 3) Get IBm to add a library client library online/offline function. 4) Get IBM to add a library manager online/offline function for servicing mount requests. 5) Get IBM to allow audit libr to run without a online drive. (WHY does an Audit need a drive online anyway? A audit is to the SMC device for the library proper, not a RMT drive device). rick (sorry . .. was venting a little) - 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. IMPORTANT: E-mail sent through the Internet is not secure. Legg Mason therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Legg Mason therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. This message is intended for the addressee only and may contain privileged or confidential information. Unless you are the intended recipient, you may not use, copy or disclose to anyone any informatio
Re: audit library problems
I tried a DISABLE SESSIONS ALL, but it didn't work. Tape mounts (via server-to-server, I assume) still worked. I found this puzzling. Rick "Petrullo, Michael G." ADSM-L@VM.MARIST.EDU Sent by: "ADSM:cc Dist Stor Manager" Subject 06/22/2009 11:11 AM Please respond to "ADSM: Dist Stor Manager" Hi Rick, Try using the following commands which will disable all client and server sessions to the TSM server: DISABLE SESSIONS CLIENT DISABLE SESSIONS SERVER Hope this helps! Michael Petrullo Storage Support Administrator Legg Mason Technology Services Phone: 410.580.7381 Email: mpetru...@leggmason.com -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 11:02 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] audit library problems This past weekend we started the process of upgrading our TSM environment from v5.4.1 to v.5.2.2. We have 2 dedicated library managers (3584 libs) and 7 tsm library client instances and a bunch of storage agents. The first step was to upgrade _one_ of the library managers. After we upgrade this library manager instance we hit APAR IC59453, where drives would drop to a UKNOWN status and become unavailable. The library manager would start working, then quickly degrade till it quit servicing mounts. IBM support had us upgrade to patch v.5.5.2.1 to fix. When this problem occurred the library managers view of the library got messed up (ANR8300E) and required a AUDIT LIBR to clean up. And there I hit frustration! Audit Libr cmd requires that the library be unused - no processes/sessions have tape mounted. It also requires at least one drive be online. If you issue the cmd before any drives are online, it's process throws an error saying there are not online drives. When this problem occurred and need to do a Audit, I would change all the drives to online=no, halt/start the library manager, bring _one_ drive . . . and INSTANTLY a mount would occur for a library client instance!! I would then issue the Audit Libr cmd (which waits for the drive to become free) and work to get the process/session that has the mount to end. This is SO FRUSTRATING. I had to do this multiple time is working through this problem. I asked IBM support if there was any way to tell a dedicated library manager to STOP SERVICING client requests, and he said there isn't. QUESTION: How can you effectively get a audit libr cmd to run in a busy library sharing environment? I came up with these ideas: 1) Drop all paths for a drive except for the the library manager itself - giving a dedicated drive to the library manager. 2) Change the password on the server-to-server setup. (wishful thinking invoked) 3) Get IBm to add a library client library online/offline function. 4) Get IBM to add a library manager online/offline function for servicing mount requests. 5) Get IBM to allow audit libr to run without a online drive. (WHY does an Audit need a drive online anyway? A audit is to the SMC device for the library proper, not a RMT drive device). rick (sorry . .. was venting a little) - 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. IMPORTANT: E-mail sent through the Internet is not secure. Legg Mason therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Legg Mason therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. This message is intended for the addressee only and may contain privileged or confidential information. Unless you are the intended recipient, you may not use, copy or disclose to anyone any information contained in this message. If you have received this message in error, please notify the author by replying to this message and then kindly delete the message. Thank you.
Re: audit library problems
Give the library clients a bad hosts entry for the library manager. Very little to change and change backup. Andy Huebner -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Petrullo, Michael G. Sent: Monday, June 22, 2009 10:09 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] audit library problems Hi Rick, Try using the following commands which will disable all client and server sessions to the TSM server: DISABLE SESSIONS CLIENT DISABLE SESSIONS SERVER Hope this helps! Michael Petrullo Storage Support Administrator Legg Mason Technology Services Phone: 410.580.7381 Email: mpetru...@leggmason.com -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 11:02 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] audit library problems This past weekend we started the process of upgrading our TSM environment from v5.4.1 to v.5.2.2. We have 2 dedicated library managers (3584 libs) and 7 tsm library client instances and a bunch of storage agents. The first step was to upgrade _one_ of the library managers. After we upgrade this library manager instance we hit APAR IC59453, where drives would drop to a UKNOWN status and become unavailable. The library manager would start working, then quickly degrade till it quit servicing mounts. IBM support had us upgrade to patch v.5.5.2.1 to fix. When this problem occurred the library managers view of the library got messed up (ANR8300E) and required a AUDIT LIBR to clean up. And there I hit frustration! Audit Libr cmd requires that the library be unused - no processes/sessions have tape mounted. It also requires at least one drive be online. If you issue the cmd before any drives are online, it's process throws an error saying there are not online drives. When this problem occurred and need to do a Audit, I would change all the drives to online=no, halt/start the library manager, bring _one_ drive . . . and INSTANTLY a mount would occur for a library client instance!! I would then issue the Audit Libr cmd (which waits for the drive to become free) and work to get the process/session that has the mount to end. This is SO FRUSTRATING. I had to do this multiple time is working through this problem. I asked IBM support if there was any way to tell a dedicated library manager to STOP SERVICING client requests, and he said there isn't. QUESTION: How can you effectively get a audit libr cmd to run in a busy library sharing environment? I came up with these ideas: 1) Drop all paths for a drive except for the the library manager itself - giving a dedicated drive to the library manager. 2) Change the password on the server-to-server setup. (wishful thinking invoked) 3) Get IBm to add a library client library online/offline function. 4) Get IBM to add a library manager online/offline function for servicing mount requests. 5) Get IBM to allow audit libr to run without a online drive. (WHY does an Audit need a drive online anyway? A audit is to the SMC device for the library proper, not a RMT drive device). rick (sorry . .. was venting a little) - 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. IMPORTANT: E-mail sent through the Internet is not secure. Legg Mason therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Legg Mason therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. This message is intended for the addressee only and may contain privileged or confidential information. Unless you are the intended recipient, you may not use, copy or disclose to anyone any information contained in this message. If you have received this message in error, please notify the author by replying to this message and then kindly delete the message. Thank you. This e-mail (including any attachments) is confidential and may be legally privileged. If you are not an intended recipient or an authorized representative of an intended recipient, you are prohibited from using, copying or distributing the information in this e-mail or its attachments. If you have received this e-mail in error, please notify the sender imm
Re: audit library problems
Hi Rick, Try using the following commands which will disable all client and server sessions to the TSM server: DISABLE SESSIONS CLIENT DISABLE SESSIONS SERVER Hope this helps! Michael Petrullo Storage Support Administrator Legg Mason Technology Services Phone: 410.580.7381 Email: mpetru...@leggmason.com -Original Message- From: ADSM: Dist Stor Manager [mailto:ads...@vm.marist.edu] On Behalf Of Richard Rhodes Sent: Monday, June 22, 2009 11:02 AM To: ADSM-L@VM.MARIST.EDU Subject: [ADSM-L] audit library problems This past weekend we started the process of upgrading our TSM environment from v5.4.1 to v.5.2.2. We have 2 dedicated library managers (3584 libs) and 7 tsm library client instances and a bunch of storage agents. The first step was to upgrade _one_ of the library managers. After we upgrade this library manager instance we hit APAR IC59453, where drives would drop to a UKNOWN status and become unavailable. The library manager would start working, then quickly degrade till it quit servicing mounts. IBM support had us upgrade to patch v.5.5.2.1 to fix. When this problem occurred the library managers view of the library got messed up (ANR8300E) and required a AUDIT LIBR to clean up. And there I hit frustration! Audit Libr cmd requires that the library be unused - no processes/sessions have tape mounted. It also requires at least one drive be online. If you issue the cmd before any drives are online, it's process throws an error saying there are not online drives. When this problem occurred and need to do a Audit, I would change all the drives to online=no, halt/start the library manager, bring _one_ drive . . . and INSTANTLY a mount would occur for a library client instance!! I would then issue the Audit Libr cmd (which waits for the drive to become free) and work to get the process/session that has the mount to end. This is SO FRUSTRATING. I had to do this multiple time is working through this problem. I asked IBM support if there was any way to tell a dedicated library manager to STOP SERVICING client requests, and he said there isn't. QUESTION: How can you effectively get a audit libr cmd to run in a busy library sharing environment? I came up with these ideas: 1) Drop all paths for a drive except for the the library manager itself - giving a dedicated drive to the library manager. 2) Change the password on the server-to-server setup. (wishful thinking invoked) 3) Get IBm to add a library client library online/offline function. 4) Get IBM to add a library manager online/offline function for servicing mount requests. 5) Get IBM to allow audit libr to run without a online drive. (WHY does an Audit need a drive online anyway? A audit is to the SMC device for the library proper, not a RMT drive device). rick (sorry . .. was venting a little) - 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. IMPORTANT: E-mail sent through the Internet is not secure. Legg Mason therefore recommends that you do not send any confidential or sensitive information to us via electronic mail, including social security numbers, account numbers, or personal identification numbers. Delivery, and or timely delivery of Internet mail is not guaranteed. Legg Mason therefore recommends that you do not send time sensitive or action-oriented messages to us via electronic mail. This message is intended for the addressee only and may contain privileged or confidential information. Unless you are the intended recipient, you may not use, copy or disclose to anyone any information contained in this message. If you have received this message in error, please notify the author by replying to this message and then kindly delete the message. Thank you.