Solved

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

Posted on 2011-02-10
3
778 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 200 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 300 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Anything wrong with Window server backup? 8 138
Redhat upgrade 1 67
phpmyadmin memory error 55 91
Issue when using 'yum update' 4 22
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

739 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