Tags: netbackup

09/09/12

  07:06:00 pm, by The Dreamer   , 145 words  
Categories: Software, Computer, FreeBSD

NetBackup 7.5 on FreeBSD 9.0

There's a FreeBSD 6.x client for NetBackup, but when we upgraded to NetBackup 7.5...client installs stopped working, after ignoring the problem for a while (since the 7.0 client installs were working) until I had set up a new FreeBSD 9.0 server.

What I did was

  1. Install 'misc/compat6x' and 'java/openjdk6'
  2. Obtain 'fakegetfsstat.c' - and build it on a 32-bit FreeBSD host (I used the '/compat/i386' environment from building "32bit Wine on FreeBSD/amd64") and put it in '/usr/local/etc' -- there's probably a better place, but :lalala:
  3. check that '/usr/openv/netbackup/client/INTEL/FreeBSD6.0/client_config' has "compat_dir" set to '/usr/local/lib32/compat'
  4. Install NBU Client -- It still won't find java, so perform the steps it says using '/usr/local/bin/java'
  5. Edit '/usr/local/etc/netbackup'
  6. Shell

    --- netbackup.orig    2012-09-08 14:46:28.794900000 -0500
    +++ netbackup    2012-09-08 14:50:57.848900734 -0500
    @@ -73,10 +73,12 @@
         FreeBSD*)
             PS="/bin/ps -ax"
             # This can be removed once $ORIGIN starts working.
    +        LD_32_PRELOAD=/usr/local/etc/fakegetfsstat.so
    +        export LD_32_PRELOAD
             compat_dir=""
             os_major=`uname -r | cut -f1 -d"."`
             if [ "${os_major}-gt 6 ] ; then
    -            compat_dir=":/usr/local/lib/compat"
    +            compat_dir=":/usr/local/lib32/compat"
             fi
             ProcessorType=`uname -p`
             if [ "${ProcessorType}!= "i386" ] ; then
  7. /usr/local/etc/rc.d/S77netbackup.sh stop
  8. /usr/local/etc/rc.d/S77netbackup.sh start
Now instead of subjecting some poor random forum to a long rambling thought, I will try to consolidate those things into this blog where they can be more easily ignored profess to be collected thoughts from my mind.

Latest Poopli Updaters -- http://lkc.me/poop

bloglovin

There are 20 years 2 months 1 day 16 minutes and 7 seconds until the end of time.
And, it has been 4 years 10 months 27 days 13 hours 46 minutes and 49 seconds since The Doctor saved us all from the end of the World!

Search

November 2017
Mon Tue Wed Thu Fri Sat Sun
 << <   > >>
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30      
Google

Linkblog

  XML Feeds

Who's Online?

  • Guest Users: 1
This seal is issued to lawrencechen.net by StopTheHacker Inc.
CMS software

hosted by
Green Web Hosting! This site hosted by DreamHost.

monitored by
Monitored by eXternalTest
SiteUptime Web Site Monitoring Service
website uptime