Veritas-bu

Re: [Veritas-bu] Report Client version

2007-12-04 13:14:45
Subject: Re: [Veritas-bu] Report Client version
From: "Ed Wilts" <ewilts AT ewilts DOT org>
To: "bobbyrjw AT comcast DOT net" <bobbyrjw AT comcast DOT net>
Date: Tue, 4 Dec 2007 11:57:01 -0600
The code I included gives the patch level.

[root@osiris ~]# bpgetconfig -L -A -s stptape2ms.bck.mrll.com  | grep ^Patch
Patch Level = 6.0MP5


On 12/4/07, bobbyrjw AT comcast DOT net <bobbyrjw AT comcast DOT net> wrote:
Sorry, I was thinking the he was looking for Patch levels.
 
Version is trivial.....
 
bpcoverage -c " client" gives the version number.
 
-------------- Original message --------------
From: "Ed Wilts" < ewilts AT ewilts DOT org>
This is a shell script designed to run on a Solaris master server.  I have no idea if it will run in a Cygwin environment on Windows but at least you've got the basic concept to write one yourself. 

   .../Ed

#!/bin/sh

# Loop through all clients gathering the client version info

PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ] && mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A > $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk '/Patch Level = / {print FILENAME "," $NF}' $f
done > $OUT



On 12/3/07, Ben Linkon <blinkon AT calamos DOT com > wrote:

Does anyone have a way to report on the installed client version for all clients in a Windows environment?  I have used bpclclients, but this doesn't show the version.

 

Thanks,

 

Ben Linkon


--
Ed Wilts, Mounds View, MN, USA
mailto: ewilts AT ewilts DOT org


--
Ed Wilts, Mounds View, MN, USA
mailto:ewilts AT ewilts DOT org
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu