<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1785281929395215967</id><updated>2025-06-19T14:28:45.637-04:00</updated><title type='text'>Symantec NetBackup Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>27</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-9104113992092138711</id><published>2010-04-14T14:24:00.000-04:00</published><updated>2010-04-14T14:24:01.171-04:00</updated><title type='text'>Netapp NDMP restore issue</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Canceled NDMP restores on a NetApp NAS device will zero out the files destined  to be restored. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;If an NDMP restore on a NetApp NAS device is  initiated and then canceled, the files destined to be overwritten by the restore  will be zeroed out. &amp;nbsp;This behavior is normal and is not specific to NetBackup,  rather it is a part of the functionality of the NetApp NAS device. &lt;br /&gt;
&lt;br /&gt;
The  following is an excerpt from the NetApp Data OnTap manual documenting the flow  of a restore: &lt;br /&gt;
&amp;nbsp; &amp;nbsp; 1 &amp;nbsp;Data ONTAP catalogs the files that need to be extracted  from the tape.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 2 &amp;nbsp;Data ONTAP creates directories and empty files.&lt;br /&gt;
&amp;nbsp; &amp;nbsp;  3 &amp;nbsp;Data ONTAP reads a file from tape, writes it to disk, and sets the  permissions-including ACLs-on it.&lt;br /&gt;
&amp;nbsp; &amp;nbsp; 4 &amp;nbsp;Data ONTAP repeats steps 2 and 3  until all the specified files are copied from the tape.&lt;br /&gt;
&lt;br /&gt;
There are no  error messages in any log files, as all products are working as designed. &amp;nbsp;Note  than any canceled NDMP restores can have unexpected results, including data  being overwritten with zeros. &lt;br /&gt;
&lt;br /&gt;
If these actions are being performed to  determine the tapes necessary for the restore, use the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpimagelist&lt;/span&gt;&lt;/tt&gt; command with the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;-preview&lt;/span&gt;&lt;/tt&gt; option to list the necessary media  &lt;br /&gt;
&lt;br /&gt;
The &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpimagelist &lt;/span&gt;&lt;/tt&gt;command with  the&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt; -d&lt;/span&gt;&lt;/tt&gt;, &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;-e&lt;/span&gt;&lt;/tt&gt;, and &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;-U&lt;/span&gt;&lt;/tt&gt;  options allows for the specification of start and end dates (mm/dd/yy format)  and having the output formatting in a user friendly mode: &lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;C:\VERITAS\NetBackup\bin\admincmd&amp;gt;bpimagelist -d 09/20/05 -e  09/21/05 -U&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Backed Up &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Expires &amp;nbsp;  &amp;nbsp; &amp;nbsp; Files &amp;nbsp; &amp;nbsp; &amp;nbsp; KB &amp;nbsp;C &amp;nbsp;Sched Type &amp;nbsp; Policy&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;---------------- &amp;nbsp;---------- -------- -------- &amp;nbsp;- &amp;nbsp;------------  ------------&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/21/2005 09:29  &amp;nbsp;10/05/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;224 &amp;nbsp;N &amp;nbsp;User Backup  &amp;nbsp;server01_windows&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/20/2005 14:59  &amp;nbsp;10/04/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;224 &amp;nbsp;N &amp;nbsp;Full Backup  &amp;nbsp;server01_windows&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 16:26  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; 2016 &amp;nbsp;N &amp;nbsp;User Backup  &amp;nbsp;server01_sql&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 16:26  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; 3296 &amp;nbsp;N &amp;nbsp;User Backup  &amp;nbsp;server01_sql&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 16:25  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp;12064 &amp;nbsp;N &amp;nbsp;User Backup  &amp;nbsp;server01_sql&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 16:25  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp; 1376 &amp;nbsp;N &amp;nbsp;User Backup  &amp;nbsp;server01_sql&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 16:24  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;5 &amp;nbsp; &amp;nbsp;16480 &amp;nbsp;N &amp;nbsp;User Backup  &amp;nbsp;server01_sql&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 16:24  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &amp;nbsp;N &amp;nbsp;Full Backup  &amp;nbsp;server01_sql&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;09/09/2005 14:29  &amp;nbsp;09/23/2005 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;226 &amp;nbsp;N &amp;nbsp;Full Backup  &amp;nbsp;server01_windows&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Then, &amp;nbsp;specifying the same command with the  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;-preview&lt;/span&gt;&lt;/tt&gt; option at the end indicates the  media IDs used for the backup: &lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;C:\VERITAS\NetBackup\bin\admincmd&amp;gt;bpimagelist -d 09/20/05 -e  09/21/05 -U -preview&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;CD3643&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;CD3643&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;c:\veritas\netbackup\disk_storage_01\server01_1126301216_C1_F1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;c:\veritas\netbackup\disk_storage_01\server01_1126301182_C1_F1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;c:\veritas\netbackup\disk_storage_01\server01_1126301148_C1_F1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;c:\veritas\netbackup\disk_storage_01\server01_1126301114_C1_F1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;c:\veritas\netbackup\disk_storage_01\server01_1126301080_C1_F1&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/9104113992092138711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/netapp-ndmp-restore-issue.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/9104113992092138711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/9104113992092138711'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/netapp-ndmp-restore-issue.html' title='Netapp NDMP restore issue'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-8467018781070539953</id><published>2010-04-14T12:20:00.001-04:00</published><updated>2010-04-14T12:20:46.917-04:00</updated><title type='text'>Import Disk Images</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;How to import disk images into VERITAS NetBackup (tm) 6.0 &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Modification:&lt;/u&gt;&lt;br /&gt;
Starting with NetBackup 6.0,  disk based images can be imported into NetBackup. The process for importing disk  images is essentially the same as importing images from tape. &amp;nbsp;The NetBackup  Administration Console will have additional entries during the &quot;phase one  import&quot; to allow selecting a disk path instead of a Media ID.&lt;br /&gt;
&lt;br /&gt;
In order to  import disk based images, the images that were written to a disk storage unit  must be present on the server. &amp;nbsp;Copy the disk images to a directory on the  server, or restore from a backup that contains the images from a disk storage  unit. &amp;nbsp;Once the files reside in a directory on the server, the NetBackup  Administration Console or command line can be used to import the disk  images.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Importing NetBackup disk images using the NetBackup  Administration Console&lt;/u&gt;&lt;br /&gt;
First, run the &quot;phase 1 import&quot;.&lt;br /&gt;
1. Start the  NetBackup Administration Console and go to the &lt;b&gt;Catalog &lt;/b&gt;section.&lt;br /&gt;
2.  From the menu select &lt;b&gt;Actions &lt;/b&gt;&amp;gt; &lt;b&gt;Initiate Import &lt;/b&gt;and a dialog box  will appear.&lt;br /&gt;
3. Check the &quot;&lt;b&gt;The images to be imported are on disk&lt;/b&gt;&quot;  radio button and enter a disk path to import images from.&lt;br /&gt;
4. Check the  Activity Monitor for progress of the phase one import.&lt;br /&gt;
&lt;br /&gt;
Figure 1 shows the  new &lt;b&gt;Initialize Import &lt;/b&gt;screen.&lt;br /&gt;
&lt;b&gt;Figure 1&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/279174/60_import.jpg&quot; /&gt;  &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;Once the &quot;phase 1 import&quot; completes, run the &quot;phase 2  import&quot;.&lt;br /&gt;
1. Start the NetBackup Administration Console and go to the  &lt;b&gt;Catalog &lt;/b&gt;section.&lt;br /&gt;
2. Under &lt;b&gt;Pathname:&lt;/b&gt;,&lt;b&gt; &lt;/b&gt;enter the disk path  used for the phase 2 import. &lt;br /&gt;
3. Select a date range for the images to import  and click the &lt;b&gt;Search&lt;/b&gt; button.&lt;br /&gt;
4. Select Backup IDs to import from the  search results.&lt;br /&gt;
5. From the menu select &lt;b&gt;Actions &lt;/b&gt;&amp;gt; &lt;b&gt;Import &lt;/b&gt;to  begin the phase 2 import.&lt;br /&gt;
6. Check the Activity Monitor for progress of the  phase 2 import.&lt;br /&gt;
&lt;br /&gt;
Once the phase 2 import completes successfully, the disk  images will be available for restores.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Importing NetBackup disk images using the command  line&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;The command line utility &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpimport&lt;/span&gt;&lt;/tt&gt; can also be used to import images from a  disk storage unit. &amp;nbsp;This will use the &quot;&lt;b&gt;-id&lt;/b&gt;&quot; option that was previously  used to pass the media ID to use for the import. &amp;nbsp;However, the &quot;&lt;b&gt;-id&lt;/b&gt;&quot;  option now supports passing either a disk path or a media ID.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;To start a phase 1 import from the command line run the  command:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd  /usr/openv/netbackup/bin/admincmd&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  ./bpimport -create_db_info -id &lt;disk_path&gt; -L  /usr/tmp/phase1.log&lt;/disk_path&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;Enter the disk path to use for the import. &amp;nbsp;Then, monitor the  &lt;b&gt;/usr/tmp/phase1.log&lt;/b&gt; file to monitor the progress of the phase 1  import.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;To start a phase 2 import from the command line run the  command:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd  /usr/openv/netbackup/bin/admincmd&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  ./bpimport -id &lt;disk_path&gt; -s &lt;startdate&gt; -e &lt;enddate&gt; -L  /usr/tmp/phase2.log&lt;/enddate&gt;&lt;/startdate&gt;&lt;/disk_path&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;Enter the disk path to use for the import as well as the date  range for the images to import. &amp;nbsp;The format to use for the start and end dates  is &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&#39;MM/DD/YYYY hh:mm:ss&#39;&lt;/span&gt;&lt;/tt&gt;. &amp;nbsp;Then, monitor  the &lt;b&gt;/usr/tmp/phase2.log&lt;/b&gt; file to monitor the progress of the phase 2  import.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;Once the phase 2 import completes successfully the disk images  will be available for restores.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Notes&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
It will not be possible to import disk  images from a NetBackup 5.x server into NetBackup 6.0. &amp;nbsp;This is due to a  difference in the way disk images are handled in NetBackup 6.0. &amp;nbsp;A phase 1  import of a directory that contains NetBackup 5.x disk images will fail with the  message &quot;INF - No importable NetBackup disk images found in path &lt;path name=&quot;&quot;&gt;&quot;. &amp;nbsp;The activity monitor will show a Status 0 for the phase 1 import,  even though no disk images are processed.&lt;br /&gt;
&lt;br /&gt;
Imports from a read only  filesystem are not supported. &amp;nbsp;Attempts to import from a read only filesystem  will result in an &quot;invalid disk header file&quot; error.&lt;/path&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/8467018781070539953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/import-disk-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/8467018781070539953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/8467018781070539953'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/import-disk-images.html' title='Import Disk Images'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-8751933375068828354</id><published>2010-04-14T12:19:00.001-04:00</published><updated>2010-04-14T12:19:34.387-04:00</updated><title type='text'></title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;How to correctly decommission a NetBackup Media Server and remove it from the  NetBackup environment &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;&lt;br /&gt;
Modification:&lt;/b&gt;  &lt;br /&gt;
Before removing a media server from the NetBackup environment, several  activities must be completed, or restores will require the import of tapes,  which is a time consuming process. &lt;br /&gt;
&lt;br /&gt;
These activities include:  &lt;br /&gt;
&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Determining which media need to be related with a new media server  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Updating the internal NetBackup database references to any tapes  with active images that are moved to a new media server  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Removing the media server from the NetBackup environment  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Updating all references involving storage units, policies, and  volume groups and pools  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Changing the configuration so NetBackup does not continue to  recognize the old system as a valid media server&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
Perform the following steps to decommission a media  server:&lt;br /&gt;
&lt;br /&gt;
1. On the media server being decommissioned, determine which  tapes have images that are not expired. This is done by running the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpmedialist &lt;/span&gt;&lt;/tt&gt;command with the following options  (Note: Use&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt; -l &lt;/span&gt;&lt;/tt&gt;to get one line of output  per tape): &lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;nbsp; &amp;nbsp; bpmedialist -mlist -l -h  &lt;media_server_being_decommissioned&gt;&lt;/media_server_being_decommissioned&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
2. Select another  media server (or the master server, if it is also a media server) to inherit the  tapes from the decommissioned media server. &amp;nbsp;Then the NetBackup internal  databases (the mediaDB and the images database) need to be updated to reflect  the new media server assignment. Since the mediaDB databases are binary, they  can only be updated by the use of the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpmedia  &lt;/span&gt;&lt;/tt&gt;command. To update these databases, execute the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpmedia &lt;/span&gt;&lt;/tt&gt;command with the following options for each  tape identified in step 1:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;nbsp; &amp;nbsp; bpmedia -movedb  -ev &lt;media_id&gt; -oldserver &lt;decommissioned_media_server&gt; -newserver  &lt;media_server_inheriting_media&gt;&lt;/media_server_inheriting_media&gt;&lt;/decommissioned_media_server&gt;&lt;/media_id&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
3. Move all tapes in  all robots attached to the decommissioned media server to non-robotic status  (standalone). This is done through the NetBackup Administrative Console. &amp;nbsp;Under  &lt;b&gt;Media and Device management&lt;/b&gt;, select &lt;b&gt;Media&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/230047/Image1.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
Next, select the media to be moved, right-click on it, and select  &lt;b&gt;Move&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/230047/Image2.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
In the resulting dialog box, specify &lt;b&gt;Standalone&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/230047/Image3.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
Multiple media can be selected using the &lt;ctrl&gt; or &lt;shift&gt;  keys. &lt;br /&gt;
&lt;br /&gt;
4. After moving all tapes in all robots associated with the  decommissioned media server to standalone, use the Administrative Console to  delete the tape drives and then the robots from the decommissioned media  server&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/230047/Image4.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
5. Once the tape drives and robots are deleted, delete all storage units  associated with all robots on decommissioned media server through the  Administrative Console&lt;br /&gt;
&lt;br /&gt;
6. If any robots from the decommissioned media  server are being moved to other media servers, power down the affected servers  and make any cabling changes required, and physically attach the robots to the  new media servers. Once the robots are recognized by the operating systems on  the new media servers, add the robot and tape drives to those media servers  through the Administrative Console. &amp;nbsp;Then, in the NetBackup Administrative  Console, create the appropriate storage units. Next, physically load the tapes  from the decommissioned media server into the correct robot. Finally, inventory  all new robots, or robots with new tapes. This updates NetBackup with thew new  location of all tapes in those robots. &lt;br /&gt;
&lt;br /&gt;
7. Modify any policy that  explicitly specifies any of the storage units on the decommissioned media  server. These policies must point to any other defined storage unit in the  NetBackup configuration or to&lt;b&gt; Any Available&lt;/b&gt;, as appropriate.&lt;br /&gt;
&lt;br /&gt;
8.  Update the &lt;b&gt;bp.conf &lt;/b&gt;and &lt;b&gt;vm.conf&lt;/b&gt; files on the master server and all  media servers (or the servers list on a Windows master or media server) in the  NetBackup environment to remove any reference to the decommissioned media  server. Also update the server list on all clients to no longer include a  reference to the decommissioned media server. Cycle the NetBackup  daemons/services on any system where these files are modified.&lt;/shift&gt;&lt;/ctrl&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/8751933375068828354/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/how-to-correctly-decommission-netbackup.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/8751933375068828354'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/8751933375068828354'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/how-to-correctly-decommission-netbackup.html' title=''/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-7239851264049810504</id><published>2010-04-14T12:18:00.001-04:00</published><updated>2010-04-14T12:18:24.458-04:00</updated><title type='text'>Creating catarc policy</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;How to create a Catalog Archiving (catarc) policy &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;&lt;b&gt;Modification:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;The following  steps can be taken to create a catalog archiving policy. There are several  features that are specific to a catalog archiving policy. &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
For example:&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;The policy must be named &lt;b&gt;catarc&lt;/b&gt;. &amp;nbsp;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;The policy must also be inactive. &amp;nbsp;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;The catalog archiving commands must be done manually. The  administrator must specify a list of files to archive using the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;command. As a result, there isn&#39;t a way to  run scheduled catalog archiving backups.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
To create the policy in the GUI, do the following:&lt;br /&gt;
1.  Go to the &lt;b&gt;Policies &lt;/b&gt;tab in the GUI and create a new policy&lt;br /&gt;
2. For the  &lt;b&gt;Policy name:&lt;/b&gt; enter &lt;b&gt;catarc&lt;/b&gt;&lt;br /&gt;
3. For the &lt;b&gt;Policy type:&lt;/b&gt; enter  &lt;b&gt;Standard&lt;/b&gt;&lt;br /&gt;
4. Select the storage unit and volume pool you want to use  for catalog archiving&lt;br /&gt;
5. Clear the &lt;b&gt;Active. Go into effect at: &lt;/b&gt;check  box. The policy is not run by the scheduler. Rather the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatarc &lt;/span&gt;&lt;/tt&gt;command activates this special policy to  perform a catalog backup job, then deactivates the policy after the job is  done.&lt;br /&gt;
6. Accept the defaults for all the other options in the &lt;b&gt;Attributes  &lt;/b&gt;tab of the policy&lt;br /&gt;
&lt;br /&gt;
Next, create a schedule for the &lt;b&gt;catarc&lt;/b&gt;  policy.&lt;br /&gt;
7. Go to the &lt;b&gt;Schedules &lt;/b&gt;tab of the policy&lt;br /&gt;
8. Create a new  schedule. You can enter any name for the schedule. Only the policy name must be  &lt;b&gt;catarc&lt;/b&gt;. It is valid to name the schedule &lt;b&gt;catarc&lt;/b&gt; as well.&lt;br /&gt;
9. Set  the &lt;b&gt;Type of backup:&lt;/b&gt; to be&lt;b&gt; User Backup&lt;/b&gt;&lt;br /&gt;
10. Select a retention  level for the catalog archive. This must be at least as long as the longest  retention period being archived.&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; Failure to set the retention  level of the catalog archive for a time at least as long as the longest  retention period of the backups being archived can result in the loss of catalog  data.&lt;br /&gt;
11. Accept the defaults for all the other options in the &lt;b&gt;Schedule  &lt;/b&gt;tab of the policy&lt;br /&gt;
12. Go to the &lt;b&gt;Start Window&lt;/b&gt; tab in the schedule.  Enter a backup window for when the catalog archiving commands can be run by the  administrator.&lt;br /&gt;
&lt;br /&gt;
Finally, complete the &lt;b&gt;Backup Selections&lt;/b&gt; and  &lt;b&gt;Clients &lt;/b&gt;tab entries.&lt;br /&gt;
13. Go to the &lt;b&gt;Files/Backup Selections &lt;/b&gt;tab  of the policy&lt;br /&gt;
14. Select &lt;b&gt;New &lt;/b&gt;to add the following path to the  backup:&lt;b&gt; /usr/openv/netbackup/db/images&lt;/b&gt;&lt;br /&gt;
15. Go to the &lt;b&gt;Clients  &lt;/b&gt;tab of the policy&lt;br /&gt;
16. Add the master server to the client list and select  the correct hardware/OS type&lt;br /&gt;
&lt;br /&gt;
Save the new policy and exit the GUI. The  &lt;b&gt;catarc&lt;/b&gt; policy is now available for catalog archiving&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/7239851264049810504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/creating-catarc-policy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/7239851264049810504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/7239851264049810504'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/creating-catarc-policy.html' title='Creating catarc policy'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-3623368837780102407</id><published>2010-04-14T12:17:00.001-04:00</published><updated>2010-04-14T12:17:27.924-04:00</updated><title type='text'>Catalog Archiving process</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Overview of Catalog Archiving process &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;&lt;b&gt;Modification:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;The following is  an overview of the catalog archiving process. Catalog archiving is meant to be  used to save disk space used by images with infinite or multi-year retention  periods. It can be used for any image that will most likely not be restored, but  must remain in the image catalog. It should not be used as a method to reclaim  disk space when a catalog filesystem fills up. For those cases, investigate  catalog compression or adding disk space and growing the filesystem.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;Warning:&lt;/b&gt; Catalog archiving modifies existing  catalog images. As a result, it should never be run when the catalog filesystem  is 100% full. Entries are added to the header files in  &lt;b&gt;/usr/openv/netbackup/db/images&lt;/b&gt;. If the filesystem is at 100%, it is  impossible to predict what would happen.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note: &lt;/b&gt;There is no simple  method to determine what tape the catalog has been archived to. The&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt; bpcatlist -offline &lt;/span&gt;&lt;/tt&gt;command is the only  administrative command to determine what images have been archived. This command  does not list what tape was used for the archive. As a result, caution should be  exercised to ensure the tapes used for catalog archiving are available for  restoring the archived catalog images. Either create a seperate volume pool to  use exclusively for catalog archives or find a method to label the tape as a  catalog archive tape.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1: Use &lt;/b&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;&lt;b&gt;to determine what image files will be  archived.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Before attempting to run &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatarc  &lt;/span&gt;&lt;/tt&gt;or &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatrm &lt;/span&gt;&lt;/tt&gt;use the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;command to display what images are  available for archiving. Running&lt;b&gt; &lt;/b&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist  &lt;/span&gt;&lt;/tt&gt;alone will not modify any catalog images. Only when the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;output is piped to &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatarc &lt;/span&gt;&lt;/tt&gt;and &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatrm  &lt;/span&gt;&lt;/tt&gt;will the images be modified and the image &lt;b&gt;.f&lt;/b&gt; files  removed.&lt;br /&gt;
&lt;br /&gt;
To determine what images are available for catalog archiving,  run the following command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  /usr/openv/netbackup/bin/admincmd/bpcatlist -online&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
To  determine what images have been previously archived run the following  command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  /usr/openv/netbackup/bin/admincmd/bpcatlist  -offline&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; This should return &quot;no entity was  found&quot; if catalog archiving has not been previously run. &amp;nbsp;For more information  on what the fields in the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;output  indicate, refer TechNote 273999.&lt;br /&gt;
&lt;br /&gt;
To display all images for a specific  client prior to January 1st, 2000 run the command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# bpcatlist -client &lt;name&gt; -before Jan 1  2000&lt;/name&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
To display the help for the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;command run the command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# bpcatlist -help&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Once the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;output correctly lists all the images that  are to be archived, then the archive itself can be run.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2:  Running the catalog archive.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Before running the catalog archive,  create a &lt;b&gt;catarc&lt;/b&gt; schedule. This is required in order for the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatarc &lt;/span&gt;&lt;/tt&gt;command to successfully process images.  Refer to the 5.x System Administrator&#39;s Guide or TechNote 274028 for more  details on creating a &lt;b&gt;catarc&lt;/b&gt; policy. &amp;nbsp;When initiated, the catalog archive  will create a Job ID for each time the catalog archiving is run. &lt;br /&gt;
&lt;br /&gt;
To run  the catalog archive, run the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist  &lt;/span&gt;&lt;/tt&gt;command with the same options used in step 1 to display images. Then  just pipe the output through &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatarc &lt;/span&gt;&lt;/tt&gt;and  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatrm&lt;/span&gt;&lt;/tt&gt;.&lt;br /&gt;
&lt;br /&gt;
Eg. &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# bpcatlist -client all -before Jan 1 2000 | bpcatarc |  bpcatrm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
A Job ID will appear in the activity monitor. The  command will wait until the backup completes before returning the prompt. It  will report an error only if the catalog archive fails. Otherwise the commands  will simply return to the prompt. The &lt;b&gt;File List:&lt;/b&gt; section of the Job  Details in the Activity Monitor will show a list of image files that have been  processed. When the job completes with a status 0, the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatrm &lt;/span&gt;&lt;/tt&gt;will remove the corresponding &lt;b&gt;.f&lt;/b&gt;  files. If the job fails, then no catalog &lt;b&gt;.f&lt;/b&gt; files will be  removed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 3: Restoring the Catalog archive&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
To restore  the catalog archive, you must first use the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist  &lt;/span&gt;&lt;/tt&gt;command to list the files that need to be restored. Once &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;displays the proper files to restore, then  the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatres &lt;/span&gt;&lt;/tt&gt;can be run to restore the  actual files.&lt;br /&gt;
&lt;br /&gt;
To restore all the archived files from Step 2 above, run  the command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# bpcatlist -client all -before Jan 1  2000 | bpcatres&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
This will restore all the catalog archive  files prior to Jan 1, 2000.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Some miscellaneous notes about catalog  archiving:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
In the  &lt;b&gt;/usr/openv/netbackup/db/images/&lt;master&gt;/&lt;date_dir&gt;&lt;/date_dir&gt;&lt;/master&gt;&lt;/b&gt; directory,  a header and files file will be created for the catalog archive job. &lt;br /&gt;
The  header file will be named: &lt;b&gt;catarc_&lt;time&gt;_UBAK &lt;/time&gt;&lt;/b&gt;&lt;br /&gt;
The files file  will be named: &lt;b&gt;catarc_&lt;time&gt;_UBAK.f&lt;/time&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Do not attempt to  archive the &lt;b&gt;catarc_&lt;time&gt;_UBAK&lt;/time&gt;&lt;/b&gt; image files. These are not archived  by default. Attempting to archive catalog archives will make it nearly  impossible to determine what files are needed for restoring catalog entries. The  &lt;b&gt;catarc_&lt;time&gt;_UBAK&lt;/time&gt;&lt;/b&gt; image files contain a listing of what catalog  images were archived and need to be present and intact on the master in order to  do a catalog restore.&lt;br /&gt;
&lt;br /&gt;
The catalog archive images will also appear in  the&lt;b&gt; Backup, Archive and Restore&lt;/b&gt; GUI. The &lt;b&gt;catarc&lt;/b&gt; policy is of type  &lt;b&gt;Standard&lt;/b&gt; so it will display the catalog archive backups along with the  regular filesystem backups. However, this is not the correct method to restore  archived files. Catalog archive files should be restored using the&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt; bpcatlist &lt;options&gt; | bpcatres  &lt;/options&gt;&lt;/span&gt;&lt;/tt&gt;commands.&lt;br /&gt;
&lt;br /&gt;
Running&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt; bpcatlist |  bpcatarc |bpcatrm &lt;/span&gt;&lt;/tt&gt;as listed on page 229 of the NetBackup 5.0 System  Administrator&#39;s Guide 1 will archive the entire NetBackup catalog. To recover  from this, run&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt; bpcatlist |bpcatres &lt;/span&gt;&lt;/tt&gt;to  restore all archived images. Then work with the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist &lt;/span&gt;&lt;/tt&gt;command to determine what options are  needed to archive only the desired images.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Some recommendations for  catalog archiving:&lt;/b&gt;&lt;br /&gt;
Perform catalog archiving operations when NetBackup is  in a quiet state. It is unknown what would happen to an active backup if  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcatlist | bpcatarc | bpcatrm&lt;/span&gt;&lt;/tt&gt; &amp;nbsp;was  running during an active backup.&lt;br /&gt;
&lt;br /&gt;
To ensure that catalog backup images are  not on the same tapes as user backups, create a separate media pool for catalog  archives.&lt;br /&gt;
&lt;br /&gt;
You may find it useful to set up, then designate, a special  retention level for catalog archive images. To specify retention levels, go to  &lt;b&gt;Host Properties | Master Server | Retention Periods&lt;/b&gt; or see &quot;Retention  Periods Properties&quot; on page 369 of the NetBackup 5.0 System Administrator&#39;s  Guide 1.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/3623368837780102407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/catalog-archiving-process.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/3623368837780102407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/3623368837780102407'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/catalog-archiving-process.html' title='Catalog Archiving process'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-648913741599157461</id><published>2010-04-14T12:16:00.001-04:00</published><updated>2010-04-14T12:16:16.243-04:00</updated><title type='text'>Configure Hot Catalog Backups</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;How to configure Hot Catalog Backups with Veritas  NetBackup (tm) 6.0. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;Backing up the NetBackup catalogs is essential to proper  maintenance of a NetBackup environment. &amp;nbsp;To aid in this practice, NetBackup 6.0  introduces the concept of Hot Catalog Backups. &amp;nbsp;Hot Catalog Backups do not have  the limitation of needing to run when no other backup is running, so this  greatly simplifies the scheduling of catalog backups.&lt;br /&gt;
&lt;br /&gt;
Hot Catalog Backups  are configured on the NetBackup Master Server. &amp;nbsp;They will automatically backup  all &amp;nbsp;for all necessary servers in the NetBackup environment, as well as the  Disaster Recovery Information file which is created. &amp;nbsp;All of these components  are necessary to completely recover NetBackup catalogs.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;To configure  Hot Catalog Backups:&lt;/b&gt;&lt;br /&gt;
1. From the NetBackup Administration Console screen,  select the &lt;b&gt;Configure the Catalog Backup&lt;/b&gt;.&lt;br /&gt;
2. In the first screen of the  NetBackup Catalog Backup Wizard, click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
3. On the Catalog Backup  Method screen, verify that &lt;b&gt;Online, hot catalog backup&lt;/b&gt; is selected and  click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
4. On the NetBackup Catalog Backup Policy screen, verify  that &lt;b&gt;Create a new catalog backup policy&lt;/b&gt; is selected, click  &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
5. On the Policy Name and Type screen, enter a valid Policy name  and click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
6. On the Backup Type screen, select to do a &lt;b&gt;Full  Backup&lt;/b&gt;. &amp;nbsp;If desired, select to perform an &lt;b&gt;Incremental Backup&lt;/b&gt;, either  &lt;b&gt;Incremental &lt;/b&gt;or &lt;b&gt;Differential&lt;/b&gt;. &amp;nbsp;Click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
7. On the  Rotation screen, set the desired rotation frequency and click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
8.  On the Start Window screen, select the desired Start Window. &amp;nbsp;Because these are  Hot Catalog backups, the Start Window does not need to be outside of the Start  Window for normal backups. &amp;nbsp;Click &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
9. On the Catalog Disaster  Recovery Method screen, select whether to use &lt;b&gt;Disk and Tape&lt;/b&gt;, &lt;b&gt;Disk  only&lt;/b&gt;, or &lt;b&gt;Tape only&lt;/b&gt;. &amp;nbsp;If using disk, provide an appropriate path.  &amp;nbsp;This path is usually a location other than where NetBackup is installed.  &amp;nbsp;Provide &lt;b&gt;Logon&lt;/b&gt; and &lt;b&gt;Password &lt;/b&gt;information if necessary. &amp;nbsp;For tape,  provide an appropriate &lt;b&gt;Media ID&lt;/b&gt; and &lt;b&gt;Media density&lt;/b&gt;. &amp;nbsp;Click  &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
10. On the E-mail Catalog Disaster Recovery Information screen,  choose either &lt;b&gt;Yes&lt;/b&gt; or &lt;b&gt;No&lt;/b&gt; to have the Disaster Recovery Information  stored via email. &amp;nbsp;Provide an appropriate &lt;b&gt;E-mail address&lt;/b&gt; and click  &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
11. To save the Hot Catalog Backup policy, click  &lt;b&gt;Finish&lt;/b&gt;.&lt;br /&gt;
12. After NetBackup finishes adding the policy, verify it  appears on the NetBackup Catalog Backup Policy screen. &amp;nbsp;This time, verify that  &lt;b&gt;Create a new catalog backup policy&lt;/b&gt; is not selected and click  &lt;b&gt;Next&lt;/b&gt;.&lt;br /&gt;
13. You have now finished the Catalog backup configuration  process. &amp;nbsp;Click &lt;b&gt;Finish&lt;/b&gt; to exit the wizard.&lt;br /&gt;
&lt;br /&gt;
The policy will now  appear in the Policies dialog of the NetBackup Administration Console. &amp;nbsp;It can  be modified similar to any other policy.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/648913741599157461/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/configure-hot-catalog-backups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/648913741599157461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/648913741599157461'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/configure-hot-catalog-backups.html' title='Configure Hot Catalog Backups'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-2355397328751744481</id><published>2010-04-14T12:15:00.000-04:00</published><updated>2010-04-14T12:15:16.012-04:00</updated><title type='text'>NBDN.log corruption</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;The NBDB database transaction log (NBDB.log) may become too large or corrupt for  proper NetBackup operation. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Overview&lt;/u&gt;:&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;It is possible for the transaction log  for the ASA database that runs under NetBackup to become corrupt or too large  for proper operation. For example, in a file system that limits file size to  2Gb, the transaction log will be truncated and corrupt once it reaches the 2Gb  limit. The transaction log is truncated during online catalog backup, but it  might be possible that catalog backups did not take place to prevent the log  from growing too large.&lt;br /&gt;
&lt;br /&gt;
The ASA database failing due to transaction log  problems can include these errors:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;- Catalog backups and regular  backups can hang. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;- Operator is unable to cancel  queued jobs. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;- The EMM database does not come  back up after restarting NetBackup. &lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Troubleshooting&lt;/u&gt;: &lt;br /&gt;
Running the command  &quot;/usr/openv/db/nbdb_ping&quot; returns:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Database [NBDB]  is not available.&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Log Files&lt;/u&gt;: &lt;br /&gt;
There may be  errors reported by the ASA database engine in the  &lt;b&gt;/usr/openv/db/log/server.log&lt;/b&gt; file as well. These errors would look  similar to the following:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Error: Cannot open  transaction log file -- Can&#39;t use log file &quot;/usr/openv/db/data/NBDB.log&quot; since  it is shorter than expected &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Resolution&lt;/u&gt;:  &lt;br /&gt;
Rebuild the transaction log via the following steps:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;1. Stop NetBackup if it is not  already stopped:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/bin/goodies/netbackup  stop&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;2. Remove NBDB and BMRDB from  auto_start option&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdb_admin -auto_start  NONE&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;3. Start the ASA database  engine&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdbms_start_server&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;4. To add the necessary environment  variables to your shell, run the command:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;.  /usr/openv/db/vxdbms_env.sh&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;i&gt;(please make note of the period  at the beginning of the line).&lt;/i&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;5. Change directories to where the  NBDB resides: &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;cd  /usr/openv/db/data &lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;6. Remove or rename the bad  transaction log:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;mv  NBDB.log NBDB.log.bad&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;7. To force database recovery, while  still in the /usr/openv/db/data directory, run the command (please note, the  NBDB.log will not be created until after step 10):&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/dbeng9 -f NBDB&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;8. Stop the database by running the  command: &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdbms_start_server  -stop&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;9. Add NBDB and BMRDB to auto_start  option (Add BMRDB only if using BMR)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdb_admin -auto_start  NBDB&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdb_admin -auto_start  BMRDB&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;10. To start the database, run the  command: &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdbms_start_server&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;11. To test if the database is  operational, run the command:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/db/bin/nbdb_ping&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;which should return something  similar to the following:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Database  [NBDB] is alive and well on server [NB_master1].&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/2355397328751744481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/nbdnlog-corruption.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/2355397328751744481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/2355397328751744481'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/nbdnlog-corruption.html' title='NBDN.log corruption'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-1505718687245184603</id><published>2010-04-14T12:13:00.001-04:00</published><updated>2010-04-14T12:13:52.284-04:00</updated><title type='text'>Updating replaced tape drive in NBU</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;&amp;nbsp;How to update Netbackup for a replaced tape drive without deleting and  re-adding the drive &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Manual&lt;/u&gt;: Veritas Netbackup (tmp) 6.0 Commands for UNIX,  Pages: 420-423&lt;br /&gt;
&lt;u&gt;Modification Type&lt;/u&gt;:  Supplement&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Modification&lt;/u&gt;:&lt;br /&gt;
When a tape drive is replaced, the  Veritas Netbackup (tmp) configuration will need to be updated to reflect the  changed drive.&lt;br /&gt;
&lt;br /&gt;
This procedure is needs to be followed:&lt;br /&gt;
&lt;br /&gt;
To swap a  shared serialized drive or to update drive firmware on a shared drive &lt;br /&gt;
1 Down  the drive. In the Device Monitor, select the drive to swap or update. From the  Actions menu, select Down Drive. &lt;br /&gt;
&lt;br /&gt;
2 Replace the drive or physically  update the firmware for the drive. If you replace the drive, specify the same  SCSI ID for the new drive as the old drive. &lt;br /&gt;
&lt;br /&gt;
3 To produce a list of new  and missing hardware, run tpautoconf -report_disc on one of the reconfigured  servers. This command scans for &amp;nbsp;new hardware and produce a report that shows  the new and the replaced hardware. &lt;br /&gt;
&lt;br /&gt;
4 Ensure that all servers that share  the new hardware are up and that all Netbackup services are active. &lt;br /&gt;
&lt;br /&gt;
5  Run tpautoconf with the -replace_drivedrive_name -path path_name options or  -replace_robotrobot_number -pathrobot_path options. The tpautoconfcommand reads  the serial number from the new hardware device and then updates the EMM  database. &lt;br /&gt;
&lt;br /&gt;
6 If the new device is an unserialized drive, run the device  configuration wizard on all servers that share the drive. If the new device is a  robot, run the device configuration wizard on the server that is the robot  control host. &lt;br /&gt;
&lt;br /&gt;
7 Up the drive. In the Device Monitor, select the new  drive. From the Actions menu, select Up Drive. &lt;br /&gt;
&lt;br /&gt;
Here is an example but  make sure the drive is &quot;down&quot; prior to running the tpautoconf -replace_drive. If  it is not the info could actually revert back to the old drive information:  &lt;br /&gt;
&lt;br /&gt;
Once the drive is replaced, run the following command to report the  discrepancy:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/volmgr/bin/tpautoconf  -report_disc&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
This produces information similar to the  following:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;======================= New Device  (Tape) ============&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Inquiry = &quot;QUANTUM  DLT7000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 245F&quot;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Serial Number =  PXA51S3232&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Drive Path =  &lt;b&gt;/dev/rmt/21cbn&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Found as TLD(0),  Drive = 1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;===================== Missing  Device (Drive) =========&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Drive Name =  QUANTUMDLT70001&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Drive Path =  /dev/rmt/11cbn&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Inquiry = &quot;QUANTUM  DLT7000 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 245F&quot;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Serial Number =  PXA51S3587&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;TLD(0) definition, Drive =  1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Hosts configured for this  device:&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Host =  HOSTA&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Host =  HOSTB&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
This reports the discrepancy between the device  database and the new device found. Take note of the new Drive Path for the  device as this will be needed for the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tpautoconf&lt;/span&gt;&lt;/tt&gt; command. &amp;nbsp;To resolve this,  run:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd  /usr/openv/volmgr/bin&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#./tpautoconf  -replace_drive QUANTUMDLT70001 -path  &lt;b&gt;/dev/rmt/21cbn&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Found a  matching device in global DB, QUANTUMDLT70001 on host  HOSTA&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;update of local DB on host HOSTA  completed&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;globalDB update for host  HOSTA completed&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Found a matching  device in global DB, QUANTUMDLT70001 on host HOSTB&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;update of local DB on host HOSTB  completed&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;globalDB update for host  HOSTB completed &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
This will update the global and local  database to reflect the new device being replaced.&lt;br /&gt;
&lt;br /&gt;
Up the drive at this  point.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/1505718687245184603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/updating-replaced-tape-drive-in-nbu.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/1505718687245184603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/1505718687245184603'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/updating-replaced-tape-drive-in-nbu.html' title='Updating replaced tape drive in NBU'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-1742868116652425613</id><published>2010-04-14T12:12:00.001-04:00</published><updated>2010-04-14T12:12:33.336-04:00</updated><title type='text'>Drive Status</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;The following list describes the current drive status field descriptions for  drives within a Veritas NetBackup (tm) configuration. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Manual&lt;/u&gt;:&lt;br /&gt;
Veritas NetBackup (tm) 6.5 Troubleshooting  Guide for UNIX, Linux, and Windows&lt;br /&gt;
Veritas NetBackup (tm) 6.0 Media Manager  System Administrator&#39;s Guide for UNIX, Page: 240-242&lt;br /&gt;
Veritas NetBackup (tm)  6.0 Media Manager System Administrator&#39;s Guide for Windows, Page:  223-225&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Modification Type&lt;/u&gt;:  Supplement&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Modification&lt;/u&gt;:&lt;br /&gt;
The following NetBackup Drive statuses  can appear in command line output or in the Device Monitor in the NetBackup  Administration Console. &lt;br /&gt;
&lt;br /&gt;
Column Description Note for the Administration  Console:&lt;br /&gt;
Drive Name - Drive name assigned to the drive during  configuration.&lt;br /&gt;
Control - &amp;nbsp;Control mode for the drive can be any of the  following: robot_designation.&lt;i&gt; &lt;/i&gt;For example, TLD.&lt;br /&gt;
The robotic daemon  managing the drive has connected to LTID (the device daemon and Device Manager  service) and is running. The drive is in the usable state. AVR is assumed to be  active for the drive, as all robotic drives must be in automatic volume  recognition (AVR) mode (not OPR mode).&lt;br /&gt;
Applies only to robotic  drives.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;DOWN-&lt;robot_designation&gt;&lt;/robot_designation&gt;&lt;/b&gt; &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;For example,  &lt;b&gt;DOWN-TLD&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The drive is in an usable state  because it was downed by an operator or by NetBackup; or when the drive was  configured, it was added as a down drive. Applies only to robotic  drives.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;DOWN&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;In this mode, the drive is not  available to Media Manager. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Applies only to standalone  drives.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;A drive can be in a &lt;b&gt;DOWN&lt;/b&gt; mode  because of problems or because it was set to that mode using &lt;b&gt;Actions |&lt;/b&gt;  &lt;b&gt;Down Drive&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;PEND-&lt;robot_designation&gt;&lt;/robot_designation&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;For example, &lt;b&gt;PEND-TLD&lt;/b&gt;.  &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The drive is in a pending status.  &amp;nbsp;Applies only to robotic drives.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;PEND&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The drive is in a pending status.  &amp;nbsp;Applies only to standalone drives. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;If the drive reports a &lt;b&gt;SCSI  RESERVATION CONFLICT&lt;/b&gt; status, this column will show &lt;b&gt;PEND&lt;/b&gt;. This status  means that the drive is reserved when it should not be reserved. Some server  operating systems (Windows, Tru64, and HP-UX) may report &lt;b&gt;PEND &lt;/b&gt;if the  drive reports &lt;b&gt;Busy &lt;/b&gt;when opened. You can use the &lt;b&gt;AVRD_PEND_DELAY&lt;/b&gt;  entry in the Media Manager configuration file to filter out these  reports.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;AVR&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The drive is running with automatic  volume recognition enabled.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The drive is in a usable state with  automatic volume recognition enabled, but the robotic daemon managing the drive  is not connected or is not &amp;nbsp;working. Automated media mounts do not occur with a  drive in this state (unless the media is in a drive on the system, or, this is a  standalone tape drive), but the operator can physically mount a tape in the  drive or use &lt;b&gt;robtest&lt;/b&gt; to cause a tape mount as needed.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;OPR&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The drive is running in a secure  mode where operators must manually assign mount requests to the drive. AVRD is  not scanning&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;this drive when in this mode. This  mode gives operators control over which mount requests can be  satisfied.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Applies only to standalone  drives.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;NO-SCAN&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;A drive is configured for shared  storage option (SSO), but has no available scan host (to be considered  available, a host must register with a &lt;b&gt;SSO_SCAN_ABILITY&lt;/b&gt; factor of  non-zero and have the drive in the UP state). &lt;b&gt;NO-SCAN&lt;/b&gt; may be caused if  all available scan hosts have the drive in the &lt;b&gt;DOWN&lt;/b&gt; state. Other hosts  (that are not scan hosts) may want to use the drive, but they registered with a  scan factor of zero. The drive is unusable by NetBackup until a scan host can be  assigned.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;Mixed&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The control mode for a shared drive  may not be the same on all hosts sharing the drive. For shared drives, each host  can have a&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;different status for the drive. If  the control modes are all the same, that mode is displayed.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;RESTART&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;The control mode for a shared drive  may not be the same on all hosts sharing the drive. This status indicates that  &lt;b&gt;ltid&lt;/b&gt; needs to be restarted. To determine what server need to be  restarted, right-click the drive in the device monitor and select &lt;b&gt;up&lt;/b&gt;.  This will tell you what servers that &lt;b&gt;ltid&lt;/b&gt; needs to be restarted.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/1742868116652425613/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/drive-status.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/1742868116652425613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/1742868116652425613'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/drive-status.html' title='Drive Status'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-4395735185297139713</id><published>2010-04-14T12:11:00.001-04:00</published><updated>2010-04-14T12:11:19.476-04:00</updated><title type='text'>Drives in AVR mode</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Troubleshooting for when Robotic Drives are going into  AVR mode, and backups are halting with a pending mount request. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error  Message&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;exacterror&quot;&gt;TLD(0) unavailable: initialization  failed: Control daemon connect or protocol error&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;The cause of this problem is most often a result of  communication problems. There are two NetBackup daemons for robotic control:  &amp;nbsp;one runs on the machine with robotic control, the other runs on the machine  that has drives in the robot. For example, if the robot is a TLD robot the two  daemons are&lt;b&gt; tldcd&lt;/b&gt; (runs on the server with robotic control) and  &lt;b&gt;tldd&lt;/b&gt; (runs on server with drives on the robot). In this commonly  occurring problem, the drives will change from TLD control to AVR control. &amp;nbsp;This  is so the jobs will go into a pending mount state, rather than failing. &amp;nbsp;That  happens so that if network communications were to fail between two server for a  short time, then there would be no need to fail the jobs and they could wait  until the connection comes back up. &amp;nbsp;However, at times this can be caused by  more severe problems.&lt;br /&gt;
&lt;br /&gt;
In the media server&#39;s system log would be an error  such as this:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Dec 4 08:54:36 host01 tldd[260]:  TLD(0) unavailable: initialization failed: Control daemon connect or protocol  error &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Dec 4 08:56:41 host01 tldd[858]:  TLD(0) [858] unable to connect to tldcd on host02: Error 0  (0)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
The above error is what will cause drives in a robot to  go into an AVR control mode. &amp;nbsp;This is because these two daemons are unable to  communicate.&lt;br /&gt;
&lt;br /&gt;
It is not possible to give a single cause or a single  solution.&lt;br /&gt;
&lt;br /&gt;
Some common causes are:&lt;br /&gt;
&lt;br /&gt;
1. Network connectivity has just  plain failed. In this case, &amp;nbsp;the network must be restored. &lt;br /&gt;
&lt;br /&gt;
2. There are  multiple interfaces on one or both of the machines that cannot route to or  resolve each other. In this case, either routing needs to be changed so that a  request going will be able to reach its destination. &amp;nbsp;Adding the proper host  names to the &lt;b&gt;/etc/hosts&lt;/b&gt; file has been shown to work in some situations.  &lt;br /&gt;
&lt;br /&gt;
3. The &lt;b&gt;tldcd&lt;/b&gt; daemon has enters an uninterruptible state or is  hung, thus making it unable for it to reply to &lt;b&gt;tldd&lt;/b&gt;. In this case,  shutdown the media management daemons by running&lt;b&gt;  /usr/openv/volmgr/bin/stopltid&lt;/b&gt;. &lt;br /&gt;
&lt;br /&gt;
Next, run  &lt;b&gt;/usr/openv/volmgr/bin/vmps &lt;/b&gt;to get the pid (process ID) of the  &lt;b&gt;tldcd&lt;/b&gt; daemon and run a &lt;b&gt;kill&lt;/b&gt; command on it. If that doesn&#39;t work,  use &lt;b&gt;kill -9&lt;/b&gt;. If this does not kill the process, the server will have to  be rebooted. To restart the daemons, run &lt;b&gt;/usr/openv/volmgr/bin/ltid&lt;/b&gt;.  &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; The daemon does not time out because it is hung on a system  call. This is something out of an application&#39;s ability to  control.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
4. The &lt;b&gt;/etc/services&lt;/b&gt; file is missing the correct  entries on one or both the servers. Below are the entries that should be in  &lt;b&gt;/etc/services&lt;/b&gt;:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# Media Manager services  #&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vmd &amp;nbsp; &amp;nbsp; 13701/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  vmd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;acsd &amp;nbsp; &amp;nbsp;13702/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  acsd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tl8cd &amp;nbsp; 13705/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  tl8cd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;odld &amp;nbsp; &amp;nbsp;13706/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  odld&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tldcd &amp;nbsp; 13711/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  tldcd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tl4d &amp;nbsp; &amp;nbsp;13713/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  tl4d&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tshd &amp;nbsp; &amp;nbsp;13715/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  tshd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tlmd &amp;nbsp; &amp;nbsp;13716/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  tlmd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;tlhcd &amp;nbsp; 13717/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  tlhcd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;rsmd &amp;nbsp; &amp;nbsp;13719/tcp &amp;nbsp; &amp;nbsp; &amp;nbsp;  rsmd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# End Media Manager services  #&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; Not only can this happen between two different  servers, it can also happen on the same server.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/4395735185297139713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/drives-in-avr-mode.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/4395735185297139713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/4395735185297139713'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/drives-in-avr-mode.html' title='Drives in AVR mode'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-5878097867644589719</id><published>2010-04-14T12:09:00.003-04:00</published><updated>2010-04-14T12:09:56.501-04:00</updated><title type='text'>Vault eject error</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Vault does not eject any tapes and the error &quot;Rejected - No frag in robotGroup&quot;  is seen in the vault detail log for the session ID. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error  Message&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;exacterror&quot;&gt;Rejected - No frag in  robotGroup&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Overview&lt;/u&gt;:&lt;br /&gt;
&lt;br /&gt;
The error &quot;Rejected - No frag in  robotGroup&quot; may be seen when Vault has been configured to eject &quot;original&quot;  tapes, but no tapes were picked up for ejection. A possible reason for this is  that the Robotic Volume Group is incorrect in the Vault configuration. &amp;nbsp;Vault  will only eject tapes that belong to the Robotic Volume Group specified at the  &quot;Vault Name&quot; level of the configuration. &amp;nbsp;Figure 1 shows where to find the  Robotic Volume Group information.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Figure 1 - Robotic Volume Group in  the Vault configuration GUI&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/273048/vault2.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Log Files&lt;/u&gt;:&lt;br /&gt;
&lt;br /&gt;
To determine if the Robotic Volume Group is  incorrect, the following information will need to be collected:&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(i) The name of the vault and the  profile that is not ejecting tapes.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(ii) The vault configuration file:  &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;b&gt;&lt;install_path&gt;\netbackup\db\vault\vault.xml  &lt;/install_path&gt;&lt;/b&gt;(Windows)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;b&gt;/usr/openv/netbackup/db/vault/vault.xml &lt;/b&gt;(UNIX)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(iii) The output of the command:&lt;b&gt;  &lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;install_dir&gt;\Volmgr\bin\vmquery -pn  &lt;volume_pool_name&gt; &lt;/volume_pool_name&gt;&lt;/install_dir&gt;&lt;/span&gt;&lt;/tt&gt;(Windows)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/volmgr/bin/vmquery -pn &lt;volume_pool_name&gt;  &lt;/volume_pool_name&gt;&lt;/span&gt;&lt;/tt&gt;(UNIX)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;b&gt;Note&lt;/b&gt;: Use the volume pool  name(s) listed in the &lt;b&gt;Eject &lt;/b&gt;tab of the profile (that is not ejecting  tapes). There may be more than one volume pool listed. This command should be  run for each volume pool.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(iv) The  &lt;b&gt;&lt;install_path&gt;\netbackup\vault\sessions\&lt;vault_name&gt;\SIDXXX  &amp;nbsp;&lt;/vault_name&gt;&lt;/install_path&gt;&lt;/b&gt;directory (Windows)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;The  &lt;b&gt;/usr/openv/netbackup/vault/sessions/&lt;vault_name&gt;/SIDXXX &lt;/vault_name&gt;&lt;/b&gt;directory  (UNIX)&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;where &quot;XXX&quot; matches the session ID  from the job details in activity monitor. Figure 2 below shows the session  ID.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;Figure 2 - Session ID from the vault job details  &lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/273048/sessionid.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Troubleshooting&lt;/u&gt;:&lt;br /&gt;
&lt;br /&gt;
Once the above information has been  collected, perform the following:&lt;br /&gt;
&lt;br /&gt;
1. Inspect the &lt;b&gt;RobotVolumeGroup  &lt;/b&gt;entry specified at the Vault Name level under which the profile that is not  ejecting tapes resides. It should be something similar to &lt;b&gt;00_000_TL8&lt;/b&gt; (see  Figure 3).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Figure 3 - Robotic Volume Group in the vault.xml  file&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;&lt;img border=&quot;0&quot; src=&quot;http://seer.entsupport.symantec.com/docs/images/273048/1robot.jpg&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Check where one of the images (that suffered the error) resides  by performing the following:&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(i) From the &lt;b&gt;detail.log&lt;/b&gt; file  within the sid directory, find an image that exhibits the error  message:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;04:37:19.841 [23584] ImgFilterVaulted(): Image:  hostname_1135991212 Rejected - No frag in robotGroup&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(ii) Then run the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpimagelist&lt;/span&gt;&lt;/tt&gt; command to obtain details of this  image:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  /usr/openv/netbackup/bin/admincmd/bpimagelist -backupid hostname_1135991212  &amp;nbsp;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;IMAGE  hostname 0 0 7 hostname_1135991212 policy 13 ...&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;HISTO -1  -1 -1 -1 -1 -1 -1 -1 -1 -1&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;FRAG 1 1  14327919 0 2 15 1 &lt;b&gt;C01243&lt;/b&gt; ...&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;The FRAG line shows that the image  is on tape C01243&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 30pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;(iii) Check the volume group where  tape C01243 resides using the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vmquery&lt;/span&gt;&lt;/tt&gt;  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;-m &lt;media_id&gt;&lt;/media_id&gt;&lt;/span&gt;&lt;/tt&gt; output. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  /usr/openv/volmgr/bin/vmquery -m C01243&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;==================================================&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;media ID:  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;C01243&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;media  type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;8MM cartridge tape (4)&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;barcode: &amp;nbsp;  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ABCO1423&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;media  description: &amp;nbsp; &amp;nbsp; NT|826|S981|20040421&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;volume  pool: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Duplicate (6)&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;robot  type: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;TL8 - Tape Library 8MM (6)&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;robot  number: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;robot  slot: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;43&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;robot  control host: &amp;nbsp; &amp;nbsp;spnbu02-nbu&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt;volume  group&lt;/b&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;00_000_TL8&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vault  name: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;NT&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vault sent  date: &amp;nbsp; &amp;nbsp; &amp;nbsp; Mon Oct 04 14:19:22 2004&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vault  return date: &amp;nbsp; &amp;nbsp; ---&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vault  slot: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;834&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vault  session id: &amp;nbsp; &amp;nbsp; &amp;nbsp;57&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vault  container id: &amp;nbsp; &amp;nbsp;-&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;created: &amp;nbsp;  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wed Mar 17 14:02:45 2004&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;assigned:  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sun Oct 03 14:37:13 2004&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;last  mounted: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Sun Oct 03 18:00:29 2004&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;first  mount: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Wed Mar 17 14:04:50 2004&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;expiration  date: &amp;nbsp; &amp;nbsp; &amp;nbsp; ---&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;number of  mounts: &amp;nbsp; &amp;nbsp; &amp;nbsp;8&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;max mounts  allowed: &amp;nbsp; &amp;nbsp;---&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;status: &amp;nbsp;  &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;0x0&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 45pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;==============================================&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Resolution&lt;/u&gt;:&lt;br /&gt;
&lt;br /&gt;
If the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vmquery&lt;/span&gt;&lt;/tt&gt; output shows a volume group different to the  one specified in the vault configuration file (&lt;b&gt;vault.xml)&lt;/b&gt;, then the tapes  will never be ejected. There are two different ways to resolve this, as follows:  &lt;br /&gt;
&lt;br /&gt;
A. The vault configuration will need to be changed so that it specifies  a new Robotic Volume Group. &lt;br /&gt;
To do this:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;1. Open the NetBackup Administration  GUI and expand &lt;b&gt;Vault Management&lt;/b&gt;. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;2. Right-click on the name of the  vault that is incorrect, and click &lt;b&gt;Change&lt;/b&gt;. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;3. Change the &lt;b&gt;Robotic Volume  Group &lt;/b&gt;entry to match the &lt;b&gt;Volume Group &lt;/b&gt;entry in the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vmquery&lt;/span&gt;&lt;/tt&gt; output and save. &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;4. Re-run the vault profile and the  tapes should be ejected&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
B. Change the robotic volume group associated with the  media to match what the vault is looking for. &lt;br /&gt;
To do this:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;1. Open the NetBackup Administration  GUI and expand &lt;b&gt;Media&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;2. Right-click on the media you want  to change.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;3. Select &quot;&lt;b&gt;Change Volume  Group&lt;/b&gt;&quot; from the drop down menu.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;4. Use the drop down menu to select  the proper &lt;b&gt;Volume Group &lt;/b&gt;entry in the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;vmquery&lt;/span&gt;&lt;/tt&gt; output (or type it in) and click  &lt;b&gt;OK&lt;/b&gt;.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;5. Re-run the vault profile and the  tapes should be ejected.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;CAUTION: &lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;b&gt;I.&lt;/b&gt; For Resolution A - If the  &lt;b&gt;Vault Offsite Volume Group &lt;/b&gt;for the Vault concerned already houses tapes  of a certain media density, then ensure that the &lt;b&gt;Robotic Volume Group  &lt;/b&gt;being changed&lt;b&gt; &lt;/b&gt;in the Vault configuration also houses tapes of the  same media density. If the media density differs, then eject will fail at the  point when Vault tries to move the tapes to the offsite volume group (most  likely with error 101 media type and volume group mismatch) . This is because a  volume group (offsite or robotic, other than &quot;---&quot;) cannot house more than one  media density. &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-left: 30pt; margin-top: 5pt;&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; The media density is not an issue for Resolution A if  the &lt;b&gt;Vault Offsite Volume Group&lt;/b&gt; is not yet assigned to any particular  media density at the time of the eject. However, as soon as it does, it is  obliged to stick with that media density. It is only freed from this obligation  if all the tapes in it are moved elsewhere (to another volume group).&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;b&gt;II.&lt;/b&gt; For Resolution B - the  move of medias / tapes to another volume group will only succeed if the volume  group that the tapes are moving into either already houses the same density, or  is not yet assigned to a particular media density. Moving medias of a certain  media density to a volume group of another media density will result in error  101 (as above).&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/5878097867644589719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/vault-eject-error.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5878097867644589719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5878097867644589719'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/vault-eject-error.html' title='Vault eject error'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-2164502813865329252</id><published>2010-04-14T12:09:00.001-04:00</published><updated>2010-04-14T12:09:06.686-04:00</updated><title type='text'>Incremental Catalog backup failing with status 41</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Incremental Catalog backup fails with Status 41  (network connection timeout) &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error  Message&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;exacterror&quot;&gt;15:38:11.876 [18923] &amp;lt;16&amp;gt; bpbrm  main: db_FLISTsend failed: network&lt;br /&gt;
connection timed out (41)&lt;/span&gt;  &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Overview:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
An Incremental Catalog Backup fails  with Status 41 (network connection timeout), whereas the Full Catalog Backup  completed in approximately 20  minutes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Troubleshooting:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;bpbrm &lt;/b&gt;log file on  the media server ( &lt;b&gt;/usr/openv/netbackup/logs/bpbrm/log.&lt;date&gt;&lt;/date&gt;&lt;/b&gt; )  &amp;nbsp;shows the error:&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;15:38:11.876 [18923] &amp;lt;16&amp;gt; bpbrm main: db_FLISTsend failed:  network connection timed out (41) &lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
Following a 10-minute delay, the &lt;b&gt;bpbkar &lt;/b&gt;log file on  the client ( &lt;b&gt;/usr/openv/netbackup/logs/bpbkar/log.&lt;date&gt;&lt;/date&gt;&lt;/b&gt; ) shows  the error:&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;15:28:12.868 [18954] &amp;lt;2&amp;gt; bpbkar SelectFile: INF -  Resolved_path =  /usr/openv/netbackup/db/images/master1/1231000000/SYM_INC_1231711779_UBAK.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;15:38:59.484 [18954] &amp;lt;4&amp;gt; bpbkar PrintFile:  /data/openv/netbackup/db/images/master1/1231000000/&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;15:38:59.484 [18954] &amp;lt;16&amp;gt; bpbkar sighandler: ERR - bpbkar  killed by SIGPIPE&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;15:38:59.484 [18954] &amp;lt;2&amp;gt; bpbkar sighandler: INF - ignoring  additional SIGPIPE signals&lt;/span&gt;&lt;/tt&gt; &lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
Creating or amending &amp;nbsp;the file&lt;b&gt;  /usr/openv/netbackup/bin/DBMto&lt;/b&gt; to contain the value &quot;30&quot; increases the  timeout (from the default of 10 minutes) allowing the incremental backups to  complete. &amp;nbsp;However, it was found that the incremental backup then took around 8  hours to complete.&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;bpdbm &lt;/b&gt;log (  &lt;b&gt;/usr/openv/netbackup/logs/bpdbm/log.&lt;date&gt; &lt;/date&gt;&lt;/b&gt;) shows:&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;10:31:34.768 [19001] &amp;lt;2&amp;gt; add_files:  updating&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/db/images/master1/1243000000/tmp/NB-Catalog_1243231645_INCR.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;10:48:29.184 [19001] &amp;lt;2&amp;gt; add_files: 5000 files added  to&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/db/images/master1/1243000000/tmp/NB-Catalog_1243231645_INCR.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;10:48:35.557 [22486] &amp;lt;2&amp;gt; add_files:  updating&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/db/images/master1/1243000000/tmp/NB-Catalog_1243231645_INCR.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;11:05:50.079 [22486] &amp;lt;2&amp;gt; add_files: 5000 files added  to&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/db/images/master1/1243000000/tmp/NB-Catalog_1243231645_INCR.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
The delays can be seen between the entries for &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&quot;add_files: updating&quot; and &quot;add_files: 5000 files  added&lt;/span&gt;&lt;/tt&gt;&quot;, for a given process, which has cumulative effect on the time  the Catalog backup takes.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Solution:&lt;/u&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Create &lt;b&gt;/usr/openv/netbackup/bin/DBMto&lt;/b&gt; with the entry &quot;30&quot; to  correct the Status 41 Error, restart the NetBackup services.  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Create the file &lt;b&gt;/usr/openv/netbackup/MAX_FILES_PER_ADD&lt;/b&gt;, with  the entry 500, restart the NetBackup services. &lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
It was found that following these changes, the Incremental  Catalog backup successfully completed in 15 minutes.&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/2164502813865329252/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/incremental-catalog-backup-failing-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/2164502813865329252'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/2164502813865329252'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/incremental-catalog-backup-failing-with.html' title='Incremental Catalog backup failing with status 41'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-6589498203786077536</id><published>2010-04-14T12:07:00.001-04:00</published><updated>2010-04-14T12:07:59.163-04:00</updated><title type='text'>SQL script to delete tape drives with MISSING_DRIVE status</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;SQL script to delete tape drives with &quot;MISSING_DRIVE&quot;  status from the EMM database. There can be situations where there are drives in  the EMM database with &quot;MISSING_DRIVE&quot; status, and it is not possible to delete  them via &quot;tpconfig -delete -drive &lt;drive_index&gt;&quot; command. &lt;/drive_index&gt;&lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;Details of the issue:&lt;br /&gt;
----------------------------&lt;br /&gt;
A.  &quot;tpconfig -emm_dev_list -noverbose&quot; command executed from a media server having  problem will show entries similar to the following:&lt;br /&gt;
TPC_DEV60 DRIVE  T10K_2_1_1_1 16 1 2 -1 - 2 1 1 1 media_server MISSING_DRIVE:531001002370  531001002370 - 128 4 -1 -1 -1 -1 0 11889 0 0 - 0 - -  STK~~~~~T10000A~~~~~~~~~1.38 - 16&lt;br /&gt;
&lt;br /&gt;
B. &quot;tpconfig -l&quot; executed on the media  server may show the entry similar to the following:&lt;br /&gt;
&amp;nbsp;drive &amp;nbsp; &amp;nbsp;- &amp;nbsp; 16 hcart3 &amp;nbsp;  &amp;nbsp;- &amp;nbsp;DISABL &amp;nbsp;- &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;T10K_2_1_1_1 &amp;nbsp; MISSING_DRIVE:531001002370 &amp;nbsp;ACS=2, LSM=1,  PANEL=1, DRIVE=1 &lt;br /&gt;
&lt;br /&gt;
C. To verify what are the entries in the Enterprise  Media Manager (EMM) database &amp;amp; tables, run the following  command:&lt;br /&gt;
&lt;br /&gt;
/usr/openv/db/bin/nbdb_unload -t EMM_MAIN.EMM_Device,  EMM_MAIN.EMM_MachineDeviceConnection, EMM_MAIN.EMM_DriveIndex &lt;destination data=&quot;&quot; dir=&quot;&quot; save=&quot;&quot; the=&quot;&quot; to=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Entries like the following will appear in the  nnn.dat files output received from the above  command:&lt;br /&gt;
&lt;br /&gt;
436.dat:&lt;br /&gt;
&#39;2000185&#39;,0xECD8529A2C3213F88038865237F37639,&#39;2&#39;,&#39;16&#39;,&#39;0&#39;,&#39;128&#39;,&#39;1&#39;,&#39;NetBackup  HCART3&#39;,&#39;NetBackup  HCART&#39;,&#39;523118080&#39;,&#39;16176&#39;,&#39;6&#39;,&#39;0&#39;,&#39;T10K_2_1_1_1&#39;,&#39;,&#39;2000176&#39;,&#39;2&#39;,&#39;1&#39;,&#39;,&#39;-1&#39;,&#39;STK&#39;,&#39;T10000A&#39;,&#39;1.38&#39;,&#39;,&#39;,&#39;,&#39;531001002370&#39;,&#39;,&#39;,&#39;STK  &amp;nbsp; &amp;nbsp; T10000A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.38&#39;,&#39;,&#39;0&#39;,&#39;,&#39;0&#39;,&#39;0&#39;,&#39;1970-01-01  00:00:00.000000&#39;,&#39;1970-01-01 00:00:00.000000&#39;,&#39;2009-04-23  19:33:18.&lt;br /&gt;
000000&#39;,&#39;0&#39;,&#39;42802796&#39;,&#39;0&#39;,&#39;0&#39;,0x00000000,0x00000000000000000000000000000000,&#39;-1&#39;,&#39;-1&#39;,&#39;1970-01-01  00:00:00.000000&#39;,&#39;0&#39;,&#39;0&#39;,&#39;2&#39;,&#39;1&#39;,&#39;1&#39;,&#39;1&#39;,&#39;,&#39;,&#39;,&#39;0&#39;,&#39;0&#39;,&#39;0&#39;,&#39;8388608&#39;,&#39;2006-08-1502:18:16.184874&#39;,&#39;2009-05-18  23:22:46.007585&#39;&lt;br /&gt;
&lt;br /&gt;
444.dat:&lt;br /&gt;
&#39;2002855&#39;,0x6F2D947E305911DE8000893E7E4907EB,&#39;2&#39;,&#39;16&#39;,&#39;0&#39;,&#39;32907&#39;,&#39;1&#39;,&#39;NetBackup  HCART3&#39;,&#39;NetBackup  HCART&#39;,&#39;523118080&#39;,&#39;16176&#39;,&#39;6&#39;,&#39;0&#39;,&#39;T10K_2_1_1_1&#39;,&#39;,&#39;2000176&#39;,&#39;2&#39;,&#39;1&#39;,&#39;,&#39;-1&#39;,&#39;STK&#39;,&#39;T10000A&#39;,&#39;1.38&#39;,&#39;,&#39;,&#39;,&#39;531004007993&#39;,&#39;,&#39;,&#39;STK  &amp;nbsp; &amp;nbsp; T10000A &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1.38&#39;,&#39;,&#39;0&#39;,&#39;,&#39;1000036&#39;,&#39;1000036&#39;,&#39;1970-01-01  00:00:00.000000&#39;,&#39;1970-01-01 00:00:00.000000&#39;,&#39;2009-0&lt;br /&gt;
5-20  03:00:53.000000&#39;,&#39;0&#39;,&#39;248714&#39;,&#39;0&#39;,&#39;0&#39;,0x00000000,0x00000000000000000000000000000000,&#39;-1&#39;,&#39;-1&#39;,&#39;2009-05-20  03:01:41.000000&#39;,&#39;1000036&#39;,&#39;1&#39;,&#39;2&#39;,&#39;1&#39;,&#39;1&#39;,&#39;1&#39;,&#39;,&#39;T17480&#39;,&#39;T17480&#39;,&#39;82,&#39;0&#39;,&#39;0&#39;,&#39;8388608&#39;,&#39;2009-04-23  02:52:34.317443&#39;,&#39;2009-05-20 03:03:49.093255&#39;&lt;br /&gt;
&lt;br /&gt;
D. If &quot;tpconfig -delete  -drive &lt;drive_index&gt;&quot; does not work, or if it works but entries like the  above still appear from any commands executed (listed above), please engage  Symantec Technical Support (who may require to engage Symantec Development, as  otherwise a SQL script not approved by Symantec Development may further damage  the EMM database) to get proper SQL script to delete the drives with  MISSING_DRIVE status.&lt;br /&gt;
&lt;br /&gt;
E. The above condition may lead to  backup/duplication failures, and also may lead to unexpected slower performance  from resource allocation and selection processes such as nbrb and mds  (emm).&lt;br /&gt;
&lt;br /&gt;
F. After the completion of successful removal of the drives with  MISSING_DRIVE status, execute the following steps on NetBackup servers to start  with a clean state in the environment:&lt;br /&gt;
&lt;/drive_index&gt;&lt;/destination&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;1. Select a window  with minimum or no jobs on the master server, if there are, cancel them. Make  sure all jobs are stopped. To make sure no further jobs will be queued by nbpem  during this activity, &quot;nbpemreq -suspend_scheduling&quot; can be run, and no manual  backups, user backups or restores should be initiated during this time. If  &quot;nbpemreq -suspend_scheduling&quot; is used, &quot;nbpemreq -resume_scheduling&quot; will have  to be executed to resume the job scheduling when all the steps are  done.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;2. Run &quot;nbrbutil -releaseAllocHolds&quot; on the master  server.&lt;br /&gt;
3. Run &quot;nbrbutil -resetAll&quot; on the master server.&lt;br /&gt;
4. Run nbrbutil  -dump and take a copy for SYMC to review.&lt;br /&gt;
5. Stop all master server&#39;s  daemons.&lt;br /&gt;
6. Recycle daemons on listed media servers those had missing drives  before the execution of the SQL script. The media servers also can be found by  running the following SQL command:&lt;br /&gt;
&lt;br /&gt;
SELECT MachineKey, FQMachineName,  MachinePrimaryName FROM &quot;EMM_MAIN&quot;.&quot;EMM_Machine&quot; WHERE MachineKey IN (SELECT  DISTINCT PrimaryMachineKey FROM &quot;EMM_MAIN&quot;.&quot;EMM_MachineDeviceConnection&quot; WHERE  PrimaryPath LIKE &#39;MISSING%&#39;))&lt;br /&gt;
&lt;br /&gt;
7. Recycle daemons on all remaining media  servers.&lt;br /&gt;
8. Start NBU daemons on the Master  server.&lt;br /&gt;
&lt;br /&gt;
Comments:&lt;br /&gt;
Although only Solaris is mentioned here as the  Operating System, the above condition may exist in any NetBackup environment  with any supported Operating Systems.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/6589498203786077536/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/sql-script-to-delete-tape-drives-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/6589498203786077536'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/6589498203786077536'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/sql-script-to-delete-tape-drives-with.html' title='SQL script to delete tape drives with MISSING_DRIVE status'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-5017136128427990201</id><published>2010-04-14T12:06:00.001-04:00</published><updated>2010-04-14T12:06:59.458-04:00</updated><title type='text'>Rebuild SG File on Solaris</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Drives are not being recognized by the OS - Steps to  rebuild the /dev/sg/* and /dev/rmt/* devices on a Solaris Master or Media server  &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;Here are the basic steps to rebuild the /dev/sg/* and  /dev/rmt/* devices on a Solaris server without rebooting.&lt;br /&gt;
&lt;br /&gt;
1. &amp;nbsp;Create a  backup copy of the current&lt;b&gt; st.conf&lt;/b&gt; file:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  cp /kernel/drv/st.conf /kernel/drv/st.conf.`date  +%m%d%y_%H%M%S`&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
2. &amp;nbsp;Move the existing &lt;b&gt;sg.conf&lt;/b&gt; to a  backup (this must be a move, otherwise a later step will fail):&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# mv /kernel/drv/sg.conf /kernel/drv/sg.conf.`date  +%m%d%y_%H%M%S`&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
3. &amp;nbsp;Create a backup copy of the current  &lt;b&gt;devlink.tab&lt;/b&gt; file:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp /etc/devlink.tab  /etc/devlink.tab.`date +%m%d%y_%H%M%S`&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
4. &amp;nbsp;Delete SCSI  targets/LUNs from the &lt;b&gt;/kernel/drv/st.conf &lt;/b&gt;file:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;name=&quot;st&quot; class=&quot;scsi&quot;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;target=0 lun=0;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
All of these entries  should be removed, otherwise duplicates will be added later.&lt;br /&gt;
&lt;br /&gt;
5. &amp;nbsp;Delete  SCSI targets/LUNs from &lt;b&gt;/etc/devlink.tab&lt;/b&gt;. &amp;nbsp;This is typically the section  near the end of the file and the entries are typically of the  form:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# begin SCSA Generic devlinks file -  creates nodes in /dev/sg&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=0,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t0l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=1,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t1l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=2,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t2l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=3,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t3l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=4,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t4l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=5,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t5l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=6,0; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t6l0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=0,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t0l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=1,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t1l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=2,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t2l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=3,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t3l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=4,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t4l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=5,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t5l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;type=ddi_pseudo;name=sg;addr=6,1; &amp;nbsp; &amp;nbsp; &amp;nbsp;  sg/c\N0t6l1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# end SCSA  devlinks&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Everything in this section should be removed,  inclusive of the beginning and ending lines.&lt;br /&gt;
&lt;br /&gt;
6. &amp;nbsp;Change to the  appropriate directory to run commands:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd  /usr/openv/volmgr/bin/driver&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
7. &amp;nbsp;Generate the configuration  files (&lt;b&gt;st.conf&lt;/b&gt;, &lt;b&gt;sg.conf&lt;/b&gt; and &lt;b&gt;sg.links&lt;/b&gt;):&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;../sg.build all -mt &lt;max_target&gt; -ml  &lt;max_lun&gt;&lt;/max_lun&gt;&lt;/max_target&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Note: You will need to know what the  max_target and max_lun values will need to be (this is the maximum SCSI Target  and LUN value).&lt;br /&gt;
&lt;br /&gt;
8. &amp;nbsp;Append the generated &lt;b&gt;st.conf &lt;/b&gt;entries to the OS  configuration file:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cat st.conf &amp;gt;&amp;gt;  /kernel/drv/st.conf&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
9. &amp;nbsp;Unload the sg driver:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# rem_drv sg&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
10. Use the provided script to  re-create the &lt;b&gt;/kernel/drv/sg.conf&lt;/b&gt; file, append the SCSA entries to  &lt;b&gt;/etc/devlink.tab&lt;/b&gt; and reload the sg driver:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  ./sg.install&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
11. Now sgscan should see the appropriate  devices:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/volmgr/bin/sgscan all conf  -v&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/5017136128427990201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/rebuild-sg-file-on-solaris.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5017136128427990201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5017136128427990201'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/rebuild-sg-file-on-solaris.html' title='Rebuild SG File on Solaris'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-8634949519650110340</id><published>2010-04-14T12:05:00.001-04:00</published><updated>2010-04-14T12:05:34.055-04:00</updated><title type='text'>Troubleshooting hunged backups</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;Even though backup resources are available, backups are taking hours to go  active and complete. However, if they are canceled and re-submitted, they take  off and complete right away. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Overview:&lt;/u&gt;&lt;br /&gt;
Jobs remain queued while resources are  available due to length of time it takes &lt;b&gt;nbrb&lt;/b&gt; to complete an evaluation  cycle.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Troubleshooting/Log Files:&lt;/u&gt;&lt;br /&gt;
Determine if there is an  excessive amount of time taken between &lt;b&gt;nbjm&lt;/b&gt; requesting a resource and  &lt;b&gt;nbrb&lt;/b&gt; granting the resource.&lt;br /&gt;
&lt;br /&gt;
For example: &lt;br /&gt;
1. From the Activity  Monitor within the NetBackup GUI, view the job details. &amp;nbsp;In this particular  instance, it took 10 minutes to grant a resource:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;8/21/2007 2:58:44 PM - requesting resource  figrin.NBU_POLICY.MAXJOBS.sybase-arvel1-SDS_SY48-sybsecurity-DB  &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;8/21/2007 3:08:31 PM - granted  resource figrin.NBU_CLIENT.MAXJOBS.arvel1 &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
2. In the  &lt;b&gt;nbrb&lt;/b&gt; log, look for the amount of time between &quot;evaluation cycle is in  progress&quot; and &quot;reserved resource&quot; for a particular jobid :&lt;br /&gt;
08/21/07  20:58:13.512 [Debug] NB 51216 nbrb 118 PID:16608 TID:3 File ID:118  [jobid=9180586] 2 [ResBroker_i::evaluateNow] evaluation cycle is in progress  &lt;br /&gt;
08/21/07 21:08:30.706 [Debug] NB 51216 nbrb 118 PID:16608 TID:9 File ID:118  [jobid=9180586] 3 [CountedProvider::allocate] reserved resource  figrin.NBU_CLIENT.MAXJOBS.arvel1 (current_ref_count=2, max_ref_count=10)  &lt;br /&gt;
&lt;br /&gt;
To generate an &lt;b&gt;nbrb &lt;/b&gt;log, use this command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/bin/vxlogview -p 51216 -o 118 -d  all&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
3. Search the raw &lt;b&gt;nbrb&lt;/b&gt; log  (&lt;b&gt;/usr/openv/logs/*118*&lt;/b&gt;) for the &quot;msec&quot; string:&lt;br /&gt;
For example:  &lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;51216-118-1067800690-070912-0000000011.log:0,51216,118,118,34289634,1189573603242,17599,9,0:,83:Resource  evaluation completed. Evaluated 779 requests, &lt;b&gt;evaluation time: 481417  msec&lt;/b&gt;,25:ResBroker_i::doEvaluation,2 &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;51216-118-1067800690-070912-0000000024.log:0,51216,118,118,34308513,1189574183188,17599,10,0:,83:Resource  evaluation completed. Evaluated 763 requests, &lt;b&gt;evaluation time: 579944  msec&lt;/b&gt;,25:ResBroker_i::doEvaluation,2 &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;51216-118-1067800690-070912-0000000040.log:0,51216,118,118,34327216,1189574666005,17599,9,0:,83:Resource  evaluation completed. Evaluated 916 requests, &lt;b&gt;evaluation time: 482815  msec&lt;/b&gt;,25:ResBroker_i::doEvaluation,2  &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Resolution:&lt;/u&gt;&lt;br /&gt;
There are a number of steps that were  taken to increase the time taken to grant resources:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note: &lt;/b&gt;All  configuration files listed below can be found in the following  subdirectory:&lt;br /&gt;
&lt;u&gt;UNIX:&lt;/u&gt; &lt;b&gt;/usr/openv/var/global&lt;/b&gt;&lt;br /&gt;
&lt;u&gt;Windows:&lt;/u&gt;  &lt;b&gt;&lt;install_path&gt;\Veritas\NetBackup\var\global\&lt;/install_path&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. If the  master server has greater than ten CPUs, it is necessary to increase the number  of CPUs available to Sybase. &amp;nbsp;See TechNote 285579, linked below.&lt;br /&gt;
&lt;br /&gt;
2.  Enable additional database connections via &lt;b&gt;emm.conf&lt;/b&gt; changes. &lt;br /&gt;
&lt;br /&gt;
For  example, the following lines could be added or edited:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NUM_DB_CONNECTIONS=21 &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NUM_DB_BROWSE_CONNECTIONS=20 &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NUM_ORB_THREADS=35 &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
See TechNote 285629,  linked below.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note: &lt;/b&gt;In NetBackup 6.0, the &lt;b&gt;server.conf&lt;/b&gt; file  must also be changed to allow greater than 10 connections to the ASA database.  &amp;nbsp;This can be accomplished by editing the &lt;b&gt;server.conf&lt;/b&gt; file and changing  the value of the &lt;b&gt;-gn&lt;/b&gt; parameter to 30.&lt;br /&gt;
&lt;br /&gt;
In NetBackup 6.5, the  &lt;b&gt;-gn&lt;/b&gt; parameter does not exist.&lt;br /&gt;
&lt;br /&gt;
3. &amp;nbsp;Starting in NetBackup 6.0 MP6  and 6.5.2, &lt;b&gt;nbrb&lt;/b&gt; can be tuned via the &lt;b&gt;nbrb.conf&lt;/b&gt; file.&lt;br /&gt;
&lt;br /&gt;
This  file offers the following parameters:&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;RESPECT_REQUEST_PRIORITY&lt;/b&gt;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;DO_INTERMITTENT_UNLOADS&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; By default all values are 0.&lt;br /&gt;
&lt;br /&gt;
Example  format for parameters in &lt;b&gt;nbrb.conf&lt;/b&gt;:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;SECONDS_FOR_EVAL_LOOP_RELEASE = 180&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;RESPECT_REQUEST_PRIORITY = 0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;DO_INTERMITTENT_UNLOADS = 1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
An explanation of  &lt;b&gt;nbrb.conf&lt;/b&gt; parameters can be found in TechNote 300442, linked  below.&lt;br /&gt;
&lt;br /&gt;
4. VERY IMPORTANT for &lt;b&gt;nbrb&lt;/b&gt; caching: do not mix SSO and  dedicated drives within a library. &amp;nbsp;Have all drives SSO or all drives  dedicated.&lt;br /&gt;
&lt;br /&gt;
5. Do not exceed the total number of drives within a storage  unit (max concurrent drives). &lt;br /&gt;
For example: if the library has 8 drives, the  largest value that total max concurrent drives can be is 8.&lt;br /&gt;
&lt;br /&gt;
6. Ensure  drives do not need cleaning. (&lt;b&gt;CLEANING REQUIRED&lt;/b&gt; flag flipped). Clean  drives. Run&lt;b&gt; tpclean -M&lt;/b&gt; on all drives to clear flag if still  set.&lt;br /&gt;
&lt;br /&gt;
7. If using custom scripts or Aptare, ensure that scripts are not  accessing media servers for drive/tape information. All information is now  stored on the EMM server. &lt;br /&gt;
&lt;br /&gt;
8. Change HPUX kernel by increasing  &lt;b&gt;dbc_max_pct&lt;/b&gt; to 50 and &lt;b&gt;dbc_min_pct&lt;/b&gt; to 10 &amp;nbsp;to improve file  caching.&lt;br /&gt;
&lt;br /&gt;
9. Move the database transaction log and database to different  disks:&lt;br /&gt;
For example:&lt;br /&gt;
If 2 additional drives (&lt;b&gt;/u01&lt;/b&gt; and &lt;b&gt;/u02&lt;/b&gt;)  are available:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# mkdir /u01/nbu  &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# mkdir /u02/nbu  &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#  /usr/openv/netbackup/bin/goodies/netbackup stop&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/db/bin/nbdbms_start_server  &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/db/bin/nbdb_move -data  /u01/nbu -index /u01/nbu -tlog /u02/nbu &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/goodies/netbackup start&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/8634949519650110340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/troubleshooting-hunged-backups.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/8634949519650110340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/8634949519650110340'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/troubleshooting-hunged-backups.html' title='Troubleshooting hunged backups'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-5518154638607515119</id><published>2010-04-14T12:04:00.001-04:00</published><updated>2010-04-14T12:04:28.464-04:00</updated><title type='text'>bpexpdate -deassignempty fails</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;The &quot;bpexpdate -deassignempty&quot; command fails with &quot;Could not update media list,  file read failed&quot; due to bad image headers in the NetBackup catalog. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error  Message&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;exacterror&quot;&gt;&amp;lt;16&amp;gt; compare_list_to_fragments:  unexpected return value from db_IMAGEreceive: file read failed 13&lt;br /&gt;
&amp;lt;16&amp;gt;  check_for_empty_media: Could not update media list, file read  failed&lt;br /&gt;
&amp;lt;16&amp;gt; bpexpdate: file read failed&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate&lt;/span&gt;&lt;/tt&gt; command will check the NetBackup (tm)  image database for images to expire. If a bad image header file exists, this can  cause the &lt;b&gt;bpdbm&lt;/b&gt; daemon to return a &quot;status 13, file read failed&quot; to the  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate&lt;/span&gt;&lt;/tt&gt; command. To resolve this error,  the NetBackup images database needs to be checked for bad image  headers.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Troubleshooting:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This &lt;b&gt;Problems&lt;/b&gt; report may  appear with messages like:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;05/29/05 16:41:40  nbmaster1 - cleaning image DB&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;05/29/05  16:41:42 nbmaster1 - Bad image header:  Unix_1114295338_INCR&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;05/29/05 16:41:44  nbmaster1 - Bad image header: Unix_1114295341_INCR&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;05/29/05 16:42:01 nbmaster1 - Bad image header:  Unix_1114704580_INCR&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Master Server Log  Files:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;b&gt;/usr/openv/netbackup/logs/admin/log.&lt;date&gt;&lt;/date&gt;&lt;/b&gt;  file will show &quot;file read failed&quot; errors when trying to run &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate -deassignempty&lt;/span&gt;&lt;/tt&gt;.&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;2&amp;gt; logconnections: BPDBM CONNECT FROM x.x.x.x.34611 TO  x.x.x.x.13721&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;16&amp;gt;  compare_list_to_fragments: unexpected return value from db_IMAGEreceive: file  read failed 13&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;16&amp;gt;  check_for_empty_media: Could not update media list, file read  failed&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;16&amp;gt; bpexpdate: file read  failed&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;2&amp;gt; bpexpdate: EXIT status  = 13&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
The  &lt;b&gt;/usr/openv/netbackup/logs/bpdbm/log.&lt;date&gt;&lt;/date&gt;&lt;/b&gt; file will show the  specific image header that is generating the &quot;file read failed&quot;  errors.&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;16&amp;gt; db_get_image_info:  fopen(D:\VERITAS\NetBackup\db\images\client\1114000000\Unix_1114704580_FULL):  Permission denied (13)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;16&amp;gt;  list_client_images: cannot get image info...client  Unix_1114704580_FULL&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&amp;lt;4&amp;gt; bpdbm:  request complete: exit status 13 file read failed&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Media  Server Log Files: &amp;nbsp;&lt;/b&gt;n/a&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Client Log Files:  &amp;nbsp;&lt;/b&gt;n/a&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Resolution:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate&lt;/span&gt;&lt;/tt&gt; command will check the NetBackup image  database for images to expire. If a bad image header file exists, this can cause  the &lt;b&gt;bpdbm&lt;/b&gt; daemon to return a &quot;status 13, file read failed&quot; to the  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate&lt;/span&gt;&lt;/tt&gt; command. To resolve this error,  the NetBackup images database needs to be checked for bad image  headers.&lt;br /&gt;
&lt;br /&gt;
1. Run a consistency check of the NetBackup database. This will  help find bad image header and zero byte header files.&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/bpdbm -consistency &amp;gt;  /tmp/filename.txt&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Note:&lt;/i&gt; &lt;/b&gt;&lt;i&gt;The consistency  check should be run when there are no backups or restores running. False errors  will appear for any current backup since the &lt;b&gt;.f&lt;/b&gt; files file will not be  completely written until the backup completes. In a 24X7 environment, this can  be run while backups are running. Special care will need to be taken to check  the timestamp of any image with errors, to ensure it was not an active  backup.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
2. Review the output file&lt;b&gt; /tmp/filename.txt &lt;/b&gt;that was  created for any images listed with a &quot;Bad image header&quot; error&lt;br /&gt;
&lt;br /&gt;
3. Remove  the image files that correspond to the &quot;Bad image header&quot; errors listed in the  consistency output&lt;br /&gt;
&lt;br /&gt;
4. Run the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate&lt;/span&gt;&lt;/tt&gt; again&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/5518154638607515119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/bpexpdate-deassignempty-fails.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5518154638607515119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5518154638607515119'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/bpexpdate-deassignempty-fails.html' title='bpexpdate -deassignempty fails'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-57499799710777078</id><published>2010-04-14T12:03:00.000-04:00</published><updated>2010-04-14T12:03:20.923-04:00</updated><title type='text'>&quot;Bad Image Header&quot; in Image DB</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;All Log Entries or Problems Log reports show: &quot;Bad  image header,&quot; indicating a problem with the NetBackup images database. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error  Message&lt;/span&gt; &lt;br /&gt;
&lt;span class=&quot;exacterror&quot;&gt;Bad image header&lt;/span&gt; &lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;The &lt;b&gt;All Log Entries&lt;/b&gt; or &lt;b&gt;Problems Log&lt;/b&gt; reports show  entries such as the following:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;06/09/98  16:41:40 sparky - &amp;nbsp;cleaning image DB&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;06/09/98 16:41:42 sparky - &amp;nbsp;Bad image header:  Unix_0896295338_INCR&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;06/09/98 16:41:44  sparky - &amp;nbsp;Bad image header: Unix_0896295341_INCR&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;06/09/98 16:42:01 sparky - &amp;nbsp;Bad image header:  Unix_0896704580_INCR&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-bottom: 5pt; margin-top: 5pt;&quot;&gt;&quot;Bad image header&quot;  messages result from backup image headers that are incomplete.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;u&gt;Background Information&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
When VERITAS  NetBackup (tm) executes backups, it writes information to the Images database on  the NetBackup master server. The Images database resides in&lt;b&gt;  /usr/openv/netbackup/db/images&lt;/b&gt;. For every backup, NetBackup writes two files  to the Images database: &amp;nbsp;the backup image header file and the &quot;files file.&quot; &amp;nbsp;For  a valid NetBackup image, both of these files must exist, otherwise the backup  image is incomplete and a restore is impossible.&lt;br /&gt;
&lt;br /&gt;
If the filesystem that  the Images database resides on reaches 100% utilization NetBackup can no longer  record information about the backups it is attempting to process. The active  backups can no longer write to the Images database and the backup image headers  of the active backups become corrupt. Typically, the backup image headers are  re-written with a size of zero bytes. It is the zero byte length image headers  that cause the &quot;Bad image header&quot; messages in the reports&lt;br /&gt;
&lt;br /&gt;
An unexpected  shutdown (such as a power outage or system crash) or a &amp;nbsp;disk device failure can  also corrupt image header files.&amp;nbsp; In these cases the image header file may be  zero bytes in length, contain only spaces, or contain garbled data.&amp;nbsp; This type  of corruption can occur after the backup is complete - for example during  duplication, copy expiration, or even while no NetBackup activity is occurring  on the image (in the case of device  failure).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Resolution:&lt;/u&gt;&lt;br /&gt;
&lt;br /&gt;
There are several options  available to resolve the problem of bad image header:&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Option  1:&lt;/u&gt;&lt;br /&gt;
Under most circumstances, running the catalog consistency checking  tool will remove the suspect bad image heads, and place them in the&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt; /usr/openv/netbackup/db.corrupt&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt; folder. &amp;nbsp;The  tool can be run by executing the following command and redirecting the output to  a file &lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Unix: &amp;nbsp;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/bin/bpdbm -consistency -move &amp;gt;  &lt;i&gt;/path_to_direct_output/consistency.out&lt;/i&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Windows: &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;install_path&gt;\Veritas\netbackup\bin\bpdbm -consistency  &amp;gt; &lt;i&gt;\path_to_direct_output\consistency.out&lt;/i&gt;&lt;/install_path&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
Administrators should review the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;db.corrupt&lt;/span&gt;&lt;/tt&gt; folder and&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;  consistency.out&lt;/span&gt;&lt;/tt&gt; files and take corrective actions as needed to  recreate the images database information such as importing media, modifying the  files or restoring individual files.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Option  2:&lt;/u&gt;&lt;br /&gt;
Administrators may choose to manually remove the bad image headers to  resolve the problem. &amp;nbsp;This can be done by completing the following  steps:&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;1. Shutdown the NetBackup master  server&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/bin/goodies/bp.kill_all&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;2. Change directory to the affected  host&#39;s subdirectory in the images database. Using the above example output from  the reports, &quot;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;sparky&quot;&lt;/span&gt;&lt;/tt&gt; is the affected  host.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;cd  /usr/openv/netbackup/db/images/sparky&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;3. Change directory to the directory  containing the affected backup image header. Given the file name of the backup  image header (&lt;b&gt;Unix_0896295338_INCR&lt;/b&gt;), you can determine which directory to  change to.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;cd  &amp;nbsp;0896000000&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;4. Confirm that the backup image  header is, in fact, zero bytes in size, contains all spaces or is otherwise  obviously corrupted:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;ls -l  Unix_0896295338_INCR&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;5. Confirm if the backup image  header&#39;s &quot;files file&quot; exists:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;ls -l  Unix_0896295338_INCR.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;6. Remove the backup image header  file and it&#39;s corresponding &quot;files file&quot; if it exists:&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;rm  Unix_0896295338_INCR&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;rm  Unix_0896295338_INCR.f&lt;/span&gt;&lt;/tt&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
Complete steps 1 - 6 for each reported &quot;Bad image  header&quot; and then restart NetBackup on the master  server.&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Option 3:&lt;/u&gt;&lt;br /&gt;
If corruption of the image files  occurs after completion of the backup, such as due to a hardware issue or  unexpected power outage, the following steps may be used in order to recover the  image files on 6.x systems. These directions must be followed exactly as failure  to do so may cause other catalog corruption and should only be used after  Options 1 and 2 are reviewed. &amp;nbsp; &amp;nbsp;Symantec NetBackup Support should be engaged if  there are questions about this procedure.&lt;br /&gt;
&lt;/div&gt;&lt;ol style=&quot;margin-left: 0pt; margin-right: 0pt;&quot;&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Determine a time frame when the corruption occurred.&amp;nbsp; If the  problems database base contains enough history, &amp;nbsp;NetBackup Administrators may be  able to use the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Problems&lt;/span&gt;&lt;/tt&gt; report to find  the first recorded occurrence of the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&quot;Bad Image  Header&quot;&lt;/span&gt;&lt;/tt&gt; error. &amp;nbsp;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Using the time of the first error reported, Administrators can use  the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Backup, Archive and Restore&lt;/span&gt;&lt;/tt&gt; interface  to query for catalog backups of the type &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;i&gt;&quot;NBU-Catalog&quot;&lt;/i&gt;&lt;/span&gt;&lt;/tt&gt; to find the catalog backup that  occurred before the first error. &amp;nbsp; A restore of the suspect files to an  &lt;b&gt;&lt;u&gt;alternate location &amp;nbsp;&lt;/u&gt;&lt;/b&gt;can be done and the files manually examined  for corruption. &amp;nbsp;If the file in the most recent catalog backup is also  corrupted, continue restoring from earlier catalog backups until a non-corrupted  version of the image file is found.&lt;br /&gt;
&lt;b&gt;****Note**** &lt;/b&gt;this is not a Hot  Catalog recovery using the DR file - this is a standard restore to an alternate  location.&lt;br /&gt;
&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Examine the contents of the restored image file for invalid media  references (any copies expired after the catalog backup was done would still  exist in the restored image file, etc.).&amp;nbsp; Manually edit the image file to remove  any invalid media references. &amp;nbsp;Once the file has been edited, it can be moved  into the appropriate catalog directory.&lt;br /&gt;
&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Check whether the image is due to expire soon &amp;nbsp;by reviewing the  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;EXPIRATION &lt;/span&gt;&lt;/tt&gt;tag in the image header and run  &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/bin/bpdbm –ctime  &lt;expiration_value&gt;&lt;/expiration_value&gt;&lt;/span&gt;&lt;/tt&gt; &amp;nbsp; on Unix or &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;install_path&gt;\Veritas\netbackup\bin\bpdbm -ctime  &lt;expiration_value&gt; &lt;/expiration_value&gt;&lt;/install_path&gt;&lt;/span&gt;&lt;/tt&gt;on Windows. &amp;nbsp; &lt;br /&gt;
If the image is due to  expire soon, create the touch file &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt;NOexpire  &lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;in the following location:&lt;br /&gt;
&lt;b&gt;Unix:&lt;/b&gt; &amp;nbsp;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;/usr/openv/netbackup/bin &amp;nbsp;&lt;/span&gt;&lt;/tt&gt;&lt;b&gt;Windows:&lt;/b&gt; &amp;nbsp;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;install_path&gt;\Veritas\netbackup\bin&lt;/install_path&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Verify the image to ensure that it is valid.&lt;br /&gt;
&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Take any steps necessary to protect the backup image. &amp;nbsp;If images  were duplicated after the catalog backup used in the restore, it may be  necessary to extend the expiration date using the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpexpdate &lt;/span&gt;&lt;/tt&gt;command or manually duplicate the  backup.&lt;br /&gt;
&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 54pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Remove the &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NOexpire &lt;/span&gt;&lt;/tt&gt;file if  it was created in step 4.&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;u&gt;Prevention&lt;/u&gt;&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;&lt;/b&gt;Make sure that the NetBackup master server is protected from  power outages via redundant power supply, such as a battery backup or other  solution.  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Keep the NetBackup master server current on critical OS and  NetBackup patches.  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Implement a maintenance routine for monitoring the status of disk  devices used by the NetBackup master server.  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 36pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Monitor disk usage growing filesystems or adding disk space by  other methods when/if needed.&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/57499799710777078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/bad-image-header-in-image-db.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/57499799710777078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/57499799710777078'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/bad-image-header-in-image-db.html' title='&quot;Bad Image Header&quot; in Image DB'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-7519648311275405566</id><published>2010-04-14T12:01:00.001-04:00</published><updated>2010-04-14T12:01:37.982-04:00</updated><title type='text'>NBRB Tuning to improve performance</title><content type='html'>&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;How to configure NetBackup Resource Broker (nbrb) to improve resource allocation  performance. &lt;/div&gt;&lt;hr noshade=&quot;&quot; /&gt;  &lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;/div&gt;&lt;div class=&quot;bodytext&quot; id=&quot;DETAILS&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Manual:&lt;/u&gt; Veritas NetBackup 6.5.2 Documentation  Updates&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Modification Type:&lt;/u&gt;  Addition&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Modification:&lt;/u&gt;&lt;br /&gt;
In certain environments, the time it  takes the NetBackup Resource Broker (&lt;b&gt;nbrb)&lt;/b&gt; to execute through its queue  of jobs waiting for resources can limit overall system performance. This may  occur in situations where many jobs are queued for resources and the jobs are  completing faster than &lt;b&gt;nbrb&lt;/b&gt;&#39;s ability to re-use the released resources  for the queued jobs.&lt;br /&gt;
&lt;br /&gt;
Beginning in the NetBackup 6.5.2 Release Update, the  &lt;b&gt;nbrb.conf&lt;/b&gt; can be utilized to improve the performance of &lt;b&gt;nbrb&lt;/b&gt;.  &amp;nbsp;&lt;b&gt;nbrb.conf&lt;/b&gt; is located in:&lt;br /&gt;
&lt;u&gt;UNIX:&lt;/u&gt;  &lt;b&gt;/usr/openv/var/global/nbrb.conf&lt;/b&gt;&lt;br /&gt;
&lt;u&gt;Windows:&lt;/u&gt;  &lt;b&gt;&lt;install_path&gt;\Veritas\NetBackup\var\global\nbrb.conf&lt;/install_path&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
This  file offers the following parameters:&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;RESPECT_REQUEST_PRIORITY&lt;/b&gt;  &lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;&lt;b&gt;DO_INTERMITTENT_UNLOADS&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;Note:&lt;/b&gt; By default all values are 0.&lt;br /&gt;
&lt;br /&gt;
Example  format for parameters in &lt;b&gt;nbrb.conf&lt;/b&gt;:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;SECONDS_FOR_EVAL_LOOP_RELEASE = 180&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;RESPECT_REQUEST_PRIORITY = 0&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;DO_INTERMITTENT_UNLOADS = 1&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Explanation of  &lt;b&gt;nbrb.conf&lt;/b&gt;  parameters:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Default value is 0 if not present in  &lt;b&gt;nbrb.conf&lt;/b&gt;. &amp;nbsp;If the value is 0, &lt;b&gt;nbrb&lt;/b&gt; reverts to normal default  behavior, evaluating all queued job requests before releasing any drives that  have been released by completing jobs.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;When set to a nonzero value,  &lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt; controls the time interval after which  &lt;b&gt;nbrb&lt;/b&gt; will break into its evaluation cycle and release drives that have  been given up by completed jobs, making them available for use by other  jobs.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;RESPECT_REQUEST_PRIORITY&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Default value is 0 if not present in  &lt;b&gt;nbrb.conf&lt;/b&gt;; only has effect if &lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt; is set  to a nonzero value.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;When set to a nonzero value,  &lt;b&gt;nbrb&lt;/b&gt; will restart its evaluation queue at the top of the prioritized job  queue after resources have been released due to the  &lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt; time interval having passed during the  &lt;b&gt;nbrb&lt;/b&gt; evaluation cycle.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;If set to 0, causes &lt;b&gt;NBRB&lt;/b&gt; to  continue evaluating jobs in the prioritized job queue at the point where the  evaluation cycle was interrupted for drive releases due to  &lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt; interval.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;This mode of operation may make it  more likely for a job to reuse a drive more quickly after the drive has been  released, at the expense of allowing some lower priority jobs to get drives  before higher priority jobs.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;DO_INTERMITTENT_UNLOADS&lt;/b&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;Default value is 0 if not present in  &lt;b&gt;nbrb.conf&lt;/b&gt;; only has effect if &lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt; is set  to a nonzero value.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;When set to a nonzero value,  &lt;b&gt;nbrb&lt;/b&gt; will initiate unloads of drives that have exceeded the media unload  delay when resources are released due to the  &lt;b&gt;SECONDS_FOR_EVAL_LOOP_RELEASE&lt;/b&gt; time interval having passed during the  &lt;b&gt;nbrb&lt;/b&gt; evaluation cycle.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;This will make drives available more  quickly to jobs that require different media servers or different media than the  job that last used the drive.&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 15pt;&quot;&gt;This is achieved at the expense of  not having the loaded media/drive pair available for jobs further down in the  prioritized evaluation queue that could use the drive/media without  unload.&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;
&lt;b&gt;Notes:&lt;/b&gt; &lt;br /&gt;
- &amp;nbsp;If &lt;b&gt;nbrb.conf&lt;/b&gt; does not exist,  or if parameters are not set in the file, then those parameters take on their  default values (0), and &lt;b&gt;nbrb&lt;/b&gt; will behave as it normally does without  these configuration parameters. &lt;br /&gt;
- &amp;nbsp;The addition or modification of the  &lt;b&gt;nbrb.conf&lt;/b&gt; file does not require a recycle of the NetBackup processes.  &amp;nbsp;The process will read this file at the start of every evaluation cycle, and  changes of any type will be implemented at that time.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/7519648311275405566/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/nbrb-tuning-to-improve-performance.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/7519648311275405566'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/7519648311275405566'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/nbrb-tuning-to-improve-performance.html' title='NBRB Tuning to improve performance'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-3632808792798242966</id><published>2010-04-14T11:39:00.003-04:00</published><updated>2010-04-14T11:39:19.546-04:00</updated><title type='text'>Solaris 10 Tuning</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;DOCUMENTATION: Tuning Solaris 10 shared memory for NetBackup Media Server processes (bptm)&lt;/div&gt;&lt;hr noshade=&quot;noshade&quot; /&gt;&lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error Message&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;exacterror&quot;&gt;EXIT STATUS 89: problems encountered during setup of shared memory&lt;/span&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;&lt;u&gt;Introduction&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Prior to Solaris 10, shared memory tuning was performed by adding or changing entries in the&amp;nbsp;&lt;b&gt;/etc/system&lt;/b&gt;&amp;nbsp;file and rebooting the server - see TechNote 295295 (linked below) for advice on tuning Solaris 9 and earlier.&lt;br /&gt;
&lt;br /&gt;
With the introduction of Solaris 10, Sun have deprecated the use of&amp;nbsp;&lt;b&gt;/etc/system&lt;/b&gt;&amp;nbsp;settings and introduced the Resource Controls Facility. This allows projects to be created for applications and the resources tuned dynamically on a per-project basis.&lt;br /&gt;
&lt;br /&gt;
As part of this change, Sun set the default amount of shared memory to be 25% of the total system memory. For most NetBackup media server configurations this default will be sufficient. If not then NetBackup jobs may fail with the error:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;EXIT STATUS 89: problems encountered during setup of shared memory&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
If this happens, the instructions in this TechNote should be used.&lt;br /&gt;
&lt;br /&gt;
This TechNote is divided into two sections:&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;First Time Setup&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Modifying the Tuning&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
To check if the first time setup has already been performed, use the&amp;nbsp;&lt;b&gt;projects&lt;/b&gt;&amp;nbsp;command. If first time setup has not been performed, a message similar to the following will be displayed:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;/bin/projects -l NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;projects: project &quot;NetBackup&quot; does not exist&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;First Time Setup&lt;/u&gt;&lt;br /&gt;
Here are the steps to create a project for NetBackup and have the Solaris 10 Service Management Facility (SMF) launch NetBackup daemon processes in that project. This results in the&amp;nbsp;&lt;b&gt;bptm&lt;/b&gt;&amp;nbsp;process being launched with the values tuned in the NetBackup project.&lt;br /&gt;
&lt;br /&gt;
First create a NetBackup project (id = 1000) and &quot;tune&quot; it. The following example sets the maximum amount of shared memory to 8GB:&lt;br /&gt;
&lt;br /&gt;
(The commands below have had line breaks inserted for readability, but each should be entered on a single command line.)&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;/usr/sbin/projadd -U root -c &quot;NetBackup resource project&quot; -p 1000 NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;/usr/sbin/projmod -a&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt;-K &#39;project.max-shm-ids=(privileged,256,deny)&#39; NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projmod -a&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt;-K &#39;project.max-sem-ids=(privileged,1024,deny)&#39; NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projmod -a&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt;-K &#39;project.max-msg-ids=(privileged,256,deny)&#39; NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projmod -a&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;&lt;b&gt;-K &#39;project.max-shm-memory=(privileged,8589934592,deny)&#39; NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;u&gt;Note:&lt;/u&gt;&amp;nbsp;TechNote 183702 (linked below) contains advice on appropriate sizing for NetBackup shared memory requirements.&lt;br /&gt;
&lt;br /&gt;
This may be checked with the&amp;nbsp;&lt;b&gt;projects&lt;/b&gt;&amp;nbsp;command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projects -l NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NetBackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;projid : 1000&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;comment: &quot;NetBackup resource project&quot;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;users : root&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;groups : (none)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;attribs: project.max-msg-ids=(privileged,256,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-sem-ids=(privileged,1024,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-shm-ids=(privileged,256,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-shm-memory=(privileged,8589934592,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Now arrange for SMF to launch the NetBackup daemon processes in the NetBackup project just created. This should be performed for both the&amp;nbsp;&lt;b&gt;vnetd&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;bpcd&lt;/b&gt;&amp;nbsp;daemons.&lt;br /&gt;
&lt;br /&gt;
Find the NetBackup&lt;b&gt;&amp;nbsp;vnetd&lt;/b&gt;&amp;nbsp;service:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&lt;b&gt;&amp;nbsp;/usr/sbin/svccfg list | grep vnetd&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;network/vnetd/tcp&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
See the current settings:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/vnetd/tcp listprop | grep project&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;inetd_start/project astring default&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Change the service to run in the NetBackup project:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/vnetd/tcp setprop inetd_start/project=NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Check the change is applied:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/vnetd/tcp listprop | grep project&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;inetd_start/project astring NetBackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Now do the same for the bpcd daemon:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg list | grep bpcd&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;network/vnetd/tcp&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/bpcd/tcp listprop | grep project&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;inetd_start/project astring default&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/bpcd/tcp setprop inetd_start/project=NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/bpcd/tcp listprop | grep project&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;inetd_start/project astring NetBackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Check the effects of the tuning on a running process with the&amp;nbsp;&lt;b&gt;prctl&lt;/b&gt;&amp;nbsp;command. In this example, the&amp;nbsp;&lt;b&gt;bpps&lt;/b&gt;&amp;nbsp;command on the media server shows the process id of bptm to be 3428 and the output of the&amp;nbsp;&lt;b&gt;prctl&lt;/b&gt;command shows the shared memory setting to be 8GB:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;/usr/openv/netbackup/bin/bpps | grep bpt&lt;/b&gt;m&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 3428 1 0 12:05:39 ? 0:00 bptm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;/bin/prctl -n project.max-shm-memory 3428&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;process: 3428: bptm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-shm-memory&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;privileged&amp;nbsp;&lt;b&gt;8.00GB&lt;/b&gt;&amp;nbsp;- deny -&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;system 16.0EB max deny -&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Modifying the Tuning&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
Once first time setup has been performed, it is necessary to use different command options to modify the settings; repeating the first time settings can lead to unpredictable results.&lt;br /&gt;
&lt;br /&gt;
First ensure the NetBackup daemons are being launched by SMF in the&amp;nbsp;&lt;b&gt;NetBackup&amp;nbsp;&lt;/b&gt;project:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/vnetd/tcp listprop | grep project&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;inetd_start/project astring NetBackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;svccfg -s network/bpcd/tcp listprop | grep project&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;inetd_start/project astring NetBackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Now review the NetBackup project settings:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projects -l NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NetBackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;projid : 1000&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;comment: &quot;NetBackup resource project&quot;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;users : root&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;groups : (none)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;attribs: project.max-msg-ids=(privileged,256,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-sem-ids=(privileged,1024,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-shm-ids=(privileged,256,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-shm-memory=(privileged,8589934592,deny)&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
To modify a project attribute, use the&amp;nbsp;&lt;b&gt;projmod&lt;/b&gt;&amp;nbsp;command with the&lt;b&gt;&amp;nbsp;-s&lt;/b&gt;&amp;nbsp;switch. For example, to increase the maximum shared memory setting to 10GB (10737418240), use the command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projmod -s -K &#39;project.max-shm-memory=(privileged,10737418240,deny)&#39; NetBackup&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Check the change was successful and that the project contains just one entry for the tunable attribute that you specified:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;projects -l NetBackup | grep max-shm-memory&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;project.max-shm-memory=(privileged,10737418240,deny)&lt;/span&gt;&lt;/tt&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/3632808792798242966/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/solaris-10-tuning.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/3632808792798242966'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/3632808792798242966'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/solaris-10-tuning.html' title='Solaris 10 Tuning'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-5192931902086747997</id><published>2010-04-14T11:38:00.001-04:00</published><updated>2010-04-14T11:38:41.431-04:00</updated><title type='text'>Catalog Recovery</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;DOCUMENTATION: Catalog recovery procedure: an example of disaster recovery.&lt;/div&gt;&lt;hr noshade=&quot;noshade&quot; /&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;Normal&quot;&gt;&lt;b&gt;Sample Catalog recovery procedure&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
This is only an example of procedures used. Not all steps are required and may not be applicable to all situations.&lt;br /&gt;
&lt;br /&gt;
These directions assume that NetBackup has already been installed on the DR (disaster recovery) server.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;these instructions describe a full recovery of the master for redeployment into production.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Load media into DR site robot.&lt;/b&gt;&lt;br /&gt;
For safety, only load the catalog tape initially.&lt;br /&gt;
&lt;br /&gt;
Alternately, load all media as write protected.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Validate the bp.conf and vm.conf (if applicable) configuration files.&lt;/b&gt;&lt;br /&gt;
Additional things to check:&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Check&amp;nbsp;&lt;b&gt;/usr/openv/volmgr/vm.conf&lt;/b&gt;&amp;nbsp;for a&amp;nbsp;&lt;b&gt;MEDIA_ID_BARCODE_CHARS&lt;/b&gt;&amp;nbsp;entry, if it is needed.&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Check&amp;nbsp;&lt;b&gt;/usr/openv/netbackup/db/config&lt;/b&gt;&amp;nbsp;for the touch files&amp;nbsp;&lt;b&gt;NUMBER_DATA_BUFFERS&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;SIZE_DATA_BUFFERS&lt;/b&gt;.&lt;/li&gt;
&lt;li class=&quot;Normal&quot; style=&quot;margin-bottom: 0pt; margin-left: 10pt; margin-top: 0pt; text-indent: 0pt;&quot;&gt;Check&amp;nbsp;&lt;b&gt;/usr/openv/netbackup&lt;/b&gt;&amp;nbsp;for the touch file&amp;nbsp;&lt;b&gt;NET_BUFFER_SZ&lt;/b&gt;.&lt;/li&gt;
&lt;/ul&gt;&lt;b&gt;3. In the GUI, run the device configuration wizard.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Uncheck all servers except the master server.&lt;br /&gt;
Run the wizard to configure the devices.&lt;br /&gt;
On the first result dialog, check for any limitations.&lt;br /&gt;
&lt;br /&gt;
To change from the default drive densities, if desired:&lt;br /&gt;
In the&amp;nbsp;&lt;b&gt;Drag and Drop Configuration&lt;/b&gt;&amp;nbsp;dialog, select the drive and click on the&amp;nbsp;&lt;b&gt;Properties&lt;/b&gt;&amp;nbsp;button. Verify the&amp;nbsp;&lt;b&gt;Drive Density&lt;/b&gt;.&lt;br /&gt;
Repeat this for each drive.&lt;br /&gt;
&lt;br /&gt;
In the&amp;nbsp;&lt;b&gt;Configure Storage Unit&lt;/b&gt;&amp;nbsp;dialog, select the storage unit and click&amp;nbsp;&lt;b&gt;Properties&lt;/b&gt;&amp;nbsp;to verify the storage unit settings.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4. Run an inventory of the robot.&lt;/b&gt;&lt;br /&gt;
Preview the inventory and verify the media type is correct.&lt;br /&gt;
&lt;br /&gt;
Make note of the barcodes and any changes from the production site, as different robots can return different barcodes for the same tape. For instance, LTO tapes can have &quot;L#&quot; on the end of the barcode. This can be disabled via the robot console option for short labels.&lt;br /&gt;
&lt;br /&gt;
Update the volume configuration.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5. Add the following line to bp.conf:&lt;/b&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;RESOURCE_MONITOR_INTERVAL = 3600&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
This will change media server polling from 10 minutes to 1 hour.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;6. Make copies of the DR environment bp.conf and vm.conf files&lt;/b&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd /usr/openv/netbackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp bp.conf bp.conf.dr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd ../volmgr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp vm.conf vm.conf.dr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;7. Recover the entire catalog.&lt;/b&gt;&lt;br /&gt;
This is performed from the GUI on the master server. Always log in to the Java GUI using the short hostname, as the fully qualified domain name may not match the production site.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&amp;nbsp;&lt;/b&gt;Optionally, the catalog recovery can be performed from the command line:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/admincmd/bprecover -wizard&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;8. Manually deactivate all backup policies.&lt;/b&gt;&lt;br /&gt;
From the GUI, select all policies, right click and select&amp;nbsp;&lt;b&gt;Deactivate&lt;/b&gt;. This may take a while.&lt;br /&gt;
&lt;br /&gt;
Be sure that all policies are deactivated before proceeding.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;9. Shut down NetBackup.&lt;/b&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/bp.kill_all&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Verify with&amp;nbsp;&lt;b&gt;bpps -x&lt;/b&gt;&amp;nbsp;that only&amp;nbsp;&lt;b&gt;/opt/VRTSpbx/bin/pbx_exchange&lt;/b&gt;&amp;nbsp;is running.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;10. Prep the bp.conf and vm.conf configuration files.&lt;/b&gt;&lt;br /&gt;
Copy&amp;nbsp;&lt;b&gt;bp.conf&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;vm.conf&lt;/b&gt;&amp;nbsp;to&amp;nbsp;&lt;b&gt;bp.conf.prod&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;vm.conf.prod&lt;/b&gt;:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd /usr/openv/netbackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp bp.conf bp.conf.prod&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd ../volmgr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp vm.conf vm.conf.prod&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Then, copy back the&amp;nbsp;&lt;b&gt;bp.conf.dr&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;vm.conf.dr&lt;/b&gt;&amp;nbsp;to&amp;nbsp;&lt;b&gt;bp.conf&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;vm.conf&lt;/b&gt;:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd /usr/openv/netbackup&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp bp.conf.dr bp.conf&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cd ../volmgr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# cp vm.conf.dr vm.conf&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Verify that the hostnames of any remote Windows console servers are included in the&amp;nbsp;&lt;b&gt;bp.conf&lt;/b&gt;&amp;nbsp;with a&amp;nbsp;&lt;b&gt;SERVER&lt;/b&gt;&amp;nbsp;entry.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;11. Make sure bp.conf and vm.conf are configured correctly to reflect DR environment.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Append&amp;nbsp;&lt;b&gt;FORCE_RESTORE_MEDIA_SERVER&lt;/b&gt;&amp;nbsp;entries to&amp;nbsp;&lt;b&gt;bp.conf&lt;/b&gt;&amp;nbsp;for each media server not present at DR that were used to do backups in production. The syntax of these entries is as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;FORCE_RESTORE_MEDIA_SERVER =&amp;nbsp;&lt;unavailable&gt;&lt;available&gt;&lt;/available&gt;&lt;/unavailable&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;12. Perform a partial startup nbemm.&lt;/b&gt;&lt;br /&gt;
This will allow modification of the&amp;nbsp;&lt;b&gt;nbemm&lt;/b&gt;&amp;nbsp;database without the job manager running and kicking off jobs.&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/nbdbms_start_stop start&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/nbemm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Run&amp;nbsp;&lt;b&gt;bpps -x&lt;/b&gt;&amp;nbsp;to verify that&amp;nbsp;&lt;b&gt;nbemm&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;NB_dbsrv&lt;/b&gt;&amp;nbsp;are running&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;13. Deactivate all media servers not participating in the DR.&lt;/b&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/admincmd/nbemmcmd -updatehost -machinename&amp;nbsp;&lt;media&gt;-machinestateop set_admin_pause -machinetype media -masterserver&amp;nbsp;&lt;master&gt;&lt;/master&gt;&lt;/media&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Be sure to execute this command against every unavailable media server.&lt;br /&gt;
&lt;br /&gt;
14. Start&amp;nbsp;&lt;b&gt;nbevtmgr&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;bpdbm&lt;/b&gt;.&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/nbevtmgr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/initbpdbm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Again, run&amp;nbsp;&lt;b&gt;bpps -x&lt;/b&gt;&amp;nbsp;to verify that&amp;nbsp;&lt;b&gt;bpdbm&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;nbevtmgr&lt;/b&gt;&amp;nbsp;are running.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;15. Delete all storage units.&lt;/b&gt;&lt;br /&gt;
This step is optional, but will give a cleaner experience. Either use the GUI or the command line.&lt;br /&gt;
&lt;br /&gt;
From the command line:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/admincmd/bpstulist -go | cut -f 1 -d &#39; &#39; &amp;gt; /tmp/stu_groups&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/admincmd/bpstulist | cut -f 1 -d &#39; &#39; &amp;gt; /tmp/stu_list&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# for i in `cat /tmp/stu_groups` ; do echo &quot;/usr/openv/netbackup/bin/admincmd/bpstudel -group $i&quot; ; done &amp;gt;&amp;gt; /tmp/delete_stu_groups&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# for i in `cat /tmp/stu_list` ; do echo &quot;/usr/openv/netbackup/bin/admincmd/bpstudel -label $i&quot; ; done &amp;gt;&amp;gt; /tmp/delete_stus&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# sh /tmp/delete_stu_groups&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&amp;nbsp;&lt;/b&gt;Be sure to delete storage unit groups first prior to deleting storage units!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;16. Delete all tape devices from the command line.&lt;/b&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/admincmd/nbemmcmd -deletealldevices -allrecords&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Verify no devices are returned:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/volmgr/bin/tpconfig -emm_dev_list -noverbose&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;17. Stop and restart NetBackup.&lt;/b&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/netbackup/bin/bp.kill_all&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
Use&amp;nbsp;&lt;b&gt;bpps -x&lt;/b&gt;&amp;nbsp;to verify that only&amp;nbsp;&lt;b&gt;/opt/VRTSpbx/bin/pbx_exchange&lt;/b&gt;&amp;nbsp;is running.&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;/usr/openv/netbackup/bin/bp.start_all&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;...&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;#&amp;nbsp;&lt;b&gt;bpps -x&lt;/b&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;NB Processes&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;------------&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13809 13808 0 15:05:07 ? 0:00 /usr/openv/netbackup/bin/nbproxy dblib nbjm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13775 1 0 15:05:03 ? 0:00 /usr/openv/netbackup/bin/bpcompatd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13786 1 1 15:05:04 ? 0:00 /usr/openv/netbackup/bin/bpdbm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13757 1 0 15:05:01 ? 0:00 /usr/openv/netbackup/bin/nbrb&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13747 1 0 15:04:59 ? 0:00 /usr/openv/netbackup/bin/nbevtmgr&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13795 13786 0 15:05:05 ? 0:00 /usr/openv/netbackup/bin/bpjobd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13856 1 0 15:05:12 ? 0:00 /usr/openv/netbackup/bin/nbsvcmon&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13813 1 1 15:05:08 ? 0:01 /usr/openv/netbackup/bin/nbstserv&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13811 13810 1 15:05:07 ? 0:01 /usr/openv/netbackup/bin/nbproxy dblib nbpem&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13818 1 1 15:05:09 ? 0:01 /usr/openv/netbackup/bin/nbrmms&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13752 1 2 15:05:00 ? 0:02 /usr/openv/netbackup/bin/nbemm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13808 13797 0 15:05:07 ? 0:00 sh -c &quot;/usr/openv/netbackup/bin/nbproxy&quot; dblib nbjm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13770 1 1 15:05:02 ? 0:01 /usr/openv/netbackup/bin/bprd&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13844 1 0 15:05:11 ? 0:00 /usr/openv/netbackup/bin/nbsl&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13797 1 0 15:05:05 ? 0:00 /usr/openv/netbackup/bin/nbjm&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13810 13804 0 15:05:07 ? 0:00 sh -c &quot;/usr/openv/netbackup/bin/nbproxy&quot; dblib nbpem&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13804 1 0 15:05:06 ? 0:00 /usr/openv/netbackup/bin/nbpem&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13742 1 0 15:04:57 ? 0:02 /usr/openv/db/bin/NB_dbsrv&amp;nbsp;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;MM Processes&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;------------&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 13783 1 1 15:05:04 ? 0:01 vmd -v&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;Shared Symantec Processes&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;-------------------------&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;root 142 1 1 16:46:54 ? 0:52 /opt/VRTSpbx/bin/pbx_exchange&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;18. In the GUI, run the device configuration wizard to configure shared drives.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Uncheck all servers except the robot control host.&lt;br /&gt;
Run the wizard to configure the devices&lt;br /&gt;
On the first result dialog, check for any limitations&lt;br /&gt;
&lt;br /&gt;
To change from the default drive densities, if desired:&lt;br /&gt;
In the&amp;nbsp;&lt;b&gt;Drag and Drop Configuration&lt;/b&gt;&amp;nbsp;dialog, select the drive and click on the&amp;nbsp;&lt;b&gt;Properties&lt;/b&gt;&amp;nbsp;button. Verify the Drive Density.&lt;br /&gt;
Repeat for each drive.&lt;br /&gt;
&lt;br /&gt;
In the&amp;nbsp;&lt;b&gt;Configure Storage Unit&lt;/b&gt;&amp;nbsp;dialog, select the storage unit and click&amp;nbsp;&lt;b&gt;Properties&lt;/b&gt;&amp;nbsp;to verify the storage unit settings.&lt;br /&gt;
&lt;br /&gt;
If needed, repeat the process for any additional servers.&lt;br /&gt;
&lt;br /&gt;
Using the Device Monitor, make sure that no drives have the&amp;nbsp;&lt;b&gt;RESTART&lt;/b&gt;&amp;nbsp;bit set. Restart&amp;nbsp;&lt;b&gt;ltid&lt;/b&gt;&amp;nbsp;on the servers if needed.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;19. Run the robot inventory.&lt;/b&gt;&lt;br /&gt;
Before running the inventory, use the GUI to verify all the recovery media are set to non-robotic.&lt;br /&gt;
If they are not, select all robotic media, right click and select&amp;nbsp;&lt;b&gt;Move&lt;/b&gt;. Make sure&amp;nbsp;&lt;b&gt;Volume is in a robotic library&lt;/b&gt;&amp;nbsp;is&amp;nbsp;&lt;i&gt;unchecked&lt;/i&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt;&amp;nbsp;The volume group may be &quot;---&quot; - this is okay.&lt;br /&gt;
&lt;br /&gt;
Hit&amp;nbsp;&lt;b&gt;OK&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Make note of the barcodes and any changes from the production site (the presence of the &quot;L#&quot; tag). The hardware should be able to toggle the &quot;L#&quot; tag (long vs. short labels). If that is not possible, the barcode of the media can be changed with the following command:&lt;br /&gt;
&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;# /usr/openv/volmgr/bin/vmchange -barcode&amp;nbsp;&lt;desired&gt;-m&amp;nbsp;&lt;mediaid&gt;&lt;/mediaid&gt;&lt;/desired&gt;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;20. Verify that restores work.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/5192931902086747997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/catalog-recovery.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5192931902086747997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5192931902086747997'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/catalog-recovery.html' title='Catalog Recovery'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-1988214181333939036</id><published>2010-04-14T11:37:00.000-04:00</published><updated>2010-04-14T11:37:23.056-04:00</updated><title type='text'>OS Tuning parameters</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul style=&quot;font-family: arial;&quot;&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Windows Registry Settings&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Open REGEDT32 and navigate to: HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\ AFD\PARAMETERS&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Add a new DWORD value to the DefaultSendWindow key and set the value to 65536 (decimal).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Add a new DWORD value to the DefaultReceiveWindow key and set the value to 65536 (decimal).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Within REGEDT32, navigate to the following location: HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\SERVICES\ TCPIP\PARAMETERS&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Add a new DWORD value to the GlobalMaxTcpWindowSize key and set the value to 65536 (decimal).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Add a new DWORD value to the TcpWindowSize key and set the value to 65536 (decimal).&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Add a new DWORD value to the Tcp1323Opts key and set the value to 3.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Restart the Windows server.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Windows Netbackup Buffer Changes&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;{NB INSTALL PATH}/NetBackup/NET_BUFFER_SZ = 1048576&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;{NB INSTALL PATH}/NetBackup/db/config/SIZE_DATA_BUFFERS = 65536&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;{NB INSTALL PATH}/NetBackup/db/config/SIZE_DATA_BUFFERS_DISK = 262144&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;{NB INSTALL PATH}/NetBackup/db/config/NUMBER_DATA_BUFFERS = 16&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;{NB INSTALL PATH}/NetBackup/db/config/NUMBER_DATA_BUFFERS_DISK = 32&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Linux Kernel Changes to /etc/sysctl.conf for most DD models&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.rmem_default = 262144&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.wmem_default = 262144&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.rmem_max = 262144&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.wmem_max = 262144&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.ipv4.tcp_rmem = 4096 262144 1048576&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.ipv4.tcp_wmem = 4096 262144 1048576&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;vm.lower_zone_protection = 250&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;Run&amp;nbsp;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;sysctl -p&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Linux Kernel Changes to /etc/sysctl.conf for DD565, DD580 and DD690 models&lt;/span&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.rmem_default = 262144&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.wmem_default = 262144&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.rmem_max = 2097152&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.core.wmem_max = 2097152&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.ipv4.tcp_rmem = 8192 524288 2097152&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;net.ipv4.tcp_wmem = 8192 524288 2097152&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;vm.lower_zone_protection = 250&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Run&lt;/span&gt;&lt;span style=&quot;font-size: 11px;&quot;&gt;&amp;nbsp;&lt;span style=&quot;font-size: 11px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;sysctl -p&lt;/code&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Solaris Kernel Changes&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Create a file /etc/rc3.d/S90ddr. Enter the following two lines in the file:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;ndd -set /dev/tcp tcp_recv_hiwat 131072&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;ndd -set /dev/tcp tcp_xmit_hiwat 131072&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;In the file /etc/system, add the following lines:&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set nfs:nfs3_max_threads=16&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set nfs:nfs3_async_clusters=4&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set nfs:nfs3_nra=16&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set rpcmod:clnt_max_conns=1&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set fastscan=131072&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set handspreadpages=131072&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;set maxpgio=65536&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;Unix Netbackup Buffer Changes&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;echo 1048576 &amp;gt; /usr/openv/netbackup/NET_BUFFER_SZ&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;echo 262144 &amp;gt; /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;echo 262144 &amp;gt; /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS_DISK&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;echo 16 &amp;gt; /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-size: 13px;&quot;&gt;&lt;code style=&quot;color: #999999;&quot;&gt;echo 32 &amp;gt; /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS_DISK&lt;/code&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/1988214181333939036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/os-tuning-parameters.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/1988214181333939036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/1988214181333939036'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/os-tuning-parameters.html' title='OS Tuning parameters'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-4027311490834499584</id><published>2010-04-14T11:35:00.001-04:00</published><updated>2010-04-14T11:35:12.720-04:00</updated><title type='text'>Backup performance and NIC cards</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px;&quot;&gt;If backup or restore jobs are running slowly, verify that the network interface cards (NIC) are set to full duplex. Half duplex often causes poor performance. For assistance on how to view and reset duplex mode for a particular host or device, consult the documentation that the manufacturer provides, or try the following.&lt;br /&gt;
&lt;br /&gt;
1 Log in to the host that contains the network interface card(s).&lt;br /&gt;
&lt;br /&gt;
2 Enter the following command to view the current duplex setting.&lt;br /&gt;
&lt;br /&gt;
ifconfig -a On some operating systems, this command is ipconfig. Example output from a NAS filer:&lt;br /&gt;
e0: flags=1948043&lt;up,broadcast,running,multicast,tcpcksum&gt;&amp;nbsp;mtu&lt;br /&gt;
1500&lt;br /&gt;
inet 10.80.90.91 netmask 0xfffff800 broadcast 10.80.95.255&lt;br /&gt;
ether 00:a0:98:01:3c:61 (100tx-fd-up) flowcontrol full&lt;br /&gt;
e9a: flags=108042&lt;broadcast,running,multicast,tcpcksum&gt;&amp;nbsp;mtu 1500&lt;br /&gt;
ether 00:07:e9:3e:ca:b4 (auto-unknown-cfg_down) flowcontrol full&lt;br /&gt;
e9b: flags=108042&lt;broadcast,running,multicast,tcpcksum&gt;&amp;nbsp;mtu 1500&lt;br /&gt;
ether 00:07:e9:3e:ca:b5 (auto-unknown-cfg_down) flowcontrol full&lt;br /&gt;
In this example, the network interface that shows “100tx-fd-up” is running in full duplex. Only interface e0, the first in the list, is at full duplex.&lt;br /&gt;
&lt;br /&gt;
Note: A setting of “auto” is not recommended, because devices can auto negotiate to half duplex.&lt;br /&gt;
&lt;br /&gt;
3 The duplex mode can be reset by using the ifconfig (or ipconfig) command. For example:&lt;br /&gt;
ifconfig e0 mediatype 100tx-fd&lt;br /&gt;
&lt;br /&gt;
4 For most hosts, you can set full-duplex mode permanently, such as in the host’s /etc/rc files. Refer to the host’s documentation for more information.&lt;/broadcast,running,multicast,tcpcksum&gt;&lt;/broadcast,running,multicast,tcpcksum&gt;&lt;/up,broadcast,running,multicast,tcpcksum&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/4027311490834499584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/backup-performance-and-nic-cards.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/4027311490834499584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/4027311490834499584'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/backup-performance-and-nic-cards.html' title='Backup performance and NIC cards'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-5681893859858492562</id><published>2010-04-14T11:34:00.000-04:00</published><updated>2010-04-14T11:34:12.702-04:00</updated><title type='text'>Import Images</title><content type='html'>Details:&lt;br /&gt;
Importing media requires a 2 step process, first a Phase 1 import must be run followed by a Phase 2 import.&lt;br /&gt;
&lt;br /&gt;
-  The Phase 1 import procedure assigns the media to the Media Server in the EMM database, and reads the media to create a HEADER file in the ImageDB for each backup found. If the backup image being imported spans media, a Phase 1 needs to be performed on ALL media before running the Phase 2.  &lt;br /&gt;
NOTE: The Phase 1 option is referred too as &quot;Initiate Import&quot; in the NetBackup Administration GUI.&lt;br /&gt;
&lt;br /&gt;
-  The Phase 2 reads the media more thoroughly and creates the FILES file in the images database. The FILES file contains a list of all the files contained in the backup image.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The screen shots below will help identify the steps involved with importing a image.&lt;br /&gt;
&lt;br /&gt;
1.  Under the Catalog section of the console, select Actions -&amp;gt; Initiate Import.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://seer.entsupport.symantec.com/docs/images/278948/import1.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
2.  Enter the Media ID and Media Server in the Initiate Import box.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://seer.entsupport.symantec.com/docs/images/278948/import2.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
3.  After the Phase 1 has been completed on all media, select the criteria in which to search for backup &lt;br /&gt;
image(s) produced during the phase 1 import.  The main search parameters will be the media ID and/or a date time range covering the backup date.  Press Search Now to find the backup image(s) available for Phase 2 import.&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://seer.entsupport.symantec.com/docs/images/278948/import3.jpg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
4.  Select/highlight one or more of the backup image(s) available for importing, right click on the backup &lt;br /&gt;
image(s) and select Import (Do not select &quot;initiate import&quot; again).  This section of the import may take as long as the original backup (perhaps longer if the backups were multiplexed).&lt;br /&gt;
&lt;br /&gt;
&lt;img src=&quot;http://seer.entsupport.symantec.com/docs/images/278948/import4.jpg&quot; /&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/5681893859858492562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/import-images.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5681893859858492562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5681893859858492562'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/import-images.html' title='Import Images'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-3429661028279732622</id><published>2010-04-14T11:25:00.000-04:00</published><updated>2010-04-14T11:27:28.313-04:00</updated><title type='text'>Data Buffer Settings</title><content type='html'>NET_BUFFER_SZ, SIZE_DATA_BUFFERS and NUMBER_DATA_BUFFERS - how they work and how to configure them&lt;br /&gt;&lt;br /&gt;Details:&lt;br /&gt;Here is some information on undocumented features for setting the Network Buffer Size, Data Buffer Size, and Number of Data Buffers used by NetBackup (tm) on UNIX platforms. &lt;br /&gt;&lt;br /&gt;NOTE: These settings are used to tune the performance of NetBackup.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;TCP/IP Network Buffer Size.&lt;br /&gt;&lt;br /&gt;/usr/openv/netbackup/NET_BUFFER_SZ is a file containing a number indicating the TCP/IP socket buffer size that should be used for data transfers between the NetBackup media server and its clients. If the file does not exist, the default value used is 32032 bytes.&lt;br /&gt;&lt;br /&gt;The default value can be changed by creating the file /usr/openv/netbackup/NET_BUFFER_SZ on the NetBackup media server and client systems.&lt;br /&gt;&lt;br /&gt;The /usr/openv/netbackup/NET_BUFFER_SZ file is a text file containing a single line specifying the value of the Network Buffer Size in bytes in decimal format.&lt;br /&gt;&lt;br /&gt;For example, a Network Buffer Size of 64KB could be configured and checked like this:&lt;br /&gt;&lt;br /&gt;# echo &quot;65536&quot; &gt; /usr/openv/netbackup/NET_BUFFER_SZ&lt;br /&gt;# cat /usr/openv/netbackup/NET_BUFFER_SZ&lt;br /&gt;65536&lt;br /&gt;# &lt;br /&gt;&lt;br /&gt;Specifying a larger value in the NET_BUFFER_SZ file may improve the performance of backups and restores. It is recommended that if NET_BUFFER_SZ is used, the same value should be set on all the NetBackup media servers and clients.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Data Buffer Size and Number of Data Buffers.&lt;br /&gt;&lt;br /&gt;The NetBackup media server uses shared memory to buffer data between the network and the tape drive (or between the disk and the tape drive if the NetBackup media server and client are the same system). By default, NetBackup uses a default value of 8 x 32KB shared memory buffers for non-multiplexed backups and 4 x 64KB for a multiplexed backup. &lt;br /&gt;&lt;br /&gt;These buffers can be configured by creating the files /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS and /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS on the NetBackup media server.  These parameters are meant exclusively for media servers, and should not be used on a pure master server or client.&lt;br /&gt;&lt;br /&gt;The SIZE_DATA_BUFFERS file should contain a single line specifying the data buffer size in bytes in decimal format.&lt;br /&gt;The NUMBER_DATA_BUFFERS file should contain a single line specifying the number of data buffers in decimal format.&lt;br /&gt;&lt;br /&gt;The value in the SIZE_DATA_BUFFERS file has to be a multiple of 1024B.&lt;br /&gt;It is common to increase SIZE_DATA_BUFFERS to 256KB and NUMBER_DATA_BUFFERS to 16.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IMPORTANT:  Because the data buffer size equals the tape I/O size, the value specified in SIZE_DATA_BUFFERS must not exceed the maximum tape I/O size supported by the tape drive or operating system. This is usually 256 KB or 128 KB.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In order to configure NetBackup to use 16 x 256 KB data buffers, specify 262144 (256 x 1024) in SIZE_DATA_BUFFERS and 16 in NUMBER_DATA_BUFFERS:&lt;br /&gt;&lt;br /&gt;# echo &quot;262144&quot; &gt; /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS&lt;br /&gt;# echo &quot;16&quot; &gt; /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS&lt;br /&gt;# cat /usr/openv/netbackup/db/config/SIZE_DATA_BUFFERS&lt;br /&gt;262144&lt;br /&gt;# cat /usr/openv/netbackup/db/config/NUMBER_DATA_BUFFERS&lt;br /&gt;16&lt;br /&gt;# &lt;br /&gt;&lt;br /&gt;Care should be taken when changing these values. For example, increasing the tape buffer size can cause some backups to run slower and there have been cases where there have been restore problems.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;IMPORTANT:  After making any changes, it is vitally important to verify that the following tests can be completed successfully:&lt;br /&gt;&lt;br /&gt;1. Run a backup&lt;br /&gt;2. Restore data from the new backup created in step 1&lt;br /&gt;3. Restore data from a backup created prior to the changes to SIZE_DATA_BUFFERS and NUMBER_DATA_BUFFERS&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The number and size of the data buffers used by the NetBackup media server can be checked by looking in the bptm log file: &lt;br /&gt;&lt;br /&gt;12:02:55 [28551] &lt;2&gt; io_init: using 32768 data buffer size&lt;br /&gt;12:02:55 [28551] &lt;2&gt; io_init: CINDEX 0, sched bytes for monitoring = 2000&lt;br /&gt;12:02:55 [28551] &lt;2&gt; io_init: using 8 data buffers&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;15:26:01 [21544] &lt;2&gt; mpx_setup_restore_shm: using 12 data buffers, buffer size is 65536&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Increasing the size and number of the data buffers will use up more shared memory, which is a limited system resource. The total amount of shared memory used is: (buffer_size * num_buffers) * drives * MPX. &lt;br /&gt;&lt;br /&gt;So, for two tape drives, each configured with an MPX of 4, and with 16 data buffers of 256 KB, the total shared memory usage would be:&lt;br /&gt;&lt;br /&gt;(16 * 256k) * 2 * 4 = 32 MB (32768 KB)&lt;br /&gt;&lt;br /&gt;Take into consideration the total system resources and the entire network.&lt;br /&gt;The Maximum Transmission Unit (MTU) for the LAN may also have to be changed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;NOTE: For Digital Linear Tape (DLT) drives, the number that seems to give the best performance for SIZE_DATA_BUFFERS is 65536. Further performance improvements can be achieved by increasing the value in the NUMBER_DATA_BUFFERS file.</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/3429661028279732622/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/data-buffer-settings.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/3429661028279732622'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/3429661028279732622'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/data-buffer-settings.html' title='Data Buffer Settings'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1785281929395215967.post-5063568751116598141</id><published>2010-04-14T11:23:00.000-04:00</published><updated>2010-04-14T11:24:51.155-04:00</updated><title type='text'>Technote : Status Code 58</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Trebuchet MS&#39;, Trebuchet, Verdana, sans-serif; font-size: 13px; &quot;&gt;&lt;h3 class=&quot;post-title entry-title&quot; style=&quot;margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; color: rgb(158, 82, 5); font: normal normal bold 160%/normal Verdana, sans-serif; letter-spacing: -1px; &quot;&gt;&lt;a href=&quot;http://veritas-nbu.blogspot.com/2009/08/troubleshooting-status-code-58.html&quot; style=&quot;color: rgb(158, 82, 5); &quot;&gt;Troubleshooting Status Code 58&lt;/a&gt;&lt;/h3&gt;&lt;div class=&quot;post-header&quot;&gt;&lt;div class=&quot;post-header-line-1&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;post-body entry-content&quot;&gt;&lt;div class=&quot;TITLE&quot; id=&quot;TITLE&quot;&gt;STATUS CODE 58: Can&#39;t connect to client. Troubleshooting procedures for Status 58 errors.&lt;/div&gt;&lt;hr noshade=&quot;noshade&quot;&gt;&lt;div class=&quot;bodytext&quot; id=&quot;EXACT_ERROR&quot;&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Exact Error Message&lt;/span&gt;&lt;br /&gt;&lt;span class=&quot;exacterror&quot;&gt;status code 58: can&#39;t connect to client&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span class=&quot;BodyToolboxHeader&quot;&gt;Details:&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;u&gt;Overview: &lt;/u&gt;&lt;br /&gt;A status 58 error results from either a TCP SYN request sent to a client from the NetBackup (NBU) server that was not acknowledged or the server was not resolvable so a TCP SYN request was not sent. The majority of the causes of this issue are due to the client not listening on the BPCD or VNETD ports, the master server unable to resolve the client by hostname, or the client can not resolve the NBU server by its IP address. NBU clients running 6.x release, though it uses the vnetd daemon for incoming connections, it still requires bpcd to perform the hostname compare to authenticate the NBU server.&lt;br /&gt;&lt;br /&gt;&lt;u&gt;Troubleshooting:&lt;/u&gt;&lt;br /&gt;Below are steps you can use to help isolate the issue.&lt;br /&gt;&lt;br /&gt;When troubleshooting status 58 errors on a NetBackup client, the first thing to test is to whether or not you can access the client from the client Host Properties from the master server. If that works the same ports are involved when backing up the client as to when you access the client host properties. Connecting to the client host properties from the master server would prove the master server can access the client without any problems. So if using a storage unit on the master server you should be able to backup the client without getting the status 58 error.&lt;br /&gt;&lt;br /&gt;In 6.x environments you can use the command- &lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bptestbpcd&lt;/span&gt;&lt;/tt&gt; to verify you can connect to both the vnetd and bpcd ports on the client server.&lt;br /&gt;e.g.&lt;br /&gt;bptestbpcd -verbose -debug -client &lt;client&gt;&lt;br /&gt;&lt;br /&gt;See the tech note 277901 for additional details on use of that command. &lt;a href=&quot;http://entsupport.symantec.com/docs/277901&quot; style=&quot;color: rgb(222, 112, 8); &quot;&gt;http://entsupport.symantec.com/docs/277901&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If still getting status 58 errors after ensuring the master server can connect to the client, focus on the media server used during the backup. The problem is more than likely with the client hostname lookup or gethostbyname call made to DNS or local host file on the media server.&lt;br /&gt;&lt;br /&gt;If the master server can not connect to the client when trying to access the client host properties, or the point of failure appears to be with the media server, below are steps you can take to further troubleshoot this issue-&lt;br /&gt;&lt;br /&gt;To test the master/media server resolution of the client server hostname run the following command-&lt;br /&gt;&lt;install&gt;/netbackup/bin/./&lt;b&gt;bpclntcmd -hn&lt;/b&gt; &lt;client&gt;&lt;br /&gt;&lt;br /&gt;Since reverse lookups is part of the NBU server to client connections make sure the client can also be resolved by its IP address-&lt;br /&gt;&lt;install&gt;/netbackup/bin/./&lt;b&gt;bpclntcmd -ip&lt;/b&gt; &lt;client&gt;&lt;br /&gt;&lt;br /&gt;On the client test the resolution of the NBU servers by issuing the same commands. These commands should be run against all of the media servers that may be trying to backup the client server-&lt;br /&gt;&lt;install&gt;/netbackup/bin/./&lt;b&gt;bpclntcmd -hn&lt;/b&gt; &lt;nbu&gt;&lt;br /&gt;&lt;br /&gt;&lt;install&gt;/netbackup/bin/./&lt;b&gt;bpclntcmd -ip&lt;/b&gt; &lt;nbu&gt;&lt;br /&gt;&lt;br /&gt;Verify you are able to &quot;ping&quot; the client&#39;s IP address from the NBU server. If this fails consult with your Network Administrator and client server System Administrator to resolve the layer 3 or IP network connectivity. Double check the server&#39;s NIC&#39;s IP address and netmask to ensure they are configured correctly.&lt;br /&gt;&lt;br /&gt;A very useful command to help with testing client and server resolution is the command -&lt;br /&gt;&lt;b&gt;bpclntcmd -pn&lt;/b&gt; when run from a NBU client or media server.&lt;br /&gt;What that command does when ran on a client as example,&lt;br /&gt;&lt;/nbu&gt;&lt;/install&gt;&lt;/nbu&gt;&lt;/install&gt;&lt;/client&gt;&lt;/install&gt;&lt;/client&gt;&lt;/install&gt;&lt;/client&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 36pt; &quot;&gt;1. The client gets the first server listed in it&#39;s server&#39;s list and knowing it is the master server does a forward lookup of that hostname or a gethostbyname call to DNS or host file.&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 36pt; &quot;&gt;2. Once that is successful you should see the message-&quot;&lt;b&gt;expecting response from (master server hostname)&lt;/b&gt;&quot;. If the forward lookup fails or the client does not have the bprd port 13720 defined in the registry for Windows clients or in /etc/services for UNIX clients you will not see that message displayed. Create a bplist log on the client at verbose 5 and rerun that command.&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-left: 36pt; &quot;&gt;3. When the client connects to the bprd port on the master server, the master server performs two functions. It first does a simple reverse lookup of the incoming IP address and that is the first name returned by the command. Then it goes into the policy database and lookup what hostname it is using when backing up the client server. That is the second hostname returned by the command. See the example below-&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;In this example the client hostname is dotto.veritas.com and the master server is hal9000.veritas.com-&lt;br /&gt;&lt;br /&gt;C:\Program Files\VERITAS\NetBackup\bin&gt;&lt;b&gt;bpclntcmd -pn&lt;/b&gt;&lt;br /&gt;expecting response from server hal9000.veritas.com&lt;br /&gt;dotto.veritas.com dotto.veritas.com 10.82.110.6&lt;br /&gt;3412&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li class=&quot;Normal&quot; style=&quot;text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; margin-left: 10pt; &quot;&gt;Creating a bplist log on the client at verbose 5 should show the attempt to resolve the master server and make a connection request to the NBU server.&lt;/li&gt;&lt;li class=&quot;Normal&quot; style=&quot;text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; margin-left: 10pt; &quot;&gt;Creating a bprd log on the master server should show the incoming connection as well.&lt;/li&gt;&lt;li class=&quot;Normal&quot; style=&quot;text-indent: 0pt; margin-top: 0pt; margin-bottom: 0pt; margin-left: 10pt; &quot;&gt;The same bprd log when create on the master server would show the attempt to connect to the client using the client host properties.&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;Normal&quot;&gt;&lt;br /&gt;&lt;u&gt;Resolution:&lt;/u&gt;&lt;br /&gt;The next step if the client is still failing with a status 58 after you verified the servers are resolvable to each other using the bpclntcmd command, is to ensure the client server has the bpcd port in listening mode-&lt;br /&gt;&lt;br /&gt;For Windows clients-&lt;br /&gt;netstat -a and look for the BPCD and VNETD port are listening-&lt;br /&gt;e.g.&lt;br /&gt;TCP dotto:vnetd dotto.veritas.com:0 LISTENING&lt;br /&gt;TCP dotto:bpcd dotto.veritas.com:0 LISTENING&lt;br /&gt;&lt;br /&gt;For UNIX client verify the ports are listening by issuing the same command-&lt;br /&gt;&lt;br /&gt;# netstat -a |grep bpcd&lt;br /&gt;*.bpcd *.* 0 0 49152 0 LISTEN&lt;br /&gt;&lt;br /&gt;#netstat -a |grep vnetd&lt;br /&gt;*.vnetd *.* 0 0 49152 0 LISTEN&lt;br /&gt;&lt;br /&gt;For Windows clients if it not listening on the ports verify bpinetd is running on the client using task mgr.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For UNIX clients verify BPCD and VNETD are defined in /etc/service and inetd-&lt;br /&gt;# vi /etc/services&lt;br /&gt;bpcd 13782/tcp bpcd&lt;br /&gt;vnetd 13724/tcp vnetd&lt;br /&gt;&lt;br /&gt;# vi /etc/inetd.conf&lt;br /&gt;bpcd stream tcp nowait root /usr/openv/netbackup/bin/bpcd bpcd&lt;br /&gt;vnetd stream tcp nowait root /usr/openv/bin/vnetd vnetd&lt;br /&gt;&lt;br /&gt;For UNIX client server if the /etc/services file for bpcd shows it is using tcpd then there is a TCP wrapper on the bpcd port 13782-&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-top: 5pt; margin-bottom: 5pt; &quot;&gt;This example shows a TCP wrapper running on the bpcd port when defined in inetd.conf-&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;Normal&quot; style=&quot;margin-top: 5pt; margin-bottom: 5pt; &quot;&gt;bpcd stream tcp nowait root /usr/local/bin/tcpd /usr/openv/netbackup/bin/bpcd bpcd&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Locally on the client create a bpcd log and increase the verbose level to 5.&lt;br /&gt;&lt;br /&gt;On the client server to test whether the bpcd binary is executable and will generate a log issue the following command-&lt;br /&gt;UNIX- &lt;install&gt;netbackup/bin/./&lt;b&gt;bpcd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Windows- &lt;install&gt;program files\VERITAS\netbackup\bin:&lt;b&gt;bpcd&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;That should generate the following log entry and prove the binary is executable and generates a log entry-&lt;br /&gt;&lt;br /&gt;BPCD log. You should see something like this -&lt;br /&gt;16:47:45.986 [5296.3376] &lt;2&gt; bpcd main: offset to GMT 21600&lt;br /&gt;16:47:45.986 [5296.3376] &lt;2&gt; bpcd main: Got socket for input 3&lt;br /&gt;16:47:46.017 [5296.3376] &lt;2&gt; logconnections: getsockname(3) failed: 10038&lt;br /&gt;16:47:46.017 [5296.3376] &lt;16&gt; bpcd setup_sockopts: setsockopt 1 failed: h_errno 10038&lt;br /&gt;16:47:46.017 [5296.3376] &lt;2&gt; bpcd main: setup_sockopts complete&lt;br /&gt;16:47:46.158 [5296.3376] &lt;2&gt; vauth_acceptor: ..\libvlibs\vauth_comm.c.332: Function failed: 17 0x00000011&lt;br /&gt;16:47:46.158 [5296.3376] &lt;16&gt; bpcd main: authentication failed: 17&lt;br /&gt;&lt;br /&gt;It is normal to have it end with the &lt;16&gt; bpcd main: authentication failed: 17 error. But this test proves the binary is functioning correctly.&lt;br /&gt;&lt;br /&gt;Then to test the bpcd port locally on the client server from the command prompt, run this telnet test using the loopback interface-&lt;br /&gt;&lt;br /&gt;&lt;b&gt;telnet localhost 13782&lt;/b&gt; or&lt;br /&gt;&lt;br /&gt;&lt;b&gt;telnet 127.0.0.1 13782&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;That telnet to the loopback interface using the localhost hostname should generate a log that looks like this-&lt;br /&gt;&lt;br /&gt;16:49:35.352 [3336.4360] &lt;2&gt; bpcd main: offset to GMT 21600&lt;br /&gt;16:49:35.352 [3336.4360] &lt;2&gt; bpcd main: Got socket for input 376&lt;br /&gt;16:49:35.352 [3336.4360] &lt;2&gt; logconnections: BPCD ACCEPT FROM 127.0.0.1.3845 TO 127.0.0.1.13782&lt;br /&gt;16:49:35.352 [3336.4360] &lt;2&gt; bpcd main: setup_sockopts complete&lt;br /&gt;16:49:35.414 [3336.4360] &lt;2&gt; bpcd peer_hostname: Connection from host localhost (127.0.0.1) port 3845&lt;br /&gt;16:49:35.414 [3336.4360] &lt;2&gt; bpcd valid_server: comparing hal9000.veritas.com and localhost&lt;br /&gt;16:49:35.414 [3336.4360] &lt;4&gt; bpcd valid_server: localhost is not a master server&lt;br /&gt;16:49:35.414 [3336.4360] &lt;16&gt; bpcd valid_server: localhost is not a media server either&lt;br /&gt;16:49:39.189 [3336.4360] &lt;16&gt; bpcd main: read failed: The operation completed successfully.&lt;br /&gt;&lt;br /&gt;It generates the &lt;16&gt; error because it does not understand what telnet is and also fails to authenticate the localhost as a NBU server.&lt;br /&gt;&lt;br /&gt;For Linux clients if they are missing a library file required by bpcd or vnetd you would get this type of error message-&lt;br /&gt;&lt;br /&gt;telnet localhost bpcd&lt;br /&gt;Trying 127.0.0.1...&lt;br /&gt;Connected to clientname.domainname.com&lt;br /&gt;Escape character is &#39;^]&#39;.&lt;br /&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;bpcd: error while loading shared libraries: libstdc++-libc6.2-2.so.3: &lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;cannot open shared object file: No such file or directory&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;Contact the OS vendor to obtain the required library file.&lt;br /&gt;&lt;br /&gt;If the telnet to localhost works try the same telnet test from the master server using the client hostname to the bpcd port-&lt;br /&gt;&lt;tt&gt;&lt;span class=&quot;FIXEDFONT&quot;&gt;telnet (client hostname) 13782&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;br /&gt;That should generate a log entry as seen below showing the master server being accepted-&lt;br /&gt;&lt;br /&gt;16:52:46.077 [1160.5436] &lt;2&gt; bpcd main: offset to GMT 21600&lt;br /&gt;16:52:46.077 [1160.5436] &lt;2&gt; bpcd main: Got socket for input 400&lt;br /&gt;**The client sees the incoming connection from the master server using the IP address 10.82.105.254**&lt;br /&gt;16:52:46.077 [1160.5436] &lt;2&gt; logconnections: BPCD ACCEPT FROM 10.82.105.254.44554 TO 10.82.110.6.13782&lt;br /&gt;16:52:46.077 [1160.5436] &lt;2&gt; bpcd main: setup_sockopts complete&lt;br /&gt;**Performs a reverse lookup of the incoming IP address and gets the hostname**&lt;br /&gt;16:52:46.092 [1160.5436] &lt;2&gt; bpcd peer_hostname: Connection from host hal9000.veritas.com (10.82.105.254) port 44554&lt;br /&gt;**Then compares the hostname to the server list on the client**&lt;br /&gt;16:52:46.092 [1160.5436] &lt;2&gt; bpcd valid_server: comparing hal9000.veritas.com and hal9000.veritas.com&lt;br /&gt;**The hostname compare succeeds**&lt;br /&gt;16:52:46.092 [1160.5436] &lt;4&gt; bpcd valid_server: hostname comparison succeeded&lt;b&gt; &lt;/b&gt;&lt;br /&gt;16:52:49.476 [1160.5436] &lt;16&gt; bpcd main: read failed: The operation completed successfully.&lt;br /&gt;&lt;br /&gt;If any of these telnet tests fails to generate a log entry then there is something outside of NBU that is preventing access to the client&#39;s port. Most likely firewall software or a TCP wrapper was placed on the ports. Checking what services the client is running for Windows clients (Try Turning off MS firewall software for a quick test) or check the host.allow/deny files on the UNIX clients would be a good place to review next.&lt;br /&gt;&lt;br /&gt;For UNIX clients you can try removing the BPCD port from inetd.conf and run the command &quot;&lt;b&gt;bpcd -standalone&lt;/b&gt;&quot; to see if that gets the port listening.&lt;br /&gt;&lt;br /&gt;Note: When testing connections to bpcd note the delta time difference between the bpcd log message e.g. &quot;16:52:46.077 [1160.5436] &lt;2&gt; logconnections: &lt;b&gt;BPCD ACCEPT FROM&lt;/b&gt; 10.82.105.254.44554 TO 10.82.110.6.13782 &quot; and the log message &quot;16:52:46.092 [1160.5436] &lt;4&gt; bpcd valid_server: &lt;b&gt;hostname comparison succeeded&lt;/b&gt;&quot; Due to the hard coded bprbm timeout of 1 minute this time difference can not exceed 60 seconds. If it exceeds that timeout then try using a host file entry to avoid DNS latency.&lt;br /&gt;&lt;br /&gt;If the client had been working at NBU 5.x release but now fails after upgrading to NBU 6.x, you can try using 5.x defaults for the client connection to see if that gets the failing client working again. To do so, from the Administration Console:&lt;br /&gt;1. Launch the NetBackup Administration Console, connecting to the master server&lt;br /&gt;2. Expand &lt;b&gt;Host Properties&lt;/b&gt; in the left pane&lt;br /&gt;3. Select&lt;b&gt; Master Server &lt;/b&gt;in the left pane&lt;br /&gt;4. Click the name of the master server in the right pane&lt;br /&gt;5. Select the&lt;b&gt; Client Attributes &lt;/b&gt;section&lt;br /&gt;6. Add the name of the client in question if it isn&#39;t listed&lt;br /&gt;7. In the &lt;b&gt;Connect Options&lt;/b&gt; tab for the client, make the following changes:&lt;br /&gt;&lt;b&gt;BPCD connect back&lt;/b&gt; -&gt; &quot;Random port&quot;&lt;br /&gt;&lt;b&gt;Ports &lt;/b&gt;-&gt; &quot;Reserved port&quot;&lt;br /&gt;&lt;b&gt;Daemon connection port&lt;/b&gt; -&gt; &quot;Daemon port only&quot;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Note: You DO NOT have to stop and restart when making changes to the master server client attribute tab. Just simply click apply and okay to commit those changes&lt;/b&gt;&lt;/install&gt;&lt;/install&gt;&lt;/div&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://symcnbu.blogspot.com/feeds/5063568751116598141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://symcnbu.blogspot.com/2010/04/technote-status-code-58.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5063568751116598141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1785281929395215967/posts/default/5063568751116598141'/><link rel='alternate' type='text/html' href='http://symcnbu.blogspot.com/2010/04/technote-status-code-58.html' title='Technote : Status Code 58'/><author><name>Dushyant Mehta</name><uri>http://www.blogger.com/profile/18106264207638257720</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='26' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXFG_hZnEyZA1pPSNq-yT6xfBvl3Tb6Lt9LYwms-prpXK4bZy7TqbNC9MweVmudnDBieZeIICXxwQKNPSrzK896jbVN8gD_cG_Vru4Ox0pAn3BryGVnvDtSR8qkc79Fys/s220/devil.jpg'/></author><thr:total>0</thr:total></entry></feed>