Highlighted

netbackup client version

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 Solution

Accepted Solutions
Highlighted
Accepted Solution!

Expert NBU script writer,

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
Highlighted

GUI

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

Highlighted
Accepted Solution!

Expert NBU script writer,

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