cancel
Showing results for 
Search instead for 
Did you mean: 

netbackup client version

gaurav003
Not applicable
Certified

hi Everyone,

I need to get information of version all netbackup clients configured in master server.

Please give me complete information of commant to be used or else if script is there then please give me that information..

Thanks in advance

gaurav

1 ACCEPTED SOLUTION

Accepted Solutions

Marianne
Level 6
Partner    VIP    Accredited Certified

Expert NBU script writer, Mark Donaldson, has shared his script on the 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}' |grep sg.55`
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

 

It produces one line output per client.

Understand that it takes time to run since the master has to connect to clients one-by-one to request info.
If there is any connectivity issue to a client, script will take even longer as bpgetconfig will wait for Client_Connect_Timeout to expire before the next client is attempted.

View solution in original post

2 REPLIES 2

Nicolai
Moderator
Moderator
Partner    VIP   

Netbackup GUI -> Host Properties -> Clients -> block mark all client and let Netbackup retrieve the client version.

If you wan to use the command line there is info and examples here:

https://www-secure.symantec.com/connect/forums/easiest-way-get-client-version-number

http://www.symantec.com/docs/TECH37628

Marianne
Level 6
Partner    VIP    Accredited Certified

Expert NBU script writer, Mark Donaldson, has shared his script on the 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}' |grep sg.55`
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

 

It produces one line output per client.

Understand that it takes time to run since the master has to connect to clients one-by-one to request info.
If there is any connectivity issue to a client, script will take even longer as bpgetconfig will wait for Client_Connect_Timeout to expire before the next client is attempted.