Networker

Re: [Networker] Getting a list of enabler codes

2008-05-15 11:53:16
Subject: Re: [Networker] Getting a list of enabler codes
From: "CHAUSSOY, Matthieu" <matthieu.chaussoy AT SFR DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Thu, 15 May 2008 17:46:23 +0200
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