?
Solved

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

Posted on 2011-02-10
3
Medium Priority
?
785 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 31

Assisted Solution

by:farzanj
farzanj earned 800 total points
ID: 34865682
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 1200 total points
ID: 34868859
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
ID: 34873190
thx
0

Featured Post

Video: Liquid Web Managed WordPress Comparisons

If you run run a WordPress, you understand the potential headaches you may face when updating your plugins and themes. Do you choose to update on the fly and risk taking down your site; or do you set up a staging, keep it in sync with your live site and use that to test updates?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Your data is at risk. Probably more today that at any other time in history. There are simply more people with more access to the Web with bad intentions.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

762 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