Veritas-bu

[Veritas-bu] RE: Jobs writing to a drive?

2004-03-03 11:38:31
Subject: [Veritas-bu] RE: Jobs writing to a drive?
From: Robert_Thelen AT bankone DOT com (Robert_Thelen AT bankone DOT com)
Date: Wed, 3 Mar 2004 10:38:31 -0600
Kevin -

The best way I know of doing this would be to run the following command :
$ bperror -l -all -server SERVERNAME | grep "begin writing"

The output then looks like this :
1078275047 1 4 4 SERVERNAME 336979 0 0 SERVERNAME bptm begin writing backup id 
SERVERNAME_1078275038, copy 1, fragment 1, to media id 105708 on drive index 2
1078275344 1 4 4 SERVERNAME 336979 0 0 SERVERNAME bptm begin writing backup id 
SERVERNAME_1078275038, copy 1, fragment 2, to media id 105447 on drive index 4

In this case SERVERNAME wrote the first fragment to drive index 2, then the 
second fragment to drive index 4.

The sixth field is the JobID (336979).

Rob Thelen
Storage Management
Bank One Card Services.



-----Original Message-----
From: Ed.Toner AT eu.nabgroup DOT com [mailto:Ed.Toner AT eu.nabgroup DOT com]
Sent: Wednesday, March 03, 2004 10:18 AM
To: veritas-bu AT mailman.eng.auburn DOT edu
Cc: kevin.m.smith AT siemens DOT com
Subject: [Veritas-bu] RE: Jobs writing to a drive?




Kevin,

They way I understand it is netbackup backs up to a storage unit and
doesn't really care about which particular drive is doing the backup.

Now  you could run
  bpdbjobs -report  -all_columns
then filter it for the active jobs and extract the last mount request for
the job (probably use perl as it's a bit fiddly).

Then using vmoprcmd determine which drive actually has that tape in it. You
may have to query a few media servers with vmoprcmd depending on how your
tape drives are laid out.

Messy but you did say "any ideas" ;-)  and depending on your scripting you
could automate it.

Cheers
Ed Toner




Message: 6
From: "Smith, Kevin" <kevin.m.smith AT siemens DOT com>
To: "'veritas-bu AT mailman.eng.auburn DOT edu'"
  <veritas-bu AT mailman.eng.auburn DOT edu>
Date: Wed, 3 Mar 2004 08:37:22 -0000
Subject: [Veritas-bu] RE: Jobs writing to a drive?

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C400FA.BF9036E0
Content-Type: text/plain;
 charset="iso-8859-1"

I take it from the lack of response that this is not possible. ANY ideas
appeciated .....

thanks

>  -----Original Message-----
> From:  Smith, Kevin
> Sent:  27 February 2004 17:23
> To:    'veritas-bu AT mailman.eng.auburn DOT edu'
> Subject:     Jobs writing to a drive?
>
> I have looked at bpjobsdb to find if I can interogate it to see what job
> is writing to what drive but I does not appear to give me the information
> I want.
>
> Q - Is there a CLI for NB4.5 on Solaris that gives you output showing
what
> job is writing to what media [or drive] ?
>
> Thanks
>
>       ---------------------------------------------------
>  Kev Smith
>  Unix Systems Administrator.
>  Operational Support, IND Croydon.
>
>  E-Mail:     kevin.m.smith AT siemens DOT com
>  Tel:  020 8760 4849
>  Mob:  07808 828595
>  ----------------------------------------------------
>
> Siemens Business Services Ltd
>  This e-mail contains confidential information and is for the
> exclusive use of the addressee/s. If you are not the addressee, then any
> distribution, copying or use of this e-mail is prohibited. If received in
> error, please advise the sender and delete it immediately. We accept no
> liability for any loss or damage suffered by any person arising from use
> of this e-mail.
>
> Siemens Business Services
> Registered No: 1203466 England
> Registered Office: Siemens House, Olbury, Bracknell, Berkshire, RG12 8FZ
>


 End of Veritas-bu Digest


 ===============================================================
 National Australia Group Europe Limited (Company Number 02108635,
 Registered Office 88 Wood Street, London EC2V 7QQ) ( &NAGE 8) is a
 subsidiary of National Australia Bank Limited (an Australian registered
 company). The following UK subsidiaries of NAGE are authorised and
 regulated by the Financial Services Authority: Clydesdale Bank PLC,
 Yorkshire Bank PLC, Northern Bank Limited, Northern Bank Executor and
 Trustee Company Limited, MLC Savings Limited, MLC Trust Management Company
 Limited, Clydesdale Bank Insurance Brokers Limited, Yorkshire Bank
 Financial Services Limited, Northern Bank Insurance Services Limited,
 National Australia Bank Limited. In Ireland National Irish Bank Limited
 and National Irish Investment Bank Limited are regulated by the Irish
 Financial Services Regulatory Authority.

 The views and opinions expressed in this email may not reflect the views
 and opinions of any member of the group of which NAGE forms part. The
 information contained in this message is confidential and may also be
 privileged. It is intended only for the addressee named above. The
 unauthorised use, disclosure, copying or alteration of this message is
 strictly prohibited. If you are not the addressee (or responsible for
 delivery of the message to the addressee), please notify the originator
 immediately by return message and destroy the original message. This
 message and any attachments have been scanned for viruses prior to leaving
 NAGE ,s network. However, NAGE does not guarantee the security of this
 message and will not be responsible for any damages arising as a result of
 any virus being passed on or arising from any alteration of this message
 by a third party. NAGE may monitor emails sent to and from NAGE ,s
 network.



_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


**********************************************************************
This transmission may contain information that is privileged, confidential 
and/or exempt from disclosure under applicable law. If you are not the intended 
recipient, you are hereby notified that any disclosure, copying, distribution, 
or use of the information contained herein (including any reliance thereon) is 
STRICTLY PROHIBITED. If you received this transmission in error, please 
immediately contact the sender and destroy the material in its entirety, 
whether in electronic or hard copy format. Thank you
**********************************************************************



<Prev in Thread] Current Thread [Next in Thread>