Solved

can I use a script / stdio to get netbackup licence information.. ?

Posted on 2011-02-10
3
756 Views
Last Modified: 2012-05-11
Check license details:
 /opt/openv/netbackup/bin/admincmd/get_license_key

the problem is I have to type in  
L
for licence
Enter
to say "yes this server:

Lastly I need to push the information to a file so I can copy it down.

this is just standard veritas.

0
Comment
Question by:TIMFOX123
3 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 200 total points
Comment Utility
So what you are saying is that the license is not a text file and you can only get it interactively.

Try finding an option or switch that would just dump the text without expecting any further keystrokes -- non-interactive. This way you can dump the file content and redirect to any file.  Try doing man on it.

If that doesn't work, you may use "expect".  It scripts interactive terminals or utilities.

For more information
http://www.oreilly.de/catalog/expect/chapter/ch03.html
0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 300 total points
Comment Utility
Hi,

there should be a file called "/usr/openv/var/license.txt"

Besides that, there should be a command "bpminlicense" which has a "-list_keys" option.
Here's the manpage of bpminlicense:
http://www-01.ibm.com/support/docview.wss?uid=swg21248342

wmp
0
 

Author Closing Comment

by:TIMFOX123
Comment Utility
thx
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
VM backups can be lost due to a number of reasons: accidental backup deletion, backup file corruption, disk failure, lost or stolen hardware, malicious attack, or due to some other undesired and unpredicted event. Thus, having more than one copy of …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now