Veritas-bu

Re: [Veritas-bu] Command to Produce client and version

2008-10-08 11:22:13
Subject: Re: [Veritas-bu] Command to Produce client and version
From: Travis Kelley <travis.kelley AT etrade DOT com>
To: "Jackson, Todd" <c-todd.jackson AT invitrogen DOT com>
Date: Wed, 08 Oct 2008 11:08:30 -0400
Here's a little snippit of code we use to grab client versions.  You can
wrap this in whatever you want.  We have it outputting to an HTML page
that we can quickly reference to see all our client versions.

/usr/openv/netbackup/bin/admincmd/bptestbpcd -host $CLIENT -verbose >
/tmp/testbpcdoutput

VERSION=`grep "^VERSION" /tmp/testbpcdoutput | grep VERSION | awk
'{print $3}' | cut -c4-10`
                        case $VERSION in
                                6520000)
                                        VERSION=6.5.2
                                        ;;
                                6500000)
                                        VERSION=6.5
                                        ;;
                                6000404)
                                        VERSION=6.0mp4
                                        ;;
                                5100000)
                                        VERSION="5.1"
                                        ;;
                                4500000)
                                        VERSION=4.5
                                        ;;
                                *)
                                        VERSION="unknown "$VERSION
                                        ;;
                        esac


Jackson, Todd wrote:
> Hello All,
> 
> Does anyone know which command and flags to use to produce a list
> Of clients and the version of netbackup they are running from the
> command line?
> 
> I want to produce something similar to Host Properties > Clients >
> Properties
> With less fields.
> 
> Using netbackup 6.0
> Windows Master
> 
> Thanks
> Todd
> 
> 
> _______________________________________________
> Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 

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