cancel
Showing results for 
Search instead for 
Did you mean: 

NBU Command to list all clients with clinet version and OS

Bharath_Achar
Level 6

Can some one help me on this ???

 

 

 

 

Regards,

Bharath

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

View solution in original post

2 REPLIES 2

Ashish-Sharma
Level 6
Accredited

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

Marianne
Level 6
Partner    VIP    Accredited Certified

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.