Video Screencast Help

NBU Command to list all clients with clinet version and OS

Created: 26 Sep 2012 • Updated: 10 Feb 2013 | 2 comments
This issue has been solved. See solution.

Can some one help me on this ???

 

 

 

 

Regards,

Bharath

Comments 2 CommentsJump to latest comment

Ashish-Sharma's picture

How to gather Netbackup client versions and operating system details for a large number of clients

http://www.symantec.com/business/support/index?page=content&id=TECH128723

Thanks In Advance

Ashish Sharma

 

 

Marianne's picture

If your master server is Unix/Linux, you can use this script (originally provided by Mark Donaldson in veritas-bu mailing list some time ago):

 

#!/bin/ksh
PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd
echo "      Client         \t         OS Level        \t Release"
echo "=====================\t ========================\t ======="
for c in `bpplclients -allunique -noheader | awk '{print $3}'`
do
  bpgetconfig -s $c -L -A | \
    awk -F'=' '{if($1~/Client.OS/){os=$2}
                if($1~/Patch/)   {p=$2}
                if($1~/Protocol/){v=$2}}
                END { if(p~/^ *$/){r=v}else{r=p}
                      printf("%-22s\t%-25s\t%s\n","'$c'",os,r)} '
done
 
 
Master server needs to be able to connect to all clients - similar to loading Clients under Host Properties.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links

SOLUTION