Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Networker license query

Status
Not open for further replies.

nyck

Technical User
Mar 10, 2004
447
0
0
GB
Hello,

I'm running Legato Networker 7.1.2 and I'm wondering if there is a command that I can run that will display all the Enabler & Auth codes?

I can list them via nwadmin but that is a pain!

cheers

Nick
 
Hello,

no command, but some script lines, if you are running under ..ix :

Code:
echo "option hidden" >> /tmp/nsrlic.tmp.$$$
echo "show name;enabler code;host id;expiration date;auth code;license type " >> /tmp/nsrlic.tmp.$$$
echo "print type: NSR license " >>/tmp/nsrlic.tmp.$$$
nsradmin -i /tmp/nsrlic.tmp.$$$ | sed 's/"//g;s/;//g;s/G //' | awk '
    /name/        {NOM=substr($0,31);if (NOM == "\\") {getline; NOM=$0}}
    /enabler/     {ENA=substr($0,31);if (ENA == "\\") {getline; ENA=$0}}
    /host/        {HOS=substr($0,31);if (HOS == "\\") {getline; HOS=$0}}
    /expiration/  {EXP=substr($0,31);if (EXP == "\\") {getline; EXP=$0}}
    /auth/        {AUT=substr($0,31);if (AUT == "\\") {getline; AUT=$0}}
    /license/     {LIC=substr($0,31);print "\"" NOM "\";\"" ENA "\";\"" HOS "\";\"" EXP "\";\"" AUT "\";\"" LIC "\""}'
rm /tmp/nsrlic.tmp.$$$

Hope this helps.

Denis
 
most licenses will be shown with nsrlic -vvv

dds, disk backup, autoloader and storage node enablers will be missing.

enjoy
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top