Veritas-bu

[Veritas-bu] Help : Some one has a script to find out the tape poolusage stauts ?

2006-07-26 10:33:10
Subject: [Veritas-bu] Help : Some one has a script to find out the tape poolusage stauts ?
From: Mark.Donaldson at cexp.com (Mark.Donaldson AT cexp DOT com)
Date: Wed, 26 Jul 2006 08:33:10 -0600
Of course:

#!/bin/ksh
export PATH=$PATH:/usr/openv/volmgr/bin
echo "       Poolname            Use"
echo "====================  ============"
for p in `vmpool -listall -b | awk 'NR>2 {print $1}'`
do
  pc=`vmquery -pn $p -w|awk 'NR>3 {print $1}'|wc -l`
  po=`vmquery -pn $p -w|awk 'NR>3 && $20!~/00\/00\/00/ {print $1}'|wc -l`
  printf "%20s  %4d of %4d\n" $p $po $pc
done 

-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces 
at mailman.eng.auburn.edu] On Behalf Of Shyingyih Huang \( ??? \)
Sent: Tuesday, July 25, 2006 11:57 PM
To: veritas-bu at mailman.eng.auburn.edu
Subject: [Veritas-bu] Help : Some one has a script to find out the tape 
poolusage stauts ?

Hi all :
I have one backup domain , it has two tape library .
So , there are many tape pool including SCRATCH pool .
Can someone kindly give me  the script or tool to calculate the tape pool usage 
?


Thanks!! 


----------------------------------------------- 
̨?³´ó¸ç´ó(¹É)¹«Ë¾ ϵ½yÒ???ôß¾Sß\Ì?
Shying Yih Huang  üSÏéÒæ
Mobile: 0922-447515
* :02-66390503
FAX : 02-66390511 
** shyingyihhuang at taiwanmobile.com
---------------------------

-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces 
at mailman.eng.auburn.edu] On Behalf Of veritas-bu-request at 
mailman.eng.auburn.edu
Sent: Wednesday, July 26, 2006 5:28 AM
To: veritas-bu at mailman.eng.auburn.edu
Subject: Veritas-bu Digest, Vol 3, Issue 103

Send Veritas-bu mailing list submissions to
        veritas-bu at mailman.eng.auburn.edu

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
or, via email, send a message with subject or body 'help' to
        veritas-bu-request at mailman.eng.auburn.edu

You can reach the person managing the list at
        veritas-bu-owner at mailman.eng.auburn.edu

When replying, please edit your Subject line so it is more specific than "Re: 
Contents of Veritas-bu digest..."


Today's Topics:

   1. Re: Checking media (Wayne T Smith)
   2.  Scheduler woes with Ver 6.0 + MP3 (Bhangui, Sandeep - BLS CTR)
   3. NB 6.0 MP3 EMM Server Dies After 1-3 Days? (Justin Piszcz)
   4. Server Backup Times - Scheduling Issues (Covington, Garrett)
   5. Re: Scheduler woes with Ver 6.0 + MP3 (Ken Frinzl)
   6. Re: Installation of NOM fails - jacorb.properties not     found
      (Ken Frinzl)


----------------------------------------------------------------------

Message: 1
Date: Tue, 25 Jul 2006 13:30:32 -0400
From: Wayne T Smith <wts at maine.edu>
Subject: Re: [Veritas-bu] Checking media
To: veritas-bu at mailman.eng.auburn.edu
Message-ID: <44C65538.9010607 at maine.edu>
Content-Type: text/plain; charset="iso-8859-1"

I watch my logs and the "errors" file to promptly see what happened when 
NetBackup "sees" a tape error.   On all errors, if NetBackup didn't 
freeze the tape, I do!  Notes are written to a "blog".   Even if a 
problem appears to be a drive, the tape is set to frozen (if assigned) or 
directly changed to another pool (see below).

Periodically, I look at the "Media Summary" report (verbose).  If there are 
expired, frozen tapes reported, I expire them with bpexpdate and change them to 
a pool for just such tapes (I call it the Baudelaire volume pool).

When my tape drives have time, I do a short erase and then long erase.  
If both go OK, the tape gets put back into service.  With a pattern of 
problems, the tape is returned to our media vendor.

However, we have more trouble with our LTO-I drives than media.

Is this the sort of thing that interests you?

cheers, wayne

Clooney, David wrote, in part,  on 7/25/2006 10:52 AM:
> Just a quick one, have a whole bunch of frozen tapes, now I'm pretty 
> convinced that most of them are indeed fine , whats the best way to 
> confirm this ?
> Was thinking of bypassing Netbackup and using cpio to confirm the 
> above, what methods does everyone else use ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20060725/22d86257/attachment-0001.html

------------------------------

Message: 2
Date: Tue, 25 Jul 2006 14:16:56 -0400
From: "Bhangui, Sandeep - BLS CTR" <Bhangui.Sandeep at bls.gov>
Subject: [Veritas-bu]  Scheduler woes with Ver 6.0 + MP3
To: <veritas-bu at mailman.eng.auburn.edu>
Message-ID:
        <11C64B18E4E93049BD58E8532CA9FE7F061CC9DD at psbexmb1.psb.bls.gov>
Content-Type: text/plain;       charset="us-ascii"

Hi
        Wondering whether anyone on this forum has seen this behavior.

Environment:  Solaris 8 shop.

Master and Media on the same server running Netbackup Ver 6.0 + MP3.
This is a fresh 6.0 install.

Adic scalar 24 attached to the Master server.

Backups run fine for few days and than the scheduler just stops working.
The scheduler can be made to work only by stopping and starting Netbackup.

Some features seen in the process are.

1. Typically the scheduler stops working when the backup on one of the clients 
has failed with a status code. From the status code one can figure out why the 
client failed. But I cannot find the reason as to why the scheduler just stops 
working when such a incident occurs.

I think in the normal scheme of things if a backup on a client fails than the 
software should just put the Status error code and move on to the other 
scheduled policies and perform the backups for those policies.
But that is not happening. Once the backup of a client has failed no other 
policies scheduled after that runs.

2. Once the above mentioned situation happens. If I try to run 
"/etc/init.d/netbackup" or bp.kill_all to stop Netbackup. It cannot stop the 
Policy Execution Manager, it just hangs while trying to stop that.

No choice but to CTRL C out and than use kill -9 to kill all nbpem processes. 
Once those are killed and I run /etc/init.d/netbackup stop or bp.kill_all it 
stops all the remaining processes and comes back to the prompt.

Somehow my nbpem process is getting hosed/or hung . I am working with Support 
on this and provided them the requested logs. Not heard back from them and 
hence wondering if anyone has seen anything like this, as I know Ver 6.0 has 
lot of issues with Scheduler but was told by support that all necessary patches 
for scheduler are included in MP3.

Any suggestions.

Thanks
Sandeep




------------------------------

Message: 3
Date: Tue, 25 Jul 2006 14:38:26 -0400 (EDT)
From: Justin Piszcz <jpiszcz at lucidpixels.com>
Subject: [Veritas-bu] NB 6.0 MP3 EMM Server Dies After 1-3 Days?
To: veritas-bu at mailman.eng.auburn.edu
Message-ID: <Pine.LNX.4.64.0607251437070.31045 at p34.internal.lan>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

Does this happen to anyone else?

Running RHEL3 and after 24..48..72 hours or so, the nbemm process DIES and 
backups continue but the nbemm process is dead, so ie you cannot look at the 
volume pools, you cannot tpconfig -d to look at tape drives.  If the nbemm 
server is dead, I don't know how its cataloging what it backs up either!  The 
only way to fix is to bp.kill_all and then restart the backup processes.

Has anyone else seen this problem?

Justin.


------------------------------

Message: 4
Date: Tue, 25 Jul 2006 13:43:43 -0600
From: "Covington, Garrett" <Garrett.Covington at trizetto.com>
Subject: [Veritas-bu] Server Backup Times - Scheduling Issues
To: <veritas-bu at mailman.eng.auburn.edu>
Message-ID:
        <FB18F9D4D3C21B4883007B67B86F3FF8B0624B at 
den-tzg-exmb-06.corp.trizetto.com>
        
Content-Type: text/plain; charset="us-ascii"

I am looking for a script to help me with some scheduling issues/questions down 
to the client level.

 

I was given a list of 600+ servers that I need to reply with the backup
time(s) for each. Does anyone have a script (using bppllist?) that might help 
me list the backup time for a client or list of clients based on the schedule 
name (ours are named:daily/weekly/monthly/yearly) or type of backup 
(full/incremental)?

 

In a separate but related issue, it would be helpful to have similar scheduling 
information about each of my policies' backup times for each of the schedule 
within each policy....

 

Thanks,

 

Garrett Covington

The TriZetto Group, Inc.

Garrett.Covington at TriZetto.com

p: 3032046695 at vtext.com

w: 303-323-6886

c: 303-204-6695

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20060725/c9db03d9/attachment-0001.html

------------------------------

Message: 5
Date: Tue, 25 Jul 2006 17:19:27 -0400
From: "Ken Frinzl" <Ken.Frinzl at sas.com>
Subject: Re: [Veritas-bu] Scheduler woes with Ver 6.0 + MP3
To: <veritas-bu at mailman.eng.auburn.edu>
Message-ID:
        <05809C0B5DC66845BC86FFFACC1A310A01C7BABC at mercmbx01.na.sas.com>
Content-Type: text/plain;       charset="us-ascii"

Hi,

 We have a fairly similar setup here:  Master and Media on the same server 
running NBU6.0 + MP3.  We have been running MP3 now for 4wks.  The only 
difference is that were on Solaris 9.  I haven't seen any problems like that 
since we upgraded to MP3.

 

Ken Frinzl
E-Mail: Ken.Frinzl at SAS.com
Work: 919-531-1905  Cell:919-368-7072
Strategic Recovery

-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces 
at mailman.eng.auburn.edu] On Behalf Of Bhangui, Sandeep - BLS CTR
Sent: Tuesday, July 25, 2006 2:17 PM
To: veritas-bu at mailman.eng.auburn.edu
Subject: [Veritas-bu] Scheduler woes with Ver 6.0 + MP3

Hi
        Wondering whether anyone on this forum has seen this behavior.

Environment:  Solaris 8 shop.

Master and Media on the same server running Netbackup Ver 6.0 + MP3.
This is a fresh 6.0 install.

Adic scalar 24 attached to the Master server.

Backups run fine for few days and than the scheduler just stops working.
The scheduler can be made to work only by stopping and starting Netbackup.

Some features seen in the process are.

1. Typically the scheduler stops working when the backup on one of the clients 
has failed with a status code. From the status code one can figure out why the 
client failed. But I cannot find the reason as to why the scheduler just stops 
working when such a incident occurs.

I think in the normal scheme of things if a backup on a client fails than the 
software should just put the Status error code and move on to the other 
scheduled policies and perform the backups for those policies.
But that is not happening. Once the backup of a client has failed no other 
policies scheduled after that runs.

2. Once the above mentioned situation happens. If I try to run 
"/etc/init.d/netbackup" or bp.kill_all to stop Netbackup. It cannot stop the 
Policy Execution Manager, it just hangs while trying to stop that.

No choice but to CTRL C out and than use kill -9 to kill all nbpem processes. 
Once those are killed and I run /etc/init.d/netbackup stop or bp.kill_all it 
stops all the remaining processes and comes back to the prompt.

Somehow my nbpem process is getting hosed/or hung . I am working with Support 
on this and provided them the requested logs. Not heard back from them and 
hence wondering if anyone has seen anything like this, as I know Ver 6.0 has 
lot of issues with Scheduler but was told by support that all necessary patches 
for scheduler are included in MP3.

Any suggestions.

Thanks
Sandeep


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



------------------------------

Message: 6
Date: Tue, 25 Jul 2006 17:27:40 -0400
From: "Ken Frinzl" <Ken.Frinzl at sas.com>
Subject: Re: [Veritas-bu] Installation of NOM fails -
        jacorb.properties not   found
To: "Sponsler, Michael" <Michael.Sponsler at ngc.com>,
        <veritas-bu at mailman.eng.auburn.edu>
Message-ID:
        <05809C0B5DC66845BC86FFFACC1A310A01C7BAC5 at mercmbx01.na.sas.com>
Content-Type: text/plain; charset="us-ascii"

Hey,
 
NOM is tricky.  Are you installing NOM on a existing Master?  What you want to 
make sure is that NOM and any Master that you will be communicating with are at 
the same release and MP level.  
 
If your installing NOM on a client: Make sure that client is at NBU 6.0 + MP3.  
Then install NAM and upgrade NOM to MP3.
 
I have NOM running on a Solaris 9 client server.  There are some flacky things 
happening, but for the most part it is working.
 

Ken Frinzl
E-Mail: Ken.Frinzl at SAS.com
Work: 919-531-1905  Cell:919-368-7072
Strategic Recovery 

 

________________________________

From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces 
at mailman.eng.auburn.edu] On Behalf Of Sponsler, Michael
Sent: Monday, July 24, 2006 6:00 PM
To: veritas-bu at mailman.eng.auburn.edu
Subject: [Veritas-bu] Installation of NOM fails - jacorb.properties not found



All,
I'm attempting to install NOM on a Solaris / Netbackup 6.0 master server.  
During the installaion, where vxamnom is configured, and the following runs:

Starting VERITAS NOM SERVER
NOM Database Server Running (pid 26015) Vxamnom is not yet configured.  Now 
Executing the following config: 
        cd /opt/VRTSamnom 
        . ./setam_env.sh 
        ./configure_vxam 5431 "DRIVER=Adaptive Server Anywhere 
9.0;ENG=VERITAS_NOM_hostname;DBN=vxam;links=tcpip{host=localhost;port=13729}" 
"-g /opt/VRTSnom/config/vxam.conf"

The installation freezes there.  The only thing not running at this point is 
VRTSnomd.  If I try to do a "/etc/init.d/vxnomd start" all processes seem to 
start, then VRTSnomd dies after about a minute.  And in 
/opt/VRTSnom/logs/VRTSnom.log I see the following errors:

[ jacorb.home unset! Will use '.' ]
[ File./jacorb.properties for configuration of jacorb not found ] In CSInfoInt 
ctor Calling register with serviceID = CycloneDomainService 

The error repeats itself a few times.  I am using plain jane Netbackup 6.0, no 
MP1 -> MP3.  I'm trying to just get NOM installed before I update.  Truth be 
told, NOM won't update, it fails because it can't start all of it's services.

Any ideas, or inklings would be great (except RTFM....I've done that). 

This is my first attempt to install and configure NOM.  And yes, I have all the 
required software installed.  I think the problem is this jacorb problem, but I 
don't know how to fix it.

Thanks. 

--
Mike Sponsler
Northrop Grumman
Michael.Sponsler at ngc.com
(703) 968-1302
12900 Federal Systems Pkwy
Fairfax, VA 22033 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20060725/6e166957/attachment.html

------------------------------

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


End of Veritas-bu Digest, Vol 3, Issue 103
******************************************


DISCLAIMER:
Sample Disclaimer added in a VBScript.



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