[OpenAFS] Symantec Support for AFS Backups

John Howard jmhoward@gmail.com
Sun, 21 Jan 2007 15:42:45 -0500


------=_Part_178413_7205898.1169412165418
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sounds like you got great support from Symantec. That is good to hear as
most are reporting less than stellar support since the Veritas to Symantec
switch.

We have patched our servers with MP6 recently but not our clients so we have
not seen this problem and I suspect we won't as we have decided to drop NBU
for AFS backups in favor of TiBS.  The decision to drop NBU was driven by
the blurb in the 6.x release notes indicating that AFS backups would no
longer be supported in version 6.x and beyond.

john

On 1/20/07, Kathryn Hemness <kfhemness@ucdavis.edu> wrote:
>
> Hi John,
>
> The patch broke something in the client bpbkar binary.
> The backup would completely finish up to 99% done and then
> fail with the following error:
>
> 12/18/2006 10:45:16 master-server.ucdavis.edu client.ucdavis.edu  File:
> nbe_cat_c_api.cpp Line: 1040: invalid input dataFunction: decode_data_field
> 12/18/2006 10:45:17 media-server.ucdavis.edu client.ucdavis.edu  successfully
> wrote backup id reality.ucdavis.edu_1166466735, copy 1, fragment 3, 125472
> Kbytes at 5763.263 Kbytes/sec
> 12/18/2006 10:45:18 media-server.ucdavis.edu client.ucdavis.edu  db_FLISTsend
> failed: file read failed (13)
>
> I replaced the client MP6 bpcd with the MP5 binary first, and the backup
> still failed.
> Then I replaced the bpbkar with the MP5 bpbkar and the problem went
> away.  Reinstating
> the MP6 bpcd and keeping the MP5 bpbkar still caused failures.
>
> I get my NetBackup support through Sun but I didn't just open a call with
> Sun; I also
> went to the Symantec website and reported the problem.  And, amazingly,
> Symantec actually
> responded even though I don't have a direct support contract with them.
>
> Symantec has sent me an engineering bpbkar binary for me to use until the
> next
> NB51 maintenance pack.  This engineering binary works with the MP6 bpcd
> binary.
> I've tested both backups and restores with it.
>
>
> On Sat, 20 Jan 2007, John Howard wrote:
>
> > Date: Sat, 20 Jan 2007 14:43:12 -0500
> > From: John Howard <jmhoward@gmail.com>
> > To: Kathryn Hemness <kfhemness@ucdavis.edu>
> > Cc: openafs-info@openafs.org
> > Subject: Re: [OpenAFS] Symantec Support for AFS Backups
> >
> > Kathryn,
> >
> > How did MP6 break your AFS backups and was it the server patch or the
> client
> > patch that caused the issues. I'm just wondering if they (Symantec)
> tested
> > AFS backups against MP6, if they did and missed a bug that is acceptable
> but
> > if they didn't bother to test that is bad.
> >
> > john
> >
> >
> >
> > On 1/20/07, Kathryn Hemness <kfhemness@ucdavis.edu> wrote:
> > >
> > > Greetings,
> > >
> > > The NetBackup AFS backup capability has been built into the standard
> > > backup client/server binaries since NetBackup 4.5 (at least for
> Solaris,
> > > I don't know about for other operating systems).
> > >
> > > The basic (but not optimal) way it's used is to just create a an
> > > AFS backup policy with containing /vicep* partitions or volume
> > > names in the backup file list along with a CREATE_BACKUP_VOLUME
> > > and/or SKIP_SMALL_VOLUMES=X where X would be the size in Kbytes
> > > of volumes to skip.
> > >
> > > When the scheduled policy is launched, the AFS client system
> > > would run a listvol command which creates a file in
> > > /usr/openv/netbackup/listvol showing all existing volumes on the
> > > client.  Then the CREATE_BACKUP_VOLUME would trigger the
> > > backup-volume-cloning of all of the RW volumes (including those
> > > volumes whose size is less that the SKIP directive.
> > >
> > > All meta information for the backup volume is retained, and
> > > when you wish to restore a file, you can't - instead you
> > > restore the entire volume (which is restored as R<vol name>.
> > > You can then create a mountpoint for the restored backup
> > > volume and allow your clients to get whatever files they wish from
> > > the backup volume.  When your client is done with the restore,
> > > you can remove the mountpoint and the restored volume.
> > >
> > > This basic functionality works well when your AFS file storage
> > > is small.  But when the AFS storage grew to hundreds of gigabytes
> > > and then to terabytes, the length of time required for the
> > > listvol and backup volume cloning caused backup timeouts and the
> > > backups were running 12+ hours.  To complicate matters even more,
> > > NetBackup would only use a listvol listing younger than 3 hours.
> > >
> > > I've optimized my AFS backups by using cron to run a backupsys
> > > command at midnight daily (this backupsys command allows for
> > > there to be incremental and full backups of volumes); the
> > > backupsys command creates the backup clone volumes.  Then,
> > > about 2 hours prior to the scheduled backup window opening,
> > > I have another cron script that runs the listvol.  When
> > > the backup window opens, NetBackup uses the existing listvol
> > > file to backup the pre-existing backup clones.  The total time
> > > of my largest AFS backup policy is now less than 8 hours
> > > (a significant improvement).  Most of the time I am getting
> > > backup speeds of 4-9MB/sec to my backup sans.
> > >
> > > I've been extremely happy with the NetBackup capability which is
> > > why I want to find more than the handful of customers who use
> > > it for backing up their AFS storage.  Symantec's perception that
> > > there is only a handful of organizations is based on their lack
> > > of support calls because the AFS capability is not a separately-priced
> > > agent.  I've only had to call in their support because their most
> recent
> > > NB51 maintenance patch (MP6) broke the functionality.  I find their
> logic
> > > flawed since satisfied users don't call for support.
> > >
> > > On Sat, 20 Jan 2007 openafs-info-request@openafs.org wrote:
> > > >
> > > > Message: 6
> > > > Date: Fri, 19 Jan 2007 16:31:46 -0500
> > > > From: Dave Botsch <botsch@cnf.cornell.edu>
> > > > To: openafs-info@openafs.org
> > > > Subject: Re: [OpenAFS] Symantec Support for AFS Backups
> > > >
> > > > I would certainly be interested in hearing more about how the
> backups
> > > and
> > > > restores work w. Symantec backup.
> > > >
> > > >
> > > > --
> > > > ********************************
> > > > David William Botsch
> > > > Programmer/Analyst
> > > > CNF Computing
> > > > botsch@cnf.cornell.edu
> > > > ********************************
> > > >
> > > > --__--__--
> > > >
> > > > Message: 7
> > > > Date: Fri, 19 Jan 2007 17:01:12 -0500
> > > > From: Mike Anderson <Mike.Anderson@nd.edu>
> > > > To: openafs-info@openafs.org
> > > > Subject: Re: [OpenAFS] Symantec Support for AFS Backups
> > > >
> > > >
> > > >  I am very interested in hearing more details about how they work.
> > > >
> > > > Mike Anderson
> > > > OIT Operations & Engineering
> > > > University of Notre Dame
> > > > 320 IT Center
> > > > Notre Dame, IN 46556
> > > > Phone: 574-631-4966
> > > >
> > > >
> > > > Quoting Dave Botsch <botsch@cnf.cornell.edu>:
> > > >
> > > > > I would certainly be interested in hearing more about how the
> backups
> > > and
> > > > > restores work w. Symantec backup.
> > > > >
> > > > --__--__--
> > > >
> > > _______________________________________________
> > > OpenAFS-info mailing list
> > > OpenAFS-info@openafs.org
> > > https://lists.openafs.org/mailman/listinfo/openafs-info
> > >
> >
>
>
> --Kathy
>
> =======================================================================
> Kathryn Hemness                        kfhemness@ucdavis.edu
> System Administrator                   phone: 530.752.6547
> Campus Data Center & Client Services   fax:   530.752.9154
>

------=_Part_178413_7205898.1169412165418
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Sounds like you got great support from Symantec. That is good to hear as most are reporting less than stellar support since the Veritas to Symantec switch. <br><br>We have patched our servers with MP6 recently but not our clients so we have not seen this problem and I suspect we won&#39;t as we have decided to drop NBU for AFS backups in favor of TiBS.&nbsp; The decision to drop NBU was driven by the blurb in the 
6.x release notes indicating that AFS backups would no longer be supported in version 6.x and beyond. <br><br>john<br><br><div><span class="gmail_quote">On 1/20/07, <b class="gmail_sendername">Kathryn Hemness</b> &lt;<a href="mailto:kfhemness@ucdavis.edu">
kfhemness@ucdavis.edu</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi John,<br><br>The patch broke something in the client bpbkar binary.
<br>The backup would completely finish up to 99% done and then<br>fail with the following error:<br><br>12/18/2006 10:45:16 <a href="http://master-server.ucdavis.edu">master-server.ucdavis.edu</a> <a href="http://client.ucdavis.edu">
client.ucdavis.edu</a>&nbsp;&nbsp;File: nbe_cat_c_api.cpp Line: 1040: invalid input dataFunction: decode_data_field<br>12/18/2006 10:45:17 <a href="http://media-server.ucdavis.edu">media-server.ucdavis.edu</a> <a href="http://client.ucdavis.edu">
client.ucdavis.edu</a>&nbsp;&nbsp;successfully wrote backup id reality.ucdavis.edu_1166466735, copy 1, fragment 3, 125472 Kbytes at 5763.263 Kbytes/sec<br>12/18/2006 10:45:18 <a href="http://media-server.ucdavis.edu">media-server.ucdavis.edu
</a> <a href="http://client.ucdavis.edu">client.ucdavis.edu</a>&nbsp;&nbsp;db_FLISTsend failed: file read failed (13)<br><br>I replaced the client MP6 bpcd with the MP5 binary first, and the backup still failed.<br>Then I replaced the bpbkar with the MP5 bpbkar and the problem went away.&nbsp;&nbsp;Reinstating
<br>the MP6 bpcd and keeping the MP5 bpbkar still caused failures.<br><br>I get my NetBackup support through Sun but I didn&#39;t just open a call with Sun; I also<br>went to the Symantec website and reported the problem.&nbsp;&nbsp;And, amazingly, Symantec actually
<br>responded even though I don&#39;t have a direct support contract with them.<br><br>Symantec has sent me an engineering bpbkar binary for me to use until the next<br>NB51 maintenance pack.&nbsp;&nbsp;This engineering binary works with the MP6 bpcd binary.
<br>I&#39;ve tested both backups and restores with it.<br><br><br>On Sat, 20 Jan 2007, John Howard wrote:<br><br>&gt; Date: Sat, 20 Jan 2007 14:43:12 -0500<br>&gt; From: John Howard &lt;<a href="mailto:jmhoward@gmail.com">
jmhoward@gmail.com</a>&gt;<br>&gt; To: Kathryn Hemness &lt;<a href="mailto:kfhemness@ucdavis.edu">kfhemness@ucdavis.edu</a>&gt;<br>&gt; Cc: <a href="mailto:openafs-info@openafs.org">openafs-info@openafs.org</a><br>&gt; Subject: Re: [OpenAFS] Symantec Support for AFS Backups
<br>&gt;<br>&gt; Kathryn,<br>&gt;<br>&gt; How did MP6 break your AFS backups and was it the server patch or the client<br>&gt; patch that caused the issues. I&#39;m just wondering if they (Symantec) tested<br>&gt; AFS backups against MP6, if they did and missed a bug that is acceptable but
<br>&gt; if they didn&#39;t bother to test that is bad.<br>&gt;<br>&gt; john<br>&gt;<br>&gt;<br>&gt;<br>&gt; On 1/20/07, Kathryn Hemness &lt;<a href="mailto:kfhemness@ucdavis.edu">kfhemness@ucdavis.edu</a>&gt; wrote:<br>&gt; &gt;
<br>&gt; &gt; Greetings,<br>&gt; &gt;<br>&gt; &gt; The NetBackup AFS backup capability has been built into the standard<br>&gt; &gt; backup client/server binaries since NetBackup 4.5 (at least for Solaris,<br>&gt; &gt; I don&#39;t know about for other operating systems).
<br>&gt; &gt;<br>&gt; &gt; The basic (but not optimal) way it&#39;s used is to just create a an<br>&gt; &gt; AFS backup policy with containing /vicep* partitions or volume<br>&gt; &gt; names in the backup file list along with a CREATE_BACKUP_VOLUME
<br>&gt; &gt; and/or SKIP_SMALL_VOLUMES=X where X would be the size in Kbytes<br>&gt; &gt; of volumes to skip.<br>&gt; &gt;<br>&gt; &gt; When the scheduled policy is launched, the AFS client system<br>&gt; &gt; would run a listvol command which creates a file in
<br>&gt; &gt; /usr/openv/netbackup/listvol showing all existing volumes on the<br>&gt; &gt; client.&nbsp;&nbsp;Then the CREATE_BACKUP_VOLUME would trigger the<br>&gt; &gt; backup-volume-cloning of all of the RW volumes (including those
<br>&gt; &gt; volumes whose size is less that the SKIP directive.<br>&gt; &gt;<br>&gt; &gt; All meta information for the backup volume is retained, and<br>&gt; &gt; when you wish to restore a file, you can&#39;t - instead you
<br>&gt; &gt; restore the entire volume (which is restored as R&lt;vol name&gt;.<br>&gt; &gt; You can then create a mountpoint for the restored backup<br>&gt; &gt; volume and allow your clients to get whatever files they wish from
<br>&gt; &gt; the backup volume.&nbsp;&nbsp;When your client is done with the restore,<br>&gt; &gt; you can remove the mountpoint and the restored volume.<br>&gt; &gt;<br>&gt; &gt; This basic functionality works well when your AFS file storage
<br>&gt; &gt; is small.&nbsp;&nbsp;But when the AFS storage grew to hundreds of gigabytes<br>&gt; &gt; and then to terabytes, the length of time required for the<br>&gt; &gt; listvol and backup volume cloning caused backup timeouts and the
<br>&gt; &gt; backups were running 12+ hours.&nbsp;&nbsp;To complicate matters even more,<br>&gt; &gt; NetBackup would only use a listvol listing younger than 3 hours.<br>&gt; &gt;<br>&gt; &gt; I&#39;ve optimized my AFS backups by using cron to run a backupsys
<br>&gt; &gt; command at midnight daily (this backupsys command allows for<br>&gt; &gt; there to be incremental and full backups of volumes); the<br>&gt; &gt; backupsys command creates the backup clone volumes.&nbsp;&nbsp;Then,<br>
&gt; &gt; about 2 hours prior to the scheduled backup window opening,<br>&gt; &gt; I have another cron script that runs the listvol.&nbsp;&nbsp;When<br>&gt; &gt; the backup window opens, NetBackup uses the existing listvol<br>&gt; &gt; file to backup the pre-existing backup clones.&nbsp;&nbsp;The total time
<br>&gt; &gt; of my largest AFS backup policy is now less than 8 hours<br>&gt; &gt; (a significant improvement).&nbsp;&nbsp;Most of the time I am getting<br>&gt; &gt; backup speeds of 4-9MB/sec to my backup sans.<br>&gt; &gt;<br>&gt; &gt; I&#39;ve been extremely happy with the NetBackup capability which is
<br>&gt; &gt; why I want to find more than the handful of customers who use<br>&gt; &gt; it for backing up their AFS storage.&nbsp;&nbsp;Symantec&#39;s perception that<br>&gt; &gt; there is only a handful of organizations is based on their lack
<br>&gt; &gt; of support calls because the AFS capability is not a separately-priced<br>&gt; &gt; agent.&nbsp;&nbsp;I&#39;ve only had to call in their support because their most recent<br>&gt; &gt; NB51 maintenance patch (MP6) broke the functionality.&nbsp;&nbsp;I find their logic
<br>&gt; &gt; flawed since satisfied users don&#39;t call for support.<br>&gt; &gt;<br>&gt; &gt; On Sat, 20 Jan 2007 <a href="mailto:openafs-info-request@openafs.org">openafs-info-request@openafs.org</a> wrote:<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Message: 6<br>&gt; &gt; &gt; Date: Fri, 19 Jan 2007 16:31:46 -0500<br>&gt; &gt; &gt; From: Dave Botsch &lt;<a href="mailto:botsch@cnf.cornell.edu">botsch@cnf.cornell.edu</a>&gt;<br>&gt; &gt; &gt; To: <a href="mailto:openafs-info@openafs.org">
openafs-info@openafs.org</a><br>&gt; &gt; &gt; Subject: Re: [OpenAFS] Symantec Support for AFS Backups<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I would certainly be interested in hearing more about how the backups<br>&gt; &gt; and
<br>&gt; &gt; &gt; restores work w. Symantec backup.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --<br>&gt; &gt; &gt; ********************************<br>&gt; &gt; &gt; David William Botsch<br>&gt; &gt; &gt; Programmer/Analyst
<br>&gt; &gt; &gt; CNF Computing<br>&gt; &gt; &gt; <a href="mailto:botsch@cnf.cornell.edu">botsch@cnf.cornell.edu</a><br>&gt; &gt; &gt; ********************************<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; --__--__--<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; Message: 7<br>&gt; &gt; &gt; Date: Fri, 19 Jan 2007 17:01:12 -0500<br>&gt; &gt; &gt; From: Mike Anderson &lt;<a href="mailto:Mike.Anderson@nd.edu">Mike.Anderson@nd.edu</a>&gt;<br>&gt; &gt; &gt; To: <a href="mailto:openafs-info@openafs.org">
openafs-info@openafs.org</a><br>&gt; &gt; &gt; Subject: Re: [OpenAFS] Symantec Support for AFS Backups<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;I am very interested in hearing more details about how they work.
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Mike Anderson<br>&gt; &gt; &gt; OIT Operations &amp; Engineering<br>&gt; &gt; &gt; University of Notre Dame<br>&gt; &gt; &gt; 320 IT Center<br>&gt; &gt; &gt; Notre Dame, IN 46556<br>&gt; &gt; &gt; Phone: 574-631-4966
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; Quoting Dave Botsch &lt;<a href="mailto:botsch@cnf.cornell.edu">botsch@cnf.cornell.edu</a>&gt;:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; &gt; I would certainly be interested in hearing more about how the backups
<br>&gt; &gt; and<br>&gt; &gt; &gt; &gt; restores work w. Symantec backup.<br>&gt; &gt; &gt; &gt;<br>&gt; &gt; &gt; --__--__--<br>&gt; &gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; OpenAFS-info mailing list
<br>&gt; &gt; <a href="mailto:OpenAFS-info@openafs.org">OpenAFS-info@openafs.org</a><br>&gt; &gt; <a href="https://lists.openafs.org/mailman/listinfo/openafs-info">https://lists.openafs.org/mailman/listinfo/openafs-info</a>
<br>&gt; &gt;<br>&gt;<br><br><br>--Kathy<br><br>=======================================================================<br>Kathryn Hemness&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:kfhemness@ucdavis.edu">kfhemness@ucdavis.edu
</a><br>System Administrator&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; phone: 530.752.6547<br>Campus Data Center &amp; Client Services&nbsp;&nbsp; fax:&nbsp;&nbsp; 530.752.9154<br></blockquote></div><br>

------=_Part_178413_7205898.1169412165418--