Video Screencast Help
Give us your opinion and win with Symantec! Please help us by taking this survey to tell us about your experience with Symantec Connect, so that we can continue to grow and improve.  Take the survey.

correct OS version or platform of NBU client

Created: 22 Jun 2013 | 1 comment

Hi All

i wanted to extract info, about a client from NBU master. i could see installation , version are correct but OS of client is incorrect.checked from GUI. host properties-- clients it showed operating system as win 2003. ????????? this problem cropped up in NBU policy OS was selected as win 2008. But is there a  command  to get correct OS platform just like it showed in GUI host properties.

 sudo ./bpgetconfig -g CLname -L -A
Client/Master = Client of master
NetBackup Client Platform = PC-x64, WindowsXP
NetBackup Client Protocol Level = 7.1.0
Product = NetBackup
Version Name = 7.1
Version Number = 710000
NetBackup Installation Path = C:\Program Files\Veritas\NetBackup\bin
Client OS/Release = Windows2008 6
Cipher = AES-128-CFB
Cipher = BF-CFB
Cipher = DES-EDE-CFB
Cipher = AES-256-CFB
Patch Level = 7.1.0.2
 
Operating Systems:

Comments 1 CommentJump to latest comment

RamNagalla's picture

hi,

you can find the script in below Discussion.., I am sure that will help you.. 

https://www-secure.symantec.com/connect/forums/how-get-client-nbu-version-form-master

copied from above discussion...

Courtesy of Mark Donaldson on the Veritas-bu mailing list:

# cat cl-version

#!/bin/ksh

PATH=$PATH:/usr/openv/netbackup/bin:/usr/openv/netbackup/bin/admincmd

echo "      Client         \t         OS Level        \t Release">> /tmp/cl.out

echo "=====================\t ========================\t =======" >>/tmp/cl.out

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)} ' >>/tmp/cl.out

done