Re: [Veritas-bu] Client version

2009-06-11 Thread WEAVER, Simon (external)
Judy
Actually, his name is Mark :-)
 
Simon



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
judy_hinchcli...@administaff.com
Sent: Wednesday, June 10, 2009 5:53 PM
To: mark.donald...@staples.com; sreynol...@semprautilities.com;
ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version



Very nice Donald.

 

 

 

 



From: Donaldson, Mark [mailto:mark.donald...@staples.com] 
Sent: Wednesday, June 10, 2009 11:31 AM
To: Judy Hinchcliffe; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

 

Ah.  Let's see.  Change thusly...

 

 

#!/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}'`
do
  bpgetconfig -s $c -L -A | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Patch/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 

 



From: judy_hinchcli...@administaff.com
[mailto:judy_hinchcli...@administaff.com] 
Sent: Wednesday, June 10, 2009 9:19 AM
To: Donaldson, Mark; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org


This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

Re: [Veritas-bu] Client version

2009-06-11 Thread Donaldson, Mark
I get it all the time.  No worries.
 
-Mark



From: WEAVER, Simon (external) [mailto:simon.wea...@astrium.eads.net] 
Sent: Thursday, June 11, 2009 12:17 AM
To: judy_hinchcli...@administaff.com; Donaldson, Mark;
sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version


Judy
Actually, his name is Mark :-)
 
Simon



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
judy_hinchcli...@administaff.com
Sent: Wednesday, June 10, 2009 5:53 PM
To: mark.donald...@staples.com; sreynol...@semprautilities.com;
ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version



Very nice Donald.

 

 

 

 



From: Donaldson, Mark [mailto:mark.donald...@staples.com] 
Sent: Wednesday, June 10, 2009 11:31 AM
To: Judy Hinchcliffe; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

 

Ah.  Let's see.  Change thusly...

 

 

#!/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}'`
do
  bpgetconfig -s $c -L -A | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Patch/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 

 



From: judy_hinchcli...@administaff.com
[mailto:judy_hinchcli...@administaff.com] 
Sent: Wednesday, June 10, 2009 9:19 AM
To: Donaldson, Mark; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content

Re: [Veritas-bu] Client version

2009-06-10 Thread Donaldson, Mark
A little late to this party but here's another version.
 
#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done




From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version



Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-10 Thread judy_hinchcliffe
Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-10 Thread Jeff Lightner
It does for 6.0 versions...

 

Release

===

6.0.0.0.4.4

6.0.0.0.4.4

6.0.0.0.4.4

6.5.0

6.5.0

5.1.0

 

 

By the way - the formatting is slightly off due to long Linux OS Levels
(for my RHEL systems) and also the Release column was a bit short for
those 6.0 versions so I modified it as follows:

 

echo   Client  \t OS Level \t   Release

echo ==\t =\t ===

for c in `bpplclients -allunique -noheader | awk '{print $3}'`

do

  bpgetconfig -s $c -L | \

awk -F'=' '{if($1~/Client.OS/){os=$2}

if($1~/Client.Proto/){r=$2}}

END {printf(%-22s\t%-25s\t%s\n,'$c',os,r)} '

done

 

Nice script Mark.



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
judy_hinchcli...@administaff.com
Sent: Wednesday, June 10, 2009 11:19 AM
To: mark.donald...@staples.com; sreynol...@semprautilities.com;
ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org
 
Please consider our environment before printing this e-mail or attachments.
--
CONFIDENTIALITY NOTICE: This e-mail may contain privileged or confidential 
information and is for the sole use of the intended recipient(s). If you are 
not the intended recipient, any disclosure, copying, distribution, or use of 
the contents of this information is prohibited and may be unlawful. If you have 
received this electronic transmission in error, please reply immediately to the 
sender that you have received the message in error, and delete it. Thank you.
--
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-10 Thread Kendall, Scott
You'll need to add the -A to the end of the bpgetconfig command to get
all information.  Note this is only available with -g or -s and not
-M.

 

That will include all of the dot release information and give you
6.5.3.1 in an additional field called Patch Level.  It will also give
you more useful version information such as 5.1MP6 instead of
5.1.0.0.4.6.

 

You'd have to change the if statement in awk to look for the line with
Patch Level instead of NetBackup Client Protocol Level in the script
below.

 

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
judy_hinchcli...@administaff.com
Sent: Wednesday, June 10, 2009 11:19 AM
To: mark.donald...@staples.com; sreynol...@semprautilities.com;
ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

This E-mail and any of its attachments may contain Time Warner
Cable proprietary information, which is privileged, confidential,
or subject to copyright belonging to Time Warner Cable. This E-mail
is intended solely for the use of the individual or entity to which
it is addressed. If you are not the intended recipient of this
E-mail, you are hereby notified that any dissemination,
distribution, copying, or action taken in relation to the contents
of and attachments to this E-mail is strictly prohibited and may be
unlawful. If you have received this E-mail in error, please notify
the sender immediately and permanently delete the original and any
copy of this E-mail and any printout.
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-10 Thread Donaldson, Mark
Ah.  Let's see.  Change thusly...
 
 
#!/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}'`
do
  bpgetconfig -s $c -L -A | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Patch/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: judy_hinchcli...@administaff.com
[mailto:judy_hinchcli...@administaff.com] 
Sent: Wednesday, June 10, 2009 9:19 AM
To: Donaldson, Mark; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version



Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-10 Thread judy_hinchcliffe
Very nice Donald.

 

 

 

 



From: Donaldson, Mark [mailto:mark.donald...@staples.com] 
Sent: Wednesday, June 10, 2009 11:31 AM
To: Judy Hinchcliffe; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

 

Ah.  Let's see.  Change thusly...

 

 

#!/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}'`
do
  bpgetconfig -s $c -L -A | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Patch/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 

 



From: judy_hinchcli...@administaff.com
[mailto:judy_hinchcli...@administaff.com] 
Sent: Wednesday, June 10, 2009 9:19 AM
To: Donaldson, Mark; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-10 Thread Donaldson, Mark
Last version?  I found an old NT client using v4.5 it didn't populate
the Patch field.  This is a fix.
-Mark
 
 
#!/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

 
 



From: judy_hinchcli...@administaff.com
[mailto:judy_hinchcli...@administaff.com] 
Sent: Wednesday, June 10, 2009 10:53 AM
To: Donaldson, Mark; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version



Very nice Donald.

 

 

 

 



From: Donaldson, Mark [mailto:mark.donald...@staples.com] 
Sent: Wednesday, June 10, 2009 11:31 AM
To: Judy Hinchcliffe; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

 

Ah.  Let's see.  Change thusly...

 

 

#!/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}'`
do
  bpgetconfig -s $c -L -A | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Patch/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 

 



From: judy_hinchcli...@administaff.com
[mailto:judy_hinchcli...@administaff.com] 
Sent: Wednesday, June 10, 2009 9:19 AM
To: Donaldson, Mark; sreynol...@semprautilities.com; ewi...@ewilts.org
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

Note on Marks script, the command does not show the fourth position on
the version  6.5.3.1  all I am getting is 6.5.3.

 

Not that there is anything wrong with Marks script, its just that the
command does not show fourth position.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Wednesday, June 10, 2009 9:52 AM
To: Reynolds, Susan K.; Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

A little late to this party but here's another version.

 

#!/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}'`
do
  bpgetconfig -s $c -L | \
awk -F'=' '{if($1~/Client.OS/){os=$2}
if($1~/Client.Proto/){r=$2}}
END {printf(%-22s\t%-18s\t%s\n,'$c',os,r)} '
done

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 10:12 PM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu

[Veritas-bu] Client version

2009-06-09 Thread Reynolds, Susan K.
Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-09 Thread Jim Horalek
 /usr/openv/netbackup/bin/admincmd/bpgetconfig -s hostname  or some
variant.
 
Jim

-Original Message-
From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Reynolds,
Susan K.
Sent: Tuesday, June 09, 2009 4:24 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Client version



Is there a quick command that can be run that will list the current version
of Netbackup for each client on the command line without having to extract
the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-09 Thread Reynolds, Susan K.
Thanks Jim - looking for it to list all the clients though.

 

From: Jim Horalek [mailto:j...@federaledge.com] 
Sent: Tuesday, June 09, 2009 4:30 PM
To: Reynolds, Susan K.; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Client version

 

 /usr/openv/netbackup/bin/admincmd/bpgetconfig -s hostname  or some
variant.

 

Jim

-Original Message-
From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Reynolds, Susan K.
Sent: Tuesday, June 09, 2009 4:24 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Client version

Is there a quick command that can be run that will list the
current version of Netbackup for each client on the command line without
having to extract the information from the GUI or Administrative
Console?

 

Just looking for a shortcut.

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-09 Thread Ed Wilts
I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }



On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K. 
sreynol...@semprautilities.com wrote:

  Is there a quick command that can be run that will list the current
 version of Netbackup for each client on the command line without having to
 extract the information from the GUI or Administrative Console?



 Just looking for a shortcut.



-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Client version

2009-06-09 Thread Reynolds, Susan K.
Many thanks Ed.

 

From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, June 09, 2009 5:52 PM
To: Reynolds, Susan K.
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Client version

 

I posted this to the list a while back:

r...@osiris bin]# cat get-client-versions.sh
#!/bin/sh

# Loop through all clients gathering the client version info

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

export PATH

CLIENTS=/usr/openv/local/client-versions
OUT=/usr/openv/local/client-versions.csv

[ ! -d $CLIENTS ]  mkdir $CLIENTS

bpplclients -allunique -noheader | awk '{print $NF}' | \
while read client
do
  echo Client: $client
  bpgetconfig -s $client -L -A  $CLIENTS/$client
done

cd $CLIENTS
for f in *
do
  awk -f /usr/openv/local/bin/get-client-versions.awk $f
done  $OUT

[r...@osiris bin]# cat get-client-versions.awk
/Platform/ {PLATFORM = $5}
/Client OS/ {OS = $5}
/Patch/ {print FILENAME , $4 , OS , PLATFORM }

 

On Tue, Jun 9, 2009 at 6:23 PM, Reynolds, Susan K.
sreynol...@semprautilities.com wrote:

Is there a quick command that can be run that will list the current
version of Netbackup for each client on the command line without having
to extract the information from the GUI or Administrative Console?

 

Just looking for a shortcut.

 

 

-- 
Ed Wilts, Mounds View, MN, USA
ewi...@ewilts.org

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu