[Veritas-bu] Command to Produce client and version

Jackson, Todd c-todd.jackson at invitrogen.com
Wed Oct 8 10:13:27 CDT 2008


Thank you Travis !

 

-----Original Message-----
From: Travis Kelley [mailto:travis.kelley at etrade.com] 
Sent: Wednesday, October 08, 2008 11:09 AM
To: Jackson, Todd
Cc: veritas-bu at mailman.eng.auburn.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.edu
> http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
> 






More information about the Veritas-bu mailing list