NetBackup Version

(imported topic written by SystemAdmin)

I’m running an analysis to see what servers have netbackup installed and what version of it they have.

I don’t think i have my relevance quite right as i’m not getting back a version number. Any advice?

Here’s my relevance:

This is working

if (((name of it as lowercase starts with 
"win") of operating system) AND (exists service 
"NetBackup INET Daemon")) then state of service 
"NetBackup INET Daemon" 

else 
"<Not_Installed>"

This doesn’t appear to be working

if (((name of it as lowercase starts with 
"win") of operating system) AND (exists service 
"NetBackup INET Daemon")) then version of service 
"NetBackup INET Daemon" 

else 
"<N/A>"

thanks,

Baraq

(imported comment written by chrism91)

With the below revelence I was able to tell if the server has netbackup installed and what version it is running.

NetBackup Installed

exists key “HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion” of registry

NetBackup Version

values “PackageVersion” of keys “HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion” of registry

Chris

(imported comment written by NoahSalzman)

if/then/else statements must return values – in the then and else parts – that have the same “type”. Here is a visual example of what’s going on:

q: if true then version of service “BESClient” else “NA”

E: Incompatible types.

q: if true then (version of service “BESClient” as string) else “NA”

A: 8.1.551.0

I: singular string

q: if true then version of service “BESClient” else (“NA” as version)

A: 8.1.551.0

I: singular version

(imported comment written by SystemAdmin)

Thanks for the info guys, I have it working now!

-Baraq

(imported comment written by SystemAdmin)

Hey,

Is anyone running version checks against Unix/Linux machines for Netbackup? Just curious what the best way to pull version info from aix, hp-ux, redhat, sunos would be.

thanks,

Baraq