That is true. The dsmc q backup IS much more efficient. Some server admins don't have access to clients though. In his case he wants to look at all of his clients. I don't know how many he has, but the time to go into each could be considerable. You mention a way of doing it without log on to each client. You got me there.
Richard's point is also very important. The query should be limited to certain objects or filespaces that you would expect to be using that MC, or the opposite if you want to be sure that if you want to be sure that the MC is not being used where it shouldn't. For example, if you have one long retention for ComplianceData and another for everything else, you might care if system files are being bound to the Outrageos_Retn MC. -----Original Message----- From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf Of Lindsay Morris Sent: Thursday, January 28, 2010 11:34 AM To: [email protected] Subject: Re: [ADSM-L] SQL Query find nodes associated with management class We deal with this problem by using the dsmc client, rather than the dsmadmc client. "dsmc query backup..." seems to be more efficient that "dsmadmc select ... from backups.." Requires some clever setup, though, so you don't have to go log on to the client itself to run dsmc. -------------------- Lindsay Morris CEO, TSMworks Tel. 1-859-539-9900 [email protected] On Thu, Jan 28, 2010 at 11:28 AM, Huebschman, George J. < [email protected]> wrote: > The only way I know to get that directly is from the backups table. > Running a select against the backups table for all nodes on a server > is not a good thing...believe me (don't ask). > > If you want to do it, make the select as precise as possible and run > it for one node at a time. > > select distinct node_name, filespace_name, class_name from backups > where node_name='NODENAMEXYZ' and filespace_id=x (or > filespace_name='whateveryerlookinfer') and type='FILE' and > state='ACTIVE' > > Wanda advised me to limit such queries with index key paramaters as > much as possible to keep the select processing as light as possible. > > George Huebschman > > -----Original Message----- > From: ADSM: Dist Stor Manager [mailto:[email protected]] On Behalf > Of Timothy Hughes > Sent: Thursday, January 28, 2010 11:16 AM > To: [email protected] > Subject: [ADSM-L] SQL Query find nodes associated with management > class > > Hi all, > > > I am trying to find all nodes that are associated with a particular > management class, does anyone have a SQL statement that will produce > this information? > > > Thanks > > 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. > 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.
