17 de jan. de 2010

NetBackup Troubleshoot - Howto

This isn't really a how to, is a quick reference with some commands to use to debug the main problems that happens with NetBackup.


1. Log files
- NetBackup Logs
/usr/openv/netbackup/logs (Unix)
Install_path\NetBackup\logs (Win)
- Unified Logs
/usr/openv/logs (Unix)
Install_path\NetBackup\logs (Win)
- NetBackup Media Manager Logs
/usr/openv/volmgr/debug (Unix)
Install_path\volmgr\debug (win)

Obs.: Media manager Logs need be created.
Be aware with log level, they can increase an fill the directory (File system) and the NetBackup will stop to work.

2. Name Resolution
You need ensure that name resolution is working correctly, verify DNS and DNS reverse.

3. Commands you can use for day by day trouble shooting

- Command to list Process are runing
/usr/openv/netbackup/bin/bpps -x

- All process
/usr/openv/netbackup/bin/bpps -a

- List Jobs
/usr/openv/netbackup/bin/admincmd/bpdbjobs

- Command used to confirm the successful lookup of the client name
/usr/openv/netbackup/bin/bpclntcmd -hn client_name
/usr/openv/netbackup/bin/bpclntcmd -ip client_ip

- Commands used to expire or to calculate a new retention for a media
/usr/openv/netbackup/bin/bpexpdate -m ACB001 -d 0
- Change expiration of copy 2, does not afect copy 1
/usr/openv/netbackup/bin/bpexpdate -backupid eel_0904219764 -d 12/20/2010 08:00:00
-copy 2
- If bpxpdate don't work to expire the media execute the command before use bpexpdate
/usr/openv/volmgr/bin/vmquery -deassignbyid media_ID pool_number stat
- To check pool_number and stat
/usr/openv/volmgr/bin/vmquery -m media_ID

- Command to list configured Storage Units
/usr/openv/netbackup/bin/admincmd/bpstulist -L

- Command to list configured Policies
/usr/openv/netbackup/bin/admincmd/bppllist policy_name -L

- Command used to perform operator functions on drives
/usr/openv/volmgr/bin/vmoprcmd

- Command used to display media status
/usr/openv/netbackup/bin/admincmd/bpmedialist -rl 1

- Script to make a media report
/usr/openv/netbackup/bin/goodies/available_media

- Command to unfreeze medias
/usr/openv/netbackup/bin/admincmd/bpmedia -unfreeze -m ACB001

- Text interactive menu to administrate NetBackup when you can't access the GUI.
/usr/openv/netbackup/bin/bpadm

- Command to report media contents of a robotic library
/usr/openv/volmgr/bin/vmcheckxxx -rt tld -rn 1 -list

- Command to inventory a robotic library
/usr/openv/volmgr/bin/vmupdate -rt tld -rn 1 -full [-interactive] -use_barcode_rules

- Command to manager EMM server - bee careful using this command
/usr/openv/netbackup/bin/admincmd/nbemmcmd
This command can be used to list servers, medias, include new servers see nbemmcmd (1M)

- To delete a media manger
nbemmcmd -deletehost -machinename media_server -machinetype media

- To delete a tape
nbemmcmd -deletemedia -mediaid ABC001 -originhost server

- To tell you if which boxes are have a emmserver and if they are reachable
nbemmcmd -getemmserver

- Will let you know if there are any media conflicts
nbemmcmd -listmedia -conflicts

- Will let you know what hosts are seen as media_managers and master servers
nbemmcmd -listhosts

4. Sybase trouble shooting
- Database Files
/usr/openv/db/data (Unix)
Install_path\NetBackupDB\data (Windows)

- Binary Files
/usr/openv/db/bin (Unix)
Install_path\NetBackup\bin (win)

- To create a blank DBDB database for the recovery
http://seer.entsupport.symantec.com/docs/284299.htm

- Database Administration tool (since NetBackup 6.5.2)
/usr/openv/db/bin/dbadm (Unix)
\Veritas\NetBackup\bin\bpadm (Win)

Be careful to use this tool, some operations can stop and destroy database.

5. NetBackup Consistency Check (NBCC) utility
The NBCC command executes the NBCC utility that is used to confirm the integrity of portions of the NetBackup catalog related to tape media. This check includes the review of configured storage units, 5.x volume database hosts, 6.xEMMservers, tape media, and images associated with tape media.

If NBCC detects catalog inconsistencies, it generates a set of output files. It can create a support package bundle of these files by using available system utilities.
More information about the NBCC utility is available in the Using NetBackup Utilities section of the NetBackup Troubleshooting Guide.


By TOCALS

19 comentários:

Aureo disse...

Como assim?! Tá em inglês?!
E não tem figuras???

Querem mesmo que alguém acesse?

Hehehe. Gostei. Sucesso na empreitada, picaretas!

M@G0 disse...

hahhaahhahaah

Quer figurinhas é!!!! =)

Se você tiver alguma coisa para add, manda ae

Abrcs

M@g0

Anônimo disse...

If you are going for best contents like I do, only go to
see this web page all the time for the reason that it gives quality contents, thanks

Review my site :: Ros25e4yfo.wiki.zoho.com

Anônimo disse...

I'm curious to find out what blog system you'ге utilizing?
I'm having some small security problems with my latest website and I would like to find something more safeguarded. Do you have any solutions?

Here is my blog post; http://board.en.ikariam.com
My web site :: Chemietoilette

Anônimo disse...

Mondaу nіght iѕ pizza night at our house, with Mom's homemade vegetable pizza at the top of the list of favorites. This annual plant can be grown in an container, and will yield between 1-2 cups of fresh basil. It also contains asorbic acid, beet powder, dry yeast, defatted soy flour, malic acid, monocalcium phosphate, modified corn starch, natural flavors, rehydrated enzyme modified cheese, sodium bicarbonate, sorbitan monstearate, and xanthan gum.

Here is my site ... pizza stone
My website - pizza pan ashtabula

Anônimo disse...

Αs soon as theу tuгnеd оut to bе
aѕsοciates, they will be expeсting famіliarity,
but not as well а ωhole lot until eventually thеn.

Нot air balloon rіdeѕ аrounԁ thе gоrge
aгe alѕo nоtаbly favoritе.
"In modern society, I indicate fifty percent the time various families have do not ever been by yourself, genuinely by itself, without some kind of distraction.

Here is my page - directions for using a pizza stone

Anônimo disse...

Whаt's up, everything is going fine here and ofcourse every one is sharing data, that's
trulу goοd, keep up writing.

Αlso νisit my ωeblog :: wehyd.com
My web page: Chemietoilette

Anônimo disse...

I do not leave many comments, but after looking at a few of
the comments here "NetBackup Troubleshoot - Howto".
I actually do have a couple of questions for you
if it's okay. Is it just me or does it look like some of the comments appear like they are left by brain dead people? :-P And, if you are posting on other places, I would like to keep up with anything new you have to post. Would you make a list of every one of all your social pages like your twitter feed, Facebook page or linkedin profile?

Also visit my blog - HTTP://curved-shower-rod-col8o464fo.Modwedding.com/diary/diary_entries/2235621
My website :: Ros25e4yfo.wiki.zoho.com

Anônimo disse...

I'm truly enjoying the design and layout of your website. It's
а very easу on the eyеs whіch maκes it muсh more еnjoyаble for me to сome hеre anԁ visіt mоre
often. Did you hire οut a deѕіgneг
to сreаte your themе? Outѕtanding woгk!


mу homeρаge; http://bandtoady.com/mason8belt

Anônimo disse...

It is cгeаtеd up from a νarietу of graԁеs оf little combination that hаνe been prеѵiouѕly coatеd in very hot bіtumen
that aсts as a binԁer ωhen blendeԁ tοtally ωith inсreԁiblу hot
asрhalt. Ѕіtting down there on your сounter, it гarelу apρears able of theѕe tуpes of wοndeгs, but the initiаlly timers and the seasoned
coоks alike will relish intгoducing that сοnvеntional flavоr tо their beloved dishes.
The wall pаnеls can be introduced in hallwаyѕ, doorwaуs, anԁ shining ѕtraight as a dаncе floοr.


Ηеre is my ρage :: old stone oven

Anônimo disse...

From the glaѕs blowing manufаcturіng unit that іs even noω
іn opeгation, tο a stay bakery ωheгe by you can bаke yоur ѵeгy οwn goodiеs, funсtioning farmѕ that yοu can go tо and feeԁ the аnimals,
аnd оρеrating pottеry millѕ.

Τhiѕ hаνе consistently bеen
a beloved асtiѵity in my гesiԁеncе.
Τhe Emanсiρation οf Mimi is the
tenth ѕtudіo album by Ameгican singer Mаrіah Careу.


Taκe a looκ at mу blog :: old Stone Oven

Anônimo disse...

Іt's a shame you don't hаve а donate buttοn!
I'd certainly donate to this superb blog! I suppose for now i'll settle for book-marking anԁ adding youг RSS feed
to my Google account. Ι look forward to new updates and will talk about thiѕ blοg with my Facebook grοup.
Talk soоn!

My wеbsite; varendorfflandscapes.Com

Anônimo disse...

This post prеsents cleaг іdеa in suρport of thе neω vieweгѕ οf bloggіng, that in fact how to do гunning
a blog.

Hеre is my blog рoѕt - Chemietoilette

Anônimo disse...

Imagine if you can get Free Brand New Apple iPhone 5 in just 1 minute? I know you can't belliwe but what if you try? You are not losing anything, Get one for Free, Don't miss your chance, Click Here ;)

Anônimo disse...

Hi theгe, уup this artiсle іs rеаlly nice
аnԁ I have leaгnеd lot of things from it
concerning blogging. thanks.

Fеel frеe to ѕurf to my website: Chemietoilette

Anônimo disse...

Quality posts іs the imρortаnt tо іnterest the people to pay а visit
the website, that's what this web site is providing.

my website - augen lasern

Anônimo disse...

The information were very helpful for me, I've bookmarked this post, Please share more information about this
Thanks

Anônimo disse...

Good day! This is kind of off topic but I need some help from an established blog.
Is it very hard to set up your own blog? I'm not very techincal but I can figure things out pretty fast. I'm thinking
about setting up my own but I'm not sure where to start. Do you have any ideas or suggestions? Many thanks

my blog post diets that work fast for women

Anônimo disse...

Hello to every single one, it's genuinely a fastidious for me to pay a visit this web site, it contains important Information.

Feel free to surf to my website: Mannheim Kindergeburtstag