Veritas-bu

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

2008-10-08 11:29:24
Subject: Re: [Veritas-bu] Command to Produce client and version
From: "Jackson, Todd" <c-todd.jackson AT invitrogen DOT com>
To: "Travis Kelley" <travis.kelley AT etrade DOT com>
Date: Wed, 8 Oct 2008 11:13:27 -0400
Thank you Travis !

 

-----Original Message-----
From: Travis Kelley [mailto:travis.kelley AT etrade DOT com] 
Sent: Wednesday, October 08, 2008 11:09 AM
To: Jackson, Todd
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Command to Produce client and version

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