Veritas-bu

Re: [Veritas-bu] Client version

2009-06-09 20:55:15
Subject: Re: [Veritas-bu] Client version
From: Ed Wilts <ewilts AT ewilts DOT org>
To: "Reynolds, Susan K." <SReynolds2 AT semprautilities DOT com>
Date: Tue, 9 Jun 2009 19:51:57 -0500
I posted this to the list a while back:

root@osiris bin]# cat get-client-versions.sh
#!/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 -f /usr/openv/local/bin/get-client-versions.awk $f
done > $OUT

[root@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME "," $4 "," OS "," PLATFORM }



On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K. <SReynolds2 AT semprautilities DOT com> wrote:

Is there a quick command that can be run that will list the current version of Netbackup for each client on the command line without having to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.




--
Ed Wilts, Mounds View, MN, USA
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