Networker

Re: [Networker] Getting a list of enabler codes

2008-05-15 12:50:16
Subject: Re: [Networker] Getting a list of enabler codes
From: Fazil Saiyed <Fazil.Saiyed AT ANIXTER DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 15 May 2008 11:44:08 -0500
Hi,
The existing code can be easily adapted for Windows i.e
nsradmin
show name; enabler code; auth code
print type:NSR license
If you wish you can put any nsradmin input in a txt input file for 
nsradmin to process and when you direct the output form nsradmin to the 
txt file also, you can then remove any thing that you don't need and wond 
up with auth code only.
Windows Resource kit does have "grep" utility and also other parsing 
utilities to help you out.
This is what i come up with, perhaps the author have a more direct and 
simpler way also.
HTH



Michael Nored <mrnored AT NETZERO DOT NET> 
Sent by: EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>
05/15/2008 11:23 AM
Please respond to
EMC NetWorker discussion <NETWORKER AT LISTSERV.TEMPLE DOT EDU>; Please respond 
to
Michael Nored <mrnored AT NETZERO DOT NET>


To
NETWORKER AT LISTSERV.TEMPLE DOT EDU
cc

Subject
Re: [Networker] Getting a list of enabler codes






Do you have a one of these that will work on Windows?

Michael Nored
Consultant
Nored Consulting, LLC
 
M: (407) 399-8162
T:  (352) 350-7142
E: mnored AT Netzero DOT net

-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On
Behalf Of CHAUSSOY, Matthieu
Sent: Thursday, May 15, 2008 11:46 AM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Getting a list of enabler codes

Hello

With nsradmin, it's easy :

echo "show name; enabler code; auth code
     print type:NSR license" | nsradmin -i - | \
egrep -v "^$" | sed -e 's/^[ \t]*//' -e 's/;//g' | \
awk -F":" '($1 ~ /^name*/) { printf("%s ;",$2) }
    ($1 ~ /^enabler*/) { printf("%s ;",$2) }
    ($1 ~ /^auth*/) { printf("%s\n",$2) }'

You redirect it in a file and you have a csv file.

Cordialement,

Matthieu Chaussoy
DSI - Production
Tel. : (+33) 1 70 18 31 68 - Cell. : (+33) 6 28 09 87 43

neuf cegetel
40-42 Quai du Point du Jour - 92659 Boulogne-Billancourt Cedex
www.groupeneufcegetel.fr


-----Message d'origine-----
De : EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] De 
la
part de Stan Horwitz
Envoyé : jeudi 15 mai 2008 16:34
À : NETWORKER AT LISTSERV.TEMPLE DOT EDU
Objet : [Networker] Getting a list of enabler codes

I need to generate a report containing all the licenses for my 
NetWorker 7.4.1 server. When I was using NetWorker 7.2, the NetWorker 
Admin GUI had an easy way to save a copy of the licenses entries in a 
tabular file. That feature seems to be gone in the NetWorker Console 
Manager's GUI. After reading through the Administrator's GUI and the 
help from within NetWorker and the man pages, I am at a loss as to how 
to generate such a file. I need this in order to start the annual 
renewal process for my update and maintenance agreement. If anyone 
knows how to generate that file using NetWorker 7.4.1 on Solaris 10, 
please let me know.


--
Stan Horwitz
Temple University
Enterprise Systems Group
stan AT temple DOT edu

CONFIDENTIALITY STATEMENT: The information contained in this e-mail, 
including attachments, is the confidential information of, and/or is 
the property of, Temple University. The information is intended for 
use solely by the individual or entity named in the e-mail. If you are 
not an intended recipient or you received this in error, then any 
review, printing, copying, or distribution of any such information is 
prohibited. Please notify the sender immediately by reply e-mail and 
then delete this e-mail from your system.

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type
"signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type
"signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER

To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type 
"signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER



To sign off this list, send email to listserv AT listserv.temple DOT edu and 
type "signoff networker" in the body of the email. Please write to 
networker-request AT listserv.temple DOT edu if you have any problems with this 
list. You can access the archives at 
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER