CMD to get list of server whose license have expired
Created: 01 Sep 2012 | Updated: 17 Sep 2012 | 9 comments
This issue has been solved. See solution.
Hi All,
Kindly let me know if there is any command where i can get the list of clients (Unix & Windows) whose license keys have expired from the NBU master.
Master Server : - Sun Solaris 10
Netbackup Version : 6.5.4 across the environment
Discussion Filed Under:
Comments 9 Comments • Jump to latest comment
Hi
On UNIX and Linux, use the following command on the server:/usr/openv/netbackup/bin/admincmd/get_license_key Select option f to list the active license keys and features. If the evaluation key is not listed, the key has expired. Use this command to add the new permanent encryption key.
Taken from the link http://www.symantec.com/docs/HOWTO50823
Check this too
http://www.symantec.com/docs/HOWTO13917
Thanks
Sameer
Don't forget to give a "Thumbs Up" or Mark as "Solution" if someones advice has helped you.
get_license_key needs logon to each media server.
The question was how to do this from cmd on master server.....
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Titus, you can possibly try bpminlicense command.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Hi Marianne,
Thanks alot but I have around 300 media servers and using the -M <server name> option will be timely as I would also have to check if the license is expired or valid.
Is there any other command which can directly list the media servers whose licenses are in-active.
Try nbemmcmd -listhosts -verbose
Media servers with valid license keys will say : Active for Disk and Tape
Not sure what output will look like if no active license key.
Maybe save output to a file, browse through output until you find a media server with 'different' output.
You can then use egrep to get media server name and the line containing 'different' output.
PS: Why do think license keys have expired? Have you been running this size of environment with demo keys? Permanent keys are exactly that - they never expire, even if maintenance contract has expired.
One more note: Are you aware that NBU 6.x will reach EOSL in exacly one month?
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Even if it takes time, if you really want to get down to which media server was having license (expired) issues, it's better to login to those media servers to check using bpminlicense.
nbemmcmd -listh -verbose might be helpful but it's not fullproof.
Other errors such as 159 (during backup or restore) could show license error, but this is hardly seen - and it won't report expired license keys for you: http://www.symantec.com/docs/TECH43038
Thanks alot guys for your help
Please let us know if your issue is resolved?
If so, please select the post that has helped you most and Mark As Solution.
Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows
Handy NBU Links
Hi All,
I used the following command to get the list of media server whose license have expired.
bpminlicense -M <media server > -nb_ufid 20 -debug -verbose
nbu_ufid 20 == is the netbackup feature id for Base NetBackup which should be active on all the media servers. The servers / clients with no output were the one's whose license have expired.
Would you like to reply?
Login or Register to post your comment.