Veritas-bu

Re: [Veritas-bu] Report Client version

2007-12-04 12:12:53
Subject: Re: [Veritas-bu] Report Client version
From: bobbyrjw AT comcast DOT net
To: "Ed Wilts" <ewilts AT ewilts DOT org>, "Ben Linkon" <blinkon AT calamos DOT com>
Date: Tue, 04 Dec 2007 16:46:41 +0000
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
--- Begin Message ---
Subject: Re: [Veritas-bu] Report Client version
From: "Ed Wilts" <ewilts AT ewilts DOT org>
To: "Ben Linkon" <blinkon AT calamos DOT com>
Date: Tue, 4 Dec 2007 14:25:05 +0000
_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

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