[prev in list] [next in list] [prev in thread] [next in thread] 

List:       veritas-bu
Subject:    Re: [Veritas-bu] RedHat 9.0 Client Backup Problems
From:       James Chacon <jmc () ksu ! edu>
Date:       2003-06-30 16:49:32
[Download RAW message or body]

Ok, this can be made to work but obviously you're on your own support
wise...

The problem with it on 9 is versioning of libraries it's compiled against.
So, most of the commands spit out this warning:

Incorrectly built binary which accesses errno, h_errno or _res directly.
Needs to be fixed.

Experimentation showed this actually will work, but the reason you're
seeing errors is that error gets spit back to the bptm process which is
expecting 512 byte blocks and now the 1st block has an extra 91-92 bytes
in it.

The other catch is this isn't on stderr, but stdout so you can't simply
redirect output to make it go away.

Here was my solution (which is working for us fine).

filter.c (attached) strips the first 92 bytes off the output and then as
fast as it can reads 8k in/out. 

These are the commands which need help:

bparchive  bpbkar  bpclimagelist  bpjava-usvc
bpbackup   bpcd    bpjava-msvc    bplist

So my script to replace bpbkar for instance is:

#!/bin/sh
exec /usr/openv/netbackup/bin/bpbkar+ | /usr/openv/netbackup/bin/filter

(i.e. rename bpbkar to bpbkar+ first and then drop this script in place of
it).

After all the commands are done this way backups run fine. I have a
problem with bp core-dumping when trying to get the file list for restores
but doing server recoveries or alternate client recoveries solves that
problem.

In short, don't convert a bunch of boxes to RH9 and do this, but for 1-2
to do some initial testing on this at least ensures you have backups until
the real client support is in MP5 or something.


James


> On Mon, 30 Jun 2003, Briscoe, Brian (B.) wrote:
> 
> > Looking on the Veritas Support site I cannot find anything on whether RedHat
> > 9 is supported, but I'm hoping somebody out there can help.......
> >
> Brian,
> 
> A couple people (including myself) have been trying to get NetBackup
> running on RH9 to no avail.  The hardware support matrix mentions
> support for RH8, but RH9 is not listed as supported, even up to
> NB4.5mp4.  Last I heard, a Veritas rep mentioned that RH9 support will
> be included in an upcoming service pack.
> 
> I had to take my client back to RH8.
> 
> Take care,
> 
> ---------------------------------------------
> Casey Feskens <cfeskens@willamette.edu>
> System Administrator/Network Svcs. Consultant
> Willamette University, Salem, OR
> ---------------------------------------------
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 
> 
> 

["filter.c" (TEXT/PLAIN)]

#include <unistd.h>
#define BLOCK_SIZE 8192
#define SKIP_BYTES 92

int main (void)
{
        char Temp[BLOCK_SIZE];

        int rd;

        if (read (0, Temp, SKIP_BYTES) != SKIP_BYTES)
                exit (0);

        while ((rd = read (0, Temp, BLOCK_SIZE)) > 0) {
                if (write (1, Temp, rd) != rd)
                        exit (0);
        }
        exit (0);
}

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic