Solved

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

Posted on 2011-02-10
3
768 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
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

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 …
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

832 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