cancel
Showing results for 
Search instead for 
Did you mean: 

Finding out Client Version Information 300+ Clients

Tim_Dile
Level 5
Hi All,

I need to find out the client version information on over 300+ clients. Is there an easy way to do this...

I can only think of usr/openv/netbackup/bin/admincmd/bpgetconfig -g machine -L

The problem also with the above is that if it can't connect to the machine it hangs!

Thanks,
Tim
23 REPLIES 23

h_m
Level 6
Tim,

> tintin WindowsNT;5.0.0.0.2.0;NetBackup;5.0GA;500000;C:\Program Files\VERITAS\NetBackuin;Windows2000 5 ;

Can you confirm tintin is patched to MP2/SP2?
And Captain Archibald is patched to MP4/SP4?

Cheers,

Hywel

Tim_Dile
Level 5
Hywel ,

I'll have to run that script again for you as the file was deleted and I don't remember who tintin or captain was referring too.

Need a bit of help on the hardware file? some scripting... now I've tried the normal grep but you have to be careful as some of our clients haven't come back with a version - see jerry. In this case I still want the name to show in the column.

Need the end result to be as below so that I can paste into separate columns in excel.

Client Version O/S

CLIENT: tom (/WindowsXP 5.2 build 3790)
VERSION: 4.5GA

CLIENT: jerry
Exit status 59: access to the client was not allowed

CLIENT: cuteduck (Service Pack 1/WindowsNET 5.2 build 3790)
VERSION: 5.0GA

Tim

David_Kies
Level 4
Certified
Back to Bob's...

Place whatever var you want in PRINT , note the comma in quotes, poor mans CSV file.

Stick the header row in your spreadsheet by hand to match your printed columns. Your errors will be blank but still listed. IE jerry



for i in `bpplclients -allunique -noheader | awk '{print $3}'`
do
echo $i, `bpgetconfig -s $i -l | awk -F";" '{print $8,","$5}'` >>verlist.txt
done

# Output of bpgetconfig -s
# 1 = Client/Master
# 2 = NetBackup Client Platform
# 3 = NetBackup Client Protocol Level
# 4 = Product
# 5 = Version Name
# 6 = Version Number
# 7 = NetBackup Installation Path
# 8 = Client OS/Release


snip from outfile
_____

eros001, WindowsNET 5 ,5.0GA
fauquier-bkup,
faxhost2, Windows2000 5 ,5.0GA
floyd-bkup, SunOS 5.10 ,5.0GA
glaive01, WindowsXP 5 ,4.5GA
glaive02,
goviq, Windows2000 5 ,4.5GA
hanover-bkup, SunOS 5.8 ,5.0GA
hms-ex1, WindowsNET 5 ,5.0GA
loghost, ,3.4GA
hms-ex2, WindowsNET 5 ,5.0GA
_____

end snip

nullMessage was edited by:
David Kies

h_m
Level 6
Sounds as though Jerry was offline at the time you ran the script.

In reeply to your comment - tintin would be the hostname?


Working on your outputs from the script you ran the other day, I�m sure the second field of the output (5.0.0.0.2.0 - for tintin as below) is the patch level which is installed on the client. Therefore re run the script and see what different values you get for field 2.

tintin WindowsNT;5.0.0.0.2.0;NetBackup;5.0GA;500000;C:\Program Files\VERITAS\NetBackuin;Windows2000 5 ;


Captain Archibald�s second filed would be 5.0.0.0.4.1

Captain Archibald WindowsNT;5.0.0.0.4.1;NetBackup;5.0GA;500000;C:\Program Files\VERITAS\NetBackuin;WindowsNET 5 ;

snowy WindowsNT;3.4.0;NetBackup;3.4.1GA;340000;;;
Professor CuthbertWindowsNT;5.0.0.0.2.0;NetBackup;5.0GA;500000;C:\Program Files\VERITAS\NetBackuin;Windows2000 5

Thomson WindowsNT;4.5.0;NetBackup;4.5GA;450000;C:\Program Files\VERITAS\NetBackuin;Windows2000 5

Cheers,

Hywel